/**
 * Dynasty Exchange — Editorial
 *
 * Reference points: The Athletic's restraint, a trading desk's numbers.
 *
 * Three rules this sheet holds to, because breaking them is what makes an
 * editorial page look cheap:
 *
 *  1. Colour is information, not decoration. Green and red mean price movement.
 *     Nothing else on the page is coloured — no green kickers, no accent rules
 *     under headings, no coloured badges. The market strip is the only place
 *     the eye should catch colour, which is precisely the brand.
 *  2. Condensed type is for display only. Barlow Condensed carries the masthead
 *     and the small caps labels; every headline under ~28px is Barlow proper.
 *     Condensed at list sizes reads as a scoreboard, not as journalism.
 *  3. Space over ornament. Hairlines and generous margins do the dividing work
 *     that borders, cards and shadows were doing before.
 *
 * All colors via design system tokens from dmb-core.css / style.css.
 * No inline styles. No raw hex values.
 */

/* ── Shell ───────────────────────────────────────────────────────────────── */

.dmb-news {
	--rule: rgba(255, 255, 255, 0.1);
	--rule-soft: rgba(255, 255, 255, 0.06);
	--radius: 2px;
	--rail-w: 300px;
	--col-gap: 56px;
	--block-gap: 56px;

	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 28px 96px;
}

/* ── Masthead ────────────────────────────────────────────────────────────── */

.dmb-masthead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	padding: 44px 0 22px;
}

.dmb-masthead-eyebrow {
	display: block;
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.66rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dmb-text-dim);
	margin-bottom: 10px;
}

.dmb-masthead-title {
	font-family: var(--barlow);
	font-weight: 800;
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
	line-height: 0.94;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: var(--white);
	margin: 0;
}

.dmb-masthead-desc {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--dmb-text-muted);
	max-width: 60ch;
	margin: 14px 0 0;
}

.dmb-masthead-updated {
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.05em;
	color: var(--dmb-text-dim);
	white-space: nowrap;
	padding-bottom: 6px;
}

/* ── Market strip ────────────────────────────────────────────────────────── */

.dmb-market-strip {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 11px 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

.dmb-market-strip-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dmb-text-muted);
}

.dmb-live-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent-green2);
	flex-shrink: 0;
}

.dmb-market-strip-items {
	display: flex;
	align-items: center;
	gap: 26px;
	overflow-x: auto;
	scrollbar-width: none;
	flex: 1;
	min-width: 0;
}

.dmb-market-strip-items::-webkit-scrollbar {
	display: none;
}

.dmb-market-item {
	display: inline-flex;
	align-items: baseline;
	gap: 9px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.dmb-market-item-name {
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--off-white);
	transition: color 0.15s ease;
}

.dmb-market-item:hover .dmb-market-item-name {
	color: var(--white);
}

.dmb-market-item-price,
.dmb-market-item-delta {
	font-family: var(--mono);
	font-size: 0.72rem;
}

.dmb-market-item-price {
	color: var(--dmb-text-muted);
}

.dmb-market-item-delta.up,
.dmb-mover-delta.up {
	color: var(--dmb-green);
}

.dmb-market-item-delta.down,
.dmb-mover-delta.down {
	color: var(--dmb-red);
}

.dmb-market-strip-more {
	flex-shrink: 0;
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.7rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--dmb-text-dim);
	text-decoration: none;
	transition: color 0.15s ease;
}

.dmb-market-strip-more:hover {
	color: var(--white);
}

/* ── Section rail ────────────────────────────────────────────────────────── */

.dmb-section-rail {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--bg-main);
	border-bottom: 1px solid var(--rule);
}

.dmb-section-rail-scroll {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.dmb-section-rail-scroll::-webkit-scrollbar {
	display: none;
}

.dmb-section-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 15px 16px;
	font-family: var(--barlow);
	font-weight: 600;
	font-size: 0.94rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dmb-text-muted);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.dmb-section-link:first-child {
	padding-left: 0;
}

.dmb-section-link:hover {
	color: var(--white);
}

.dmb-section-link.is-current {
	color: var(--white);
	border-bottom-color: var(--white);
}

/* ── Columns ─────────────────────────────────────────────────────────────── */

/*
 * No align-items:start here on purpose. The rail column must stretch to the
 * height of the story column, otherwise the sticky ad at the bottom of the rail
 * has no distance to travel and unsticks immediately.
 */
