/* ==========================================================================
   Meridian — newspaper theme
   Type: Fraunces (headlines, article text) + Public Sans (interface)
   ========================================================================== */

:root {
	--paper: #ffffff;
	--ink: #14161b;
	--body: #2a2e36;
	--muted: #5d6573;
	--rule: #e1e4ea;
	--rule-strong: #14161b;
	--tint: #f2f4f8;
	--accent: #1f4bd8;
	--alert: #ffd23f;
	--on-alert: #14161b;
	--dark-band: #0d1b3d;
	--accent-text: var(--accent);

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Public Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--wrap: 1280px;
	--gutter: clamp(16px, 3vw, 32px);
	--gap: clamp(20px, 2.4vw, 32px);
	--radius: 2px;
	--block-space: clamp(40px, 5vw, 64px);
}

html[data-mode="dark"] {
	--accent-text: color-mix(in srgb, var(--accent) 55%, #fff);
	--paper: #0e1116;
	--ink: #eef0f4;
	--body: #d3d8e0;
	--muted: #98a1b0;
	--rule: #252a34;
	--rule-strong: #eef0f4;
	--tint: #161a22;
	--dark-band: #070a10;
	color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 12px 16px; background: var(--ink); color: var(--paper);
}

.m-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.m-wrap--wide { max-width: 1440px; }

/* ---------- Buttons ---------- */
.m-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 0; border-radius: var(--radius);
	background: var(--accent); color: #fff;
	font-family: var(--sans); font-weight: 700; font-size: 0.95rem; line-height: 1;
}
.m-btn:hover { color: #fff; filter: brightness(1.08); }
.m-btn--small { padding: 9px 16px; font-size: 0.85rem; }

.m-icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--ink);
}
.m-icon-btn:hover { border-color: var(--rule); color: var(--accent); }

/* ---------- Reading progress ---------- */
.m-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.m-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   Header
   ========================================================================== */
.m-topbar { border-bottom: 1px solid var(--rule); font-size: 0.8rem; color: var(--muted); }
.m-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.m-topbar__left { display: flex; gap: 16px; align-items: center; }
.m-topbar__date { font-weight: 700; color: var(--ink); }
.m-topbar__nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.m-topbar__right { display: flex; align-items: center; gap: 12px; }

.m-mode { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--rule); border-radius: 50%; background: none; color: var(--ink); }
.m-mode__sun { display: none; }
html[data-mode="dark"] .m-mode__sun { display: block; }
html[data-mode="dark"] .m-mode__moon { display: none; }

.m-masthead__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	padding-block: clamp(16px, 2.6vw, 30px);
}
.m-brand { text-align: center; }
.m-brand__name {
	font-family: var(--serif);
	font-weight: 800;
	font-size: clamp(2.3rem, 6.6vw, 5.4rem);
	line-height: 0.95;
	letter-spacing: -0.035em;
	font-variation-settings: "opsz" 144;
}
.m-brand__name a:hover { color: var(--ink); }
.m-brand__tagline { margin: 10px 0 0; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1rem; }
.m-brand .custom-logo { max-height: 90px; width: auto; margin-inline: auto; }
html[data-mode="dark"] .m-brand .custom-logo { filter: invert(1) hue-rotate(180deg); }
.m-masthead__actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.m-menu-toggle { justify-self: start; }

