/* ==========================================================================
   Ledgerline design system
   Mobile first. Breakpoints: 640 / 768 / 1024 / 1280.
   Shape rule: everything is square-cornered; only avatars are round.
   One accent (cobalt). Green and red are reserved for market direction.
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */
:root {
	--bg: #f6f7f9;
	--surface: #ffffff;
	--surface-2: #eceff3;
	--ink: #0f1726;
	--ink-2: #334055;
	--muted: #586172;
	--rule: #d6dbe2;
	--rule-strong: #9aa3b1;
	--accent: #0052e6;
	--accent-hover: #0046c4;
	--accent-ink: #ffffff;
	--accent-soft: #e2ebfd;
	--up: #0b7a4b;
	--down: #be3328;
	--scrim: rgba(14, 17, 23, .55);
	--cta: #d42a2a;
	--cta-hover: #b62424;
	--deep: #121c36;

	--font-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--ease-out: cubic-bezier(.23, 1, .32, 1);
	--ease-drawer: cubic-bezier(.32, .72, 0, 1);

	--gutter: 16px;
	--max: 1320px;
	--narrow: 760px;
	--wide: 1180px;
	--nav-h: 48px;
	--space: 1;
	--hs: 1;

	color-scheme: light;
}

:root[data-theme="dark"] {
	--bg: #0c0f14;
	--surface: #12161d;
	--surface-2: #161b24;
	--ink: #e9ecf1;
	--ink-2: #c5cbd5;
	--muted: #98a1b0;
	--rule: #262d39;
	--rule-strong: #4a5363;
	--accent: #86a6ff;
	--accent-hover: #a3bcff;
	--accent-ink: #0c0f14;
	--accent-soft: #1b2440;
	--up: #45d394;
	--down: #ff8277;
	--scrim: rgba(0, 0, 0, .65);
	--deep: #0d1428;
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0c0f14;
		--surface: #12161d;
		--surface-2: #161b24;
		--ink: #e9ecf1;
		--ink-2: #c5cbd5;
		--muted: #98a1b0;
		--rule: #262d39;
		--rule-strong: #4a5363;
		--accent: #86a6ff;
		--accent-hover: #a3bcff;
		--accent-ink: #0c0f14;
		--accent-soft: #1b2440;
		--up: #45d394;
		--down: #ff8277;
		--scrim: rgba(0, 0, 0, .65);
		--deep: #0d1428;
		color-scheme: dark;
	}
}

@media (min-width: 768px) {
	:root { --gutter: 24px; }
}
@media (min-width: 1280px) {
	:root { --gutter: 32px; }
}

/* Base -------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.5;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html.has-dialog { overflow: hidden; }

img,
svg,
video,
iframe { display: block; max-width: 100%; }
img { height: auto; }

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

::selection { background: var(--accent-soft); color: var(--ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--ink);
	color: var(--bg);
	font-weight: 600;
}
.skip-link:focus { top: 8px; }

.site-main:focus { outline: none; }

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(var(--wide) + 2 * var(--gutter)); }

.icon { flex: none; }

/* Buttons and inputs ------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 0;
	font-weight: 600;
	font-size: .9375rem;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 140ms var(--ease-out);
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--cta { background: var(--cta); color: #fff; letter-spacing: .04em; text-transform: uppercase; font-size: .8125rem; font-weight: 700; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
	.btn--accent:hover { background: var(--accent-hover); }
	.btn--ink:hover { background: var(--ink-2); }
	.btn--cta:hover { background: var(--cta-hover); }
	.btn--ghost:hover { background: var(--ink); color: var(--bg); }
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	touch-action: manipulation;
	transition: transform 140ms var(--ease-out), background-color 150ms ease;
}
.icon-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
	.icon-btn:hover { background: var(--surface-2); }
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--rule-strong);
	border-radius: 0;
	background: var(--surface);
	color: var(--ink);
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}
input::placeholder,
textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible,
textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }

label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }

/* Reading progress (CSS scroll-driven, no JS) ---------------------------- */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.progress {
			display: block;
			position: fixed;
			inset: 0 0 auto 0;
			height: 3px;
			z-index: 60;
			background: var(--accent);
			transform-origin: 0 50%;
			transform: scaleX(0);
			animation: ll-progress linear both;
			animation-timeline: scroll(root block);
		}
	}
}
@keyframes ll-progress { to { transform: scaleX(1); } }

/* Top bar and ticker ------------------------------------------------------ */
.topbar {
	/* Navy band: tokens are re-scoped so the ticker and links read on it. */
	--ink: #ffffff;
	--ink-2: rgba(255, 255, 255, .8);
	--muted: rgba(255, 255, 255, .62);
	--rule: rgba(255, 255, 255, .14);
	--surface-2: rgba(255, 255, 255, .1);
	--accent: #9db8ff;
	background: var(--deep);
	font-size: .75rem;
	color: var(--ink-2);
}
.topbar__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 36px;
}
.topbar__date {
	display: none;
	flex: none;
	font-weight: 600;
	color: var(--ink);
}
.topbar__links { display: none; flex: none; }
.topbar__list { display: flex; gap: 4px 18px; }
.topbar__list a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	font-weight: 600;
	color: var(--ink-2);
	transition: color 150ms ease;
}
.topbar__list a[aria-current="page"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
	.topbar__list a:hover { color: var(--ink); }
}
@media (min-width: 1024px) {
	.topbar__links { display: block; padding-left: 16px; border-left: 1px solid var(--rule); }
}
.topbar .icon-btn { width: 36px; height: 36px; margin-right: -8px; }

.when-dark { display: none; }
:root[data-theme="dark"] .when-dark { display: inline; }
:root[data-theme="dark"] .when-light { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .when-dark { display: inline; }
	:root:not([data-theme="light"]) .when-light { display: none; }
}

