/* ==========================================================================
   Design Burger – new article blocks
   Matches the existing single-post rhythm: .page_intro.for_text paddings
   (70 / 50 / 24px) and .full_image (10px gutter, max 1100px).
   ========================================================================== */

/* Captions + credits under full-width images ------------------------------ */
.full_image figure { margin: 0; }
.db-caption {
	display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap;
	padding: 12px 0 0; font-size: 14px; line-height: 18px; color: var(--db-grey, #767676);
}
.db-caption .db-credit { color: #000; opacity: .55; }

/* Gallery: 2 or 3 across on desktop, swipe on phones ----------------------- */
.db-gallery { padding: 10px; max-width: 1100px; }
.db-gallery__track { display: grid; gap: 10px; grid-template-columns: repeat(var(--db-cols, 2), 1fr); }
.db-gallery__track figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #F1F1F2; }
.db-gallery__track img { width: 100%; height: 100%; object-fit: cover; display: block; }
.db-gallery[data-count="3"] { --db-cols: 3; }
@media (max-width: 767px) {
	.db-gallery__track {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px;
		-webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: -10px; padding-right: 10px;
	}
	.db-gallery__track::-webkit-scrollbar { display: none; }
	.db-gallery__track figure { flex: 0 0 82%; scroll-snap-align: start; }
	.db-gallery__count { display: block; }
}
.db-gallery__count { display: none; font-size: 14px; color: #767676; padding-top: 10px; }

/* Pull quote --------------------------------------------------------------- */
.db-quote { padding: 70px 70px 50px; }
.db-quote blockquote { margin: 0; max-width: 900px; }
.db-quote p {
	font-size: 50px; line-height: 58px; letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 24px;
}
.db-quote p::before { content: "\201C"; }
.db-quote p::after  { content: "\201D"; }
.db-quote cite { font-style: normal; font-size: 16px; color: #767676; }
.db-quote cite::before { content: ""; display: inline-block; width: 32px; height: 1px; background: #FE840C; vertical-align: middle; margin-right: 12px; }
@media (max-width: 1199px) { .db-quote { padding: 50px; } .db-quote p { font-size: 40px; line-height: 48px; } }
@media (max-width: 767px)  { .db-quote { padding: 36px 24px 28px; } .db-quote p { font-size: 28px; line-height: 32px; } }

/* Video: a still + play button; the player loads only when tapped --------- */
.db-video { padding: 10px; max-width: 1100px; }
.db-video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.db-video__frame img, .db-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.db-video__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 76px; height: 76px; border: 0; border-radius: 50%; background: #fff; cursor: pointer;
	transition: background var(--db-base, 320ms) var(--db-ease, ease), transform var(--db-base, 320ms) var(--db-ease, ease);
}
.db-video__play::after {
	content: ""; position: absolute; left: 31px; top: 25px;
	border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent #000;
}
.db-video__frame:hover .db-video__play { background: #FE840C; transform: translate(-50%, -50%) scale(1.05); }

/* Fact box ----------------------------------------------------------------- */
.db-facts { padding: 20px 70px 50px; }
.db-facts dl {
	display: grid; grid-template-columns: max-content 1fr; margin: 0; max-width: 760px;
	border-top: 1px solid #D9D9D9; font-size: 16px; line-height: 22px;
}
.db-facts dt, .db-facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid #D9D9D9; }
.db-facts dt { color: #767676; padding-right: 40px; }
.db-facts a { color: #000; text-decoration: underline; text-decoration-color: #D9D9D9; text-underline-offset: .18em; }
.db-facts a:hover { color: #FE840C; }
@media (max-width: 1199px) { .db-facts { padding: 20px 50px 44px; } }
@media (max-width: 767px)  { .db-facts { padding: 12px 24px 36px; } .db-facts dl { font-size: 14px; } }

/* Byline in the header ----------------------------------------------------- */
.page_intro p.dateis .db-byline::before { content: " · "; }

/* Related (end of article) – reuses the theme's project_box cards ---------- */
.db-related { border-top: 1px solid #D9D9D9; margin-top: 40px; }
.db-related__head { padding: 40px 70px 30px; font-size: 30px; line-height: 34px; }
@media (max-width: 1199px) { .db-related__head { padding: 36px 50px 24px; } }
@media (max-width: 767px)  { .db-related__head { padding: 28px 24px 18px; font-size: 22px; line-height: 26px; } }
