/* ==========================================================================
   DukeCityWire — magazine theme
   Type scale, colour and rhythm mirror the Newspaper "Week Pro" reference.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	--dcw-accent: #ec3535;
	--dcw-accent-dark: #d92b2b;

	--dcw-ink: #000;
	--dcw-head: #111;
	--dcw-muted: #767676;
	--dcw-tint: #f7f7f7;
	--dcw-line: #ebebeb;
	--dcw-line-strong: #dcdcdc;
	--dcw-ghost: #f0f0f0;

	--dcw-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--dcw-serif: "PT Serif", Georgia, "Times New Roman", serif;
	--dcw-display: Roboto, "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	--dcw-body: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;

	--dcw-container: 1440px;
	--dcw-narrow: 1248px;
	--dcw-gutter: 24px;
	--dcw-gap: 20px;
	--dcw-rail: 310px;
	--dcw-rail-gap: 48px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.dcw {
	margin: 0;
	background: #fff;
	color: var(--dcw-ink);
	font-family: var(--dcw-sans);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* `clip`, not `hidden`: hidden turns the body into a scroll container, which
	   silently breaks position:sticky for everything inside it. */
	overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--dcw-accent); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
figure { margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999;
	width: auto; height: auto; clip: auto; clip-path: none;
	padding: 12px 18px; background: var(--dcw-accent); color: #fff;
	font-weight: 600;
}
:focus-visible { outline: 2px solid var(--dcw-accent); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.dcw-container {
	width: 100%;
	max-width: var(--dcw-container);
	margin-inline: auto;
	padding-inline: var(--dcw-gutter);
}
.dcw-container--narrow { max-width: var(--dcw-narrow); }

.dcw-main { display: block; }

/* `clip` (not `hidden`) so the oversized ghost watermark can never widen the
   document, while still overflowing the heading vertically as designed. */
.dcw-section { padding-block: 44px; overflow-x: clip; }
.dcw-section--flush { padding-block: 32px 0; }
.dcw-section--banner { padding-block: 24px 34px; }
.dcw-section--tinted { background: var(--dcw-tint); padding-block: 52px; margin-block: 20px; }
.dcw-section--latest { padding-top: 34px; }

.dcw-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--dcw-rail);
	gap: var(--dcw-rail-gap);
	align-items: start;
}
.dcw-with-sidebar__main { min-width: 0; }
.dcw-with-sidebar__aside {
	min-width: 0; display: flex; flex-direction: column;
	justify-content: flex-start; gap: 34px;
}

.dcw-grid { display: grid; gap: var(--dcw-gap); }
.dcw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dcw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dcw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dcw-grid + .dcw-grid { margin-top: 26px; }
.dcw-grid--tight { gap: 20px 20px; }
.dcw-grid--textonly { margin-top: 30px; row-gap: 0; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.dcw-header { position: relative; z-index: 40; background: #fff; }
.dcw-header__bar { border-bottom: 1px solid var(--dcw-line); }

/* One row: wordmark, then the sections, then search + subscribe. */
.dcw-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 30px;
	min-height: 86px;
}
.dcw-header__brand { display: flex; align-items: center; }
.dcw-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }

.dcw-search-toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--dcw-head); font-weight: 700; font-size: 14px; }
.dcw-search-toggle:hover { color: var(--dcw-accent); }