.dmb-news-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--rail-w);
	gap: var(--col-gap);
	margin-top: 40px;
}

.dmb-news-main {
	min-width: 0;
}

/* ── Section headings ────────────────────────────────────────────────────── */

.dmb-section-heading {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dmb-text-muted);
	margin: 0 0 22px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--rule);
}

/* ── Kicker ──────────────────────────────────────────────────────────────── */

.dmb-kicker {
	display: inline-block;
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.64rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dmb-text-dim);
	text-decoration: none;
	margin-bottom: 9px;
	transition: color 0.15s ease;
}

.dmb-kicker:hover {
	color: var(--off-white);
}

/*
 * Optional per-desk colour. Left deliberately unset — add a rule per category
 * slug only if you want section identity, and keep it to one or two:
 *   .dmb-kicker--rookies { color: var(--dmb-purple); }
 */

/* ── Story meta ──────────────────────────────────────────────────────────── */

.dmb-story-meta {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.02em;
	color: var(--dmb-text-dim);
}

.dmb-story-byline {
	color: var(--dmb-text-muted);
}

.dmb-meta-sep {
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.45;
	display: inline-block;
}

/* ── Lead block ──────────────────────────────────────────────────────────── */

.dmb-lead-block {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 44px;
	padding-bottom: var(--block-gap);
	border-bottom: 1px solid var(--rule);
}

.dmb-lead-figure {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--charcoal);
	border-radius: var(--radius);
	margin-bottom: 20px;
}

.dmb-lead-figure-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.dmb-lead:hover .dmb-lead-figure-img {
	transform: scale(1.025);
}

.dmb-lead-title {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: clamp(1.6rem, 2.9vw, 2.15rem);
	line-height: 1.12;
	letter-spacing: -0.018em;
	margin: 0 0 14px;
}

.dmb-lead-title a {
	color: var(--white);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.3s ease;
}

.dmb-lead-title a:hover {
	color: var(--white);
	background-size: 100% 1px;
}

.dmb-lead-dek {
	font-size: 1rem;
	line-height: 1.62;
	color: var(--dmb-text-muted);
	margin: 0 0 16px;
	max-width: 56ch;
}

/* Headline stack beside the lead */
.dmb-lead-stack {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-top: 1px solid var(--rule);
}

.dmb-lead-stack .dmb-story {
	padding: 20px 0;
	border-bottom: 1px solid var(--rule-soft);
}

.dmb-lead-stack .dmb-story:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

/* ── Story units ─────────────────────────────────────────────────────────── */

.dmb-story-title {
	font-family: var(--primary-font);
	font-weight: 700;
	line-height: 1.26;
	letter-spacing: -0.012em;
	margin: 0 0 9px;
}

.dmb-story-title a {
	color: var(--white);
	text-decoration: none;
	transition: color 0.15s ease;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dmb-story-title a:hover {
	color: var(--dmb-text-muted);
}

.dmb-story-dek {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--dmb-text-muted);
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dmb-story-figure {
	display: block;
	overflow: hidden;
	background: var(--charcoal);
	border-radius: var(--radius);
}

.dmb-story-figure-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.dmb-story:hover .dmb-story-figure-img {
	transform: scale(1.03);
}

.dmb-story-figure-empty {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--charcoal);
}

/* Stacked — text only */
.dmb-story--stacked .dmb-story-title {
	font-size: 1.06rem;
}

/* Card — three across */
.dmb-band {
	padding: var(--block-gap) 0;
	border-bottom: 1px solid var(--rule);
}

.dmb-band-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.dmb-story--card .dmb-story-figure {
	aspect-ratio: 16 / 10;
	margin-bottom: 16px;
}

.dmb-story--card .dmb-story-title {
	font-size: 1.1rem;
}

/* River — thumbnail right, text leads */
.dmb-river {
	padding-top: var(--block-gap);
}

.dmb-river-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--rule-soft);
}

.dmb-story--river {
	display: flex;
	flex-direction: row-reverse;
	gap: 28px;
	align-items: flex-start;
	padding: 26px 0;
	border-bottom: 1px solid var(--rule-soft);
}

.dmb-story--river .dmb-story-figure {
	flex-shrink: 0;
	width: 200px;
	aspect-ratio: 16 / 10;
}

