/* The CommsVerge theme. Colours from the brand kit v1.0. Small text keeps 4.5:1: Tangerine only on
   Forest (4.66:1) or as a button with Forest text; Ember stays on lines and accents, and small text
   that wants to look orange uses --cv-ember-text (5.11:1 on Cream) instead. */
:root {
    --cv-forest: #0F3D2E;
    --cv-deep: #0A2C22;
    --cv-moss: #1F5A44;
    --cv-tangerine: #FF7A1A;
    --cv-ember: #E8650A;
    /* Ember on Cream is 2.96:1, so kickers, counts and section links use this darker orange */
    --cv-ember-text: #A84A06;
    --cv-cream: #F6F1E7;
    --cv-sand: #EFE7D6;
    --cv-shell: #EDE6D8;
    --cv-ink: #111111;
    --cv-prose: #44443F;
    --cv-quiet: #6F6E66;
    --cv-mist: #A9BDB4;
    --cv-haze: #C9D6D0;
    --cv-glow: #E3E9E6;
    --cv-rule: #D9D2C2;
    /* The brand's fonts, unless Admin > Design & branding > Typography picks others */
    --cv-sans: var(--gh-font-heading, Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
    --cv-serif: var(--gh-font-body, "Source Serif 4", Georgia, serif);
    --cv-width: 1280px;
    --cv-gutter: 36px;
    /* Conductor burns a figure, a numeral or a cream frame into some heroes. Every frame below
       crops, so this is the one dial that decides what survives: center keeps the middle of both. */
    --cv-crop: center;
    /* Conductor's "frame" treatment paints a Cream border into the hero itself: 48px on a 1600x900
       file, so 3% of its width and 5.33% of its height. The lead's picture is blown up past the
       band by this much on every side, which carries that border outside and leaves only photo.
       6% hides both (the picture must grow by 1/(1 - 2 x 0.0533)). Set it to 0 to see the border. */
    --cv-bleed: 6%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cv-cream); color: var(--cv-ink); font-family: var(--cv-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cv-forest); text-decoration: none; }
a:hover { color: var(--cv-ember-text); }
:focus-visible { outline: 3px solid var(--cv-tangerine); outline-offset: 2px; }
button { font: inherit; }

.cv-site { min-height: 100vh; display: flex; flex-direction: column; }
.cv-site > main, .cv-site > .cv-columns { flex: 1 0 auto; }
.cv-wrap { width: 100%; max-width: var(--cv-width); margin: 0 auto; padding-left: var(--cv-gutter); padding-right: var(--cv-gutter); }
.cv-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kickers: Poppins Medium caps with +8% tracking */
.cv-kicker { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cv-ember-text); }
.cv-kicker-on-forest { color: var(--cv-tangerine); }
.cv-kicker-on-tangerine { letter-spacing: 0.12em; font-weight: 600; color: var(--cv-forest); }
/* The market a story is about (D-125): a small outlined label before the kicker's words, in the
   kicker's own colour (Ember text on Cream is 5.11:1, Tangerine on Forest 4.66:1) */
.cv-market { display: inline-block; margin-right: 8px; padding: 1px 6px; border: 1px solid currentColor; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.5; text-transform: uppercase; color: var(--cv-forest); vertical-align: 1px; }
.cv-kicker-on-forest .cv-market { color: var(--cv-tangerine); }
.cv-crumbs .cv-market { margin-left: 10px; }
.cv-wire-meta .cv-market { margin: 0 0 0 6px; }
/* A tag stored in lower case ("platforms") reads as a name: only its first letter is raised */
.cv-kicker::first-letter, .cv-chip::first-letter, .cv-archive-title::first-letter,
.cv-section-name::first-letter, .cv-wire-section::first-letter,
.cv-rail-name::first-letter { text-transform: uppercase; }
.cv-dek { font-family: var(--cv-serif); font-size: 14px; line-height: 1.5; color: var(--cv-prose); }
.cv-dek-on-forest { color: var(--cv-haze); }

