/* =========================================================================
   BROADSHEET
   An elegant digital broadsheet theme for Ghost.
   Pure black & white, typography-led, time-aware.

   Contents
   1.  Design tokens
   2.  Reset & base
   3.  Typography scale
   4.  Masthead & navigation
   5.  Breaking-news ticker
   6.  Front-page grid (shared)
   7.  Edition layouts (morning / midday / evening / night)
   8.  Article cards
   9.  Greyscale image treatment
   10. Article / post page
   10b. Koenig editor cards
   11. Section label
   12. Reading profile
   13. Author bio
   14. Archives & section rows
   15. Error page
   16. Footer
   17. Responsive
   18. Print
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
    --color-ink: #0a0a0a;
    --color-paper: #fafafa;
    --color-muted: #555555;
    --color-muted-strong: #444444;
    --color-rule: #d0d0d0;
    --color-accent: #c41230;

    /* Defaults below; if an editor sets custom fonts in Ghost Admin, the
       injected --gh-font-heading / --gh-font-body variables take over. */
    --font-display: var(--gh-font-heading, 'Cormorant Garamond', Georgia, 'Times New Roman', serif);
    --font-body: var(--gh-font-body, 'Source Serif 4', Georgia, 'Times New Roman', serif);
    --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --col-max: 1240px;
    --col-article: 680px;

    --rule-thin: 1px solid var(--color-rule);
    --rule-accent: 2px solid var(--color-accent);

    --gutter: clamp(1.25rem, 4vw, 3rem);

    /* Type scale. UI/meta ladder (sans) and headline ladder (display) —
       change a step here and every element on that step moves together.
       Hero-level sizes remain bespoke clamp() values. */
    --text-2xs: 0.68rem;
    --text-xs: 0.72rem;
    --text-sm: 0.78rem;
    --text-md: 0.84rem;
    --text-lg: 0.92rem;
    --text-base: 1rem;
    --text-body: 1.18rem;
    --text-standfirst: 1.25rem;

    --head-xs: 1.1rem;
    --head-sm: 1.2rem;
    --head-md: 1.45rem;
    --head-lg: 1.6rem;
    --head-xl: 1.85rem;

    /* Grid geometry: the gutter rules always sit half a gap into the
       gutter, so the offset is derived, never hand-synced. */
    --grid-gap: 2.5rem;
}

/* -------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    background-color: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    /* Full-bleed Koenig cards are sized with 100vw, which includes the
       scrollbar on Windows; clip the few px of overhang rather than let
       the page scroll sideways. */
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.12;
}

p {
    margin: 0 0 1em;
}

hr {
    border: 0;
    height: 0;
}

/* List reset is scoped to theme chrome; writer content keeps its bullets */
.nav-list,
.nav-drawer__list,
.footer-col__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--color-accent);
    color: #ffffff;
}

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

.site-main {
    display: block;
    max-width: var(--col-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Skip link: visually hidden until focused, then pinned top-left */
.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.6rem 1rem;
    background: var(--color-ink);
    color: var(--color-paper);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* -------------------------------------------------------------------------
   3. TYPOGRAPHY SCALE
   ------------------------------------------------------------------------- */
.eyebrow,
.section-badge,
.archive-header__eyebrow {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}

/* -------------------------------------------------------------------------
   4. MASTHEAD & NAVIGATION
   ------------------------------------------------------------------------- */
.site-header {
    max-width: var(--col-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Top utility bar */
.site-nav {
    border-bottom: var(--rule-thin);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
}

.nav-primary {
    flex: 1;
}

.nav-list,
.nav-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    align-items: center;
}

.nav-list li {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-list a {
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nav-list a:hover,
.nav-item--current a {
    border-bottom-color: var(--color-ink);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-search {
    display: inline-flex;
    align-items: center;
    color: var(--color-ink);
    transition: opacity 0.2s ease;
}

.nav-search:hover {
    opacity: 0.6;
}

.nav-subscribe {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--color-ink);
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-subscribe:hover {
    background-color: var(--color-ink);
    color: var(--color-paper);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* The masthead proper */
.masthead {
    text-align: center;
    padding: 2.5rem 0 0;
}

.masthead__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 6.25rem);
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
}

.masthead__title-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}
.masthead__title-link:hover {
    opacity: 0.85;
}

.masthead__tagline {
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--color-muted-strong);
    margin: 0.75rem 0 0;
    letter-spacing: 0.02em;
}

.masthead__edition {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0.9rem 0 0;
    min-height: 1em;
}

.masthead__date {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-muted-strong);
    letter-spacing: 0.04em;
    margin: 0.5rem 0 1.25rem;
}

/* Classic newspaper double rule: thick accent over hairline ink */
.masthead__rule {
    height: 6px;
    background: transparent;
    border-top: 3px solid var(--color-accent);
    border-bottom: 1px solid var(--color-ink);
    margin: 0;
}

/* Off-canvas drawer */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}

.nav-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.nav-drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-drawer.is-open .nav-drawer__scrim {
    opacity: 1;
}

.nav-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: min(82vw, 340px);
    background: var(--color-paper);
    border-right: var(--rule-accent);
    padding: 2rem 1.75rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.nav-drawer.is-open .nav-drawer__panel {
    transform: translateX(0);
}

.nav-drawer__close {
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 1.5rem;
    color: var(--color-ink);
}

.nav-drawer__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-drawer__list li {
    border-bottom: var(--rule-thin);
}

.nav-drawer__list a {
    display: block;
    padding: 0.9rem 0;
    font-family: var(--font-ui);
    font-size: var(--text-base);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav-drawer__subscribe {
    display: inline-block;
    margin-top: 1.75rem;
    font-family: var(--font-ui);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-ink);
}

/* -------------------------------------------------------------------------
   5. BREAKING-NEWS TICKER
   ------------------------------------------------------------------------- */
.breaking-ticker {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: var(--col-max);
    margin: 1.5rem auto 0;
    padding: 0 var(--gutter);
    overflow: hidden;
}

.breaking-ticker__label {
    flex: none;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-paper);
    background: var(--color-accent);
    padding: 0.35rem 0.7rem;
}