.dmb-story--river .dmb-story-body {
	flex: 1;
	min-width: 0;
}

.dmb-story--river .dmb-story-title {
	font-size: 1.25rem;
}

/* ── Ad inventory ────────────────────────────────────────────────────────── */

.dmb-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: var(--block-gap, 48px) 0;
}

.dmb-ad-label {
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.56rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--dim-grey);
}

.dmb-ad-frame {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	max-width: 100%;
	background: rgba(255, 255, 255, 0.022);
	border: 1px solid var(--rule-soft);
	border-radius: var(--radius);
	overflow: hidden;
}

.dmb-ad-name {
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--medium-grey);
}

.dmb-ad-size {
	font-family: var(--mono);
	font-size: 0.68rem;
	color: var(--dim-grey);
}

.dmb-ad-slot-id {
	font-family: var(--mono);
	font-size: 0.58rem;
	letter-spacing: 0.05em;
	color: var(--dim-grey);
	opacity: 0.65;
}

/* IAB dimensions — the frame reserves exactly what the network will fill. */
.dmb-ad--billboard .dmb-ad-frame       { width: 970px; height: 250px; }
.dmb-ad--leaderboard .dmb-ad-frame     { width: 728px; height: 90px; }
.dmb-ad--mobile-banner .dmb-ad-frame   { width: 320px; height: 50px; }
.dmb-ad--rectangle .dmb-ad-frame       { width: 300px; height: 250px; }
.dmb-ad--large-rectangle .dmb-ad-frame { width: 336px; height: 280px; }
.dmb-ad--half-page .dmb-ad-frame       { width: 300px; height: 600px; }
.dmb-ad--in-article .dmb-ad-frame      { width: 100%; height: 250px; }

/*
 * Sticky rail unit. Works only because it is the last child of .dmb-rail and
 * because .dmb-news-columns lets the rail stretch — see the notes on both.
 */
.dmb-ad.is-sticky {
	position: sticky;
	top: 88px;
}

/* In-feed native — sits in the river and keeps its rhythm. */
.dmb-ad--in-feed {
	align-items: stretch;
	margin: 0;
	padding: 26px 0;
	border-bottom: 1px solid var(--rule-soft);
	gap: 10px;
}

.dmb-ad--in-feed .dmb-ad-label {
	align-self: flex-start;
}

.dmb-ad-native {
	flex-direction: row-reverse;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
	padding: 18px;
	width: 100%;
}

.dmb-ad-native-thumb {
	width: 200px;
	aspect-ratio: 16 / 10;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.03);
	border-radius: var(--radius);
	color: var(--dim-grey);
	font-size: 1.2rem;
}

.dmb-ad-native-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	flex: 1;
	text-align: left;
}

.dmb-ad-native-kicker {
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dim-grey);
}

.dmb-ad-native-title {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: -0.01em;
	color: var(--medium-grey);
}

.dmb-ad-native-meta {
	font-family: var(--mono);
	font-size: 0.6rem;
	color: var(--dim-grey);
}

/* ── Rail ────────────────────────────────────────────────────────────────── */

.dmb-rail {
	display: flex;
	flex-direction: column;
	gap: 44px;
	min-width: 0;
}

.dmb-rail > .dmb-ad {
	margin: 0;
}

.dmb-rail-heading {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dmb-text-muted);
	margin: 0 0 4px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--rule);
}

.dmb-rail-more {
	display: inline-block;
	margin-top: 14px;
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dmb-text-dim);
	text-decoration: none;
	transition: color 0.15s ease;
}

.dmb-rail-more:hover {
	color: var(--white);
}

/* Movers */
.dmb-movers {
	display: flex;
	flex-direction: column;
}

.dmb-mover {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid var(--rule-soft);
	text-decoration: none;
}

.dmb-mover:last-child {
	border-bottom: none;
}

.dmb-mover-pos {
	font-family: var(--barlow);
	font-weight: 700;
	font-size: 0.64rem;
	text-align: center;
	padding: 2px 0;
	border-radius: var(--radius);
}

.dmb-mover-name {
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.84rem;
	color: var(--off-white);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.15s ease;
}

.dmb-mover:hover .dmb-mover-name {
	color: var(--white);
}

.dmb-mover-price {
	font-family: var(--mono);
	font-size: 0.76rem;
	color: var(--dmb-text-muted);
}