/* Buttons. The mockup's edges are square, so only the masthead pill keeps a radius. */
.cv-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--cv-tangerine); color: var(--cv-ink); font-family: var(--cv-sans); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cv-button:hover { background: #FF8F3A; color: var(--cv-ink); }
.cv-button-forest { border-radius: 0; background: var(--cv-forest); color: var(--cv-cream); padding: 11px 16px; }
.cv-button-forest:hover { background: var(--cv-deep); color: var(--cv-cream); }
.cv-button-bold { padding: 14px 22px; font-size: 14px; border: 2px solid var(--cv-forest); }
.cv-button-bold:hover { background: var(--cv-moss); border-color: var(--cv-moss); }
.cv-button-block { width: 100%; border-radius: 0; padding: 11px 14px; }
.cv-outline-button { display: inline-flex; align-items: center; padding: 12px 20px; border: 1.5px solid var(--cv-forest); border-radius: 0; font-size: 13px; font-weight: 600; color: var(--cv-forest); background: transparent; cursor: pointer; }
.cv-outline-button:hover { background: var(--cv-forest); color: var(--cv-cream); }

/* ── Masthead ───────────────────────────────────────────────────────────────── */
/* The masthead follows the page down. Forest over Forest at the top of the lead, Forest over
   Cream once the reader is into the stories. */
.cv-header { position: sticky; top: 0; z-index: 50; background: var(--cv-forest); color: var(--cv-cream); }
.cv-bar { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.cv-logo { display: inline-flex; align-items: center; flex: none; }
.cv-logo img { height: 26px; width: auto; }
.cv-navs { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.cv-nav ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.cv-nav a { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cv-cream); border-bottom: 2px solid transparent; padding-bottom: 2px; }
.cv-nav a:hover { color: var(--cv-cream); border-bottom-color: var(--cv-tangerine); }
.cv-nav .nav-current a { border-bottom-color: var(--cv-tangerine); }
.cv-nav-quiet a { color: var(--cv-mist); }
.cv-nav-quiet a:hover { color: var(--cv-cream); }
.cv-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.cv-search-button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: transparent; color: var(--cv-cream); font-size: 13px; font-weight: 500; cursor: pointer; }
.cv-search-button:hover { color: var(--cv-tangerine); }
.cv-bar-link { color: var(--cv-cream); font-size: 13px; font-weight: 500; }
.cv-bar-link:hover { color: var(--cv-tangerine); }

/* ── Front page: the lead over a full-bleed picture ─────────────────────────── */
.cv-hero { position: relative; min-height: 580px; display: flex; align-items: flex-end; background: var(--cv-forest); color: var(--cv-cream); overflow: hidden; }
.cv-hero-media { position: absolute; inset: calc(-1 * var(--cv-bleed)); }
.cv-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cv-crop); }
.cv-hero-veil { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; background: linear-gradient(to top, rgba(10, 44, 34, 0.97) 30%, rgba(10, 44, 34, 0.78) 65%, rgba(10, 44, 34, 0)); pointer-events: none; }
/* No picture yet: the gradient has nothing to sit on, so the band is simply Forest */
.cv-hero-media:empty + .cv-hero-veil { display: none; }
.cv-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: end; padding-top: 72px; padding-bottom: 36px; }
.cv-hero-text { display: flex; flex-direction: column; gap: 14px; color: var(--cv-cream); }
.cv-hero-text:hover { color: var(--cv-cream); }
.cv-hero-text:hover .cv-hero-title { color: var(--cv-tangerine); }
.cv-hero-title { margin: 0; font-size: 54px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; text-wrap: pretty; }
.cv-hero-dek { margin: 0; max-width: 640px; font-family: var(--cv-serif); font-size: 17px; line-height: 1.5; color: var(--cv-glow); }
.cv-hero-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--cv-haze); }
.cv-hero-author { color: var(--cv-cream); font-weight: 500; }
.cv-hero-aside { border-left: 1px solid var(--cv-moss); padding-left: 24px; display: flex; flex-direction: column; gap: 14px; }
.cv-hero-aside-title { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cv-mist); }
.cv-hero-item { display: flex; flex-direction: column; gap: 4px; color: var(--cv-cream); }
.cv-hero-item + .cv-hero-item { border-top: 1px solid var(--cv-moss); padding-top: 12px; }
.cv-hero-item-title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.cv-hero-item:hover, .cv-hero-item:hover .cv-hero-item-title { color: var(--cv-tangerine); }

/* ── The wire grid ──────────────────────────────────────────────────────────── */
.cv-wire-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cv-wire-item { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; border-bottom: 1px solid var(--cv-rule); border-left: 1px solid var(--cv-rule); }
.cv-wire-item:first-child { border-left: 0; padding-left: 0; }
.cv-wire-meta { font-size: 11px; color: var(--cv-quiet); }
.cv-wire-section { letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--cv-ember-text); }
.cv-wire-title { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--cv-forest); text-wrap: pretty; }
.cv-wire-item:hover .cv-wire-title { color: var(--cv-ember-text); text-decoration: underline; }