.ticker {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker--live { min-height: 36px; }
.ticker__track {
	display: flex;
	width: max-content;
	gap: 28px;
	padding-inline: 12px;
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.tick { display: inline-flex; align-items: center; gap: 6px; }
.tick__name { font-family: var(--font-sans); font-weight: 600; color: var(--ink); }
.tick__change { display: inline-flex; align-items: center; gap: 2px; }
.tick--up .tick__change { color: var(--up); }
.tick--down .tick__change { color: var(--down); }

@media (prefers-reduced-motion: no-preference) {
	.ticker__track { animation: ll-marquee 70s linear infinite; }
	.ticker:hover .ticker__track,
	.ticker:focus-within .ticker__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
	.ticker { overflow-x: auto; scrollbar-width: none; }
	.ticker__track li[aria-hidden="true"] { display: none; }
}
@keyframes ll-marquee { to { transform: translateX(-50%); } }

/* Masthead ---------------------------------------------------------------- */
.masthead { background: var(--bg); }
.masthead__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 8px;
	min-height: 64px;
}
.masthead__menu { margin-left: -10px; }
.masthead__actions { display: flex; align-items: center; gap: 4px; }
.masthead__sub { min-height: 38px; padding: 0 14px; font-size: .875rem; }

.brand { margin: 0; line-height: 1; }
.brand__word {
	display: inline-flex;
	align-items: baseline;
	font-weight: 800;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
	letter-spacing: -.045em;
	color: var(--ink);
}
.brand__word::after {
	content: "";
	width: .2em;
	height: .2em;
	margin-left: .06em;
	background: var(--accent);
}
.brand .custom-logo-link { display: inline-flex; align-items: center; }
.brand .custom-logo { display: block; height: 40px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .brand .logo-light { display: none; }
	:root:not([data-theme="light"]) .brand .logo-dark { display: block; }
}

@media (min-width: 768px) {
	.topbar__date { display: block; }
	.masthead__inner { min-height: 80px; }
	.brand .custom-logo { height: 56px; max-width: 240px; }
}

/* Sections nav (sticky, scrollable on small screens) ---------------------- */
.sections {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--bg);
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--rule);
}
.admin-bar .sections { top: 46px; }
@media (min-width: 783px) { .admin-bar .sections { top: 32px; } }
@media (max-width: 600px) { .admin-bar .sections { top: 0; } }

.sections .wrap { padding-inline: 0; }
.sections__list {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
	overscroll-behavior-x: contain;
	padding-inline: calc(var(--gutter) - 12px);
}
.sections__list::-webkit-scrollbar { display: none; }
.sections__list li { flex: none; scroll-snap-align: start; }
.sections__list a {
	display: flex;
	align-items: center;
	height: var(--nav-h);
	padding: 0 12px;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--ink-2);
	white-space: nowrap;
	box-shadow: inset 0 -3px 0 transparent;
	transition: color 150ms ease, box-shadow 150ms ease;
}
.sections__list .current-menu-item > a,
.sections__list a[aria-current="page"] {
	color: var(--ink);
	box-shadow: inset 0 -3px 0 var(--accent);
}
@media (hover: hover) and (pointer: fine) {
	.sections__list a:hover { color: var(--ink); }
}

/* Dialogs: drawer and search --------------------------------------------- */
dialog {
	padding: 0;
	border: 0;
	color: var(--ink);
	background: var(--bg);
	max-width: none;
	max-height: none;
}
dialog::backdrop { background: var(--scrim); }

.drawer {
	margin: 0;
	width: min(88vw, 400px);
	height: 100dvh;
	padding: 12px var(--gutter) 32px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-right: 1px solid var(--rule);
}
.drawer[open] { display: flex; flex-direction: column; gap: 20px; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.drawer__list li { border-bottom: 1px solid var(--rule); }
.drawer__list a { display: block; padding: 14px 0; font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.drawer__list .sub-menu a { padding: 8px 0 8px 16px; font-size: 1rem; font-weight: 500; }
.drawer__list .sub-menu li { border: 0; }
.drawer__minor { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; font-size: .9375rem; color: var(--ink-2); }
.drawer__minor a { display: block; padding: 6px 0; }
.drawer .btn { margin-top: auto; }

.searchbox {
	margin: 0;
	width: 100%;
	top: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--rule);
}
.searchbox__inner { display: flex; align-items: center; gap: 8px; }
.searchbox .search-form { flex: 1; }

@media (prefers-reduced-motion: no-preference) {
	.drawer[open] { animation: ll-drawer 320ms var(--ease-drawer); }
	.searchbox[open] { animation: ll-drop 220ms var(--ease-out); }
	dialog[open]::backdrop { animation: ll-fade 220ms ease-out; }
}
@keyframes ll-drawer { from { transform: translateX(-100%); } }
@keyframes ll-drop { from { transform: translateY(-16px); opacity: 0; } }
@keyframes ll-fade { from { opacity: 0; } }

.search-form {
	position: relative;
	display: flex;
	gap: 8px;
}
.search-form > .icon {
	position: absolute;
	left: 14px;
	top: 14px;
	color: var(--muted);
	pointer-events: none;
}
.search-form__input { padding-left: 44px !important; }
.search-form .btn { min-height: 48px; }

/* Shared story atoms ------------------------------------------------------ */
.kicker {
	display: inline-block;
	margin-bottom: 6px;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
	.kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
}

.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin-top: 10px;
	font-size: .8125rem;
	color: var(--muted);
}
.meta__author { font-weight: 600; color: var(--ink-2); }


/* Cards ------------------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__media {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--surface-2);
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--ease-out);
}
.card__title {
	font-size: calc(1.1875rem * var(--hs));
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.card__title a {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	transition: text-decoration-color 150ms ease;
}
.card__dek {
	margin-top: 8px;
	font-family: var(--font-serif);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--ink-2);
	text-wrap: pretty;
}
@media (hover: hover) and (pointer: fine) {
	.card:hover .card__title a { text-decoration-color: var(--accent); }
	.card:hover .card__media img { transform: scale(1.025); }
}

.media-fallback {
	display: grid;
	place-items: end start;
	width: 100%;
	height: 100%;
	padding: 16px;
	background:
		linear-gradient(135deg, transparent 55%, var(--accent-soft) 55%),
		var(--surface-2);
}
.media-fallback span {
	font-weight: 800;
	font-size: clamp(1.25rem, 3vw, 2rem);
	letter-spacing: -.03em;
	color: var(--rule-strong);
}

/* Variants */
.card--lead .card__media,
.card--wide .card__media,
.card--feature .card__media { aspect-ratio: 16 / 9; }
.card--lead .card__title {
	font-size: calc(clamp(1.75rem, 1.2rem + 2.2vw, 2.875rem) * var(--hs));
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -.03em;
}
.card--lead .card__dek { font-size: 1.125rem; max-width: 60ch; }
.card--feature .card__title,
.card--wide .card__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.card--duo .card__title { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); font-weight: 750; }

.card--list {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px;
	align-items: start;
	gap: 14px;
	padding-block: 16px;
	border-top: 1px solid var(--rule);
}
.card--list .card__media { order: 2; aspect-ratio: 1; }
.card--list .card__title { font-size: 1.0625rem; }
.card--list .meta { margin-top: 6px; }

.card--text { padding-top: 14px; border-top: 1px solid var(--rule); gap: 0; }
.card--text .card__title { font-size: 1.0625rem; }

.card--result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 112px;
	gap: 16px;
	padding-block: 20px;
	border-top: 1px solid var(--rule);
}
.card--result .card__media { order: 2; aspect-ratio: 1; }

@media (min-width: 640px) {
	.card--list { grid-template-columns: minmax(0, 1fr) 128px; }
	.card--result { grid-template-columns: minmax(0, 1fr) 200px; }
	.card--result .card__media { aspect-ratio: 3 / 2; }
}