.m-masthead--left .m-masthead__inner { grid-template-columns: auto 1fr auto; }
.m-masthead--left .m-brand { text-align: left; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.m-masthead--left .m-brand__tagline { margin: 0; }
.m-masthead--left .m-brand .custom-logo { margin-inline: 0; }

.m-header-ad { padding-bottom: 16px; text-align: center; }

/* Navigation: the cobalt rule under it is the masthead's signature */
.m-nav {
	position: sticky; top: 0; z-index: 90;
	background: var(--paper);
	border-top: 1px solid var(--rule-strong);
	border-bottom: 4px solid var(--accent);
}
.admin-bar .m-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .m-nav { top: 0; } }
.m-nav__inner { display: flex; align-items: center; }
.m-nav__mini {
	font-family: var(--serif); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink);
	white-space: nowrap; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .3s, opacity .3s;
}
.m-nav.is-stuck .m-nav__mini { max-width: 260px; opacity: 1; margin-right: 22px; }
.m-nav__list { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.m-nav__list::-webkit-scrollbar { display: none; }
.m-nav__list > li { position: relative; flex: none; }
.m-nav__list > li > a {
	display: block; padding: 13px 14px; font-weight: 700; font-size: 0.92rem; color: var(--ink);
}
.m-nav__list > li:first-child > a { padding-left: 0; }
.m-nav__list > li.current-menu-item > a,
.m-nav__list > li.current-menu-parent > a,
.m-nav__list > li.current-category-ancestor > a { color: var(--accent); }
.m-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px 0;
	background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--accent);
	box-shadow: 0 16px 32px -16px rgba(10, 20, 50, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.m-nav__list li:hover > .sub-menu,
.m-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.m-nav__list .sub-menu a { display: block; padding: 8px 18px; font-size: 0.9rem; }
.m-nav.has-submenus .m-nav__list { overflow: visible; }

/* Search panel */
.m-search { border-bottom: 1px solid var(--rule); background: var(--tint); padding-block: 20px; }
.m-searchform { display: flex; gap: 8px; max-width: 720px; margin-inline: auto; }
.m-searchform input[type="search"] {
	flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius);
	background: var(--paper); color: var(--ink); font: inherit; font-size: 1.05rem;
}
.m-searchform input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* Drawer (mobile menu) */
.m-drawer { position: fixed; inset: 0; z-index: 300; }
.m-drawer[hidden] { display: none; }
.m-drawer__backdrop { position: absolute; inset: 0; background: rgba(5, 10, 25, .55); }
.m-drawer__panel {
	position: relative; z-index: 1; width: min(380px, 88vw); height: 100%; overflow-y: auto;
	background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 20px;
	animation: m-slide .25s ease-out;
}
@keyframes m-slide { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .m-drawer__panel { animation: none; } }
.m-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.m-drawer__title { font-family: var(--serif); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.m-drawer__list, .m-drawer .m-nav__list { list-style: none; padding: 0; margin: 0; display: block; overflow: visible; }
.m-drawer__list li, .m-drawer .m-nav__list li { border-bottom: 1px solid var(--rule); }
.m-drawer__list a, .m-drawer .m-nav__list a { display: block; padding: 12px 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.m-drawer__list .sub-menu { list-style: none; padding: 0 0 10px 14px; }
.m-drawer__list .sub-menu li { border: 0; }
.m-drawer__list .sub-menu a { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; padding: 6px 0; }
.m-drawer .m-searchform { flex-direction: column; }

/* Social */
.m-social { display: flex; gap: 10px; flex-wrap: wrap; }
.m-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); }
.m-social a:hover { border-color: var(--accent); color: var(--accent); }
.m-social--small a { width: 28px; height: 28px; border: 0; }
.m-social--small svg { width: 15px; height: 15px; }

/* ==========================================================================
   Ticker
   ========================================================================== */
.m-header-ticker { margin-top: 14px; }
.m-ticker {
	display: flex; align-items: stretch; background: var(--tint); border-radius: var(--radius);
	overflow: hidden; font-size: 0.9rem; min-height: 42px;
}
.m-ticker__label {
	display: flex; align-items: center; padding: 0 16px; flex: none;
	background: var(--alert); color: var(--on-alert); font-weight: 800;
}
.m-ticker__viewport {
	flex: 1; overflow: hidden; display: flex; align-items: center;
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
}
.m-ticker__track {
	display: flex; gap: 40px; list-style: none; margin: 0; padding: 0 0 0 24px; white-space: nowrap;
	animation: m-ticker 60s linear infinite;
}
.m-ticker:hover .m-ticker__track,
.m-ticker:focus-within .m-ticker__track,
.m-ticker.is-paused .m-ticker__track { animation-play-state: paused; }
.m-ticker__track a { font-weight: 600; color: var(--ink); }
.m-ticker__track a:hover { color: var(--accent); }
.m-ticker__track time { color: var(--accent); font-weight: 700; margin-right: 6px; font-variant-numeric: tabular-nums; }
.m-ticker__pause { flex: none; width: 42px; border: 0; border-left: 1px solid var(--rule); background: none; color: var(--ink); }
.m-ticker.is-paused .m-ticker__pause { color: var(--accent); }
@keyframes m-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.m-ticker__track { animation: none; overflow-x: auto; }
	.m-ticker__viewport { overflow-x: auto; mask-image: none; }
	.m-ticker__pause { display: none; }
}

/* ==========================================================================
   Shared story components
   ========================================================================== */
.m-kicker {
	display: inline-block; margin-bottom: 6px;
	font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.01em;
	color: var(--cat, var(--accent));
}
.m-kicker:hover { text-decoration: underline; color: var(--cat, var(--accent)); }

.m-live {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 10px 6px 0; padding: 2px 8px 2px 6px;
	background: var(--alert); color: var(--on-alert); border-radius: 20px; font-size: 0.75rem; font-weight: 800;
}
.m-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #d7191c; animation: m-pulse 1.6s ease-in-out infinite; }
@keyframes m-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .m-live__dot { animation: none; } }