.breaking-ticker__viewport {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: var(--rule-thin);
    border-top: var(--rule-thin);
    padding: 0.4rem 0;
}

.breaking-ticker__text {
    display: inline-block;
    margin: 0;
    padding-left: 100%;
    font-family: var(--font-ui);
    font-size: var(--text-lg);
    white-space: nowrap;
    animation: ticker-scroll 22s linear infinite;
}

.breaking-ticker:hover .breaking-ticker__text,
.breaking-ticker.is-paused .breaking-ticker__text {
    animation-play-state: paused;
}

.breaking-ticker__pause {
    flex: none;
    font-family: var(--font-ui);
    font-size: var(--text-2xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted-strong);
    background: none;
    border: 1px solid var(--color-rule);
    padding: 0.35rem 0.7rem;
    cursor: pointer;
}

.breaking-ticker__pause:hover {
    border-color: var(--color-ink);
    color: var(--color-ink);
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* WCAG 2.2.2: no auto-motion for readers who have asked for none —
   the ticker becomes a static, wrapping announcement line. */
@media (prefers-reduced-motion: reduce) {
    .breaking-ticker__text {
        animation: none;
        padding-left: 0;
        white-space: normal;
    }

    .breaking-ticker__viewport {
        white-space: normal;
    }

    .breaking-ticker__pause {
        display: none;
    }
}

/* -------------------------------------------------------------------------
   6. FRONT-PAGE GRID (shared base = graceful default / morning)
   ------------------------------------------------------------------------- */
.front-page {
    padding: 2.5rem 0 4rem;
}

.front-page-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
    align-items: start;
}

.card {
    min-width: 0;
    position: relative;
}

/* Default placement (also the Morning layout) */
.card--primary   { grid-column: 1 / -1; }
.card--secondary { grid-column: span 4; }
.card--tertiary  { grid-column: span 4; }
.card--list      { grid-column: span 4; }

/* Vertical rules in the gutters make the column grid legible.
   The primary card is child 1, so rows of three start at child 2:
   the leftmost card in each row is :nth-child(3n + 2). */
.card--secondary::before,
.card--tertiary::before,
.card--list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--grid-gap) / -2);
    width: 1px;
    background: var(--color-rule);
}

.card:nth-child(3n + 2)::before {
    display: none;
}

/* Hero treatment for the lead story.
   The standfirst is held to a comfortable measure only where the hero
   runs as a two-column grid beside its picture; editions that give the
   lead the full width release it (see --hero-measure below), otherwise
   the headline spans the page while its standfirst hangs in a narrow
   ragged column. */
.card--primary {
    --hero-measure: 34ch;
}