.dmb-mover-delta {
	font-family: var(--mono);
	font-size: 0.72rem;
	font-weight: 500;
	min-width: 44px;
	text-align: right;
}

/* Most read */
.dmb-ranked {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dmb-ranked-item {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 14px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid var(--rule-soft);
}

.dmb-ranked-item:last-child {
	border-bottom: none;
}

.dmb-rank {
	font-family: var(--mono);
	font-size: 0.8rem;
	color: var(--dim-grey);
}

.dmb-ranked-link {
	text-decoration: none;
	min-width: 0;
}

.dmb-ranked-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.92rem;
	line-height: 1.35;
	letter-spacing: -0.008em;
	color: var(--off-white);
	transition: color 0.15s ease;
	margin-bottom: 5px;
}

.dmb-ranked-link:hover .dmb-ranked-title {
	color: var(--white);
}

.dmb-ranked-meta {
	display: block;
	font-family: var(--mono);
	font-size: 0.64rem;
	color: var(--dim-grey);
}

/* ── Single article ──────────────────────────────────────────────────────── */

.dmb-breadcrumb {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
	font-family: var(--primary-font);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dim-grey);
	padding: 36px 0 26px;
}

.dmb-breadcrumb a {
	color: var(--dmb-text-dim);
	text-decoration: none;
	transition: color 0.15s ease;
}

.dmb-breadcrumb a:hover {
	color: var(--white);
}

.dmb-breadcrumb-sep {
	opacity: 0.4;
}

.dmb-article-head {
	max-width: 46rem;
}

.dmb-article-headline {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: clamp(2rem, 4.4vw, 3.05rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--white);
	margin: 0 0 18px;
}

.dmb-article-dek {
	font-size: 1.15rem;
	line-height: 1.55;
	color: var(--dmb-text-muted);
	margin: 0 0 28px;
	max-width: 58ch;
}

.dmb-byline-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 18px 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

.dmb-byline {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
}

.dmb-byline-avatar,
.dmb-byline-avatar-empty {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.dmb-byline-avatar-empty {
	background: var(--charcoal);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dim-grey);
}

.dmb-byline-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.dmb-byline-author {
	font-family: var(--primary-font);
	font-size: 0.88rem;
	color: var(--dmb-text-dim);
}

.dmb-byline-author a {
	color: var(--white);
	text-decoration: none;
	font-weight: 600;
}

.dmb-byline-author a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dmb-byline-meta {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 0.68rem;
	color: var(--dim-grey);
}

.dmb-byline-updated {
	color: var(--dmb-text-muted);
}

.dmb-byline-share {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.dmb-share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--rule);
	color: var(--dmb-text-muted);
	font-size: 0.8rem;
	text-decoration: none;
	transition: all 0.15s ease;
}

.dmb-share-icon:hover {
	border-color: var(--white);
	color: var(--white);
}

/* Lead artwork */
.dmb-article-figure {
	margin: 36px 0 40px;
	max-width: 58rem;
}

.dmb-article-figure-img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	border-radius: var(--radius);
}

.dmb-article-figure-caption {
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--dim-grey);
	padding: 11px 0 0;
}

/* ── Article body ────────────────────────────────────────────────────────── */

.dmb-article-content {
	font-family: var(--primary-font);
	font-size: 1.08rem;
	line-height: 1.78;
	color: var(--dmb-text);
	max-width: 40rem;
}

.dmb-article-content p {
	margin: 0 0 1.5em;
}

.dmb-article-content h2 {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 1.45rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--white);
	margin: 2em 0 0.6em;
}

.dmb-article-content h3 {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 1.16rem;
	letter-spacing: -0.012em;
	color: var(--white);
	margin: 1.7em 0 0.5em;
}

.dmb-article-content h4 {
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 1rem;
	color: var(--off-white);
	margin: 1.5em 0 0.4em;
}

.dmb-article-content a {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--dmb-border-strong);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.15s ease;
}

.dmb-article-content a:hover {
	text-decoration-color: var(--white);
}

.dmb-article-content blockquote {
	margin: 2em 0;
	padding: 0 0 0 24px;
	border-left: 2px solid var(--dmb-border-strong);
	color: var(--white);
	font-size: 1.3rem;
	line-height: 1.45;
	letter-spacing: -0.015em;
	font-style: normal;
}