.m-title {
	font-family: var(--serif); font-weight: 600; color: var(--ink);
	font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.008em;
	font-variation-settings: "opsz" 36;
	text-wrap: pretty;
}
.m-title--lg, .m-title--xl { text-wrap: balance; }
.m-title a:hover { color: var(--accent); }
.m-title--sm { font-size: 1rem; }
.m-title--md { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
.m-title--lg { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.12; font-weight: 650; letter-spacing: -0.015em; font-variation-settings: "opsz" 72; }
.m-title--xl { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.022em; font-variation-settings: "opsz" 144; }

.m-standfirst { font-family: var(--serif); font-size: 1.1rem; line-height: 1.45; color: var(--body); margin: 12px 0; font-variation-settings: "opsz" 14; }

.m-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.m-meta__author { font-weight: 700; color: var(--ink); }

.m-thumb { display: block; position: relative; overflow: hidden; background: var(--tint); aspect-ratio: 3 / 2; border-radius: var(--radius); }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.m-thumb:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .m-thumb img { transition: none; } a.m-thumb:hover img { transform: none; } }
.m-thumb--wide { aspect-ratio: 16 / 9; }
.m-thumb__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
	background: color-mix(in srgb, var(--cat, var(--accent)) 14%, var(--paper));
	color: var(--cat, var(--accent)); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; font-style: italic; text-align: center;
}
.m-thumb__play {
	position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center;
	border-radius: 50%; background: var(--alert); color: var(--on-alert);
}

/* Card variants */
.m-card { position: relative; }
.m-card .m-thumb { margin-bottom: 12px; }
.m-card__excerpt { font-size: 0.95rem; color: var(--body); margin: 8px 0 0; line-height: 1.5; }

.m-card--row { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 14px; align-items: start; }
.m-card--row .m-thumb { margin: 0; }

.m-card--text { padding-block: 14px; border-top: 1px solid var(--rule); }
.m-card--text:first-child { border-top: 0; padding-top: 0; }

.m-card--overlay { color: #fff; overflow: hidden; border-radius: var(--radius); background: #0b1020; }
.m-card--overlay .m-thumb { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; border-radius: 0; }
.m-card--overlay .m-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 25, 0) 30%, rgba(5, 10, 25, .88) 100%); }
.m-card--overlay .m-card__body { position: relative; z-index: 1; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; pointer-events: none; }
.m-card--overlay .m-card__body a { pointer-events: auto; }
.m-card--overlay .m-title,
.m-card--overlay .m-title a,
.m-card--overlay .m-meta__author { color: #fff; }
.m-card--overlay .m-meta,
.m-card--overlay .m-card__excerpt { color: rgba(255, 255, 255, .82); }
.m-card--overlay .m-kicker { color: var(--alert); }
.m-card--overlay .m-title a::after { content: ""; position: absolute; inset: 0; }

.m-card--numbered { display: grid; grid-template-columns: 58px 1fr; gap: 8px; align-items: start; }
.m-card__num {
	font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 0.9; color: var(--accent);
	font-variation-settings: "opsz" 144; font-variant-numeric: lining-nums;
}

/* Section heading */
.m-section-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	border-top: 3px solid var(--cat, var(--rule-strong)); padding-top: 10px; margin-bottom: 22px;
}
.m-section-head__title {
	font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -0.015em;
	color: var(--cat, var(--ink)); font-variation-settings: "opsz" 72;
}
.m-section-head__title a:hover { color: var(--accent); }
.m-section-head__more { font-size: 0.85rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.m-section-head__more:hover { color: var(--cat, var(--accent)); }

/* ==========================================================================
   Homepage canvas
   ========================================================================== */
.m-home { padding-top: 24px; padding-bottom: var(--block-space); }
.m-home > *:not(.alignfull) { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.m-home > .alignwide { max-width: 1440px; }
.m-home > .alignfull { max-width: none; }
.m-block { margin-block: 0 var(--block-space); }
.m-home > .m-block:first-child { margin-top: 0; }
.m-home .wp-block-columns.m-cols { gap: var(--gap); }
.m-empty { padding: 24px; border: 1px dashed var(--rule); color: var(--muted); text-align: center; font-size: 0.95rem; }
.m-empty-home { padding-block: 80px; text-align: center; max-width: 640px; }
.m-empty-home h2 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 12px; }

/* 1. Lead story */
.m-lead { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: var(--gap); }
.m-lead__story .m-thumb { margin-bottom: 18px; }
.m-lead__subs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.m-lead__rail { border-left: 1px solid var(--rule); padding-left: var(--gap); }
.m-lead__rail > .m-card--card { padding-bottom: 14px; }
.m-lead__rail > .m-card--text:nth-child(2) { border-top: 1px solid var(--rule); padding-top: 14px; }

/* 2. Top stories */
.m-top { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 0; }
.m-top__col { padding-inline: calc(var(--gap) / 2); }
.m-top__col:first-child { padding-left: 0; }
.m-top__col:last-child { padding-right: 0; }
.m-top__col + .m-top__col { border-left: 1px solid var(--rule); }
.m-top__feature .m-thumb { margin-bottom: 14px; aspect-ratio: 4 / 3; }
.m-top__col--right { display: flex; flex-direction: column; gap: 18px; }
.m-top__col--right .m-card--row { grid-template-columns: 1fr 88px; }
.m-top__col--right .m-card--row .m-thumb { order: 2; aspect-ratio: 1; }
.m-top__col--right .m-title { font-size: 1rem; }

/* 3. Mosaic */
.m-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 6px; }
.m-mosaic > :first-child { grid-row: span 2; }
.m-mosaic > .m-card--overlay { min-height: 220px; }
.m-mosaic > :first-child .m-card__body { padding: clamp(20px, 3vw, 36px); }