.card--primary .article-card__link {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.card--primary .article-card__title {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
}

.card--primary .article-card__standfirst {
    font-size: var(--text-standfirst);
    max-width: var(--hero-measure);
}

.card--primary ~ .card--secondary {
    border-top: var(--rule-thin);
    padding-top: 1.25rem;
}

/* Story hierarchy: secondaries keep their pictures, tertiaries run
   as text briefs under a rule, the rest is a headline index. */
.card--secondary .article-card__title {
    font-size: var(--head-lg);
}

.card--tertiary {
    border-top: var(--rule-thin);
    padding-top: 1.1rem;
}

.card--tertiary .article-card__image,
.card--tertiary .article-card__standfirst {
    display: none;
}

.card--tertiary .article-card__title {
    font-size: var(--head-sm);
    line-height: 1.2;
}

/* -------------------------------------------------------------------------
   7. EDITION LAYOUTS
   ------------------------------------------------------------------------- */

/* --- MORNING: full-width hero + a row of secondaries (= base) --- */
html[data-edition="morning"] .card--secondary {
    grid-column: span 4;
}

/* The gutter rules belong to the default 12-column grid only;
   the other editions bring their own dividers. */
html[data-edition="midday"] .card::before,
html[data-edition="evening"] .card::before,
html[data-edition="night"] body.home-template .card::before {
    display: none !important;
}

/* --- MIDDAY: three equal newspaper columns, no hero --- */
html[data-edition="midday"] .front-page-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 0;
    row-gap: var(--grid-gap);
}

html[data-edition="midday"] .card {
    grid-column: span 1;
    padding: 0 2rem;
    border-left: var(--rule-thin);
}

html[data-edition="midday"] .card:nth-child(3n + 1) {
    border-left: 0;
    padding-left: 0;
}

html[data-edition="midday"] .card:nth-child(3n) {
    padding-right: 0;
}

html[data-edition="midday"] .card--primary {
    --hero-measure: none;
}

html[data-edition="midday"] .card--primary .article-card__link {
    display: block;
}

html[data-edition="midday"] .card--primary .article-card__title {
    font-size: var(--head-lg);
}

html[data-edition="midday"] .card--primary .article-card__standfirst {
    font-size: var(--text-base);
}

html[data-edition="midday"] .card--primary ~ .card--secondary {
    border-top: 0;
    padding-top: 0;
}

/* --- EVENING: tall feature left, stacked headlines right --- */
html[data-edition="evening"] .front-page-grid {
    grid-template-columns: 1.7fr 1fr;
    gap: var(--grid-gap) var(--grid-gap);
    position: relative;
}

html[data-edition="evening"] .front-page-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(1.7 / 2.7 * (100% - var(--grid-gap)));
    width: 1px;
    background: var(--color-rule);
    pointer-events: none;
}

html[data-edition="evening"] .card--primary {
    grid-column: 1;
    grid-row: 1 / span 50;
    align-self: stretch;
    padding-right: 2rem;
}

html[data-edition="evening"] .card--primary > .article-card {
    position: sticky;
    top: 1.5rem;
}

html[data-edition="evening"] .card--secondary,
html[data-edition="evening"] .card--tertiary,
html[data-edition="evening"] .card--list {
    grid-column: 2;
    border-top: var(--rule-thin);
    padding-top: 1.1rem;
}

/* The wrapper already draws the rule — stop the inner minimal card
   drawing a second one right below it. */
html[data-edition="evening"] .card--list .article-card-minimal {
    border-top: 0;
    padding-top: 0;
}

html[data-edition="evening"] .card--primary {
    --hero-measure: none;
}

html[data-edition="evening"] .card--primary .article-card__link {
    display: block;
}

html[data-edition="evening"] .card--primary .article-card__title {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    line-height: 1.03;
    letter-spacing: -0.01em;
}

html[data-edition="evening"] .card--primary ~ .card--secondary {
    border-top: var(--rule-thin);
    padding-top: 1.1rem;
}

/* The right column reads as a quiet list of headlines only */
html[data-edition="evening"] .card--secondary .article-card__image,
html[data-edition="evening"] .card--tertiary .article-card__image,
html[data-edition="evening"] .card--secondary .article-card__standfirst,
html[data-edition="evening"] .card--tertiary .article-card__standfirst {
    display: none;
}

html[data-edition="evening"] .card--secondary .article-card__title,
html[data-edition="evening"] .card--tertiary .article-card__title {
    font-size: var(--head-sm);
}

/* --- NIGHT: inverted, quiet single column (front page only) ---
   The inversion is a token flip, not a pile of overrides: every rule
   built on the custom properties (borders, bylines, badges, buttons,
   the ticker) re-resolves against the night values automatically. The
   accent is lifted to keep AA contrast on black. */
html[data-edition="night"] body.home-template {
    --color-ink: #fafafa;
    --color-paper: #0a0a0a;
    --color-rule: rgba(250, 250, 250, 0.22);
    --color-muted: #b8b8b8;
    --color-muted-strong: #b8b8b8;
    --color-accent: #e8455f;

    background-color: var(--color-paper);
    color: var(--color-ink);
    color-scheme: dark;
}