/* Lead package ------------------------------------------------------------ */
.lead-package {
	display: grid;
	gap: 28px;
	padding-block: 20px 40px;
}
.lead-package__second { display: grid; gap: 28px; }
.rail-title {
	padding-bottom: 10px;
	margin-bottom: 4px;
	border-bottom: 2px solid var(--ink);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -.01em;
}
.latest__item {
	display: grid;
	gap: 4px;
	padding-block: 12px;
	border-bottom: 1px solid var(--rule);
}
.latest__item:last-child { border-bottom: 0; }
.latest__item time {
	font-family: var(--font-mono);
	font-size: .75rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.latest__item a { font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
@media (hover: hover) and (pointer: fine) {
	.latest__item a:hover { color: var(--accent); }
}

@media (max-width: 767px) {
	.lead-package__second { gap: 0; }
	.lead-package__second .card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 112px;
		align-items: start;
		gap: 14px;
		padding-block: 16px;
		border-top: 1px solid var(--rule);
	}
	.lead-package__second .card__media { order: 2; aspect-ratio: 1; }
	.lead-package__second .card__dek { display: none; }
	.lead-package__second .card__title { font-size: 1.0625rem; }
	.lead-package__second .meta { margin-top: 6px; }
}
@media (min-width: 768px) {
	.lead-package { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 28px; }
	.lead-package__main { grid-column: 1 / -1; }
	.lead-package__second { grid-column: 1 / 2; }
	.lead-package__latest { grid-column: 2 / 3; }
}
@media (min-width: 1024px) {
	.lead-package {
		grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, .85fr);
		gap: 0;
	}
	.lead-package > * { padding-inline: 20px; }
	.lead-package > * + * { border-left: 1px solid var(--rule); }
	.lead-package__main { grid-column: auto; padding-left: 0; }
	.lead-package__second { grid-column: auto; align-content: start; }
	.lead-package__second .card + .card { padding-top: 24px; border-top: 1px solid var(--rule); }
	.lead-package__latest { grid-column: auto; padding-right: 0; }
}

/* Markets band ------------------------------------------------------------ */
.markets {
	background: var(--surface-2);
	border-block: 1px solid var(--rule);
}
.markets__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.quote {
	display: grid;
	gap: 2px;
	padding: 16px 12px;
	border-bottom: 1px solid var(--rule);
}
.quote:nth-child(odd) { border-right: 1px solid var(--rule); padding-left: 0; }
.quote__name { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.quote__value {
	font-family: var(--font-mono);
	font-size: 1.125rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: -.02em;
}
.quote__change {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-family: var(--font-mono);
	font-size: .8125rem;
	font-variant-numeric: tabular-nums;
}
.quote--up .quote__change { color: var(--up); }
.quote--down .quote__change { color: var(--down); }

@media (min-width: 768px) {
	.markets__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.quote,
	.quote:nth-child(odd) { padding: 18px 20px; border-right: 1px solid var(--rule); border-bottom: 0; }
	.quote:nth-child(3n + 1) { padding-left: 0; }
	.quote:nth-child(3n) { border-right: 0; }
	.quote:nth-child(n + 4) { border-top: 1px solid var(--rule); }
}
@media (min-width: 1024px) {
	.markets__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.quote,
	.quote:nth-child(3n) { border-right: 1px solid var(--rule); padding-left: 20px; }
	.quote:nth-child(n + 4) { border-top: 0; }
	.quote:nth-child(3n + 1) { padding-left: 20px; }
	.quote:first-child { padding-left: 0; }
	.quote:last-child { border-right: 0; }
}

/* Section blocks ---------------------------------------------------------- */
.block { padding-block: calc(40px * var(--space)); }
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	margin-bottom: 24px;
	border-top: 2px solid var(--ink);
}
.section-head__title {
	font-size: calc(clamp(1.375rem, 1.2rem + .6vw, 1.75rem) * var(--hs));
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.1;
}
.section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--ink-2);
}
@media (hover: hover) and (pointer: fine) {
	.section-head__title a:hover,
	.section-head__more:hover { color: var(--accent); }
}

/* Feature: one big story and a list */
.block--feature .block__grid { display: grid; gap: 24px; }
.block__list .card--list:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
	.block--feature .block__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; }
	.block__list { padding-left: 40px; border-left: 1px solid var(--rule); }
}