/* 4. Cover story */
.m-cover { position: relative; min-height: clamp(460px, 78vh, 760px); display: flex; align-items: flex-end; background: var(--dark-band); color: #fff; overflow: hidden; }
.m-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 20, 0) 25%, rgba(4, 8, 20, .9) 100%); }
.m-cover--noimg::after { display: none; }
.m-cover__inner { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter) clamp(32px, 5vw, 64px); }
.m-cover__title {
	font-family: var(--serif); font-weight: 800; color: #fff; max-width: 18ch;
	font-size: clamp(2.3rem, 6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.03em; font-variation-settings: "opsz" 144;
	text-wrap: balance;
}
.m-cover__title a:hover { color: var(--alert); }
.m-cover__standfirst { font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 60ch; margin: 18px 0 0; color: rgba(255, 255, 255, .88); }
.m-cover .m-kicker { color: var(--alert); font-size: 0.9rem; }
.m-cover .m-meta { color: rgba(255, 255, 255, .75); }
.m-cover .m-meta__author { color: #fff; }

/* 5. Section front */
.m-section { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); }
.m-section__list { display: flex; flex-direction: column; gap: 18px; }
.m-section__list .m-card + .m-card { border-top: 1px solid var(--rule); padding-top: 18px; }

/* 6. Grid */
.m-grid { display: grid; gap: var(--gap); }
.m-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 7. Most read */
.m-mostread { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 var(--gap); }
.m-mostread--two { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
.m-mostread li { padding-block: 16px; border-top: 1px solid var(--rule); }
.m-mostread li:first-child, .m-mostread--two li:nth-child(6) { border-top: 0; padding-top: 0; }
.m-mostread .m-kicker { display: none; }

/* 8. Opinion */
.m-block--opinion { background: var(--tint); padding: clamp(24px, 3vw, 40px) !important; border-radius: var(--radius); }
.m-home > .m-block--opinion { max-width: calc(var(--wrap) - var(--gutter) * 2); }
.m-opinion { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.m-opinion__item + .m-opinion__item { border-left: 1px solid var(--rule); padding-left: var(--gap); }
.m-opinion__author { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 700; color: var(--ink); }
.m-opinion__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.m-opinion__title { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.22; font-variation-settings: "opsz" 48; }
.m-opinion__title a:hover { color: var(--accent); }

/* 9. Video strip */
.m-video { background: var(--dark-band); color: #fff; padding-block: clamp(36px, 5vw, 64px); }
.m-home > .m-block--video-strip:not(.alignfull) { padding: 0; }
.m-block--video-strip:not(.alignfull) .m-video { padding-inline: clamp(20px, 3vw, 40px); border-radius: var(--radius); }
.m-video__inner { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.m-block--video-strip:not(.alignfull) .m-video__inner { padding-inline: 0; }
.m-video .m-section-head { border-top-color: var(--alert); }
.m-video .m-section-head__title, .m-video .m-title, .m-video .m-title a, .m-video .m-meta__author { color: #fff; }
.m-video .m-meta, .m-video .m-card__excerpt { color: rgba(255, 255, 255, .72); }
.m-video .m-kicker { color: var(--alert); }
.m-video .m-title a:hover { color: var(--alert); }
.m-video__layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap); }
.m-video__list { display: flex; flex-direction: column; gap: 16px; }
.m-video__list .m-card + .m-card { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; }
.m-video .m-thumb { background: rgba(255, 255, 255, .06); }
.m-video .m-thumb--wide, .m-video__lead .m-thumb { aspect-ratio: 16 / 9; }

/* 10. Editor's picks */
.m-picks__head { display: flex; align-items: flex-start; gap: 16px; }
.m-picks__head .m-section-head { flex: 1; }
.m-picks__nav { display: flex; gap: 6px; padding-top: 10px; }
.m-picks__nav .m-icon-btn { border-color: var(--rule); }
.m-picks__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, calc((100% - 3 * 16px) / 4)); gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px;
}
.m-picks__track > .m-card { scroll-snap-align: start; aspect-ratio: 3 / 4; }

/* 11. Long read */
.m-longread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); padding-block: clamp(24px, 3vw, 40px); }
.m-longread--flip .m-longread__img { order: 2; }
.m-longread__img { aspect-ratio: 3 / 4; }
.m-longread__label { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--cat, var(--accent)); margin-bottom: 14px; }
.m-longread__title {
	font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.02;
	letter-spacing: -0.028em; font-variation-settings: "opsz" 144; text-wrap: balance;
}
.m-longread__title a:hover { color: var(--accent); }
.m-longread__standfirst { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; margin: 20px 0; max-width: 52ch; }
.m-longread__byline { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin-bottom: 22px; }