/* ── Section rails ──────────────────────────────────────────────────────────── */
.cv-rail { padding-top: 36px; }
.cv-rail-split { border-top: 2px solid var(--cv-forest); padding-top: 14px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; }
.cv-rail-main { min-width: 0; }
.cv-rail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.cv-rail-head-rule { border-top: 2px solid var(--cv-forest); padding-top: 12px; }
.cv-section-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--cv-forest); }
.cv-rail-all { font-size: 12px; color: var(--cv-ember-text); }
.cv-rail-all:hover { text-decoration: underline; }
.cv-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.cv-card-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.cv-card { display: flex; flex-direction: column; gap: 10px; }
.cv-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cv-sand); }
.cv-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cv-crop); }
.cv-card-title { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--cv-forest); text-wrap: pretty; }
.cv-card:hover .cv-card-title { color: var(--cv-ember-text); text-decoration: underline; }

/* The briefing card beside the first rail */
.cv-briefing { display: flex; flex-direction: column; gap: 10px; padding: 22px; align-self: start; }
.cv-briefing-sand { background: var(--cv-shell); }
.cv-briefing-forest { background: var(--cv-forest); color: var(--cv-cream); }
.cv-briefing-heading { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--cv-forest); }
.cv-briefing-forest .cv-briefing-heading { color: var(--cv-cream); }
.cv-briefing-note { font-size: 11px; color: var(--cv-quiet); }

/* ── The Platforms band on Forest ───────────────────────────────────────────── */
.cv-band-dark { background: var(--cv-forest); color: var(--cv-cream); margin-top: 44px; padding: 32px 0 40px; }
.cv-band-dark .cv-rail-head { border-bottom: 1px solid var(--cv-moss); padding-bottom: 12px; }
.cv-band-dark .cv-section-title { color: var(--cv-cream); }
.cv-band-dark .cv-rail-all { color: var(--cv-tangerine); }
.cv-band-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; margin-top: 24px; }
.cv-feature-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; color: var(--cv-cream); }
.cv-feature-card:hover { color: var(--cv-cream); }
.cv-feature-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cv-moss); }
.cv-feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cv-crop); }
.cv-feature-text { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.cv-feature-title { font-size: 28px; font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; text-wrap: pretty; }
.cv-feature-card:hover .cv-feature-title { color: var(--cv-tangerine); }
.cv-feature-byline { font-size: 12px; color: var(--cv-mist); }
.cv-stack { display: flex; flex-direction: column; }
.cv-stack-item { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 18px; padding: 18px 0; color: var(--cv-cream); }
.cv-stack-item:first-child { padding-top: 0; }
.cv-stack-item:not(:last-child) { border-bottom: 1px solid var(--cv-moss); }
.cv-stack-item:hover { color: var(--cv-cream); }
.cv-stack-text { display: flex; flex-direction: column; gap: 6px; }
.cv-stack-title { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.cv-stack-item:hover .cv-stack-title { color: var(--cv-tangerine); }
.cv-stack-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cv-moss); }
.cv-stack-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cv-crop); }