/* Full-strength white rules read harsh on black; soften the hairline
   half of the masthead's double rule. */
html[data-edition="night"] body.home-template .masthead__rule {
    border-bottom-color: rgba(250, 250, 250, 0.4);
}

html[data-edition="night"] body.home-template .front-page-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
    gap: 0;
}

html[data-edition="night"] body.home-template .card {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    padding: 1.75rem 0;
    border-top: var(--rule-thin);
    border-left: 0;
}

html[data-edition="night"] body.home-template .card:first-child {
    border-top: 0;
}

html[data-edition="night"] body.home-template .card--list .article-card-minimal {
    border-top: 0;
    padding-top: 0;
}

html[data-edition="night"] body.home-template .card--primary {
    --hero-measure: none;
}

html[data-edition="night"] body.home-template .card--primary .article-card__link {
    display: block;
}

html[data-edition="night"] body.home-template .card--primary .article-card__title {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
}

html[data-edition="night"] body.home-template .card .article-card__image {
    display: none;
}

html[data-edition="night"] body.home-template .masthead__edition {
    color: var(--color-accent);
}

/* -------------------------------------------------------------------------
   8. ARTICLE CARDS
   ------------------------------------------------------------------------- */
.article-card__link {
    display: block;
}

.article-card__image {
    margin-bottom: 1rem;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-badge {
    display: inline-block;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.section-badge--small {
    font-size: var(--text-2xs);
    margin-bottom: 0.4rem;
}

.article-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--head-md);
    line-height: 1.14;
    margin-bottom: 0.5rem;
    transition: opacity 0.2s ease;
}

.article-card__link:hover .article-card__title {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Featured stories carry a small red star ahead of the headline —
   the traditional marker for an editor's pick. inline-block keeps the
   hover underline off the star itself. */
.article-card--featured .article-card__title::before,
.article-card-minimal--featured .article-card-minimal__title::before {
    content: '★';
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.6em;
    vertical-align: 0.25em;
    margin-right: 0.35em;
}

.article-card__standfirst {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--color-muted-strong);
    font-size: var(--text-base);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

/* Bylines set as small caps-style sans: the size drop and tracking
   make the serif/sans hand-off read as deliberate, not accidental. */
.article-card__byline,
.article-card-minimal__byline {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-muted);
    margin: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.byline-author {
    font-weight: 700;
    color: var(--color-muted-strong);
}

.byline-sep {
    margin: 0 0.45rem;
    color: var(--color-rule);
}

/* Minimal card */
.article-card-minimal {
    padding-top: 1.1rem;
    border-top: var(--rule-thin);
}

.article-card-minimal__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--head-xs);
    line-height: 1.18;
    margin: 0.3rem 0 0.4rem;
}

.article-card-minimal__link:hover .article-card-minimal__title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* -------------------------------------------------------------------------
   9. GREYSCALE IMAGE TREATMENT
   ------------------------------------------------------------------------- */
.article-image img,
.hero-image img,
.feature-image img {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.article-image:hover img,
.article-image:focus-within img,
.hero-image:hover img,
.feature-image:hover img,
.feature-image:focus-within img {
    filter: grayscale(0%);
}

@media (prefers-reduced-motion: reduce) {
    .article-image img,
    .feature-image img,
    .hero-image img {
        transition: none;
    }
}

/* -------------------------------------------------------------------------
   10. ARTICLE / POST PAGE
   ------------------------------------------------------------------------- */
.article {
    padding-top: 3rem;
}

.article-header {
    max-width: var(--col-article);
    margin: 0 auto;
    text-align: center;
}

.section-badge--article {
    display: inline-block;
    margin-bottom: 1rem;
}

.article-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}

.article-standfirst {
    font-family: var(--font-body);
    font-style: italic;
    font-size: var(--text-standfirst);
    line-height: 1.5;
    color: var(--color-muted-strong);
    margin-bottom: 1.25rem;
}

.article-byline {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-muted-strong);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.article-rule {
    height: 2px;
    width: 100%;
    background: var(--color-accent);
    margin: 1.5rem auto 0;
}

.article-feature {
    max-width: var(--col-max);
    margin: 2.5rem auto;
}

.article-feature img {
    width: 100%;
}

.article-feature figcaption {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-muted);
    text-align: center;
    margin-top: 0.75rem;
}

/* Article body — newspaper-comfortable column */
.article-body {
    max-width: var(--col-article);
    margin: 2.5rem auto;
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.75;
}

.article-body > * {
    margin-bottom: 1.5rem;
}