/* 12. Timeline */
.m-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.m-timeline::before { content: ""; position: absolute; left: 64px; top: 6px; bottom: 6px; width: 1px; background: var(--rule); }
.m-timeline__item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 18px; position: relative; }
.m-timeline__item::before { content: ""; position: absolute; left: 60px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--cat, var(--accent)); box-shadow: 0 0 0 3px var(--paper); }
.m-timeline__time { font-weight: 800; font-size: 0.85rem; color: var(--ink); font-variant-numeric: tabular-nums; padding-top: 1px; }
.m-timeline .m-kicker { margin-bottom: 2px; }

/* 13. In pictures */
.m-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 6px; }
.m-photos__item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.m-photos__item--0 { grid-column: span 2; grid-row: span 2; }
.m-photos__item--3 { grid-row: span 2; }
.m-photos__item a, .m-photos__item img { display: block; width: 100%; height: 100%; }
.m-photos__item img { object-fit: cover; }
.m-photos__item figcaption {
	position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1rem; line-height: 1.25;
	background: linear-gradient(180deg, transparent, rgba(4, 8, 20, .85));
}

/* 14. Two sections */
.m-twosec { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * 1.5); }
.m-twosec__col > .m-card--card { margin-bottom: 14px; }
.m-twosec__col > .m-card--text:nth-child(3) { border-top: 1px solid var(--rule); padding-top: 14px; }

/* 16. Newsletter */
.m-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.m-newsletter__title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: 8px; font-variation-settings: "opsz" 96; }
.m-newsletter__copy p { color: var(--muted); margin: 0; max-width: 46ch; }
.m-newsletter__form { display: flex; gap: 8px; flex-wrap: wrap; }
.m-newsletter__form input {
	flex: 1 1 220px; min-width: 0; padding: 13px 14px; border: 1px solid var(--rule); border-radius: var(--radius);
	background: var(--paper); color: var(--ink); font: inherit;
}
.m-newsletter__msg { flex-basis: 100%; margin: 4px 0 0; font-weight: 600; color: var(--accent); }
.m-newsletter--block { background: var(--tint); padding: clamp(24px, 4vw, 48px); border-left: 4px solid var(--accent); }
.m-footer-nl { border-top: 1px solid var(--rule); padding-block: clamp(36px, 5vw, 56px); }

/* 17. Ad */
.m-ad { text-align: center; }
.m-ad__label { display: block; font-size: 0.7rem; color: var(--muted); margin-bottom: 6px; }
.m-ad img { margin-inline: auto; }
.m-ad__placeholder { display: grid; place-items: center; margin-inline: auto; background: var(--tint); color: var(--muted); font-size: 0.85rem; border: 1px dashed var(--rule); }
.m-ad--leaderboard .m-ad__placeholder { max-width: 728px; height: 90px; }
.m-ad--billboard .m-ad__placeholder { max-width: 970px; height: 250px; }
.m-ad--rectangle .m-ad__placeholder { max-width: 300px; height: 250px; }

/* ==========================================================================
   Archive, search, 404
   ========================================================================== */
.m-archive { padding-block: 32px var(--block-space); }
.m-archive__head { border-bottom: 1px solid var(--rule); padding-bottom: 22px; margin-bottom: 32px; }
.m-archive__title {
	font-family: var(--serif); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1;
	color: var(--cat, var(--ink)); font-variation-settings: "opsz" 144;
}
.m-archive__desc { max-width: 64ch; color: var(--muted); font-size: 1.05rem; margin-top: 12px; }
.m-archive__desc p:last-child { margin: 0; }
.m-archive__author { display: flex; gap: 20px; align-items: center; }
.m-archive__author img { border-radius: 50%; }
.m-archive__search { margin-top: 18px; }
.m-archive__search .m-searchform { margin: 0; }
.m-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.m-subnav a { padding: 6px 12px; border: 1px solid var(--rule); border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.m-subnav a:hover { border-color: var(--cat, var(--accent)); }
.m-archive__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: calc(var(--gap) * 1.5); }
.no-sidebar .m-archive__layout { grid-template-columns: minmax(0, 1fr) 320px; }
.m-archive__lead { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.m-archive__lead .m-thumb { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.m-archive__list { display: flex; flex-direction: column; gap: 24px; }
.m-archive__list .m-card--row { grid-template-columns: minmax(120px, 36%) 1fr; }
.m-archive__list .m-card + .m-card { border-top: 1px solid var(--rule); padding-top: 24px; }

.m-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.m-pagination .page-numbers, .m-pagination > a, .m-pagination > span {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--rule); border-radius: var(--radius); font-weight: 700; font-size: 0.9rem;
}
.m-pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.m-404 { padding-block: 80px; }
.m-404__code { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 16vw, 11rem); line-height: 0.8; color: var(--accent); margin: 0; font-variation-settings: "opsz" 144; }
.m-404__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin: 20px 0 10px; }
.m-404 > p { color: var(--muted); max-width: 52ch; }
.m-404 .m-searchform { margin: 24px 0 64px; }