/* Row: horizontal scroll on phones, grid from tablet */
.block--row .block__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(250px, 78%);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	margin-inline: calc(-1 * var(--gutter));
	padding-inline: var(--gutter);
	scroll-padding-inline: var(--gutter);
}
.block--row .block__grid::-webkit-scrollbar { display: none; }
.block--row .card { scroll-snap-align: start; }
@media (min-width: 768px) {
	.block--row .block__grid {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
		margin-inline: 0;
		padding-inline: 0;
		gap: 32px 24px;
	}
}
@media (min-width: 1024px) {
	.block--row .block__grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* Duo: two large stories and a strip of headlines */
.block--duo .block__grid { display: grid; gap: 28px; }
.block__texts { display: grid; gap: 0 24px; }
@media (min-width: 768px) {
	.block--duo .block__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.block__texts { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Ranked: most read */
.ranked { counter-reset: rank; display: grid; }
.ranked__item {
	counter-increment: rank;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 12px;
	padding-block: 16px;
	border-bottom: 1px solid var(--rule);
}
.ranked__item::before {
	content: counter(rank);
	font-family: var(--font-mono);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: .9;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}
.ranked__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
@media (hover: hover) and (pointer: fine) {
	.ranked__title a:hover { color: var(--accent); }
}
@media (min-width: 1024px) {
	.ranked { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.ranked__item {
		grid-template-columns: 1fr;
		padding: 0 20px;
		border-bottom: 0;
		border-left: 1px solid var(--rule);
	}
	.ranked__item:first-child { padding-left: 0; border-left: 0; }
	.ranked__item::before { font-size: 3rem; }
}

/* Opinion band */
.opinion {
	padding-block: 40px 48px;
	margin-block: 16px;
	background: var(--surface-2);
	border-block: 1px solid var(--rule);
}
.opinion__grid { display: grid; gap: 28px; }
.column-card__who {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: .875rem;
	font-weight: 700;
}
.avatar { border-radius: 50%; background: var(--rule); flex: none; object-fit: cover; }
.avatar--initials {
	display: inline-grid;
	place-items: center;
	width: var(--size, 48px);
	height: var(--size, 48px);
	background: hsl(var(--hue, 220) 45% 88%);
	color: hsl(var(--hue, 220) 55% 26%);
	font-weight: 700;
	font-size: calc(var(--size, 48px) * .38);
	letter-spacing: -.02em;
	line-height: 1;
}
:root[data-theme="dark"] .avatar--initials { background: hsl(var(--hue, 220) 30% 24%); color: hsl(var(--hue, 220) 60% 86%); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .avatar--initials { background: hsl(var(--hue, 220) 30% 24%); color: hsl(var(--hue, 220) 60% 86%); }
}
.column-card__title {
	font-family: var(--font-serif);
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.01em;
	text-wrap: balance;
}
@media (hover: hover) and (pointer: fine) {
	.column-card__title a:hover { color: var(--accent); }
}
@media (min-width: 768px) { .opinion__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1024px) {
	.opinion__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
	.column-card { padding: 0 24px; border-left: 1px solid var(--rule); }
	.column-card:first-child { padding-left: 0; border-left: 0; }
}

/* Newsletter */
.newsletter {
	display: grid;
	gap: 20px;
	margin-block: 40px;
	padding: 28px 20px;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-top: 4px solid var(--accent);
}
.newsletter__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.newsletter__copy p { margin-top: 8px; color: var(--ink-2); max-width: 46ch; }
.newsletter__row { display: flex; flex-direction: column; gap: 8px; }
.newsletter__row .btn { min-height: 48px; }
.newsletter__note { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.newsletter__admin { font-size: .875rem; color: var(--muted); border-left: 3px solid var(--rule-strong); padding-left: 12px; }
@media (min-width: 640px) { .newsletter__row { flex-direction: row; } }
@media (min-width: 1024px) {
	.newsletter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 40px 48px; }
}

.more-stories { display: flex; justify-content: center; padding-block: 8px 56px; }

.empty-state { padding-block: 64px; max-width: 640px; display: grid; gap: 16px; }
.empty-state h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.025em; }
.empty-state p { color: var(--ink-2); }

/* Archive / stream ------------------------------------------------------- */
.archive-head { padding-block: 24px 28px; border-bottom: 1px solid var(--rule); }
.archive-head__title {
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
}
.archive-head__page { color: var(--muted); font-weight: 600; font-size: .5em; letter-spacing: -.01em; }
.archive-head__desc { margin-top: 12px; max-width: 64ch; font-family: var(--font-serif); font-size: 1.125rem; color: var(--ink-2); }
.archive-head__count { margin-top: 8px; color: var(--muted); }
.archive-head--search .search-form { margin-top: 20px; max-width: 640px; }
.archive-head__author { display: flex; align-items: center; gap: 20px; }

.stream { padding-block: 28px 64px; }
.stream__grid { display: grid; gap: 32px; }
.card--wide { padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.card--result + .card--result { margin-top: -32px; }
.stream__grid > .card--result:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 768px) {
	.stream__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
	.card--wide,
	.card--result { grid-column: 1 / -1; }
	.card--wide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
	.card--result + .card--result { margin-top: -40px; }
}
@media (min-width: 1024px) {
	.stream__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pager { margin-top: 48px; }
.pager ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager a,
.pager span {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--rule);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pager .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager .dots { border: 0; }
@media (hover: hover) and (pointer: fine) {
	.pager a:hover { border-color: var(--ink); }
}

/* Article ----------------------------------------------------------------- */
.crumbs { margin-bottom: 16px; font-size: .8125rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.crumbs li + li::before { content: "/"; color: var(--rule-strong); }
.crumbs li:last-child { display: none; }
.crumbs a { font-weight: 600; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--accent); } }

.story__head { padding-block: 28px 24px; }
.story__head .crumbs + .kicker { display: none; }
.story__title {
	font-size: calc(clamp(2rem, 1.35rem + 2.8vw, 3.375rem) * var(--hs));
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.035em;
	text-wrap: balance;
}
.story__dek {
	margin-top: 16px;
	font-family: var(--font-serif);
	font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);
	line-height: 1.45;
	color: var(--ink-2);
	text-wrap: pretty;
}

.byline {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 12px 14px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--rule);
}
.byline__name { font-size: .9375rem; font-weight: 600; }
.byline__name a { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.byline__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .8125rem; color: var(--muted); }
.byline .follow { grid-column: 1 / -1; }
@media (min-width: 640px) {
	.byline { grid-template-columns: auto minmax(0, 1fr) auto; }
	.byline .follow { grid-column: auto; }
}

.share { display: flex; gap: 6px; }
.share a,
.share button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--rule);
	background: transparent;
	color: var(--ink);
	transition: border-color 150ms ease, color 150ms ease, transform 140ms var(--ease-out);
}
.share a:active,
.share button:active { transform: scale(.94); }
.share .is-done { border-color: var(--up); color: var(--up); }
@media (hover: hover) and (pointer: fine) {
	.share a:hover,
	.share button:hover { border-color: var(--ink); }
}

.story__hero { margin-bottom: 32px; padding-inline: 0; }
.story__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.story__hero figcaption,
.prose figcaption,
.wp-caption-text {
	padding: 10px var(--gutter) 0;
	font-size: .8125rem;
	line-height: 1.45;
	color: var(--muted);
}
@media (min-width: 1180px) {
	.story__hero { padding-inline: var(--gutter); }
	.story__hero figcaption { padding-inline: 0; }
}

.story__layout { display: grid; gap: 48px; padding-bottom: 32px; }
.story__body { min-width: 0; max-width: var(--narrow); margin-inline: auto; width: 100%; }
.story__aside { display: grid; gap: 32px; align-content: start; }
@media (min-width: 1024px) {
	.story__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; max-width: calc(var(--wide) + 2 * var(--gutter)); }
	.story__body { margin-inline: 0; }
	.story__aside { position: sticky; top: calc(var(--nav-h) + 24px); }
	.admin-bar .story__aside { top: calc(var(--nav-h) + 56px); }
}