/* Writer lists get their bullets back (the chrome reset never applies here) */
.gh-content ul,
.gh-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.6rem;
}

.gh-content ul { list-style: disc; }
.gh-content ol { list-style: decimal; }
.gh-content ul ul { list-style: circle; }

.gh-content li {
    margin-bottom: 0.5rem;
}

.gh-content li > ul,
.gh-content li > ol {
    margin: 0.5rem 0 0;
}

/* Section break: a short centred rule, in keeping with print convention */
.gh-content hr {
    border: 0;
    border-top: 1px solid var(--color-rule);
    height: 0;
    width: 80px;
    margin: 2.5rem auto;
}

/* Long words and pasted URLs must never break the measure */
.gh-content {
    overflow-wrap: break-word;
}

/* Tables, set like newspaper listings: hairline rules, sans headers */
.gh-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5rem;
    font-size: var(--text-lg);
}

.gh-content th {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 2px solid var(--color-ink);
    padding: 0.6rem 0.75rem 0.6rem 0;
}

.gh-content td {
    border-bottom: var(--rule-thin);
    padding: 0.6rem 0.75rem 0.6rem 0;
    vertical-align: top;
}

/* Code: monospace on a quiet panel; long lines scroll, never overflow */
.gh-content code {
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.85em;
    background: rgba(10, 10, 10, 0.05);
    padding: 0.1em 0.35em;
}

.gh-content pre {
    border: var(--rule-thin);
    padding: 1rem 1.25rem;
    overflow-x: auto;
    line-height: 1.5;
    margin: 0 0 1.5rem;
}

.gh-content pre code {
    background: none;
    padding: 0;
    font-size: var(--text-md);
}

/* Footnotes, sub/sup */
.gh-content sub,
.gh-content sup {
    font-size: 0.72em;
    line-height: 0;
}

.gh-content .footnotes {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: var(--rule-thin);
    font-size: var(--text-lg);
    color: var(--color-muted-strong);
}

.gh-content .footnotes hr {
    display: none;
}

/* Classic broadsheet drop cap on the opening paragraph — articles only;
   a contact or about page shouldn't open like a feature story */
.article:not(.article--page) .article-body > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3.4em;
    float: left;
    line-height: 0.82;
    padding: 0.04em 0.14em 0 0;
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: var(--head-xl);
    margin: 2.5rem 0 1rem;
}

.article-body h3 {
    font-family: var(--font-display);
    font-size: var(--head-md);
    margin: 2rem 0 0.75rem;
}

.article-body a {
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.article-body a:hover {
    color: var(--color-accent);
}

.article-body blockquote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: var(--rule-accent);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--color-ink);
}

.article-body img {
    margin: 0 auto;
}

.article-body figcaption {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-muted);
    text-align: center;
    margin-top: 0.6rem;
}

/* Koenig wide / full-bleed cards may exceed the text column */
.article-body :where(.kg-width-wide) {
    max-width: 1024px;
    margin-left: 50%;
    transform: translateX(-50%);
}
.article-body :where(.kg-width-full) {
    max-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.article-tags {
    max-width: var(--col-article);
    margin: 2.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-family: var(--font-ui);
    font-size: var(--text-md);
}

.article-tags__tag {
    color: var(--color-muted-strong);
    transition: color 0.2s ease;
}

.article-tags__tag:hover {
    color: var(--color-accent);
}

.article-comments {
    max-width: var(--col-article);
    margin: 3rem auto 0;
}

/* Ghost's injected paywall for members-only content, restyled to match
   the masthead's double-rule motif instead of Ghost's accent-colour box.
   Ghost's members stylesheet arrives via {{ghost_head}}, after this file,
   so equal-specificity rules lose the cascade — hence the !important on
   every property Ghost also sets (colour, background, radius). */
.gh-post-upgrade-cta {
    max-width: var(--col-article);
    margin: 2.5rem auto;
    text-align: center;
}

.gh-post-upgrade-cta-content {
    background: none !important;
    color: var(--color-ink) !important;
    border-top: 3px solid var(--color-accent);
    border-bottom: 1px solid var(--color-ink);
    border-radius: 0 !important;
    padding: 2.5rem 1.5rem;
}

/* Ghost's own stylesheet sets this heading white (for its coloured box);
   with the theme's transparent panel it must be re-inked. */
.gh-post-upgrade-cta h2 {
    font-family: var(--font-display);
    font-size: var(--head-xl);
    color: var(--color-ink) !important;
    margin-bottom: 1.25rem;
}

.gh-post-upgrade-cta p {
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--color-muted-strong);
}

/* The sign-in link is white in Ghost's stylesheet too — re-ink it and
   underline it so it still reads as a link on the plain panel. */