/* Sidebar & widgets */
.m-sidebar { min-width: 0; }
.m-sidebar > * + * { margin-top: 40px; }
.m-sidebar .m-block { margin: 0; }
.widget-title { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; border-top: 3px solid var(--rule-strong); padding-top: 10px; margin-bottom: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.widget li:last-child { border-bottom: 0; }

/* ==========================================================================
   Single article
   ========================================================================== */
.m-article__head { max-width: 900px; padding-top: clamp(28px, 4vw, 56px); padding-bottom: 28px; }
.m-article__kicker .m-kicker { font-size: 0.9rem; }
.m-article__title {
	font-family: var(--serif); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.04;
	letter-spacing: -0.025em; font-variation-settings: "opsz" 144; text-wrap: balance;
}
.m-article__standfirst { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; margin: 20px 0 0; color: var(--body); max-width: 60ch; font-variation-settings: "opsz" 24; }
.m-article__byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.m-byline { display: flex; align-items: center; gap: 12px; }
.m-byline img { border-radius: 50%; }
.m-byline__name { display: block; font-weight: 800; color: var(--ink); }
.m-byline__info { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 0.85rem; color: var(--muted); }
.m-article__figure { margin: 0 auto 36px; }
.m-article__figure img { width: 100%; border-radius: var(--radius); }
.m-article__figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; max-width: 900px; }

.m-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); max-width: 1180px; }
.m-article__body { min-width: 0; }

/* Article prose */
.m-prose { font-family: var(--serif); font-size: clamp(1.08rem, 1.2vw, 1.2rem); line-height: 1.7; color: var(--body); max-width: 68ch; font-variation-settings: "opsz" 14; }
.m-page .m-prose { margin-inline: auto; padding-inline: var(--gutter); }
.m-prose > * { margin-block: 0 1.3em; }
.m-prose h2, .m-prose h3, .m-prose h4 { font-family: var(--serif); letter-spacing: -0.015em; line-height: 1.2; margin-top: 1.8em; margin-bottom: 0.6em; }
.m-prose h2 { font-size: 1.7rem; font-variation-settings: "opsz" 72; }
.m-prose h3 { font-size: 1.35rem; }
.m-prose h4 { font-family: var(--sans); font-size: 1.05rem; }
.m-prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.m-prose ul, .m-prose ol { padding-left: 1.3em; }
.m-prose li { margin-bottom: 0.4em; }
.m-prose img { border-radius: var(--radius); }
.m-prose figure { margin-inline: 0; }
.m-prose figcaption, .m-prose .wp-element-caption { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.m-prose blockquote { margin-inline: 0; padding-left: 22px; border-left: 3px solid var(--accent); font-style: italic; }
.m-prose .wp-block-pullquote, .m-prose blockquote.is-style-large {
	border: 0; border-top: 3px solid var(--cat, var(--accent)); border-bottom: 1px solid var(--rule); padding: 24px 0; text-align: left;
}
.m-prose .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.m-prose .wp-block-pullquote p { font-size: 1.7rem; line-height: 1.25; font-weight: 600; font-style: italic; color: var(--ink); font-variation-settings: "opsz" 72; }
.m-prose .wp-block-pullquote cite, .m-prose blockquote cite { font-family: var(--sans); font-style: normal; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.m-prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2em; }
.m-prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.92rem; }
.m-prose th, .m-prose td { padding: 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.m-prose .wp-block-table { overflow-x: auto; }
.m-prose code { font-size: 0.88em; background: var(--tint); padding: 2px 5px; border-radius: 3px; }
.m-prose pre { overflow-x: auto; background: var(--tint); padding: 16px; font-size: 0.85rem; }
.m-prose .alignwide, .m-prose .alignfull { max-width: none; }
.m-prose .aligncenter { margin-inline: auto; }
.m-prose .alignleft { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.m-prose .alignright { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }

.has-dropcap .m-prose > p:first-of-type::first-letter {
	float: left; font-weight: 800; font-size: 4.4em; line-height: 0.82; margin: 0.06em 0.1em 0 0;
	color: var(--cat, var(--accent)); font-variation-settings: "opsz" 144;
}

.m-article__foot { max-width: 68ch; margin-top: 40px; }
.m-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.m-tags a { padding: 6px 12px; background: var(--tint); border-radius: 20px; font-size: 0.85rem; font-weight: 600; }

.m-share { display: flex; gap: 6px; flex-wrap: wrap; }
.m-share__btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--rule); border-radius: 50%; background: none; color: var(--ink); position: relative; }
.m-share__btn:hover { border-color: var(--accent); color: var(--accent); }
.m-share__copied { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: 0.75rem; padding: 4px 8px; border-radius: 3px; white-space: nowrap; }