/* ── Latest beside the sidebar ──────────────────────────────────────────────── */
.cv-columns { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); padding-top: 40px; padding-bottom: 56px; }
.cv-columns-top { padding-top: 32px; }
.cv-feed { min-width: 0; padding-right: 32px; border-right: 1px solid var(--cv-rule); }
.cv-feed-order { font-size: 12px; color: var(--cv-quiet); }
.cv-feed-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) 132px; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--cv-rule); align-items: start; }
.cv-feed-time { font-size: 12px; color: var(--cv-quiet); padding-top: 3px; }
.cv-feed-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cv-feed-title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; text-wrap: pretty; }
.cv-feed-title a { color: var(--cv-forest); }
.cv-feed-title a:hover { color: var(--cv-ember-text); text-decoration: underline; }
.cv-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cv-sand); }
.cv-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cv-crop); }
.cv-pager { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cv-pager:empty { display: none; }
.cv-empty { color: var(--cv-quiet); padding: 22px 0; margin: 0; }

/* ── Sidebar ────────────────────────────────────────────────────────────────── */
.cv-sidebar { min-width: 0; padding-left: 32px; display: flex; flex-direction: column; gap: 28px; }
.cv-side-block { display: flex; flex-direction: column; }
.cv-side-title { margin: 0 0 2px; border-top: 2px solid var(--cv-forest); padding-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cv-forest); }
.cv-side-title-plain { border-top: 2px solid var(--cv-forest); }
.cv-top-list { list-style: none; margin: 0; padding: 0; }
.cv-top-list a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--cv-rule); }
.cv-top-number { font-size: 22px; font-weight: 700; line-height: 1; color: var(--cv-ember-text); }
.cv-top-title { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--cv-forest); }
.cv-top-list a:hover .cv-top-title { color: var(--cv-ember-text); text-decoration: underline; }
.cv-sections { list-style: none; margin: 0; padding: 0; }
.cv-sections a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--cv-rule); }
.cv-sections li:last-child a { border-bottom: 0; }
.cv-section-name { font-size: 14px; font-weight: 600; color: var(--cv-forest); }
.cv-section-count { font-size: 11px; font-weight: 400; color: var(--cv-quiet); }
.cv-sections a:hover .cv-section-name { color: var(--cv-ember-text); text-decoration: underline; }
.cv-tip { gap: 8px; }
.cv-tip-text { margin: 0; font-family: var(--cv-serif); font-size: 15px; line-height: 1.55; color: var(--cv-prose); }
.cv-tip-link { font-size: 13px; color: var(--cv-ember-text); }
.cv-tip-link:hover { text-decoration: underline; }

/* ── Member forms: Ghost adds loading, success or error to the form ─────────── */
.cv-form { display: flex; gap: 8px; }
.cv-form-stacked { flex-direction: column; gap: 10px; }
.cv-form-cta { flex-direction: column; gap: 10px; }
.cv-form-attached { display: flex; gap: 0; margin-top: 6px; }
.cv-form-cta .cv-form-attached { margin-top: 0; }
.cv-input { flex: 1; min-width: 0; width: 100%; padding: 11px 12px; border: 1px solid var(--cv-forest); border-radius: 0; font-family: var(--cv-sans); font-size: 13px; color: var(--cv-ink); background: var(--cv-cream); outline-offset: -3px; }
.cv-input-bold { padding: 14px 16px; font-size: 14px; border-width: 2px; }
.cv-briefing-forest .cv-input { border-color: var(--cv-moss); background: var(--cv-deep); color: var(--cv-cream); }
.cv-briefing-forest .cv-input::placeholder { color: var(--cv-mist); }
.cv-form-message { display: none; margin: 0; font-size: 13px; flex-basis: 100%; }
.cv-form.success .cv-form-success, .cv-form.error .cv-form-error { display: block; }
.cv-form.loading button { opacity: 0.6; pointer-events: none; }
.cv-briefing-forest .cv-form-message { color: var(--cv-cream); }
.cv-cta .cv-form-message { color: var(--cv-forest); font-weight: 500; }

/* ── The Tangerine band ─────────────────────────────────────────────────────── */
.cv-cta { background: var(--cv-tangerine); color: var(--cv-ink); }
.cv-cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.cv-cta-text { display: flex; flex-direction: column; gap: 12px; }
.cv-cta-heading { margin: 0; font-size: 38px; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--cv-forest); text-wrap: pretty; }
.cv-cta-dek { margin: 0; max-width: 520px; font-family: var(--cv-serif); font-size: 17px; line-height: 1.5; color: var(--cv-ink); }
.cv-cta-note { font-size: 12px; color: var(--cv-forest); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.cv-footer { background: var(--cv-forest); color: var(--cv-cream); margin-top: auto; }
.cv-footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-top: 40px; padding-bottom: 28px; }
.cv-footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cv-footer-brand .cv-logo img { height: 28px; }
.cv-footer-blurb { margin: 0; max-width: 380px; font-family: var(--cv-serif); font-size: 14px; line-height: 1.55; color: var(--cv-haze); }
.cv-footer-col { display: flex; flex-direction: column; gap: 10px; }
.cv-footer-title { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cv-mist); }
.cv-footer-col ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cv-footer-col a { font-size: 13px; color: var(--cv-cream); }
.cv-footer-col a:hover { color: var(--cv-tangerine); }
.cv-footer-base { border-top: 1px solid var(--cv-moss); padding-top: 16px; padding-bottom: 24px; font-size: 12px; color: var(--cv-mist); }