.gh-post-upgrade-cta a {
    color: var(--color-ink) !important;
}

.gh-post-upgrade-cta p a {
    border-bottom: 1px solid currentColor;
}

.gh-post-upgrade-cta .gh-btn {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-ink) !important;
    background: none !important;
    border: 1px solid var(--color-ink);
    border-radius: 0 !important;
    padding: 0.75rem 2rem;
    margin: 0.5rem 0 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.gh-post-upgrade-cta .gh-btn:hover {
    background: var(--color-ink) !important;
    color: var(--color-paper);
}

.gh-post-upgrade-cta .gh-btn span {
    height: auto;
}

/* -------------------------------------------------------------------------
   10b. KOENIG EDITOR CARDS
   Ghost's card stylesheet (config.card_assets) is injected by {{ghost_head}}
   after this file and brings rounded corners, soft shadows and a pastel
   palette — none of which belong in a rectilinear monochrome newspaper.
   Equal-specificity rules would lose that cascade, so the properties Ghost
   also sets carry !important. Callout colour variants deliberately collapse
   to one ruled treatment: the palette is ink, paper and one red.
   ------------------------------------------------------------------------- */
.gh-content .kg-card,
.gh-content .kg-callout-card,
.gh-content .kg-toggle-card,
.gh-content .kg-bookmark-container,
.gh-content .kg-bookmark-thumbnail img,
.gh-content .kg-header-card,
.gh-content .kg-product-card-container,
.gh-content .kg-audio-card,
.gh-content .kg-video-container,
.gh-content .kg-btn,
.gh-content .kg-image {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Callouts read as a ruled aside, in the blockquote idiom */
.gh-content .kg-callout-card {
    background: rgba(10, 10, 10, 0.04) !important;
    border-left: var(--rule-accent);
    padding: 1.25rem 1.5rem;
}

.gh-content .kg-callout-text {
    font-family: var(--font-body);
    color: var(--color-ink);
}

/* Buttons match the theme's own subscribe control */
.gh-content .kg-btn {
    font-family: var(--font-ui) !important;
    font-size: var(--text-sm) !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
}

.gh-content .kg-btn-accent {
    background: var(--color-ink) !important;
    color: var(--color-paper) !important;
}

/* Bookmarks: a hairline box, headline in the display face */
.gh-content .kg-bookmark-container {
    border: var(--rule-thin) !important;
}

.gh-content .kg-bookmark-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-ink);
}

.gh-content .kg-bookmark-description,
.gh-content .kg-bookmark-metadata {
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--color-muted);
}

/* Toggles and headers inherit the theme's rules and faces */
.gh-content .kg-toggle-card {
    border: var(--rule-thin);
    padding: 1.25rem 1.5rem;
}

.gh-content .kg-toggle-heading-text,
.gh-content .kg-header-card h2 {
    font-family: var(--font-display);
}

/* Captions everywhere use the same small UI face as figure captions */
.gh-content figcaption,
.gh-content .kg-card figcaption {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-muted);
}

/* -------------------------------------------------------------------------
   11. SECTION LABEL
   ------------------------------------------------------------------------- */
.section-label {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0 0 2.5rem;
}

.section-label__rule {
    flex: 1;
    height: 1px;
    background: var(--color-rule);
}

.section-label__text {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* -------------------------------------------------------------------------
   12. READING PROFILE
   ------------------------------------------------------------------------- */
.reading-profile {
    margin-top: 1.1rem;
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--color-muted-strong);
    letter-spacing: 0.02em;
}

.reading-profile__divider {
    margin: 0 0.6rem;
    color: var(--color-accent);
    font-size: 0.7em;
    vertical-align: middle;
}

.reading-profile__complexity em {
    font-style: normal;
    font-weight: 600;
    color: var(--color-ink);
}

.reading-profile__placeholder {
    opacity: 0.5;
}

/* -------------------------------------------------------------------------
   12b. SUBSCRIBE CTA (end of article)
   ------------------------------------------------------------------------- */
.subscribe-cta {
    max-width: var(--col-article);
    margin: 3.5rem auto 0;
    text-align: center;
}

/* Same double rule as the masthead: the brand bookends the article */
.subscribe-cta__rule {
    height: 6px;
    border-top: 3px solid var(--color-accent);
    border-bottom: 1px solid var(--color-ink);
    margin: 0 0 2rem;
}

.subscribe-cta__head {
    font-family: var(--font-display);
    font-size: var(--head-xl);
    margin-bottom: 0.75rem;
}

.subscribe-cta__text {
    font-family: var(--font-body);
    color: var(--color-muted-strong);
    max-width: 44ch;
    margin: 0 auto 1.5rem;
}