.dcw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--dcw-accent); color: #fff;
	font-family: var(--dcw-sans); font-weight: 600; font-size: 13px; letter-spacing: .4px;
	padding: 12px 18px; border: 0; cursor: pointer;
	transition: background .15s ease;
}
.dcw-btn:hover { background: var(--dcw-accent-dark); color: #fff; }
.dcw-btn--block { width: 100%; }
.dcw-btn--header { padding: 11px 17px; white-space: nowrap; }

/* Wordmark ------------------------------------------------------------- */
.dcw-logo--text {
	display: inline-flex; align-items: flex-start; gap: 3px;
	font-family: var(--dcw-serif);
	font-weight: 700; font-style: italic;
	font-size: 36px; line-height: 1.05;
	letter-spacing: -1px;
	color: var(--dcw-accent);
	white-space: nowrap;
}
.dcw-logo--text:hover { color: var(--dcw-accent-dark); }
.dcw-logo__sup {
	font-family: var(--dcw-sans); font-style: normal; font-weight: 600;
	font-size: 9px; letter-spacing: 1px; margin-top: 5px;
}
.dcw-logo img { max-height: 48px; width: auto; }
.dcw-logo--footer { font-size: 34px; }
.dcw-logo--footer .dcw-logo__sup { font-size: 9px; margin-top: 3px; }

/* Sections nav --------------------------------------------------------- */
.dcw-nav { min-width: 0; }
.dcw-nav__menu {
	display: flex; align-items: center;
	/* Centred in the middle grid column, so the sections sit between the
	   wordmark and the actions rather than hugging the wordmark. `safe`
	   keeps the first item reachable if the row ever has to scroll. */
	justify-content: center;
	justify-content: safe center;
	gap: 0 34px; list-style: none;
}
.dcw-nav__menu > li { position: relative; flex: 0 0 auto; }
.dcw-nav__menu > li > a {
	display: block; padding: 12px 0;
	font-weight: 600; font-size: 17px; letter-spacing: .1px;
	color: var(--dcw-head); white-space: nowrap;
}
.dcw-nav__menu > li:hover > a,
.dcw-nav__menu > .current-menu-item > a,
.dcw-nav__menu > .current-cat > a { color: var(--dcw-accent); }

.dcw-nav__menu .sub-menu {
	position: absolute; top: 100%; left: -16px; z-index: 50;
	min-width: 230px; padding: 8px 0; margin: 0;
	background: #fff; border: 1px solid var(--dcw-line);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
	list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.dcw-nav__menu > li:hover .sub-menu,
.dcw-nav__menu > li:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.dcw-nav__menu .sub-menu a { display: block; padding: 10px 18px; font-size: 15px; font-weight: 500; }

/* --------------------------------------------------------------------------
   5. Ticker
   -------------------------------------------------------------------------- */
.dcw-ticker { background: var(--dcw-tint); }
.dcw-ticker__inner { display: flex; align-items: center; gap: 18px; padding-block: 18px; }

.dcw-ticker__track {
	flex: 1; min-width: 0;
	display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 24px);
	gap: 32px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.dcw-ticker__track::-webkit-scrollbar { display: none; }
.dcw-ticker__item { scroll-snap-align: start; min-width: 0; }
.dcw-ticker__title {
	font-family: var(--dcw-serif); font-size: 15px; font-weight: 700;
	line-height: 1.35; color: var(--dcw-head);
	margin-bottom: 8px;
}
.dcw-ticker__date { font-size: 13px; color: var(--dcw-muted); }

.dcw-round-btn {
	flex: 0 0 auto;
	width: 40px; height: 40px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #e6e6e6; color: #8a8a8a;
	transition: background .15s ease, color .15s ease;
}
.dcw-round-btn:hover { background: var(--dcw-accent); color: #fff; }

/* --------------------------------------------------------------------------
   6. Type helpers
   -------------------------------------------------------------------------- */
.dcw-block-title {
	font-family: var(--dcw-display);
	font-weight: 800; font-size: 26px; line-height: 1.1;
	letter-spacing: -.6px; color: var(--dcw-head);
}
.dcw-block-kicker {
	margin: 10px 0 16px;
	font-size: 11px; font-weight: 700; letter-spacing: .2px;
	text-transform: uppercase; color: var(--dcw-head);
}

.dcw-section-head { position: relative; margin-bottom: 26px; }
.dcw-section-head--left { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 10px; }
.dcw-section-head--left::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0;
	height: 3px; background: var(--dcw-accent);
}
.dcw-section-head__title {
	font-family: var(--dcw-display);
	font-weight: 800; font-size: 26px; line-height: 1.1;
	letter-spacing: -.6px; color: var(--dcw-head);
}
.dcw-section-head--center {
	display: flex; flex-direction: column; align-items: center;
	margin-bottom: 34px; padding-top: 18px;
}
.dcw-section-head--center .dcw-section-head__title { position: relative; z-index: 1; }
.dcw-section-head__ghost {
	position: absolute; left: 50%; top: 50%;
	transform: translate(-50%, -55%);
	font-family: var(--dcw-display); font-weight: 900;
	font-size: clamp(48px, 6vw, 84px); line-height: 1;
	letter-spacing: -2px; color: var(--dcw-ghost);
	white-space: nowrap; pointer-events: none; user-select: none;
}
.dcw-section--tinted .dcw-section-head__ghost { color: #eaeaea; }

.dcw-viewall {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 12px; font-weight: 600; letter-spacing: .4px;
	color: var(--dcw-head); white-space: nowrap;
}
.dcw-viewall:hover { color: var(--dcw-accent); }
.dcw-viewall .dcw-icon { color: var(--dcw-accent); }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.dcw-card { min-width: 0; }
.dcw-card__media { display: block; overflow: hidden; background: var(--dcw-tint); }
.dcw-card__media img,
.dcw-thumb-fallback { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.dcw-card:hover .dcw-card__media img { transform: scale(1.04); }

.dcw-thumb-fallback {
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #2a2a2a, #555);
	color: #fff; font-family: var(--dcw-display); font-weight: 900; font-size: 2.2em;
}

.dcw-card__title { color: var(--dcw-head); }
.dcw-card__title a { display: inline; }
.dcw-card__title a:hover { color: var(--dcw-accent); }

.dcw-t-serif .dcw-card__title { font-family: var(--dcw-serif); font-weight: 700; }
.dcw-t-sans .dcw-card__title { font-family: var(--dcw-sans); font-weight: 600; }

.dcw-ts-xl .dcw-card__title { font-size: 26px; line-height: 1.22; }
.dcw-ts-lg .dcw-card__title { font-size: 21px; line-height: 1.25; }
.dcw-ts-md .dcw-card__title { font-size: 17px; line-height: 1.3; }
.dcw-ts-sm .dcw-card__title { font-size: 15px; line-height: 1.36; }
.dcw-t-sans.dcw-ts-md .dcw-card__title { font-size: 14px; line-height: 1.4; }
.dcw-t-sans.dcw-ts-sm .dcw-card__title { font-size: 13px; line-height: 1.4; }

.dcw-card__excerpt {
	margin: 12px 0 0;
	font-family: var(--dcw-body); font-size: 13px; line-height: 21px;
	color: var(--dcw-muted);
}

/* Category label -------------------------------------------------------- */
.dcw-cat {
	display: inline-block;
	font-family: var(--dcw-sans); font-weight: 600; font-size: 11px;
	letter-spacing: -.2px; text-transform: uppercase;
}
.dcw-cat--text { color: var(--dcw-accent); }
.dcw-cat--text:hover { color: var(--dcw-accent-dark); }
.dcw-cat--badge {
	background: var(--dcw-accent); color: #fff;
	padding: 5px 8px; line-height: 1;
}
.dcw-cat--badge:hover { background: var(--dcw-accent-dark); color: #fff; }
.dcw-cat--light { color: #fff; letter-spacing: 1.4px; font-size: 12px; }

.dcw-exclusive {
	display: inline-block; vertical-align: middle;
	background: var(--dcw-accent); color: #fff;
	font-family: var(--dcw-sans); font-weight: 600; font-size: 10px;
	letter-spacing: .2px; text-transform: uppercase;
	padding: 3px 6px; margin-right: 5px; line-height: 1.2;
	position: relative; top: -1px;
}

/* Meta ------------------------------------------------------------------ */
.dcw-meta {
	display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
	margin-top: 12px;
	font-family: var(--dcw-sans); font-size: 13px; color: var(--dcw-ink);
}
.dcw-meta .dcw-cat { margin-right: 4px; }
.dcw-meta__avatar { display: inline-flex; }
.dcw-meta__avatar img { width: 20px; height: 20px; border-radius: 50%; }
.dcw-meta__author { font-weight: 700; letter-spacing: -.3px; }
.dcw-meta__sep { color: var(--dcw-muted); }
.dcw-meta__date { font-weight: 400; }
.dcw-meta--light, .dcw-meta--light a { color: #fff; }

.dcw-card__date { display: block; margin-top: 8px; font-size: 12px; color: var(--dcw-muted); }

/* Overlay card ---------------------------------------------------------- */
.dcw-card--overlay { position: relative; overflow: hidden; isolation: isolate; }
.dcw-card--overlay .dcw-card__media { position: absolute; inset: 0; }
.dcw-card--overlay::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, 0) 72%);
	pointer-events: none;
}
.dcw-card--overlay .dcw-card__body {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; align-items: flex-start;
	height: 100%; justify-content: flex-end;
	padding: 24px;
}
.dcw-card--overlay .dcw-card__title {
	margin-top: 14px;
	font-family: var(--dcw-sans); font-weight: 700; color: #fff;
	letter-spacing: -.4px;
}
.dcw-card--overlay .dcw-card__title a:hover { color: rgba(255, 255, 255, .8); }
.dcw-card--overlay .dcw-card__excerpt { color: rgba(255, 255, 255, .82); }

.dcw-card--overlay.dcw-card--lg { aspect-ratio: 544 / 600; }
.dcw-card--overlay.dcw-card--lg .dcw-card__title { font-size: 32px; line-height: 1.16; }
.dcw-card--overlay.dcw-card--md { aspect-ratio: 1 / 1; }
.dcw-card--overlay.dcw-card--md .dcw-card__title { font-size: 19px; line-height: 1.25; }
.dcw-card--overlay.dcw-card--md .dcw-card__body { padding: 20px; }
.dcw-card--overlay.dcw-card--sm { aspect-ratio: 310 / 300; }
.dcw-card--overlay.dcw-card--sm .dcw-card__title { font-size: 17px; line-height: 1.3; }
.dcw-card--overlay.dcw-card--sm .dcw-card__body { padding: 18px; }

/* Stacked card ---------------------------------------------------------- */
.dcw-card--stack .dcw-card__media { aspect-ratio: 3 / 2; margin-bottom: 14px; }
.dcw-card--stack .dcw-cat { margin-bottom: 8px; }
.dcw-card--stack.dcw-ts-lg .dcw-card__media { aspect-ratio: 330 / 220; }

/* Inline card ----------------------------------------------------------- */
.dcw-card--inline { display: flex; align-items: flex-start; gap: 14px; }
.dcw-card--inline .dcw-card__media { flex: 0 0 96px; width: 96px; aspect-ratio: 1 / 1; }
.dcw-card--inline .dcw-card__body { flex: 1; min-width: 0; }
.dcw-card--inline .dcw-cat { margin-bottom: 6px; }
.dcw-card--inline .dcw-cat + .dcw-card__title { margin-top: 0; }
.dcw-card--inline.dcw-thumb-right { flex-direction: row-reverse; }
.dcw-card--inline.dcw-thumb-none .dcw-card__body { width: 100%; }
.dcw-card--inline .dcw-card__title + .dcw-cat { margin: 8px 0 0; }

.dcw-card--divided { padding-block: 15px; border-bottom: 1px solid var(--dcw-line); }
.dcw-card--divided:first-child { padding-top: 0; }
.dcw-card--divided:last-child { border-bottom: 0; }
.dcw-grid--textonly .dcw-card--divided:nth-last-child(-n+3) { border-bottom: 0; }

/* Divided list item: headline, then a category + date row beneath it.
   A grid keeps the two aligned whatever the category name's length, and the
   date falls back to the full width when a card has no category. */
.dcw-card--divided .dcw-card__body,
.dcw-rail__list .dcw-card__body,
.dcw-footer__col .dcw-card--inline .dcw-card__body {
	display: grid; grid-template-columns: max-content 1fr; column-gap: 12px; align-items: baseline;
}
.dcw-card--divided .dcw-card__title,
.dcw-rail__list .dcw-card__title,
.dcw-footer__col .dcw-card--inline .dcw-card__title { grid-row: 1; grid-column: 1 / -1; }

.dcw-card--divided .dcw-cat,
.dcw-rail__list .dcw-cat,
.dcw-footer__col .dcw-card--inline .dcw-cat { grid-row: 2; grid-column: 1; margin: 10px 0 0; }

.dcw-card--divided .dcw-card__date,
.dcw-rail__list .dcw-card__date,
.dcw-footer__col .dcw-card--inline .dcw-card__date { grid-row: 2; grid-column: 1 / -1; margin: 10px 0 0; }

.dcw-card--divided .dcw-cat ~ .dcw-card__date,
.dcw-rail__list .dcw-cat ~ .dcw-card__date,
.dcw-footer__col .dcw-card--inline .dcw-cat ~ .dcw-card__date { grid-column: 2; }

/* "Popular" rail runs category above the headline, date below it. */
.dcw-card--catfirst .dcw-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.dcw-card--catfirst .dcw-cat { order: 1; margin: 0 0 7px; }
.dcw-card--catfirst .dcw-card__title { order: 2; }
.dcw-card--catfirst .dcw-card__date { order: 3; margin: 9px 0 0; }
.dcw-popular-box .dcw-card--catfirst { padding-block: 16px; }

/* wide inline (image beside a big headline) ------------------------------ */
.dcw-card--wide { gap: 22px; align-items: center; }
.dcw-card--wide .dcw-card__media { flex: 0 0 46%; width: 46%; aspect-ratio: 3 / 2; }
.dcw-card--lead .dcw-card__media { flex: 0 0 320px; width: 320px; aspect-ratio: 320 / 212; }
.dcw-card--row { align-items: flex-start; padding-block: 26px; border-bottom: 1px solid var(--dcw-line); }
.dcw-card--row:first-child { padding-top: 0; }
.dcw-card--row .dcw-card__media { flex: 0 0 320px; width: 320px; aspect-ratio: 320 / 212; }
.dcw-card--row .dcw-card__excerpt { margin-top: 10px; }

/* --------------------------------------------------------------------------
   8. Hero zone
   -------------------------------------------------------------------------- */
.dcw-hero { padding-block: 30px 34px; }
.dcw-hero__grid {
	display: grid;
	grid-template-columns: 262fr 544fr 268fr 262fr;
	gap: var(--dcw-gap);
	align-items: start;
}
.dcw-hero__col { min-width: 0; }
.dcw-hero__col--list { border-right: 1px solid var(--dcw-line); padding-right: 20px; }
.dcw-hero__list {
	max-height: 430px; overflow: hidden;
	/* the rail is scrollable; fade the cut so a clipped item reads as intentional */
	-webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}
.dcw-hero__arrows { display: flex; gap: 22px; padding-top: 16px; }
.dcw-arrow-btn { color: var(--dcw-head); display: inline-flex; }
.dcw-arrow-btn:hover { color: var(--dcw-accent); }

.dcw-hero__col--stack { display: flex; flex-direction: column; gap: 20px; }
.dcw-hero__col--stack .dcw-card--stack .dcw-card__media { aspect-ratio: 268 / 200; }

/* On the wide layout the two stacked features share the feature column's
   height, the way the reference lines the hero zone up along one baseline. */
@media (min-width: 1081px) {
	.dcw-hero__grid { align-items: stretch; }
	.dcw-hero__col--list, .dcw-hero__col--popular { align-self: start; }
	.dcw-hero__col--stack .dcw-card--stack { flex: 1; display: flex; flex-direction: column; min-height: 0; }
	.dcw-hero__col--stack .dcw-card--stack .dcw-card__media { flex: 1; min-height: 0; aspect-ratio: auto; }
}

.dcw-popular-box {
	border: 1px solid var(--dcw-line);
	background: #fff;
	padding: 4px 18px;
	margin-top: 16px;
}

/* --------------------------------------------------------------------------
   9. Social strip
   -------------------------------------------------------------------------- */
.dcw-socialstrip { border-block: 1px solid var(--dcw-line); }
.dcw-socialstrip__inner {
	display: grid; grid-template-columns: 1fr auto 1fr;
	align-items: center; gap: 20px; padding-block: 18px;
}
.dcw-socialstrip__kicker { font-size: 11px; font-weight: 700; letter-spacing: .2px; text-transform: uppercase; }
.dcw-socialstrip__text {
	font-family: var(--dcw-display); font-weight: 800; font-size: 20px;
	letter-spacing: -.4px; color: var(--dcw-head); text-align: center;
}
.dcw-social { display: inline-flex; align-items: center; gap: 14px; }
.dcw-social--strip { justify-content: flex-end; color: var(--dcw-accent); }
.dcw-social__link { display: inline-flex; }
.dcw-social--footer .dcw-social__link {
	width: 34px; height: 34px; align-items: center; justify-content: center;
	background: var(--dcw-head); color: #fff;
}
.dcw-social--footer .dcw-social__link:hover { background: var(--dcw-accent); }
.dcw-social--footer { margin-top: 20px; gap: 10px; }

/* --------------------------------------------------------------------------
   10. Ribbons, panels, promos
   -------------------------------------------------------------------------- */
.dcw-breaking { padding-block: 30px 10px; }
.dcw-breaking .dcw-container { position: relative; }

.dcw-ribbon {
	position: absolute; top: -18px; left: var(--dcw-gutter); z-index: 3;
	display: inline-block;
	background: var(--dcw-accent); color: #fff;
	font-family: var(--dcw-serif); font-weight: 700; font-size: 18px;
	padding: 9px 20px;
}
.dcw-ribbon--italic { font-style: italic; }
.dcw-ribbon--dark { background: var(--dcw-head); font-style: normal; font-size: 16px; top: -16px; left: 16px; }

.dcw-tintband { background: var(--dcw-tint); padding-block: 26px; }
.dcw-tintband .dcw-grid + .dcw-grid { margin-top: 22px; }
.dcw-tintband .dcw-card--inline .dcw-card__media { flex-basis: 96px; width: 96px; }

.dcw-panel {
	position: relative;
	border: 1px solid var(--dcw-line);
	padding: 26px;
	margin-top: 20px;
}
.dcw-panel .dcw-ribbon { top: -19px; left: 26px; }
.dcw-panel__grid { display: grid; grid-template-columns: 40.5fr 57fr; gap: 22px; }
.dcw-panel__lead .dcw-card--overlay.dcw-card--lg { aspect-ratio: 547 / 470; height: 100%; }
.dcw-panel__rest { align-content: start; }
.dcw-panel__rest .dcw-card--stack .dcw-card__media { aspect-ratio: 376 / 200; }

.dcw-rail { position: relative; }
.dcw-rail__list { margin-top: 18px; }
.dcw-rail__list .dcw-card--inline { padding-block: 13px; border-bottom: 1px solid var(--dcw-line); }
.dcw-rail__list .dcw-card--inline:last-child { border-bottom: 0; }

/* Promo ----------------------------------------------------------------- */
.dcw-promo {
	position: relative; display: block; overflow: hidden;
	background: linear-gradient(115deg, #1b2f8a 0%, #2745c4 42%, #b81f4a 78%, #ec3535 100%);
	color: #fff;
}
.dcw-promo:hover { color: #fff; }
.dcw-promo__glow {
	position: absolute; inset: -30% -10% auto auto; width: 70%; aspect-ratio: 1;
	background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .22), transparent 62%);
	pointer-events: none;
}
.dcw-promo__inner {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 8px; text-align: center; height: 100%;
}
.dcw-promo__title { font-family: var(--dcw-display); font-weight: 800; font-size: 20px; letter-spacing: .2px; }
.dcw-promo__sub { font-size: 13px; opacity: .9; }
.dcw-promo__btn {
	margin-top: 14px; padding: 10px 18px;
	background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5);
	font-size: 12px; font-weight: 600; letter-spacing: .6px;
	transition: background .15s ease;
}
.dcw-promo:hover .dcw-promo__btn { background: rgba(255, 255, 255, .3); }
.dcw-promo--box { aspect-ratio: 310 / 340; padding: 26px; }
.dcw-promo--banner { aspect-ratio: 1392 / 150; }
.dcw-promo--banner .dcw-promo__inner { gap: 4px; }
.dcw-promo--banner .dcw-promo__btn { margin-top: 12px; }

/* --------------------------------------------------------------------------
   11. Sidebar widgets
   -------------------------------------------------------------------------- */
.dcw-widget__title,
.dcw-subscribe__title,
.dcw-share__title {
	position: relative;
	font-family: var(--dcw-display); font-weight: 800; font-size: 22px;
	letter-spacing: -.5px; color: var(--dcw-head);
	padding-bottom: 9px; margin-bottom: 16px;
	border-bottom: 2px solid var(--dcw-accent);
}
.dcw-widget__list .dcw-card--inline { padding-block: 12px; border-bottom: 1px solid var(--dcw-line); }
.dcw-widget__list .dcw-card--inline:first-child { padding-top: 0; }
.dcw-widget__list .dcw-card--inline:last-child { border-bottom: 0; }
.dcw-widget__list .dcw-card--inline .dcw-card__media { flex: 0 0 78px; width: 78px; aspect-ratio: 78 / 58; }
.dcw-widget ul { list-style: none; }
.dcw-widget li { padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--dcw-line); }
.dcw-widget li:last-child { border-bottom: 0; }

.dcw-share__title { font-size: 15px; letter-spacing: .6px; text-align: center; border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
.dcw-share { border: 1px solid var(--dcw-line); padding: 20px; }
.dcw-share__links { display: flex; justify-content: center; gap: 8px; }
.dcw-share__link {
	width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--dcw-accent); color: #fff;
}
.dcw-share__link:hover { background: var(--dcw-head); color: #fff; }

/* Subscribe form -------------------------------------------------------- */
.dcw-subscribe__form input[type="email"] {
	width: 100%; padding: 13px 14px;
	border: 1px solid var(--dcw-line-strong); background: #fff;
	font-size: 13px; color: var(--dcw-ink);
}
.dcw-subscribe__form input[type="email"]::placeholder { color: #9a9a9a; }
.dcw-subscribe__form .dcw-btn { margin-top: 10px; letter-spacing: .8px; }
.dcw-subscribe__consent {
	display: flex; align-items: flex-start; gap: 8px;
	margin-top: 12px; font-size: 12px; color: var(--dcw-muted);
}
.dcw-subscribe__consent a { color: var(--dcw-accent); }

/* --------------------------------------------------------------------------
   11b. Ad slots
   -------------------------------------------------------------------------- */
.dcw-ad {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 100%; margin-inline: auto;
}
.dcw-ad__unit { max-width: 100%; text-align: center; }
.dcw-ad__creative { display: flex; align-items: center; justify-content: center; max-width: 100%; }
.dcw-ad__creative img { margin-inline: auto; max-width: 100%; height: auto; }
.dcw-ad__creative iframe, .dcw-ad__creative ins { max-width: 100%; }
.dcw-ad__label {
	display: block; margin-bottom: 7px;
	font-family: var(--dcw-sans); font-size: 10px; font-weight: 600;
	letter-spacing: 1.2px; text-transform: uppercase; color: #a3a3a3;
}

/* Full-width band under the header, and the footer zone. The band spans the
   viewport but its creative stays inside the site's container and gutters. */
.dcw-ad--band, .dcw-ad--footer { padding-inline: var(--dcw-gutter); }
.dcw-ad--band .dcw-ad__unit,
.dcw-ad--footer .dcw-ad__unit { max-width: min(100%, var(--dcw-container)); }
.dcw-ad--band { padding-block: 18px; border-bottom: 1px solid var(--dcw-line); }
.dcw-ad--header { background: #fff; }
.dcw-ad--footer { padding-block: 26px 6px; }

.dcw-ad--banner { margin-block: 0; }
.dcw-ad--content-top { margin-bottom: 30px; }
.dcw-ad--content-bottom { margin-top: 36px; }
.dcw-ad--inarticle { margin-block: 2em; }
.dcw-ad--infeed { margin-block: 4px 30px; }

/* Editor-only outline for a zone with nothing in it. */
.dcw-ad--empty .dcw-ad__placeholder {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	width: 100%; padding: 18px 16px;
	border: 1px dashed var(--dcw-line-strong); background: #fcfcfc;
	font-family: var(--dcw-sans); font-size: 12px; font-weight: 600;
	letter-spacing: .3px; color: #9a9a9a; text-align: center;
}
.dcw-ad--empty .dcw-ad__placeholder em { font-weight: 400; font-style: normal; font-size: 11px; color: #b4b4b4; }

@media (max-width: 820px) {
	.dcw-ad--band { padding-block: 14px; }
	.dcw-ad--content-top { margin-bottom: 22px; }
}

/* --------------------------------------------------------------------------
   12. Archive / search heads
   -------------------------------------------------------------------------- */
.dcw-archive-head { background: var(--dcw-tint); padding-block: 40px; text-align: center; }
.dcw-archive-head__kicker { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dcw-muted); margin-bottom: 6px; }
.dcw-archive-head__title {
	font-family: var(--dcw-serif); font-weight: 700; font-size: 42px;
	line-height: 1.15; color: var(--dcw-head);
}
.dcw-archive-head__desc, .dcw-archive-head__count { margin-top: 10px; font-size: 14px; color: var(--dcw-muted); }
.dcw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 20px; }
.dcw-chips__link { font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--dcw-head); }
.dcw-chips__link:hover, .dcw-chips__link.is-current { color: var(--dcw-accent); }

.dcw-list { margin-bottom: 30px; }
.dcw-empty { font-size: 16px; color: var(--dcw-muted); margin-bottom: 20px; }

/* Pagination ------------------------------------------------------------ */
.dcw .navigation.pagination { margin-top: 10px; }
.dcw .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dcw .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px;
	border: 1px solid var(--dcw-line); font-size: 13px; font-weight: 600;
}
.dcw .page-numbers:hover, .dcw .page-numbers.current {
	background: var(--dcw-accent); border-color: var(--dcw-accent); color: #fff;
}

/* --------------------------------------------------------------------------
   13. Single post
   -------------------------------------------------------------------------- */
.dcw-single__head { padding-block: 38px 0; }
.dcw-single__head .dcw-cat { font-size: 12px; letter-spacing: .3px; }
.dcw-single__title {
	margin-top: 12px; max-width: 940px;
	font-family: var(--dcw-serif); font-weight: 700;
	font-size: clamp(27px, 3.3vw, 44px); line-height: 1.16;
	color: var(--dcw-head);
}
.dcw-single__byline {
	display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
	margin-top: 18px; padding-bottom: 20px;
	border-bottom: 1px solid var(--dcw-line);
	font-size: 14px; color: var(--dcw-muted);
}
.dcw-single__byline a { font-weight: 700; color: var(--dcw-head); }
.dcw-single__byline time { font-weight: 400; color: var(--dcw-head); }
.dcw-single__byline-sep { width: 1px; height: 16px; background: var(--dcw-line-strong); }

.dcw-single__body { padding-block: 32px 12px; }

/* A restrained lead image — the headline carries the page, not the photo. */
.dcw-single__media { margin: 0 0 28px; }
.dcw-single__media img {
	width: 100%; max-width: 720px; margin-inline: auto;
	aspect-ratio: 16 / 9; object-fit: cover;
}
.dcw-single__media figcaption {
	margin-top: 9px; text-align: center;
	font-family: var(--dcw-body); font-size: 12px; color: var(--dcw-muted);
}

/* Contents rail --------------------------------------------------------- */
.dcw-toc {
	border: 1px solid var(--dcw-line); padding: 18px 20px 20px;
	background: #fff;
}

.dcw-toc__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dcw-toc__title {
	font-family: var(--dcw-display); font-weight: 800; font-size: 16px;
	letter-spacing: -.2px; color: var(--dcw-head);
}
.dcw-toc__toggle { display: inline-flex; color: var(--dcw-muted); transition: transform .18s ease; }
.dcw-toc__toggle:hover { color: var(--dcw-accent); }
.dcw-toc.is-collapsed .dcw-toc__list { display: none; }
.dcw-toc.is-collapsed .dcw-toc__toggle { transform: rotate(-90deg); }

.dcw-toc__list { list-style: none; margin-top: 14px; }
.dcw-toc__item + .dcw-toc__item { margin-top: 11px; }
.dcw-toc__item--h3 { padding-left: 16px; }
.dcw-toc__item a { display: flex; gap: 10px; align-items: baseline; font-size: 13px; line-height: 1.42; color: var(--dcw-head); }
.dcw-toc__num { flex: 0 0 auto; font-family: var(--dcw-sans); font-weight: 700; font-size: 11px; color: var(--dcw-accent); }
.dcw-toc__item a:hover .dcw-toc__text { color: var(--dcw-accent); }
.dcw-toc__item a.is-active .dcw-toc__text { color: var(--dcw-accent); font-weight: 600; }

/* Only one of the two contents blocks is ever shown. */
.dcw-toc--inline { display: none; }

/* The rail travels with the article as one piece. Pinning the contents box on
   its own made the widgets below it scroll underneath and clip against its
   edge; moving the whole column keeps everything in one stacking context. */
@media (min-width: 1081px) {
	.dcw-single .dcw-with-sidebar__aside {
		position: sticky; top: 18px;
		max-height: calc(100vh - 36px);
		overflow-y: auto; overscroll-behavior: contain;
		scrollbar-width: thin; scrollbar-color: var(--dcw-line-strong) transparent;
		padding-right: 6px;
	}
	.dcw-single .dcw-with-sidebar__aside::-webkit-scrollbar { width: 6px; }
	.dcw-single .dcw-with-sidebar__aside::-webkit-scrollbar-thumb { background: var(--dcw-line-strong); }
}

/* Article body ---------------------------------------------------------- */
.dcw-prose { font-family: var(--dcw-sans); font-size: 16px; line-height: 1.6; color: var(--dcw-ink); }
/* Reset and re-space as siblings — `.dcw-prose p { margin: 0 }` would outrank
   the `* + *` rule below and collapse every paragraph gap. */
.dcw-prose > * { margin-block: 0; }
.dcw-prose > * + * { margin-top: 1.15em; }
.dcw-prose h2, .dcw-prose h3, .dcw-prose h4 {
	font-family: var(--dcw-serif); color: var(--dcw-head); line-height: 1.25; margin-top: 1.6em;
}
.dcw-prose h2 { font-size: 28px; }
.dcw-prose h3 { font-size: 22px; }
.dcw-prose h4 { font-size: 18px; }
.dcw-prose a { color: var(--dcw-accent); text-decoration: underline; text-underline-offset: 2px; }
.dcw-prose ul, .dcw-prose ol { padding-left: 1.3em; }
.dcw-prose li + li { margin-top: .4em; }
.dcw-prose img, .dcw-prose figure { margin-block: 1.6em; }
.dcw-prose figcaption { margin-top: 8px; font-size: 12px; color: var(--dcw-muted); text-align: center; }
.dcw-prose blockquote {
	margin: 1.8em 0; padding: 0 4%;
	font-family: var(--dcw-serif); font-style: italic; font-weight: 700;
	font-size: 25px; line-height: 1.3; color: var(--dcw-accent);
	text-align: center; border: 0;
}
.dcw-prose blockquote p { margin: 0; }
.dcw-prose code, .dcw-prose pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.dcw-prose pre { padding: 18px; background: var(--dcw-tint); overflow-x: auto; }
.dcw-prose table { width: 100%; border-collapse: collapse; }
.dcw-prose th, .dcw-prose td { padding: 10px; border: 1px solid var(--dcw-line); text-align: left; }

.dcw-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.dcw-tags__label { font-size: 11px; font-weight: 700; letter-spacing: .6px; margin-right: 4px; }
.dcw-tags a {
	display: inline-block; padding: 6px 11px;
	background: var(--dcw-tint); font-size: 11px; font-weight: 600;
	letter-spacing: .3px; text-transform: uppercase;
}
.dcw-tags a:hover { background: var(--dcw-accent); color: #fff; }

.dcw-authorbox { display: flex; gap: 20px; margin-top: 40px; padding: 24px; background: var(--dcw-tint); }
.dcw-authorbox__avatar { border-radius: 50%; flex: 0 0 auto; }
.dcw-authorbox__name { font-family: var(--dcw-display); font-weight: 800; font-size: 18px; letter-spacing: -.3px; }
.dcw-authorbox__bio { margin: 8px 0 0; font-family: var(--dcw-body); font-size: 13px; line-height: 21px; color: var(--dcw-muted); }

.dcw-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--dcw-line); }
.dcw-postnav__link--next { text-align: right; grid-column: 2; }
.dcw-postnav__label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--dcw-accent); }
.dcw-postnav__title { display: block; margin-top: 8px; font-family: var(--dcw-serif); font-weight: 700; font-size: 16px; line-height: 1.3; }