.dmb-article-content blockquote p {
	margin: 0;
}

.dmb-article-content ul,
.dmb-article-content ol {
	margin: 0 0 1.5em 1.3em;
}

.dmb-article-content li {
	margin-bottom: 0.5em;
}

.dmb-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
	display: block;
	margin: 2em 0;
}

.dmb-article-content figcaption {
	font-size: 0.78rem;
	color: var(--dim-grey);
	margin-top: -1.5em;
	margin-bottom: 2em;
}

.dmb-article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin: 1.8em 0;
}

.dmb-article-content table th {
	color: var(--dmb-text-muted);
	font-family: var(--primary-font);
	font-weight: 600;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0 12px 10px;
	text-align: left;
	border-bottom: 1px solid var(--rule);
}

.dmb-article-content table td {
	padding: 11px 12px;
	border-bottom: 1px solid var(--rule-soft);
	color: var(--off-white);
}

.dmb-article-content table tr:last-child td {
	border-bottom: none;
}

.dmb-ad--in-article {
	max-width: 40rem;
	margin: 3em 0;
	align-items: flex-start;
}

/* ── Share bar ───────────────────────────────────────────────────────────── */

.dmb-share-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 20px 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	margin: 44px 0 0;
	max-width: 40rem;
}

.dmb-share-bar-label {
	font-family: var(--primary-font);
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--dim-grey);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	margin-right: 6px;
}

.dmb-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 100px;
	font-family: var(--primary-font);
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--rule);
	background: transparent;
	color: var(--dmb-text-muted);
	transition: all 0.16s ease;
	cursor: pointer;
}

.dmb-share-btn:hover {
	border-color: var(--white);
	color: var(--white);
}

.dmb-share-btn.is-copied {
	border-color: var(--dmb-green);
	color: var(--dmb-green);
}

/* ── Author card ─────────────────────────────────────────────────────────── */

.dmb-author-card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 28px 0 0;
	margin-top: 40px;
	border-top: 1px solid var(--rule);
	max-width: 40rem;
}

.dmb-author-card-avatar,
.dmb-author-card-avatar-placeholder {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.dmb-author-card-avatar-placeholder {
	background: var(--charcoal);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	color: var(--dim-grey);
}

.dmb-author-card-body {
	flex: 1;
	min-width: 0;
}

.dmb-author-card-label {
	font-family: var(--primary-font);
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dim-grey);
	margin-bottom: 7px;
}

.dmb-author-card-name {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: -0.015em;
	margin-bottom: 8px;
}

.dmb-author-card-name a {
	color: var(--white);
	text-decoration: none;
}

.dmb-author-card-name a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dmb-author-card-bio {
	font-size: 0.9rem;
	color: var(--dmb-text-muted);
	line-height: 1.65;
	margin-bottom: 14px;
}

.dmb-author-card-socials {
	display: flex;
	gap: 8px;
}

.dmb-author-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--rule);
	color: var(--dmb-text-dim);
	font-size: 0.74rem;
	text-decoration: none;
	transition: all 0.15s ease;
}

.dmb-author-social-link:hover {
	border-color: var(--white);
	color: var(--white);
}

/* ── Prev / next ─────────────────────────────────────────────────────────── */

.dmb-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--rule);
	max-width: 46rem;
}

.dmb-post-nav-link {
	display: flex;
	flex-direction: column;
	gap: 9px;
	text-decoration: none;
}

.dmb-post-nav-link.next {
	text-align: right;
}

.dmb-post-nav-direction {
	font-family: var(--primary-font);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dim-grey);
}

.dmb-post-nav-title {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--white);
	line-height: 1.3;
	letter-spacing: -0.012em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.15s ease;
}

.dmb-post-nav-link:hover .dmb-post-nav-title {
	color: var(--dmb-text-muted);
}

/* ── Pagination ──────────────────────────────────────────────────────────── */

.dmb-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 48px 0 0;
}

.dmb-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: var(--radius);
	font-family: var(--mono);
	font-size: 0.8rem;
	text-decoration: none;
	color: var(--dmb-text-muted);
	transition: all 0.15s ease;
}

.dmb-pagination .page-numbers:hover {
	color: var(--white);
	background: rgba(255, 255, 255, 0.05);
}