/* ── Archive headers: tag, author, error ────────────────────────────────────── */
.cv-archive-header { padding-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.cv-archive-title { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: var(--cv-forest); }
.cv-archive-dek { margin: 0; max-width: 680px; font-family: var(--cv-serif); font-size: 19px; line-height: 1.5; color: var(--cv-prose); }
.cv-archive-header + .cv-columns { padding-top: 24px; }
.cv-author-header { flex-direction: row; align-items: center; gap: 20px; }
.cv-avatar { width: 88px; height: 88px; border-radius: 999px; object-fit: cover; }
.cv-archive-link { font-size: 14px; text-decoration: underline; }
.cv-author-social { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cv-author-social:empty { display: none; }
.cv-error { flex: 1 0 auto; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ── A story ────────────────────────────────────────────────────────────────── */
.cv-article { padding-top: 36px; }
.cv-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cv-quiet); }
.cv-crumbs a { color: var(--cv-quiet); }
.cv-crumb-current, .cv-crumbs a.cv-crumb-current { color: var(--cv-ember-text); }
.cv-crumbs a:hover { text-decoration: underline; }
.cv-article-title { margin: 16px 0 0; max-width: 980px; font-size: 52px; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; color: var(--cv-forest); text-wrap: pretty; }
.cv-standfirst { margin: 20px 0 0; max-width: 820px; font-family: var(--cv-serif); font-size: 21px; line-height: 1.45; color: var(--cv-prose); text-wrap: pretty; }
.cv-byline { margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--cv-rule); border-bottom: 1px solid var(--cv-rule); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cv-byline-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.cv-byline-avatar-blank { display: inline-flex; align-items: center; justify-content: center; background: var(--cv-forest); color: var(--cv-cream); }
.cv-byline-who { display: flex; flex-direction: column; gap: 2px; }
.cv-byline-name { font-size: 14px; font-weight: 600; color: var(--cv-ink); }
.cv-byline-role { font-size: 11px; color: var(--cv-quiet); }
.cv-byline-meta { margin-left: auto; display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: var(--cv-quiet); }
.cv-article-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.cv-article-main { min-width: 0; padding-right: 40px; border-right: 1px solid var(--cv-rule); }
.cv-feature { margin: 0; }
.cv-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--cv-crop); background: var(--cv-sand); }
/* The photo credit, quiet but kept (D-125 answer A): both links stay, underlined only on hover */
.cv-feature figcaption { padding-top: 6px; font-size: 10px; line-height: 1.5; letter-spacing: 0.01em; text-align: right; color: var(--cv-quiet); }
.cv-feature figcaption a { color: var(--cv-quiet); text-decoration: none; }
.cv-feature figcaption a:hover, .cv-feature figcaption a:focus-visible { text-decoration: underline; }

/* The share row: Forest marks on Cream, square like every other edge, 44px targets */
.cv-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cv-share-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid var(--cv-forest); border-radius: 0; background: transparent; color: var(--cv-forest); cursor: pointer; }
.cv-share-button[hidden] { display: none; }
.cv-share-button:hover, .cv-share-button:focus-visible { background: var(--cv-forest); color: var(--cv-cream); }
.cv-share-status { font-size: 13px; color: var(--cv-quiet); }
.cv-share-status:empty { display: none; }
.cv-share-end { max-width: 680px; margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--cv-rule); display: flex; flex-direction: column; gap: 12px; }
.cv-share-label { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cv-forest); }
.cv-tag-row { max-width: 680px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--cv-rule); display: flex; flex-wrap: wrap; gap: 10px; }
.cv-chip { display: inline-block; border: 1px solid var(--cv-rule); padding: 6px 12px; font-size: 12px; color: var(--cv-forest); }
.cv-chip:hover { border-color: var(--cv-forest); color: var(--cv-forest); }
.cv-more { margin-top: 56px; padding-bottom: 56px; }
.cv-more .cv-rail-head { border-top: 2px solid var(--cv-forest); padding-top: 14px; }
.cv-comments { max-width: 680px; margin: 48px 0 0; }
/* A page has no sidebar to sit beside, so its column is centred and it closes with room below */
.cv-page { padding-bottom: 64px; }
.cv-page .cv-article-head, .cv-page .cv-body { max-width: calc(760px + 2 * var(--cv-gutter)); margin-left: auto; margin-right: auto; }
.cv-page .cv-body { max-width: 760px; margin-top: 32px; }
.cv-page-feature { max-width: calc(1040px + 2 * var(--cv-gutter)); margin-top: 28px; }