.dcw-related { margin-top: 44px; }
.dcw-pagelinks { margin-top: 24px; font-size: 13px; font-weight: 600; }

/* Comments -------------------------------------------------------------- */
.dcw-comments { margin-top: 46px; }
.dcw-comments__list { list-style: none; }
.dcw-comments__list ol { list-style: none; padding-left: 40px; }
.dcw-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--dcw-line); }
.dcw-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.dcw-comments .comment-author img { border-radius: 50%; }
.dcw-comments .comment-metadata { margin: 4px 0 10px; font-size: 12px; color: var(--dcw-muted); }
.dcw-comments__reply-title { font-family: var(--dcw-display); font-weight: 800; font-size: 22px; margin: 34px 0 16px; }
.dcw-comments input[type="text"], .dcw-comments input[type="email"], .dcw-comments input[type="url"], .dcw-comments textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--dcw-line-strong); background: #fff;
}
.dcw-comments label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.dcw-comments .form-submit input { all: unset; }
.dcw-comments .submit, .dcw-comments input[type="submit"] {
	background: var(--dcw-accent); color: #fff; padding: 13px 22px;
	font-weight: 600; font-size: 13px; letter-spacing: .5px; border: 0; cursor: pointer;
}

/* --------------------------------------------------------------------------
   14. Page / 404
   -------------------------------------------------------------------------- */