.dmb-pagination .page-numbers.current {
	color: var(--white);
	background: rgba(255, 255, 255, 0.09);
}

.dmb-pagination .page-numbers.dots {
	cursor: default;
	background: none;
}

/* ── Empty state ─────────────────────────────────────────────────────────── */

.dmb-news-empty {
	padding: 80px 0;
	color: var(--dmb-text-muted);
	border-top: 1px solid var(--rule);
}

.dmb-news-empty-title {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 1.4rem;
	letter-spacing: -0.02em;
	color: var(--white);
	margin-bottom: 10px;
}

/*
 * Legacy post card. Nothing renders it since the index moved to blog-front;
 * retained so template-parts/blog-post-card still has styling if a template
 * calls it, and as the starting point if search results get converted.
 */

.dmb-post-card {
	display: flex;
	flex-direction: column;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--rule-soft);
}

.dmb-post-card-img-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--charcoal);
	border-radius: var(--radius);
	display: block;
	margin-bottom: 16px;
}

.dmb-post-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dmb-post-card-img-placeholder,
.dmb-post-card-cat-pill {
	display: none;
}

.dmb-post-card-title {
	font-family: var(--primary-font);
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.28;
	letter-spacing: -0.015em;
	margin-bottom: 9px;
}

.dmb-post-card-title a {
	color: var(--white);
	text-decoration: none;
}

.dmb-post-card-title a:hover {
	color: var(--dmb-text-muted);
}

.dmb-post-card-excerpt {
	font-size: 0.92rem;
	color: var(--dmb-text-muted);
	line-height: 1.6;
	margin-bottom: 12px;
}

.dmb-post-card-meta {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 0.68rem;
	color: var(--dim-grey);
}

.dmb-post-card-meta-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	object-fit: cover;
}

.dmb-post-card-meta-dot {
	opacity: 0.4;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
	.dmb-news {
		--col-gap: 40px;
		--block-gap: 44px;
	}

	.dmb-lead-block {
		gap: 32px;
	}

	.dmb-band-grid {
		gap: 24px;
	}

	.dmb-story--river .dmb-story-figure,
	.dmb-ad-native-thumb {
		width: 168px;
	}
}

@media (max-width: 1000px) {
	.dmb-news-columns {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}

	/* Rail goes horizontal; a sticky unit has nothing to travel against. */
	.dmb-rail {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px;
		align-items: start;
	}

	.dmb-ad.is-sticky {
		position: static;
	}

	.dmb-ad--half-page .dmb-ad-frame {
		height: 250px;
		width: 300px;
	}

	.dmb-lead-block {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.dmb-band-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.dmb-news {
		padding: 0 18px 64px;
		--block-gap: 36px;
	}

	.dmb-masthead {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 28px 0 16px;
	}

	.dmb-market-strip {
		gap: 16px;
	}

	.dmb-market-strip-more {
		display: none;
	}

	.dmb-rail {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.dmb-band-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.dmb-story--river {
		gap: 16px;
		padding: 20px 0;
	}

	.dmb-story--river .dmb-story-figure {
		width: 108px;
		aspect-ratio: 1 / 1;
	}

	.dmb-story--river .dmb-story-title {
		font-size: 1.04rem;
	}

	.dmb-story--river .dmb-story-dek {
		display: none;
	}

	.dmb-story--card .dmb-story-figure {
		aspect-ratio: 16 / 9;
	}

	.dmb-ad-native {
		gap: 16px;
		padding: 14px;
	}

	.dmb-ad-native-thumb {
		width: 108px;
		aspect-ratio: 1 / 1;
	}

	.dmb-ad-native-title {
		font-size: 0.98rem;
	}

	.dmb-ad--leaderboard .dmb-ad-frame,
	.dmb-ad--billboard .dmb-ad-frame {
		height: 100px;
	}

	.dmb-article-content,
	.dmb-share-bar,
	.dmb-author-card,
	.dmb-ad--in-article {
		max-width: 100%;
	}

	.dmb-article-content {
		font-size: 1.04rem;
	}

	.dmb-post-nav {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.dmb-post-nav-link.next {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dmb-lead-figure-img,
	.dmb-story-figure-img {
		transition: none;
	}

	.dmb-lead:hover .dmb-lead-figure-img,
	.dmb-story:hover .dmb-story-figure-img {
		transform: none;
	}
}