/* Prose (article body) */
.prose {
	font-family: var(--font-serif);
	font-size: 1.1875rem;
	line-height: 1.7;
	color: var(--ink);
	font-variant-numeric: oldstyle-nums proportional-nums;
	overflow-wrap: break-word;
}
.prose > * + * { margin-top: 1.25em; }
.prose a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) { .prose a:hover { text-decoration-thickness: 2px; } }
.prose h2,
.prose h3,
.prose h4 {
	font-family: var(--font-sans);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin-top: 1.8em;
}
.prose h2 { font-size: 1.625rem; }
.prose h3 { font-size: 1.3125rem; }
.prose h4 { font-size: 1.125rem; }
.prose h2 + *,
.prose h3 + * { margin-top: .6em; }
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 700; }
.prose blockquote:not(.wp-block-pullquote blockquote) {
	padding-left: 20px;
	border-left: 3px solid var(--accent);
	font-family: var(--font-sans);
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -.01em;
}
.prose blockquote cite { display: block; margin-top: 10px; font-size: .875rem; font-weight: 500; font-style: normal; color: var(--muted); }
.prose .wp-block-pullquote {
	padding: 28px 0;
	border-block: 2px solid var(--ink);
	text-align: left;
}
.prose .wp-block-pullquote p {
	font-family: var(--font-sans);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.03em;
}
.prose figure,
.prose .wp-block-image { margin-inline: 0; }
.prose figcaption { padding-inline: 0; font-family: var(--font-sans); }
.prose img { background: var(--surface-2); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2.5em; }
.prose code { font-family: var(--font-mono); font-size: .85em; background: var(--surface-2); padding: .1em .35em; }
.prose pre { font-family: var(--font-mono); font-size: .875rem; background: var(--surface-2); padding: 16px; overflow-x: auto; line-height: 1.6; }
.prose table,
.prose .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-sans);
	font-size: .9375rem;
	font-variant-numeric: lining-nums tabular-nums;
}
.prose .wp-block-table { overflow-x: auto; }
.prose th,
.prose td,
.prose .wp-block-table th,
.prose .wp-block-table td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-table figcaption { margin-top: 0; text-align: left; }
.prose thead th,
.prose .wp-block-table thead th { border-bottom: 2px solid var(--ink); font-weight: 700; }
.prose th:first-child,
.prose td:first-child { padding-left: 0; }
.prose th:last-child,
.prose td:last-child { padding-right: 0; }
.prose td:not(:first-child),
.prose th:not(:first-child) { text-align: right; }
.prose .wp-block-embed,
.prose .embed { aspect-ratio: auto; }
.prose iframe { width: 100%; }
.prose .alignwide { margin-inline: 0; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
@media (min-width: 1280px) {
	.prose--page .alignwide { margin-inline: -120px; }
}

.prose.has-dropcap > p:first-of-type::first-letter {
	float: left;
	margin: .08em .1em 0 0;
	font-family: var(--font-sans);
	font-size: 4.1em;
	font-weight: 800;
	line-height: .82;
	letter-spacing: -.04em;
	color: var(--ink);
}

.page-links { display: flex; gap: 8px; font-family: var(--font-sans); font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tags a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--rule);
	font-size: .875rem;
	font-weight: 600;
}
@media (hover: hover) and (pointer: fine) { .tags a:hover { border-color: var(--ink); } }

.author-box {
	display: flex;
	gap: 16px;
	margin-top: 32px;
	padding-block: 24px;
	border-block: 1px solid var(--rule);
	font-size: .9375rem;
	color: var(--ink-2);
}
.author-box__name { font-weight: 700; color: var(--ink); font-size: 1.0625rem; margin-bottom: 4px; }

.widget + .widget { margin-top: 32px; }
.widget__title,
.widget h2,
.widget .wp-block-heading {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -.01em;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ink);
	margin-bottom: 8px;
}
.widget ul li { padding-block: 10px; border-bottom: 1px solid var(--rule); font-weight: 600; line-height: 1.3; }
.widget ul li:last-child { border-bottom: 0; }
.widget a:hover { color: var(--accent); }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.widget .wp-block-search__label { font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.widget .wp-block-search__input { border-radius: 0; }
.widget .wp-block-search__button {
	margin: 0;
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 0;
	background: var(--ink);
	color: var(--bg);
	font-weight: 600;
}
.widget .no-comments,
.widget .wp-block-latest-comments { font-size: .9375rem; color: var(--muted); }

/* Comments */
.comments { margin-top: 48px; }
.comments__title { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.comments__list .comment { padding-block: 16px; border-bottom: 1px solid var(--rule); }
.comments__list .children { padding-left: 24px; }
.comment-meta { display: flex; align-items: center; gap: 10px; font-size: .875rem; }
.comment-meta .avatar { width: 32px; height: 32px; }
.comment-metadata { color: var(--muted); font-size: .8125rem; }
.comment-content { margin-top: 8px; font-family: var(--font-serif); font-size: 1.0625rem; }
.comment-form p { margin-top: 16px; }
.comment-form .form-submit { margin-top: 20px; }

/* Pages, subscribe, 404 -------------------------------------------------- */
.page-entry__head { padding-block: 28px 24px; }
.page-entry__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; }
.page-entry .prose { padding-bottom: 64px; }

.subscribe__head { padding-block: 40px 32px; }
.subscribe__head > * { max-width: 840px; }
.subscribe__more { max-width: 720px; }
.subscribe__title { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.subscribe__lede { margin-top: 16px; font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink-2); max-width: 54ch; }
.plans { display: grid; gap: 20px; max-width: 920px; }
.plan {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px 24px;
	background: var(--surface);
	border: 1px solid var(--rule);
}
.plan--featured { border: 2px solid var(--accent); }
.plan__name { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__amount { font-size: 3rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__period { color: var(--muted); font-weight: 500; }
.plan__features { display: grid; gap: 10px; flex: 1; }
.plan__features li { display: flex; gap: 10px; align-items: baseline; line-height: 1.4; }
.plan__features .icon { color: var(--accent); transform: translateY(2px); }
.plan__admin { font-size: .875rem; color: var(--muted); }
.teams { margin-block: 24px 48px; color: var(--ink-2); max-width: 920px; }
.teams a { font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.subscribe .prose { padding-bottom: 64px; }
@media (min-width: 768px) {
	.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.plan { padding: 36px 32px; }
}

.notfound { padding-block: 48px 24px; display: grid; gap: 16px; }
.notfound > * { max-width: 720px; }
.notfound__code {
	font-family: var(--font-mono);
	font-weight: 600;
	font-size: clamp(4rem, 12vw, 8rem);
	line-height: .9;
	letter-spacing: -.06em;
	color: var(--accent);
}
.notfound__title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.notfound p:not(.notfound__code) { color: var(--ink-2); font-size: 1.125rem; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
	/* Navy band in both modes: tokens are re-scoped for white text. */
	--ink: #ffffff;
	--ink-2: rgba(255, 255, 255, .78);
	--muted: rgba(255, 255, 255, .6);
	--rule: rgba(255, 255, 255, .14);
	--rule-strong: rgba(255, 255, 255, .4);
	--surface: rgba(255, 255, 255, .06);
	--surface-2: rgba(255, 255, 255, .1);
	--accent: #9db8ff;
	margin-top: 56px;
	padding-top: 48px;
	background: var(--deep);
	color: var(--ink-2);
	font-size: .9375rem;
}
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-bottom: 44px; }
.site-footer__brand,
.site-footer__news { grid-column: 1 / -1; }
.site-footer__brand p { margin-top: 12px; max-width: 38ch; line-height: 1.55; }
.site-footer__brand .site-footer__tagline { color: var(--ink); font-weight: 600; }
.site-footer__brand .site-footer__tagline + p { margin-top: 6px; }
.site-footer__title {
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 14px;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--ink);
}
.site-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	background: var(--cta);
}
.site-footer__list { display: grid; }
.site-footer__list li + li { border-top: 1px solid var(--rule); }
.site-footer__list a { display: block; padding-block: 9px; color: var(--ink-2); transition: color 150ms ease, transform 200ms var(--ease-out); }
.site-footer__list a[aria-current="page"] { color: var(--ink); }
.site-footer__news p { line-height: 1.55; margin-bottom: 16px; max-width: 40ch; }
.site-footer__form { display: flex; max-width: 420px; }
.site-footer__form input[type="email"] { min-height: 46px; border-color: transparent; background: #fff; color: #0f1726; }
.site-footer__form input[type="email"]::placeholder { color: #5b6476; }
.site-footer__form .btn { min-height: 46px; flex: none; }
.site-footer__admin { font-size: .8125rem; color: var(--muted); border-left: 2px solid var(--rule-strong); padding-left: 12px; }
@media (hover: hover) and (pointer: fine) {
	.site-footer a:hover { color: var(--ink); }
	.site-footer__list a:hover { transform: translateX(3px); }
}

/* Logo on navy: the dark-mode logo if one is set, otherwise a white version. */
.site-footer .brand .logo-light { display: none; }
.site-footer .brand .logo-dark { display: block; }
.site-footer .brand .custom-logo:not(.logo-light):not(.logo-dark) { filter: brightness(0) invert(1); }
.site-footer .brand .custom-logo { height: 48px; }

.site-footer__base { background: rgba(0, 0, 0, .22); font-size: .8125rem; color: var(--muted); }
.site-footer__base-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 16px calc(16px + env(safe-area-inset-bottom));
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); }

.social { display: flex; gap: 4px; margin-top: 16px; margin-left: -10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink-2); transition: color 150ms ease, background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .social a:hover { color: var(--ink); background: var(--surface-2); } }