.subscribe-cta__button {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border: 1px solid var(--color-ink);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.subscribe-cta__button:hover {
    background: var(--color-ink);
    color: var(--color-paper);
}

.subscribe-cta__signin {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-muted);
    margin: 1.25rem 0 0;
}

.subscribe-cta__signin a {
    border-bottom: 1px solid currentColor;
}

/* -------------------------------------------------------------------------
   13. AUTHOR BIO
   ------------------------------------------------------------------------- */
.author-bio {
    max-width: var(--col-article);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: var(--rule-thin);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-bio__avatar {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
}

.author-bio__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.author-bio__text {
    font-family: var(--font-body);
    color: var(--color-muted-strong);
    margin-bottom: 0.5rem;
}

.author-bio__more {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
}

/* -------------------------------------------------------------------------
   14. ARCHIVES & SECTION ROWS
   ------------------------------------------------------------------------- */
.archive {
    padding: 3rem 0 4rem;
}

.archive-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.archive-header__eyebrow {
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.archive-header__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    line-height: 1.05;
}

.archive-header__description {
    font-family: var(--font-body);
    font-size: var(--head-xs);
    color: var(--color-muted-strong);
    margin-top: 1rem;
}

.archive-header__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
}

.archive-header__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-header__meta {
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--color-muted-strong);
    margin-top: 1rem;
}

.archive-grid,
.section-row__grid,
.related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

/* Same gutter rules as the front page; here rows of three start at
   child 1, so the leftmost card is :nth-child(3n + 1). */
.archive-grid > .article-card,
.section-row__grid > .article-card,
.related__grid > .article-card {
    position: relative;
    min-width: 0;
}

.archive-grid > .article-card::before,
.section-row__grid > .article-card::before,
.related__grid > .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--grid-gap) / -2);
    width: 1px;
    background: var(--color-rule);
}

.archive-grid > .article-card:nth-child(3n + 1)::before,
.section-row__grid > .article-card:nth-child(3n + 1)::before,
.related__grid > .article-card:nth-child(3n + 1)::before {
    display: none;
}

.archive-empty {
    text-align: center;
    color: var(--color-muted-strong);
    font-family: var(--font-ui);
    padding: 3rem 0;
}

.section-row {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: var(--rule-thin);
}

.section-row__more {
    display: inline-block;
    margin-top: 1.75rem;
    font-family: var(--font-ui);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--color-accent);
}

.section-row__more:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.related {
    max-width: var(--col-max);
    margin: 4rem auto 0;
    padding: 0 var(--gutter);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
    font-family: var(--font-ui);
    font-size: var(--text-md);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pagination a {
    border-bottom: 1px solid var(--color-ink);
    padding-bottom: 2px;
}

.pagination .page-number {
    color: var(--color-muted-strong);
}

/* A single-page collection has no prev/next links — hide the lone
   "Page 1 of 1" counter rather than print it. */
.pagination:not(:has(a)) {
    display: none;
}

/* -------------------------------------------------------------------------
   15. ERROR PAGE
   ------------------------------------------------------------------------- */
.error-page {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 0 6rem;
}

.error-page__code {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.error-page__headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    margin: 1rem 0;
}

.error-page__message {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--color-muted-strong);
    margin-bottom: 2rem;
}

.error-page__home {
    font-family: var(--font-ui);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--color-ink);
    padding-bottom: 2px;
}

/* -------------------------------------------------------------------------
   16. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
    max-width: var(--col-max);
    margin: 4rem auto 0;
    padding: 3rem var(--gutter) 2rem;
    border-top: 1px solid var(--color-ink);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--grid-gap);
}

.footer-col__head {
    font-family: var(--font-display);
    font-size: var(--head-sm);
    margin-bottom: 1rem;
}

.footer-col--about .footer-col__head {
    font-size: var(--head-lg);
}

.footer-col__text {
    font-family: var(--font-body);
    color: var(--color-muted-strong);
    font-size: var(--text-lg);
    max-width: 30ch;
}

.footer-col__cta {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: var(--font-ui);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--color-accent);
}

.footer-col__list li {
    margin-bottom: 0.6rem;
}

.footer-col__list a {
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--color-muted-strong);
    transition: color 0.2s ease;
}

.footer-col__list a:hover {
    color: var(--color-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: var(--rule-thin);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-muted);
}

.footer-attribution a {
    border-bottom: 1px solid currentColor;
}

/* -------------------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------------------- */