.m-authorbox { display: flex; gap: 18px; margin-top: 36px; padding: 24px; background: var(--tint); border-radius: var(--radius); }
.m-authorbox img { border-radius: 50%; flex: none; }
.m-authorbox__name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; margin-bottom: 6px; color: var(--ink); }
.m-authorbox p { font-size: 0.95rem; }
.m-authorbox__more { font-size: 0.9rem; font-weight: 700; color: var(--accent); }

.m-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); }
.m-postnav a { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.m-postnav a span { display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.m-postnav__next { text-align: right; grid-column: 2; }

.m-related { padding-block: var(--block-space) 0; }

/* Comments */
.m-comments { max-width: 68ch; margin-top: 48px; }
.m-comments__title, .comment-reply-title { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 20px; }
.m-comments__list, .m-comments__list .children { list-style: none; margin: 0; padding: 0; }
.m-comments__list .children { padding-left: 28px; border-left: 2px solid var(--rule); }
.m-comment { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.m-comment__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.m-comment__head img { border-radius: 50%; }
.m-comment__author { font-weight: 800; color: var(--ink); display: block; }
.m-comment__date { font-size: 0.8rem; color: var(--muted); }
.m-comment__reply a { font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.comment-form label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit;
}
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* Pages */
.m-page__head { max-width: 900px; padding-block: clamp(28px, 4vw, 56px) 28px; }
.m-page__content { padding-bottom: var(--block-space); }

/* ==========================================================================
   Footer
   ========================================================================== */
.m-footer { background: var(--dark-band); color: rgba(255, 255, 255, .78); padding-block: clamp(48px, 6vw, 80px) 28px; font-size: 0.92rem; }
.m-footer a { color: rgba(255, 255, 255, .88); }
.m-footer a:hover { color: var(--alert); }
.m-footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.4fr); gap: calc(var(--gap) * 2); padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.m-footer__name { display: inline-block; font-family: var(--serif); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.03em; color: #fff !important; margin-bottom: 14px; line-height: 1; }
.m-footer__brand p { max-width: 40ch; }
.m-footer .m-social a { border-color: rgba(255, 255, 255, .2); color: #fff; }
.m-footer .m-social a:hover { border-color: var(--alert); color: var(--alert); }
.m-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--gap); }
.m-footer .widget-title { color: #fff; border-top-color: var(--alert); font-size: 1.05rem; }
.m-footer .widget li { border: 0; padding: 5px 0; }
.m-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 0.82rem; }
.m-footer__copy { margin: 0; }
.m-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.m-totop { font-weight: 700; }

/* ==========================================================================
   WordPress core classes
   ========================================================================== */
.alignnone { margin: 0; }
.wp-caption-text, .gallery-caption { font-size: 0.85rem; color: var(--muted); }
.sticky .m-title::before { content: ""; }
.bypostauthor > .m-comment .m-comment__author::after { content: " (author)"; font-weight: 400; color: var(--muted); font-size: 0.85em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.m-opinion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m-opinion__item:nth-child(odd) { border-left: 0; padding-left: 0; }
	.m-picks__track { grid-auto-columns: minmax(220px, calc((100% - 2 * 16px) / 3)); }
	.m-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.m-top { grid-template-columns: 1fr 1fr; }
	.m-top__col--centre { order: -1; grid-column: 1 / -1; padding: 0 0 var(--gap); border-bottom: 1px solid var(--rule); margin-bottom: var(--gap); }
	.m-top__col--left { padding-left: 0; border-left: 0 !important; }
}

@media (max-width: 900px) {
	.m-topbar__nav, .m-topbar__edition { display: none; }
	.m-lead, .m-section, .m-video__layout, .m-twosec, .m-newsletter, .m-footer__top,
	.m-archive__layout, .no-sidebar .m-archive__layout, .m-article__layout, .m-longread { grid-template-columns: 1fr; }
	.m-lead__rail { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: var(--gap); }
	.m-longread--flip .m-longread__img { order: 0; }
	.m-longread__img { aspect-ratio: 4 / 3; }
	.m-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: minmax(240px, auto); }
	.m-mosaic > :first-child { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
	.m-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
	.m-photos__item--3 { grid-row: auto; }
	.m-grid--3, .m-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m-subscribe { display: none; }
}

@media (max-width: 640px) {
	.m-masthead__inner { grid-template-columns: auto 1fr auto; }
	.m-masthead--center .m-brand { text-align: center; }
	.m-brand__tagline { display: none; }
	.m-lead__subs, .m-top, .m-mostread--two, .m-opinion { grid-template-columns: 1fr; }
	.m-mostread--two { grid-auto-flow: row; grid-template-rows: none; }
	.m-mostread--two li:nth-child(6) { border-top: 1px solid var(--rule); padding-top: 16px; }
	.m-top__col { padding: 0 !important; border-left: 0 !important; }
	.m-top__col--right { margin-top: 18px; }
	.m-opinion__item { border-left: 0 !important; padding-left: 0 !important; padding-top: 18px; border-top: 1px solid var(--rule); }
	.m-opinion__item:first-child { border-top: 0; padding-top: 0; }
	.m-grid--2, .m-grid--3, .m-grid--4 { grid-template-columns: 1fr; }
	.m-mosaic { grid-template-columns: 1fr; }
	.m-picks__track { grid-auto-columns: 72%; }
	.m-archive__list .m-card--row { grid-template-columns: 110px 1fr; }
	.m-archive__list .m-card__excerpt { display: none; }
	.m-postnav { grid-template-columns: 1fr; }
	.m-postnav__next { grid-column: 1; text-align: left; }
	.m-ticker__label { padding: 0 10px; }
	.m-footer__bottom { flex-direction: column; align-items: flex-start; }
	.m-authorbox { flex-direction: column; }
	.m-timeline::before { left: 56px; }
	.m-timeline__item { grid-template-columns: 48px 1fr; }
	.m-timeline__item::before { left: 52px; }
}

@media print {
	.m-topbar, .m-nav, .m-header-ticker, .m-share, .m-sidebar, .m-footer, .m-footer-nl, .m-related, .m-comments, .m-progress, .m-masthead__actions, .m-menu-toggle { display: none !important; }
	body { color: #000; background: #fff; }
	.m-article__layout { display: block; }
}

/* Dark mode: lift section colours so they stay readable on dark paper */
html[data-mode="dark"] .m-section-head__title,
html[data-mode="dark"] .m-archive__title { color: color-mix(in srgb, var(--cat, var(--ink)) 55%, #fff); }
html[data-mode="dark"] .m-kicker,
html[data-mode="dark"] .m-longread__label { color: color-mix(in srgb, var(--cat, var(--accent)) 55%, #fff); }
html[data-mode="dark"] .m-card__num,
html[data-mode="dark"] .m-ticker__track time,
html[data-mode="dark"] .m-prose a,
html[data-mode="dark"] .m-authorbox__more,
html[data-mode="dark"] .m-404__code { color: var(--accent-text); }
html[data-mode="dark"] .m-section-head { border-top-color: color-mix(in srgb, var(--cat, var(--rule-strong)) 60%, #fff); }
html[data-mode="dark"] .m-card--overlay .m-kicker,
html[data-mode="dark"] .m-cover .m-kicker,
html[data-mode="dark"] .m-video .m-kicker { color: var(--alert); }
html[data-mode="dark"] .m-video .m-section-head__title { color: #fff; }

/* ---------- v1.1: initials, columns, credit ---------- */
.m-initials {
	width: var(--s, 56px); height: var(--s, 56px); border-radius: 50%; flex: none;
	display: inline-grid; place-items: center;
	background: hsl(var(--h) 45% 88%); color: hsl(var(--h) 55% 28%);
	font-family: var(--serif); font-weight: 700; font-size: calc(var(--s, 56px) * 0.36); line-height: 1;
}
html[data-mode="dark"] .m-initials { background: hsl(var(--h) 30% 22%); color: hsl(var(--h) 60% 85%); }
.m-home > .wp-block-columns.m-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); margin-bottom: var(--block-space); }
.m-cols > .wp-block-column { flex-basis: auto !important; min-width: 0; }
.m-cols .m-block { margin-bottom: 0; }
.m-cols .m-section { grid-template-columns: 1fr; }
@media (max-width: 900px) { .m-home > .wp-block-columns.m-cols { grid-template-columns: 1fr; } }
.m-footer .menu { list-style: none; margin: 0; padding: 0; }
.m-footer .menu li { padding: 5px 0; }
.m-footer__credit { margin: 18px 0 0; font-size: 0.78rem; color: rgba(255, 255, 255, .55); }
.m-footer__credit a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 2px; }
.m-card--overlay .m-thumb__play { top: 14px; left: 14px; bottom: auto; z-index: 1; }
.m-footer__col ul { list-style: none; margin: 0; padding: 0; }
.m-footer__col li { padding: 5px 0; border: 0; }