@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 32px; }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__news { grid-column: auto; }
}
@media (min-width: 1024px) {
	.site-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
	.site-footer__brand { grid-column: auto; }
}

/* WordPress core helpers -------------------------------------------------- */
.alignwide,
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.sticky,
.bypostauthor,
.gallery-caption { outline: 0; }
.embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* Print: articles read cleanly on paper */
@media print {
	.topbar, .masthead, .sections, .share, .story__aside, .newsletter, .site-footer, .block, .progress, .tags, .comments { display: none !important; }
	body { background: #fff; color: #000; }
	.prose a { color: #000; }
}

/* Headlines ticker ------------------------------------------------------- */
.ticker--heads .ticker__track { gap: 32px; font-family: var(--font-sans); }
.tick--head { gap: 8px; }
.tick__time { font-family: var(--font-mono); font-size: .6875rem; color: var(--accent); white-space: nowrap; }
.tick--head a { font-weight: 600; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
	.tick--head a:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.ticker--heads .ticker__track { animation-duration: 90s; }

/* Optional serif headlines (Customizer > Theme options > Brand and style) */
.headlines-serif :is(.card__title, .story__title, .section-head__title, .archive-head__title, .page-entry__title, .subscribe__title, .notfound__title, .newsletter__title, .ranked__title, .plan__name, .prose h2, .prose h3, .prose h4, .comments__title) {
	font-family: var(--font-serif);
	font-weight: 700;
	letter-spacing: -.012em;
}
.headlines-serif :is(.card--lead .card__title, .story__title, .archive-head__title, .subscribe__title) { letter-spacing: -.02em; line-height: 1.08; }

/* Sticky section bar: mark, fade hint, tools, dropdowns ---------------- */
.sentinel { height: 0; }
.sections__inner { display: flex; align-items: center; }
.sections__scroller { position: relative; flex: 1; min-width: 0; }
.sections__scroller::before,
.sections__scroller::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 48px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 150ms ease;
	z-index: 1;
}
.sections__scroller::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.sections__scroller::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.sections__scroller.fade-left::before,
.sections__scroller.fade-right::after { opacity: 1; }

.sections__home,
.sections__tools { display: none; }
.sections__home { align-items: center; padding-left: var(--gutter); padding-right: 4px; }
.mark { display: block; width: 28px; height: 28px; object-fit: contain; }
.mark--text { display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1rem; }
.sections__tools { align-items: center; padding-right: calc(var(--gutter) - 8px); }
.sections__tools .icon-btn { width: 40px; height: 40px; }
.sections.is-stuck { box-shadow: 0 1px 0 var(--rule), 0 6px 16px -12px rgba(15, 23, 38, .35); }
.sections.is-stuck .sections__home,
.sections.is-stuck .sections__tools { display: flex; }
@media (prefers-reduced-motion: no-preference) {
	.sections.is-stuck .sections__home,
	.sections.is-stuck .sections__tools { animation: ll-fade 200ms ease-out; }
}

@media (max-width: 420px) {
	.sections__list a { padding: 0 10px; font-size: .875rem; }
}

/* Sub-menus: hidden in the phone bar (the drawer lists them), dropdowns on desktop */
.sections__list .sub-menu { display: none; }
@media (min-width: 1024px) {
	.sections__list { overflow: visible; }
	.sections__list .menu-item-has-children { position: relative; }
	.sections__list .menu-item-has-children > a::after {
		content: "";
		width: 6px;
		height: 6px;
		margin-left: 8px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
	}
	.sections__list .sub-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 45;
		min-width: 220px;
		padding: 8px 0;
		background: var(--surface);
		border: 1px solid var(--rule);
		box-shadow: 0 12px 28px -12px rgba(15, 23, 38, .28);
		opacity: 0;
		visibility: hidden;
		transform: translateY(4px);
		transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms;
	}
	.sections__list li:hover > .sub-menu,
	.sections__list li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
	.sections__list .sub-menu a {
		height: auto;
		padding: 10px 16px;
		box-shadow: none;
		font-weight: 500;
	}
	.sections__list .sub-menu a:hover { background: var(--surface-2); color: var(--accent); }
}

/* Breaking news bar ------------------------------------------------------- */
.breaking { background: var(--accent); color: var(--accent-ink); }
.breaking__inner { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.breaking__label {
	flex: none;
	padding: 3px 8px;
	background: var(--cta);
	color: #fff;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.breaking__link {
	min-width: 0;
	font-weight: 700;
	font-size: .9375rem;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.breaking .icon { flex: none; }
@media (hover: hover) and (pointer: fine) {
	.breaking__link:hover { text-decoration: underline; text-underline-offset: 3px; }
}

/* Trending topics --------------------------------------------------------- */
.trending { border-bottom: 1px solid var(--rule); }
.trending__inner { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.trending__label { flex: none; font-size: .8125rem; font-weight: 800; }
.trending__list {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-block: 8px;
	margin-right: calc(-1 * var(--gutter));
	padding-right: var(--gutter);
}
.trending__list::-webkit-scrollbar { display: none; }
.trending__list a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 12px;
	border: 1px solid var(--rule);
	background: var(--surface);
	font-size: .8125rem;
	font-weight: 600;
	white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
	.trending__list a:hover { border-color: var(--accent); color: var(--accent); }
}

/* Table of contents ------------------------------------------------------- */
.prose .toc {
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-left: 3px solid var(--accent);
	font-family: var(--font-sans);
	font-size: .9375rem;
}
.toc summary { cursor: pointer; font-weight: 800; list-style-position: outside; }
.toc ol { margin-top: 10px; padding-left: 1.25em; list-style: decimal; }
.toc li + li { margin-top: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--accent); text-decoration: underline; } }
.prose h2[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* Ad slots: space is reserved so the page never jumps when an ad loads ---- */
.ad-slot { margin-block: 24px; text-align: center; }
.ad-slot__label { display: block; margin-bottom: 6px; font-family: var(--font-sans); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ad-slot__body { display: grid; place-items: center; background: var(--surface-2); overflow: hidden; }
.ad-slot--leaderboard .ad-slot__body { min-height: 100px; }
.ad-slot--home .ad-slot__body { min-height: 250px; }
.ad-slot--inline .ad-slot__body { min-height: 280px; }
@media (min-width: 768px) {
	.ad-slot--leaderboard .ad-slot__body { min-height: 90px; }
}

/* Featured slider ----------------------------------------------------------- */
.slider { position: relative; }
.slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline-offset: 4px; }
.slide { scroll-snap-align: start; min-width: 0; }
.slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.slider__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--rule-strong);
	background: transparent;
	color: var(--ink);
	transition: border-color 150ms ease, transform 140ms var(--ease-out), opacity 150ms ease;
}
.slider__btn:active { transform: scale(.95); }
.slider__btn:disabled { opacity: .35; cursor: default; }
.js-prev .icon { transform: rotate(180deg); }
.slider__dots { display: flex; gap: 6px; }
.slider__dot {
	width: 28px;
	height: 24px;
	padding: 0;
	border: 0;
	background: linear-gradient(var(--rule-strong), var(--rule-strong)) center / 100% 3px no-repeat;
}
.slider__dot[aria-current="true"] { background-image: linear-gradient(var(--accent), var(--accent)); }
@media (hover: hover) and (pointer: fine) {
	.slider__btn:not(:disabled):hover { border-color: var(--ink); }
}
@media (min-width: 768px) {
	.lead-package--slider .lead-package__latest { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.lead-package--slider { grid-template-columns: minmax(0, 2.75fr) minmax(0, .85fr); }
	.lead-package--slider .lead-package__latest { grid-column: auto; }
}

@media (max-width: 479px) {
	.sections.is-stuck .sections__home { display: none; }
}
@media (min-width: 1024px) {
	.slide .card--lead {
		display: grid;
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
		align-items: center;
		gap: 32px;
	}
	.slide .card--lead .card__title { font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); }
}
.toc li::marker { font-family: var(--font-sans); font-weight: 700; color: var(--accent); }
.sections__list { scroll-padding-inline: calc(var(--gutter) - 12px); }