/* Tablet: simplify grids to two columns, hero collapses */
@media (max-width: 1024px) {
    /* The hero stacks to one column here, so its standfirst gets the
       full width like every other card's. */
    .card--primary {
        --hero-measure: none;
    }

    .card--primary .article-card__link {
        grid-template-columns: 1fr;
    }

    .card--secondary,
    .card--tertiary,
    .card--list {
        grid-column: span 6;
    }

    /* Two per row now: rows start at child 2, so the leftmost card
       is every even child. */
    .front-page-grid > .card:nth-child(n)::before {
        display: block;
    }
    .front-page-grid > .card:nth-child(2n)::before {
        display: none;
    }

    .archive-grid,
    .section-row__grid,
    .related__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-grid > .article-card:nth-child(n)::before,
    .section-row__grid > .article-card:nth-child(n)::before,
    .related__grid > .article-card:nth-child(n)::before {
        display: block;
    }
    .archive-grid > .article-card:nth-child(2n + 1)::before,
    .section-row__grid > .article-card:nth-child(2n + 1)::before,
    .related__grid > .article-card:nth-child(2n + 1)::before {
        display: none;
    }

    html[data-edition="midday"] .front-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    html[data-edition="midday"] .card:nth-child(3n + 1) {
        border-left: var(--rule-thin);
        padding-left: 2rem;
    }
    html[data-edition="midday"] .card:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }
}

/* Mobile: single column everywhere; all edition differences collapse */
@media (max-width: 767px) {
    .nav-primary,
    .site-nav__actions .nav-subscribe {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav__inner {
        justify-content: space-between;
    }

    .front-page-grid,
    html[data-edition="midday"] .front-page-grid,
    html[data-edition="evening"] .front-page-grid,
    html[data-edition="night"] body.home-template .front-page-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .card,
    .card--primary,
    .card--secondary,
    .card--tertiary,
    .card--list,
    html[data-edition="midday"] .card,
    html[data-edition="evening"] .card--primary,
    html[data-edition="evening"] .card--secondary,
    html[data-edition="evening"] .card--tertiary,
    html[data-edition="evening"] .card--list {
        grid-column: 1 / -1;
        grid-row: auto;
        border-left: 0;
        padding: 1.5rem 0 0;
        margin-top: 1.5rem;
        border-top: var(--rule-thin);
    }

    .front-page-grid > .card:first-child {
        margin-top: 0;
        border-top: 0;
        padding-top: 0;
    }

    /* Single column: no gutter rules, and the card wrapper draws the
       row rule so the inner minimal card must not repeat it. */
    .front-page-grid > .card:nth-child(n)::before,
    .archive-grid > .article-card:nth-child(n)::before,
    .section-row__grid > .article-card:nth-child(n)::before,
    .related__grid > .article-card:nth-child(n)::before {
        display: none;
    }

    .card--list .article-card-minimal {
        border-top: 0;
        padding-top: 0;
    }

    html[data-edition="midday"] .card:nth-child(n) {
        border-left: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .card--primary {
        --hero-measure: none;
    }

    .card--primary .article-card__link {
        display: block;
    }

    /* Restore images on small screens for evening (single column) */
    html[data-edition="evening"] .card--secondary .article-card__image,
    html[data-edition="evening"] .card--tertiary .article-card__image,
    html[data-edition="evening"] .card--secondary .article-card__standfirst,
    html[data-edition="evening"] .card--tertiary .article-card__standfirst {
        display: block;
    }

    html[data-edition="evening"] .front-page-grid::after {
        display: none;
    }

    html[data-edition="evening"] .card--primary {
        padding-right: 0;
    }

    html[data-edition="evening"] .card--primary > .article-card {
        position: static;
    }

    .archive-grid,
    .section-row__grid,
    .related__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .author-bio {
        flex-direction: column;
    }

    .article {
        padding-top: 2rem;
    }
}

/* -------------------------------------------------------------------------
   18. PRINT
   A newspaper theme ought to print like one: interactive furniture drops
   away, the nameplate stays, the article column fills the sheet.
   ------------------------------------------------------------------------- */
@media print {
    .site-nav,
    .breaking-ticker,
    .nav-drawer,
    .skip-link,
    .reading-profile,
    .subscribe-cta,
    .article-comments,
    .related,
    .section-row,
    .pagination,
    .author-bio__more,
    .site-footer__grid {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
        font-size: 11pt;
        overflow-x: visible;
    }

    .article-body,
    .article-header,
    .article-tags,
    .author-bio {
        max-width: none;
    }

    .article-body a {
        color: inherit;
        text-decoration: none;
    }

    .article-image img,
    .feature-image img {
        filter: grayscale(100%);
    }

    .site-footer {
        margin-top: 2rem;
        border-top: 1px solid #000000;
    }
}