.dcw-page__media { margin-top: 26px; }
.dcw-404 { text-align: center; }
.dcw-404__inner { max-width: 620px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.dcw-404__code { font-family: var(--dcw-display); font-weight: 900; font-size: 110px; line-height: 1; color: var(--dcw-accent); margin: 0; }
.dcw-404__title { font-family: var(--dcw-serif); font-size: 32px; margin: 14px 0; }
.dcw-404__text { color: var(--dcw-muted); font-family: var(--dcw-body); }
.dcw-404 .dcw-searchform { width: 100%; margin: 10px 0 22px; }

/* Search form ----------------------------------------------------------- */
.dcw-searchform { display: flex; }
.dcw-searchform__input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--dcw-line-strong); background: #fff; }
.dcw-searchform__submit { display: inline-flex; align-items: center; justify-content: center; width: 52px; background: var(--dcw-accent); color: #fff; }
.dcw-searchform__submit:hover { background: var(--dcw-accent-dark); }

/* --------------------------------------------------------------------------
   15. Overlays: search + slide-out menu
   -------------------------------------------------------------------------- */
.dcw-search-overlay {
	position: fixed; inset: 0; z-index: 100;
	background: rgba(0, 0, 0, .92);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.dcw-search-overlay.is-open { opacity: 1; visibility: visible; }
.dcw-search-overlay__inner { width: min(680px, 88vw); position: relative; }
.dcw-search-overlay .dcw-searchform__input { padding: 18px; font-size: 18px; border: 0; }
.dcw-search-overlay__close { position: absolute; top: -60px; right: 0; color: #fff; }

body.dcw-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.dcw-footer { margin-top: 40px; background: var(--dcw-tint); }
.dcw-footer__top {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 20px;
	padding-block: 32px 22px;
	border-bottom: 2px solid var(--dcw-head);
}
.dcw-footer__nav { display: flex; flex-wrap: wrap; gap: 0 26px; list-style: none; }
.dcw-footer__nav a { font-size: 14px; font-weight: 600; }

.dcw-footer__cols {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px; padding-block: 36px 44px;
}
.dcw-footer__col .dcw-widget__title { font-size: 21px; border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
.dcw-footer__about { font-family: var(--dcw-body); font-size: 13px; line-height: 21px; color: var(--dcw-muted); }
.dcw-footer__links { list-style: none; }
.dcw-footer__links li { padding: 5px 0; font-size: 14px; }
.dcw-footer__col .dcw-card--inline { padding-block: 10px 12px; }

.dcw-footer__bottom { border-top: 1px solid var(--dcw-line-strong); padding-block: 20px; }
.dcw-footer__bottom p { margin: 0; text-align: center; font-size: 13px; color: var(--dcw-muted); }

.dcw-to-top {
	position: fixed; right: 18px; bottom: 26px; z-index: 60;
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--dcw-accent); color: #fff;
	opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.dcw-to-top.is-visible { opacity: 1; pointer-events: auto; }
.dcw-to-top:hover { background: var(--dcw-head); color: #fff; }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
	:root { --dcw-rail: 280px; --dcw-rail-gap: 36px; }
	.dcw-hero__grid { grid-template-columns: 240fr 500fr 250fr 250fr; }
	.dcw-logo--text { font-size: 44px; }
	.dcw-header__inner { min-height: 108px; }
}

@media (max-width: 1080px) {
	.dcw-hero__grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
	.dcw-hero__col--list { border-right: 0; padding-right: 0; }
	.dcw-hero__col--feature { grid-column: 1 / -1; order: -1; }
	.dcw-panel__grid { grid-template-columns: 1fr; }
	.dcw-panel__lead .dcw-card--overlay.dcw-card--lg { aspect-ratio: 16 / 9; }
	.dcw-with-sidebar { grid-template-columns: 1fr; }
	.dcw-with-sidebar__aside { flex-direction: row; flex-wrap: wrap; gap: 26px; }
	.dcw-toc--rail { display: none; }
	.dcw-toc--inline { display: block; position: static; margin-bottom: 26px; }
	.dcw-with-sidebar__aside > * { flex: 1 1 260px; }
	.dcw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The sections stop fitting beside the wordmark here, so the nav moves to its
   own row — no hamburger, every section still reachable. Measured: inline needs
   1148px (the wordmark steps up to 44px below 1280px, which is what actually
   squeezes the row), so this drops just above that with a little slack. */
@media (max-width: 1180px) {
	.dcw-header__inner {
		grid-template-columns: auto 1fr;
		column-gap: 16px; row-gap: 0;
		padding-block: 14px 0;
		min-height: 0;
	}
	.dcw-header__brand { grid-column: 1; grid-row: 1; }
	.dcw-header__actions { grid-column: 2; grid-row: 1; }
	.dcw-nav {
		grid-column: 1 / -1; grid-row: 2;
		margin-top: 12px; border-top: 1px solid var(--dcw-line);
		margin-inline: calc(var(--dcw-gutter) * -1);
		padding-inline: var(--dcw-gutter);
	}
	.dcw-nav__menu {
		flex-wrap: nowrap; overflow-x: auto;
		gap: 0 30px; scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.dcw-nav__menu::-webkit-scrollbar { display: none; }
	.dcw-nav__menu > li > a { padding: 14px 0; }
	.dcw-nav__menu .sub-menu { display: none; }
}

@media (max-width: 820px) {
	:root { --dcw-gutter: 16px; --dcw-gap: 16px; }
	.dcw-search-toggle span { display: none; }
	/* The wordmark can't wrap, so scale it with the viewport instead. */
	.dcw-logo--text { font-size: clamp(24px, 6vw, 34px); max-width: 100%; }
	.dcw-ticker__track { grid-auto-columns: calc(50% - 16px); gap: 24px; }
	.dcw-socialstrip__inner { grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; }
	.dcw-social--strip { justify-content: center; }
	.dcw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dcw-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
	.dcw-card--wide, .dcw-card--row, .dcw-card--lead { flex-direction: column; gap: 14px; }
	.dcw-card--wide .dcw-card__media,
	.dcw-card--row .dcw-card__media,
	.dcw-card--lead .dcw-card__media { flex: 0 0 auto; width: 100%; aspect-ratio: 3 / 2; }
	.dcw-ts-xl .dcw-card__title { font-size: 22px; }
	.dcw-card--overlay.dcw-card--lg .dcw-card__title { font-size: 24px; }
	.dcw-card--overlay.dcw-card--lg { aspect-ratio: 3 / 2; }
	.dcw-postnav { grid-template-columns: 1fr; }
	.dcw-postnav__link--next { grid-column: 1; text-align: left; }
	.dcw-archive-head__title { font-size: 32px; }
}

@media (max-width: 560px) {
	.dcw-logo__sup { display: none; }
	.dcw-btn--header { padding: 9px 11px; font-size: 11px; letter-spacing: .2px; }
	.dcw-grid--2, .dcw-grid--3, .dcw-grid--4 { grid-template-columns: 1fr; }
	.dcw-hero__grid { grid-template-columns: 1fr; }
	.dcw-ticker__track { grid-auto-columns: 84%; }
	.dcw-footer__cols { grid-template-columns: 1fr; }
	.dcw-section-head__ghost { font-size: clamp(36px, 12vw, 60px); }
	.dcw-tintband .dcw-card--inline { gap: 12px; }
	.dcw-404__code { font-size: 76px; }
	.dcw-card--overlay.dcw-card--lg { aspect-ratio: 4 / 5; }
	.dcw-authorbox { flex-direction: column; }
	.dcw-with-sidebar__aside { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