/* ==========================================================================
   v1.3: premium layer (header socials, mosaic, topics, picks, Elementor)
   ========================================================================== */

/* Header social icons (desktop) and drawer extras */
.social--head { display: none; margin: 0 8px 0 0; padding-right: 8px; border-right: 1px solid var(--rule); gap: 0; }
.social--head a { width: 36px; height: 36px; color: var(--ink-2); }
@media (min-width: 1024px) { .social--head { display: flex; } }
.social--drawer { margin: 4px 0 0 -10px; }
.masthead__sub { margin-left: 4px; }
@media (max-width: 639px) {
	.masthead__actions { gap: 0; }
	.masthead__sub { min-height: 34px; padding: 0 10px; font-size: .6875rem; letter-spacing: .03em; }
}

.admin-hint {
	margin-block: 16px;
	padding: 10px 14px;
	border-left: 3px solid var(--rule-strong);
	background: var(--surface);
	font-size: .875rem;
	color: var(--muted);
}

/* Mosaic hero ------------------------------------------------------------- */
.mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3px;
	margin-top: 20px;
}
.tile {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: #0b1222;
	color: #fff;
}
.tile--main { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
.mosaic--n2 .tile:not(.tile--main) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tile__media { position: absolute; inset: 0; z-index: -2; }
.tile__media img,
.tile__media .media-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(6, 10, 22, 0) 30%, rgba(6, 10, 22, .55) 58%, rgba(6, 10, 22, .92) 100%);
}
.tile__body { position: relative; padding: 14px; }
.tile .kicker {
	position: relative;
	z-index: 2;
	margin-bottom: 10px;
	padding: 4px 8px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: .6875rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.tile__title {
	font-size: 1rem;
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -.015em;
	text-wrap: balance;
	color: #fff;
}
.tile__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile--main .tile__title {
	font-size: calc(clamp(1.625rem, 1.05rem + 2.6vw, 3.125rem) * var(--hs));
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.03em;
}
.tile__dek {
	display: none;
	max-width: 58ch;
	margin-top: 12px;
	font-family: var(--font-serif);
	font-size: 1.0625rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, .86);
}
.tile__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin-top: 10px;
	font-size: .75rem;
	color: rgba(255, 255, 255, .75);
}
.tile__meta span { font-weight: 600; color: #fff; }
.tile:not(.tile--main) .tile__meta span { display: none; }
.tile--main .tile__body { padding: 20px 18px; }
@media (hover: hover) and (pointer: fine) {
	.tile:hover .tile__media img { transform: scale(1.035); }
	.tile:hover .tile__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
}
.tile:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile a:focus-visible { outline: none; }

@media (min-width: 640px) {
	.tile--main { aspect-ratio: 16 / 10; }
	.tile { aspect-ratio: 4 / 3; }
	.tile__title { font-size: 1.125rem; }
	.tile__body { padding: 18px; }
}
@media (min-width: 768px) {
	.mosaic {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		grid-template-rows: repeat(2, minmax(0, 1fr));
		height: clamp(440px, 46vw, 620px);
		margin-top: 28px;
	}
	.tile,
	.tile--main,
	.mosaic--n2 .tile:not(.tile--main) { aspect-ratio: auto; grid-column: auto; }
	.tile--main { grid-row: 1 / -1; }
	.mosaic--n1 .tile--main { grid-column: 1 / -1; }
	.mosaic--n2 .tile:not(.tile--main) { grid-row: 1 / -1; }
	.tile--main .tile__body { padding: 32px; }
	.tile__body { padding: 22px; }
	.tile__title { font-size: clamp(1.0625rem, .8rem + .6vw, 1.375rem); }
	.tile:not(.tile--main) .tile__meta span { display: inline; }
}
@media (min-width: 1024px) {
	.tile__dek { display: block; }
	.tile--main .tile__body { padding: 40px; max-width: 880px; }
}

/* Latest strip under the mosaic */
.latest-strip { padding-block: 20px 8px; }
.latest-strip__title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ink);
	font-size: 1rem;
	font-weight: 800;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 0 var(--cta); }