/* The story: Source Serif 4, 19px on 1.65 */
.cv-body { max-width: 680px; margin: 32px 0 0; font-family: var(--cv-serif); font-size: 19px; line-height: 1.65; color: var(--cv-ink); }
.cv-body > * { margin-top: 0; margin-bottom: 22px; }
.cv-body > :last-child { margin-bottom: 0; }
.cv-body h2, .cv-body h3, .cv-body h4 { font-family: var(--cv-sans); color: var(--cv-forest); letter-spacing: -0.02em; line-height: 1.25; }
.cv-body h2 { font-size: 26px; font-weight: 600; margin-top: 40px; }
.cv-body h3 { font-size: 21px; font-weight: 600; margin-top: 32px; }
.cv-body h4 { font-size: 18px; font-weight: 600; margin-top: 28px; }
.cv-body a:not(.kg-btn):not([style]):not(.kg-bookmark-container) { color: var(--cv-forest); text-decoration: underline; text-decoration-color: var(--cv-ember); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cv-body a:not(.kg-btn):not([style]):not(.kg-bookmark-container):hover { color: var(--cv-ember-text); }
.cv-body blockquote:not([class]) { margin: 8px 0 22px; padding: 4px 0 4px 24px; border-left: 3px solid var(--cv-tangerine); font-family: var(--cv-sans); font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--cv-forest); }
.cv-body ul, .cv-body ol { padding-left: 1.3em; }
.cv-body li + li { margin-top: 6px; }
.cv-body hr { border: 0; border-top: 1px solid var(--cv-rule); margin: 40px 0; }
.cv-body figcaption { font-family: var(--cv-sans); font-size: 12px; line-height: 1.5; color: var(--cv-quiet); margin-top: 8px; }
.cv-body pre { overflow-x: auto; font-size: 15px; background: var(--cv-sand); padding: 16px; }

/* A story's table of figures: ruled rows, and its own sideways scroll when it is wider than the column.
   The Powered by line is a layout table that styles itself, so it is left out. */
.cv-body table:not([role="presentation"]) { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; border-top: 2px solid var(--cv-forest); font-family: var(--cv-sans); font-size: 15px; line-height: 1.45; }
.cv-body table:not([role="presentation"]) th, .cv-body table:not([role="presentation"]) td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--cv-rule); text-align: left; vertical-align: top; }
.cv-body table:not([role="presentation"]) th { font-size: 12px; font-weight: 600; color: var(--cv-forest); }
.cv-body table:not([role="presentation"]) td { min-width: 96px; }

/* Koenig cards: wide and full width break out of the 680px column */
.kg-width-wide { position: relative; width: min(800px, 100%); max-width: none; }
.kg-width-full { position: relative; width: 100%; max-width: none; }
.kg-image { margin: 0 auto; }
.kg-embed-card, .kg-video-card { display: flex; flex-direction: column; align-items: center; }

/* Bookmark cards (a link to another story): no body-link underline over the card; on hover only the
   title is underlined. The thumbnail follows the 3:2 rule of every other card on the site. */
.cv-body .kg-bookmark-card { margin-left: 0; margin-right: 0; }
.cv-body .kg-bookmark-card a.kg-bookmark-container, .cv-body .kg-bookmark-card a.kg-bookmark-container:hover { align-items: center; background: #FFFFFF; color: var(--cv-ink); text-decoration: none; border: 1px solid var(--cv-rule); border-radius: 0; }
.cv-body .kg-bookmark-card a.kg-bookmark-container:hover { border-color: var(--cv-forest); }
.cv-body .kg-bookmark-content { padding: 18px 20px; font-family: var(--cv-sans); }
.cv-body .kg-bookmark-title { font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--cv-forest); }
.cv-body .kg-bookmark-container:hover .kg-bookmark-title { text-decoration: underline; text-decoration-color: var(--cv-ember); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cv-body .kg-bookmark-description { font-size: 14px; color: var(--cv-prose); opacity: 1; }
.cv-body .kg-bookmark-metadata { margin-top: 14px; font-size: 13px; color: var(--cv-quiet); }
.cv-body .kg-bookmark-metadata > *:not(img) { opacity: 1; }
.cv-body .kg-bookmark-thumbnail { flex: 0 0 34%; min-width: 0; align-self: stretch; aspect-ratio: auto; margin: 0; border-radius: 0; overflow: hidden; background: var(--cv-sand); }
.cv-body .kg-bookmark-thumbnail img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: var(--cv-crop); border-radius: 0; }

/* ── Tablets ────────────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .cv-hero-title { font-size: 44px; }
    .cv-article-title { font-size: 42px; }
    .cv-cta-heading { font-size: 32px; }
    .cv-feature-card { grid-template-columns: minmax(0, 1fr); }
    .cv-feature-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 1023px) {
    :root { --cv-gutter: 24px; }
    .cv-navs { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--cv-gutter)); padding: 2px var(--cv-gutter) 4px; scrollbar-width: none; }
    .cv-navs::-webkit-scrollbar { display: none; }
    .cv-nav ul { flex-wrap: nowrap; white-space: nowrap; }
    .cv-bar { flex-wrap: wrap; gap: 12px 16px; }
    .cv-hero { min-height: 460px; }
    /* Stacked, the lead fills the whole band, so the scrim has to as well: a 68% one leaves the
       headline over bare sky. The ramp still clears the top of the picture. */
    .cv-hero-veil { top: 0; height: auto; background: linear-gradient(to top, rgba(10, 44, 34, 0.97) 35%, rgba(10, 44, 34, 0.88) 70%, rgba(10, 44, 34, 0.55)); }
    .cv-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 48px; }
    .cv-hero-aside { border-left: 0; border-top: 1px solid var(--cv-moss); padding-left: 0; padding-top: 16px; }
    .cv-wire-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cv-wire-item:nth-child(odd) { border-left: 0; padding-left: 0; }
    .cv-wire-item:first-child { border-left: 0; }
    .cv-rail-split, .cv-band-split, .cv-columns, .cv-article-grid, .cv-cta-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .cv-card-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cv-feed, .cv-article-main { padding-right: 0; border-right: 0; }
    .cv-sidebar { padding-left: 0; }
    .cv-stack-item:first-child { padding-top: 18px; border-top: 1px solid var(--cv-moss); }
}

/* ── Phones ─────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    :root { --cv-gutter: 16px; }
    .cv-logo img { height: 22px; }
    .cv-actions { gap: 10px; }
    .cv-hide-phone { display: none; }
    .cv-hero { min-height: 420px; }
    .cv-hero-title { font-size: 30px; }
    .cv-hero-dek { font-size: 16px; }
    .cv-wire-grid { grid-template-columns: minmax(0, 1fr); }
    .cv-wire-item { border-left: 0; padding-left: 0; padding-right: 0; }
    .cv-card-grid, .cv-card-grid-four { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .cv-feature-title { font-size: 22px; }
    .cv-stack-item { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; }
    .cv-feed-item { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; }
    .cv-feed-time { grid-column: 1 / -1; padding-top: 0; }
    .cv-feed-title { font-size: 17px; }
    /* Eight 40px targets do not fit one phone row, so the share row is two rows of four */
    .cv-share { display: grid; grid-template-columns: repeat(4, 40px); gap: 10px 14px; }
    .cv-share-status { grid-column: 1 / -1; }
    .cv-byline-meta { margin-left: 0; flex-basis: 100%; }
    .cv-article { padding-top: 24px; }
    .cv-article-title { font-size: 30px; }
    .cv-standfirst { font-size: 18px; }
    .cv-body { font-size: 18px; line-height: 1.6; }
    .cv-body blockquote:not([class]) { font-size: 21px; padding-left: 16px; }
    .cv-archive-title { font-size: 30px; }
    .cv-cta-heading { font-size: 26px; }
    .cv-cta-inner { padding-top: 32px; padding-bottom: 32px; }
    .cv-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .cv-footer-brand { grid-column: 1 / -1; }
    .cv-band-dark { margin-top: 32px; }
    /* A bookmark card stacks on a phone: the thumbnail full width above the text */
    .cv-body .kg-bookmark-card a.kg-bookmark-container { flex-direction: column-reverse; align-items: stretch; }
    .cv-body .kg-bookmark-thumbnail { flex-basis: auto; width: auto; aspect-ratio: 16 / 9; }
}