@media (prefers-reduced-motion: no-preference) {
	.live-dot { animation: ll-pulse 2.4s var(--ease-out) infinite; }
}
@keyframes ll-pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cta) 55%, transparent); }
	70%, 100% { box-shadow: 0 0 0 8px transparent; }
}
.latest-strip__item {
	display: grid;
	gap: 4px;
	padding-block: 12px;
	border-bottom: 1px solid var(--rule);
}
.latest-strip__item time { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.latest-strip__item a { font-weight: 650; line-height: 1.3; letter-spacing: -.005em; }
@media (hover: hover) and (pointer: fine) { .latest-strip__item a:hover { color: var(--accent); } }
@media (min-width: 768px) {
	.latest-strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1024px) {
	.latest-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
	.latest-strip__item { padding: 14px 20px 6px; border-bottom: 0; }
	.latest-strip__item:first-child { padding-left: 0; }
	.latest-strip__item + .latest-strip__item { border-left: 1px solid var(--rule); }
}

/* Topic tiles band -------------------------------------------------------- */
.topics {
	--ink: #ffffff;
	--ink-2: rgba(255, 255, 255, .8);
	--muted: rgba(255, 255, 255, .62);
	--rule: rgba(255, 255, 255, .14);
	margin-block: calc(32px * var(--space)) calc(8px * var(--space));
	padding-block: calc(44px * var(--space)) calc(48px * var(--space));
	background: var(--deep);
	color: var(--ink-2);
}
.topics__head { display: grid; gap: 8px; margin-bottom: 24px; }
.topics__title {
	font-size: calc(clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem) * var(--hs));
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.05;
	color: var(--ink);
}
.topics__lede { max-width: 52ch; font-family: var(--font-serif); font-size: 1.0625rem; line-height: 1.5; }
.topics__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 78%;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	margin-inline: calc(var(--gutter) * -1);
	padding-inline: var(--gutter);
	scroll-padding-inline: var(--gutter);
}
.topics__grid::-webkit-scrollbar { display: none; }
.topics__grid li { scroll-snap-align: start; }
.topic {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-height: 300px;
	overflow: hidden;
	background: rgba(255, 255, 255, .06);
	color: #fff;
}
.topic__media { position: absolute; inset: 0; z-index: -2; }
.topic__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.topic::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(6, 10, 22, .15) 0%, rgba(6, 10, 22, .5) 45%, rgba(6, 10, 22, .94) 100%);
}
.topic__body { display: grid; gap: 8px; padding: 22px 20px 20px; }
.topic__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.topic__desc { font-size: .9375rem; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.topic__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, .22);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.topic__more .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.topic:hover .topic__media img { transform: scale(1.04); }
	.topic:hover .topic__more .icon { transform: translateX(4px); }
}
@media (min-width: 640px) {
	.topics__grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 1024px) {
	.topics { padding-block: calc(64px * var(--space)); }
	.topics__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; margin-bottom: 32px; }
	.topics__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.topic { min-height: 380px; }
}

/* Editor's Choice --------------------------------------------------------- */
.picks { padding-block: calc(24px * var(--space)); }
.picks__inner { padding: 24px 16px 8px; background: var(--surface); border: 1px solid var(--rule); }
.picks .section-head { border-top: 0; padding-top: 0; }
.picks .section-head__title { position: relative; padding-left: 14px; }
.picks .section-head__title::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; background: var(--cta); }
.picks__grid { display: grid; }
.card--pick {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 104px;
	align-items: start;
	gap: 14px;
	padding-block: 18px;
	border-top: 1px solid var(--rule);
}
.card--pick .card__media { order: 2; aspect-ratio: 1; }
.card--pick .card__title { font-size: 1.125rem; }
.card--pick .card__dek { display: none; }
@media (min-width: 768px) {
	.picks__inner { padding: 32px 32px 16px; }
	.picks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
	.card--pick { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 20px; padding-block: 24px; }
	.card--pick .card__media { order: 0; aspect-ratio: 1; }
	.card--pick .card__title { font-size: clamp(1.125rem, .95rem + .5vw, 1.375rem); font-weight: 800; letter-spacing: -.02em; }
	.card--pick .card__dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .9375rem; }
}
@media (min-width: 1024px) {
	.picks__inner { padding: 40px 40px 20px; }
}

/* Elementor-built pages: full width, Elementor controls the layout. */
.page-entry--elementor { width: 100%; }
.is-elementor .site-main { overflow-x: clip; }

/* v1.4: options */
.sections--static { position: relative; top: auto !important; }
.story__layout--solo { grid-template-columns: minmax(0, 1fr) !important; }
.story__layout--solo .story__body { margin-inline: auto; }
.notfound__sections { margin-top: 24px; }
.notfound__sections p { font-size: .875rem; font-weight: 700; margin-bottom: 10px; }
.notfound__sections ul { display: flex; flex-wrap: wrap; gap: 8px; }
.notfound__sections a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule-strong); font-weight: 600; font-size: .9375rem; transition: border-color 150ms ease, color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .notfound__sections a:hover { border-color: var(--accent); color: var(--accent); } }

/* v1.5: follow block, preferred source, share bar */
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 4px; }
.social--follow { margin: 0; gap: 2px; }
.social--follow a { width: 38px; height: 38px; border: 1px solid var(--rule); color: var(--ink); }
.pref-source {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	margin-right: 6px;
	padding: 0 14px;
	border: 1px solid var(--rule-strong);
	border-radius: 999px;
	background: var(--surface);
	font-size: .8125rem;
	font-weight: 700;
	color: var(--ink);
	transition: border-color 150ms ease, background-color 150ms ease;
}
.pref-source .icon { color: #f4b400; flex: none; }
@media (hover: hover) and (pointer: fine) {
	.pref-source:hover { border-color: var(--ink); }
	.social--follow a:hover { border-color: var(--ink); background: transparent; }
}

.share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin-top: 32px;
	padding-block: 18px;
	border-top: 2px solid var(--ink);
}
.share-bar__label { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.share--labels { flex-wrap: wrap; gap: 8px; }
.share--labels a,
.share--labels button { display: inline-flex; align-items: center; width: auto; height: 40px; gap: 8px; padding: 0 14px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 639px) {
	.share--labels span { display: none; }
	.share--labels a,
	.share--labels button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
}
.pref-official { min-height: 40px; margin-right: 6px; display: flex; align-items: center; }
