/* ===== from index.html ===== */
/* Home-page specific */
  .hero { background: var(--hero-bg, var(--midnight)); padding: 0px 0; }
  .hero-grid {
    display: grid;
    grid-template-columns: 3fr 1px 1fr;
    gap: 0;
    min-height: 560px;
  }
  .hero-feature {
    position: relative;
    background-image: linear-gradient(100deg, rgba(11,31,58,0.95) 20%, rgba(11,31,58,0.55) 55%, rgba(11,31,58,0.15) 100%), url('https://picsum.photos/seed/arrskyline/1400/1000');
    background-size: cover;
    background-position: center;
    padding: 56px 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .hero-feature .eyebrow { color: var(--gold); }
  .hero-feature h1 { color: var(--ivory); font-size: 44px; margin-top: 14px; max-width: 560px; }
  .hero-feature p.dek { color: rgba(250,250,247,0.75); margin-top: 18px; max-width: 480px; font-size: 16px; }
  .hero-feature .btn { margin-top: 26px; width: fit-content; }
  .hero-divider { background: rgba(250,250,247,0.1); }
  .hero-side { grid-column: 3; padding: 40px 32px; border-left: 1px solid rgba(250,250,247,0.1); min-width: 0; }
  .hero-side h4 { color: var(--ivory); font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1px; border-bottom: 1px solid rgba(250,250,247,0.15); padding-bottom: 14px; white-space: nowrap; }
  .mini-story { display: grid; grid-template-columns: 96px 1fr; align-items: stretch; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(250,250,247,0.08); }
  .mini-story:last-child { border-bottom: none; }
  .mini-story img { width: 96px; height: 100%; min-height: 96px; object-fit: cover; border-radius: 2px; }
  .mini-story > div { min-width: 0; }
  .mini-story .cat { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
  .mini-story h5 { font-family: var(--serif); color: var(--ivory); font-size: 14.5px; margin: 5px 0 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .mini-story .by { font-size: 11.5px; color: rgba(250,250,247,0.5); }

  /* Mobile overrides live AFTER the desktop rules on purpose. Placed above
     them, .hero-side { grid-column: 3 } later in the file won the cascade at
     equal specificity, so on a phone the sidebar stayed in column 3 — which
     a one-column grid creates implicitly, pushing it off the right edge. */
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .hero-divider { display: none; }
    .hero-feature { padding: 44px 28px; }
    .hero-side { grid-column: 1; border-left: none; border-top: 1px solid rgba(250,250,247,0.1); }
  }
  @media (max-width: 560px) {
    .hero-feature h1 { font-size: 30px; }
  }

  /* Category strip */
  .cat-strip { background: var(--cat-strip-bg, #fff); border-bottom: 1px solid var(--hairline); padding: 56px 0; }
  .cat-grid { display: grid; grid-template-columns: repeat(var(--cat-cols, 3), 1fr); gap: 24px; align-items: stretch; }
  .cat-item {
    --cat-accent: var(--midnight);
    padding: 26px; border: 1px solid var(--hairline); border-radius: 4px; background: #fff;
    display: flex; flex-direction: column;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  /* One accent per card, cycling every seven so a full set of editorial
     pillars never repeats a colour. Every value is dark enough to stay
     legible as text on white — the brand gold (#C89B3C) is not, which is why
     the warm slot uses a deeper ochre instead. */
  .cat-item:nth-child(7n+1) { --cat-accent: #0B1F3A; } /* midnight */
  .cat-item:nth-child(7n+2) { --cat-accent: #1C6B52; } /* emerald  */
  .cat-item:nth-child(7n+3) { --cat-accent: #9C4221; } /* clay     */
  .cat-item:nth-child(7n+4) { --cat-accent: #6B2D5B; } /* plum     */
  .cat-item:nth-child(7n+5) { --cat-accent: #14606B; } /* teal     */
  .cat-item:nth-child(7n+6) { --cat-accent: #8A6A1F; } /* ochre    */
  .cat-item:nth-child(7n+7) { --cat-accent: #33417E; } /* indigo   */

  .cat-item:hover { border-color: var(--cat-accent); box-shadow: 0 4px 16px rgba(11,31,58,0.07); }

  .cat-item .cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
  .cat-item .ic {
    width: 38px; height: 38px; padding: 7px;
    flex-shrink: 0; margin-bottom: 0;
    color: var(--cat-accent);
    border-radius: 8px;
    /* Plain tint first as a fallback; browsers that support color-mix take the
       accent-tinted version on the line below. */
    background: var(--ivory);
    background: color-mix(in srgb, var(--cat-accent) 11%, #fff);
  }
  .cat-item h4,
  .cat-item h4 a { font-family: var(--sans); font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--cat-accent); line-height: 1.35; }
  .cat-item h4 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cat-item p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cat-item .count { display: block; margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 700; color: var(--emerald); }
  @media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 620px) { .cat-grid { grid-template-columns: 1fr; } }

  /* Three column: authors / long read / trending */
  .trio { display: grid; grid-template-columns: 1.1fr 1.05fr 1fr; gap: 28px; padding: 0 clamp(20px, 3vw, 48px); }
  .trio > div { min-width: 0; padding-right: 28px; border-right: 1px solid var(--hairline); }
  .trio > div:last-child { padding-right: 0; border-right: none; }
  .trio .section-head { margin-bottom: 22px; }
  .trio .section-head h2 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--midnight); }

  /* Scoped to .author-grid on purpose. WordPress puts "author" in the body
     class on author archives (body.archive.author.author-septimius), so a bare
     .author selector matches the whole document there: .author img sized every
     image on a contributor's page to 100%, and .author p shrank and clamped
     every paragraph on it, including their biography. */
  .author-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: start; }
  .author-grid .author { text-align: left; }
  .author-grid .author img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 10px; }
  .author-grid .author h5 { font-family: var(--serif); font-size: 14px; color: var(--midnight); margin: 0; }
  .author-grid .author p { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  .author-slider, .longread-slider { position: relative; overflow: hidden; }
  .slider-track { display: flex; transition: transform 0.5s ease; }
  .slider-slide { flex: 0 0 100%; min-width: 0; }
  .slider-dots { display: flex; gap: 6px; margin-top: 16px; }
  .slider-dots button { width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--hairline); }
  .slider-dots button.active { background: var(--gold); }

  .longread-slide { display: flex; gap: 16px; align-items: center; }
  .longread-media { flex: 0 0 38%; display: block; }
  .longread-media img { width: 100%; height: 170px; object-fit: cover; border-radius: 2px; }
  .longread-body { flex: 1; min-width: 0; }
  .longread-body h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .longread-body h3:hover { color: var(--emerald); }
  .longread .meta { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

  .trend-list { counter-reset: trend; }
  .trend-item { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; }
  .trend-item:first-child { padding-top: 0; }
  .trend-num { font-family: var(--serif); font-size: 26px; color: var(--gold); font-weight: 700; min-width: 34px; line-height: 1; }
  .trend-text { flex: 1; min-width: 0; }
  .trend-item h5 { font-family: var(--serif); font-size: 15px; color: var(--midnight); line-height: 1.3; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .trend-item .by { font-size: 12px; color: var(--muted); margin-top: 5px; }
  .trend-views { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); flex-shrink: 0; }
  .trend-views svg { width: 14px; height: 14px; }
  .trend-view-all { display: block; text-align: right; margin-top: 16px; }

  @media (max-width: 980px) {
    .trio { grid-template-columns: 1fr; }
    .trio > div { padding-right: 0; border-right: none; border-bottom: 1px solid var(--hairline); padding-bottom: 32px; margin-bottom: 32px; }
    .trio > div:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
    .author-grid { grid-template-columns: repeat(4,1fr); }
  }
  @media (max-width: 620px) { .author-grid { grid-template-columns: repeat(2,1fr); } .longread-slide { flex-direction: column; align-items: stretch; } .longread-media { flex-basis: auto; } }

  /* CTA band */
  .cta-band { background: var(--cta-band-bg, var(--midnight)); color: var(--ivory); padding: 0; }
  .cta-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .cta-item {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-width: 0; padding: 34px clamp(20px, 3vw, 48px);
    border-right: 1px solid rgba(250,250,247,0.12);
  }
  .cta-item:last-child { border-right: none; }
  .cta-copy { min-width: 0; }
  .cta-grid h4 {
    color: var(--ivory); font-family: var(--sans); font-size: 14px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
  }
  .cta-grid p { color: rgba(250,250,247,0.62); font-size: 13.5px; margin-bottom: 16px; line-height: 1.5; }
  .cta-link {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold);
  }
  .cta-link:hover { color: var(--gold-light); }
  /* Decorative only — sits beside the copy and is dropped entirely once the
     column is too narrow to carry both. */
  .cta-art { flex: 0 0 auto; max-height: 104px; width: auto; object-fit: contain; }

  /* Holds the MailPoet form. MailPoet stacks each field in its own
     .mailpoet_paragraph and sets width:100% inline on both the input and the
     submit, so the row has to be rebuilt here — hence the !important on width,
     which is the only way to beat an inline style. */
  .sub-form { max-width: 300px; }
  .sub-form .mailpoet_form { display: grid; grid-template-columns: 1fr auto; align-items: start; }
  .sub-form .mailpoet_paragraph { margin: 0; min-width: 0; }
  .sub-form .mailpoet_message { grid-column: 1 / -1; }
  /* Both controls carry the same explicit height rather than deriving it from
     padding — the input's border and the button's lack of one otherwise leave
     the two a pixel apart, which shows as a step where they meet. */
  .sub-form input.mailpoet_text {
    width: 100% !important; height: 40px; padding: 0 13px; border: 1px solid rgba(250,250,247,0.25);
    border-right: none; border-radius: 0; background: var(--ivory); color: var(--charcoal);
    font-family: var(--sans); font-size: 13px;
  }
  .sub-form input.mailpoet_text::placeholder { color: var(--muted); }
  .sub-form input.mailpoet_text:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
  .sub-form input.mailpoet_submit {
    width: auto !important; height: 40px; padding: 0 18px; border: none; border-radius: 0; cursor: pointer;
    background: var(--gold); color: var(--midnight);
    font-family: var(--sans); font-size: 12px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  }
  .sub-form input.mailpoet_submit:hover { background: var(--gold-light); }
  .sub-form .mailpoet_validate_success { color: var(--gold); font-size: 12.5px; margin-top: 10px; }
  .sub-form .mailpoet_validate_error,
  .sub-form .mailpoet_error { color: #ffb4ab; font-size: 12.5px; margin-top: 8px; }

  @media (max-width: 1100px) { .cta-art { display: none; } }
  @media (max-width: 900px) {
    .cta-grid { grid-template-columns: 1fr; }
    .cta-item { border-right: none; border-bottom: 1px solid rgba(250,250,247,0.12); }
    .cta-item:last-child { border-bottom: none; }
    .sub-form { max-width: none; }
  }

/* ===== from about.html ===== */
.about-intro { background: var(--about-intro-bg, var(--ivory)); }
.about-story { background: var(--about-story-bg, var(--ivory)); }
.about-pillars { background: var(--about-pillars-bg, #fff); border-top: 1px solid var(--hairline); }
.about-team { background: var(--about-team-bg, #fff); border-top: 1px solid var(--hairline); }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .intro img { width: 100%; height: 420px; object-fit: cover; }
  .intro h2 { font-size: 30px; margin-bottom: 18px; }
  .intro p { color: var(--muted); margin-bottom: 14px; }
  .pull-quote { font-family: var(--serif); font-size: 17px; color: var(--midnight); border-left: 3px solid var(--gold); padding-left: 18px; margin-top: 18px; font-style: italic; }

  .vm-band { background: var(--vm-bg, var(--midnight)); color: var(--ivory); }
  /* stretch, so the divider always runs the full height of the taller column
     rather than stopping where the left one happens to end. */
  .vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
  /* A rule between the two statements, so they read as a pair rather than as
     one continuous block of text running across the band. */
  .vm-grid > div { padding: 4px 0; }
  .vm-grid > div:first-child { padding-right: 56px; border-right: 1px solid rgba(250,250,247,0.14); }
  .vm-grid > div:last-child { padding-left: 56px; }

  .vm-grid h4 {
    display: flex; align-items: center; gap: 12px;
    color: var(--gold); font-family: var(--sans); font-size: 11.5px;
    font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    margin-bottom: 20px;
  }
  /* Short gold dash before the label — picks up the rule under the notes below
     and ties the two halves of each column together. */
  .vm-grid h4::before {
    content: ""; flex: 0 0 auto;
    width: 26px; height: 2px; background: var(--gold);
  }

  /* Set in Inter, not Playfair. These statements run to roughly forty words,
     and Playfair is a display face — at that length it reads as decoration
     rather than prose and is genuinely tiring. The serif now does the job it
     is good at, on the short line below. */
  .vm-grid p.big {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.005em;
    color: rgba(250,250,247,0.86);
    max-width: 34em;
  }

  /* The memorable one-liner gets the display treatment instead — it is short
     enough to carry it, and it stops the two columns reading as twin walls of
     identical text. */
  .vm-grid .note {
    margin-top: 26px;
    padding-left: 20px;
    border-left: 2px solid var(--gold);
    font-family: var(--serif);
    font-size: 17.5px;
    font-style: italic;
    line-height: 1.5;
    color: var(--ivory);
    max-width: 30em;
  }

  @media (max-width: 800px) {
    .vm-grid, .intro { grid-template-columns: 1fr; }
    .intro img { height: 280px; }
    /* Stacked, the vertical rule becomes a horizontal one between them. */
    .vm-grid > div:first-child { padding: 0 0 34px; border-right: 0; border-bottom: 1px solid rgba(250,250,247,0.14); }
    .vm-grid > div:last-child { padding: 34px 0 0; }
  }

  /* The subtitle is a sentence, not a "View All" link — sitting it hard right
     on the heading's baseline left it stranded. It belongs under the heading. */
  .about-pillars .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 30px; }

  /* Flex rather than grid: there are seven pillars in a four-across layout, so
     a grid leaves a visible hole in the bottom right. Wrapping and centring
     makes the short last row read as deliberate. */
  .pillars-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
  .pillar-card {
    flex: 0 1 calc(25% - 16.5px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 22px 26px;
    background: #fff;
    border: 1px solid var(--hairline);
    border-top: 2px solid var(--hairline);
    border-radius: 3px;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  }
  .pillar-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11,31,58,0.08);
  }
  /* The number becomes real structure instead of a 15px speck: display size,
     with a rule under it separating it from the title. */
  .pillar-card .num {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--hairline);
  }
  .pillar-card h4 { font-size: 16.5px; margin: 0; line-height: 1.35; }

  @media (max-width: 900px) { .pillar-card { flex-basis: calc(50% - 11px); } }
  @media (max-width: 560px) { .pillar-card { flex-basis: 100%; } }

  .about-values { background: var(--values-bg, var(--ivory)); }
  .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .value-item h4 { font-size: 18px; margin-bottom: 10px; }
  .value-item p { color: var(--muted); font-size: 14px; }
  .value-item { border-top: 3px solid var(--emerald); padding-top: 16px; }
  @media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }

  .story-steps { counter-reset: s; }
  .story-step { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--hairline); }
  .story-step:first-child { padding-top: 0; }
  .story-step .n { font-family: var(--serif); font-size: 30px; color: var(--gold); font-weight: 700; }
  .story-step h4 { font-size: 18px; margin-bottom: 8px; }
  .story-step p { color: var(--muted); font-size: 14.5px; }

  .team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
  .team-card { text-align: center; }
  .team-card img { width: 100%; max-width: 180px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; display: block; }
  .team-card h5 { font-family: var(--serif); font-size: 16px; }
  .team-card p { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  @media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ===== from articles.html ===== */
.breaking-bar { background: var(--midnight); border-bottom: 1px solid rgba(200,155,60,0.25); }
  /* Full-bleed: same inset as the header and the other full-width rows. */
  .breaking-bar-inner { display: flex; align-items: center; gap: 18px; padding: 12px clamp(20px, 3vw, 48px); }
  .breaking-badge { flex: 0 0 auto; background: var(--gold); color: var(--midnight); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; }
  /* Left half: badge + a ticker that rotates one headline at a time. Three
     headlines side by side wrapped to two lines and still left ~800px of the
     bar empty on a desktop; one headline reads better and leaves room for the
     spotlight card that now fills that space. */
  .breaking-live { display: flex; align-items: center; gap: 16px; flex: 1 1 auto; min-width: 0; }
  .breaking-ticker { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; }
  .breaking-ticker-window { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .breaking-item { display: block; font-size: 13.5px; font-weight: 500; color: rgba(250,250,247,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .breaking-item:hover { color: var(--gold); }
  .breaking-ticker .slider-dots { flex: 0 0 auto; margin: 0; }
  .breaking-ticker .slider-dots button { width: 6px; height: 6px; background: rgba(250,250,247,0.3); }
  .breaking-ticker .slider-dots button.active { background: var(--gold); }

  /* Spotlight: the newest story, as a real article, on the edge that was blank. */
  .breaking-lead {
    flex: 0 0 auto;
    width: 400px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding-left: 26px;
    border-left: 1px solid rgba(250,250,247,0.14);
  }
  /* Matches the height of the three-line copy column beside it, so the card
     reads as one block rather than a small square floating in a taller row. */
  .breaking-lead img { flex: 0 0 auto; width: 68px; height: 68px; object-fit: cover; border-radius: 2px; }
  .breaking-lead-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .breaking-lead-cat { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
  .breaking-lead-title {
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.25;
    color: var(--ivory);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .breaking-lead:hover .breaking-lead-title { color: var(--gold); }
  .breaking-lead-time { font-size: 11px; color: rgba(250,250,247,0.45); }

  /* Below ~1080px the two halves start fighting for the same room, so the
     spotlight drops under the ticker rather than squeezing both. */
  @media (max-width: 1080px) {
    .breaking-bar-inner { flex-wrap: wrap; }
    .breaking-live { flex: 1 1 100%; }
    .breaking-lead { width: 100%; padding-left: 0; padding-top: 12px; border-left: 0; border-top: 1px solid rgba(250,250,247,0.14); }
  }
  @media (max-width: 560px) {
    /* The badge and dots leave the headline barely 150px on a phone, so the
       badge moves to its own line and the ticker takes the full width. */
    .breaking-live { flex-wrap: wrap; gap: 8px; }
    .breaking-ticker { flex: 1 1 100%; }
    .breaking-lead img { width: 48px; height: 48px; }
    .breaking-lead-title { font-size: 14px; }
  }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--hairline); }
  .filter-pill { font-size: 13px; font-weight: 600; padding: 9px 18px; border: 1px solid var(--hairline); border-radius: 20px; color: var(--midnight); cursor: pointer; background: #fff; transition: all .15s ease; }
  .filter-pill:hover { border-color: var(--gold); }
  .filter-pill.active { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }

  .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding-top: 44px; }
  .article-card img { width: 100%; height: 190px; object-fit: cover; }
  .article-card { padding-bottom: 6px; }
  .article-body { padding: 20px 4px 0; }
  .article-card h3 { font-size: 19px; margin: 8px 0 10px; line-height: 1.32; }
  .article-card p.dek { font-size: 13.5px; color: var(--muted); }
  .article-card .meta { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
  .article-card .meta img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

  @media (max-width: 980px) { .article-grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 620px) { .article-grid { grid-template-columns: 1fr; } }

  .load-more { text-align: center; margin-top: 50px; }

/* ===== from subscribe.html ===== */
.signup-band { background: var(--signup-band-bg, var(--midnight)); }
  .signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 30px 0 10px; }
  .signup-grid h1 { color: var(--ivory); font-size: 36px; }
  .signup-grid p { color: rgba(250,250,247,0.7); margin-top: 16px; font-size: 15.5px; max-width: 460px; }
  /* Same MailPoet rebuild as .sub-form, at the larger hero scale. */
  .signup-form { margin-top: 26px; max-width: 440px; }
  .signup-form .mailpoet_form { display: grid; grid-template-columns: 1fr auto; align-items: start; }
  .signup-form .mailpoet_paragraph { margin: 0; min-width: 0; }
  .signup-form .mailpoet_message { grid-column: 1 / -1; }
  .signup-form input.mailpoet_text {
    width: 100% !important; height: 50px; padding: 0 16px; border: 1px solid rgba(250,250,247,0.25);
    border-right: none; border-radius: 0; background: transparent; color: var(--ivory);
    font-family: var(--sans); font-size: 14px;
  }
  .signup-form input.mailpoet_text::placeholder { color: rgba(250,250,247,0.4); }
  .signup-form input.mailpoet_text:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
  .signup-form input.mailpoet_submit {
    width: auto !important; height: 50px; padding: 0 24px; border: none; border-radius: 0; cursor: pointer;
    background: var(--gold); color: var(--midnight);
    font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .signup-form input.mailpoet_submit:hover { background: var(--gold-light); }
  .signup-form .mailpoet_validate_success { color: var(--gold); font-size: 13px; margin-top: 12px; }
  .signup-form .mailpoet_validate_error,
  .signup-form .mailpoet_error { color: #ffb4ab; font-size: 13px; margin-top: 10px; }
  @media (max-width: 480px) {
    .signup-form .mailpoet_form, .sub-form .mailpoet_form { grid-template-columns: 1fr; }
    .signup-form input.mailpoet_text, .sub-form input.mailpoet_text { border-right: 1px solid rgba(250,250,247,0.25); }
    .signup-form input.mailpoet_submit, .sub-form input.mailpoet_submit { width: 100% !important; margin-top: 10px; }
  }
  .fine-print { font-size: 12px; color: rgba(250,250,247,0.4); margin-top: 12px; }
  .signup-visual { background: rgba(250,250,247,0.04); border: 1px solid rgba(250,250,247,0.1); padding: 34px; }
  .signup-visual .stat { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(250,250,247,0.1); }
  .signup-visual .stat:last-child { border-bottom: none; }
  .signup-visual .stat b { font-family: var(--serif); color: var(--gold); font-size: 20px; }
  .signup-visual .stat span { color: rgba(250,250,247,0.7); font-size: 13.5px; }
  @media (max-width: 860px) { .signup-grid { grid-template-columns: 1fr; } }

  /* Membership — free, no payment tiers */
  .membership-band { background: var(--membership-bg, var(--ivory)); }
  .tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: stretch; max-width: 760px; margin: 0 auto; }
  .tier-card { border: 1px solid var(--hairline); background: #fff; padding: 34px 28px; display: flex; flex-direction: column; }
  .tier-card.featured { border: 2px solid var(--gold); position: relative; }
  .tier-badge { position: absolute; top: -13px; left: 28px; background: var(--gold); color: var(--midnight); font-size: 11px; font-weight: 700; padding: 4px 12px; letter-spacing: 0.05em; text-transform: uppercase; }
  .tier-card h3 { font-size: 21px; }
  .tier-price { font-family: var(--serif); font-size: 34px; color: var(--midnight); margin: 14px 0 4px; }
  .tier-price span { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 500; }
  .tier-card ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
  .tier-card li { font-size: 13.5px; color: var(--charcoal); padding: 9px 0; border-bottom: 1px solid var(--hairline); display: flex; gap: 10px; }
  .tier-card li:last-child { border-bottom: none; }
  .tier-card li:before { content: "✓"; color: var(--emerald); font-weight: 700; }
  @media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

  .why-band { background: var(--why-bg, #fff); border-top: 1px solid var(--hairline); }
  .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .why-item { text-align: center; padding: 10px; }
  .why-item .ic { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--gold); }
  .why-item .ic img { width: 100%; height: 100%; object-fit: contain; }
  .why-item h4 { font-size: 15.5px; margin-bottom: 8px; }
  .why-item p { font-size: 13px; color: var(--muted); }
  @media (max-width: 800px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== contact.html ===== */
.contact-section { background: var(--contact-bg, var(--ivory)); }
  /* start, not stretch: the details panel only renders the fields that are
     actually filled in, so stretching it to the form's height leaves a tall
     block of empty navy whenever a few are blank. */
  .contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: start; }

  /* The form sits in a raised white panel rather than floating on the ivory
     background — the same construction as the Subscribe page's tier cards, so
     the two pages read as one design. */
  .contact-card {
    background: #fff;
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--gold);
    border-radius: 3px;
    padding: 40px;
    box-shadow: 0 2px 18px rgba(11,31,58,0.06);
  }
  .contact-card h2 { font-size: 26px; margin-bottom: 6px; }
  .contact-card > .contact-form { margin-top: 26px; }

  .contact-form .field { margin-bottom: 20px; }
  .contact-form label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

  /* WPForms ships its own sizing and chrome at a higher specificity than a
     plain class selector, so these have to be forced. Without the max-width
     reset every field renders at a different width (WPForms caps "medium" at
     60%), which is what made the form look ragged. */
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form input[type="url"],
  .contact-form select,
  .contact-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 13px 15px !important;
    border: 1px solid var(--hairline) !important;
    border-radius: 3px !important;
    background: #fcfbf8 !important;
    color: var(--charcoal);
    font-family: var(--sans);
    font-size: 14.5px;
    transition: border-color .15s ease, background .15s ease;
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder { color: #a8a294; }
  .contact-form input:hover,
  .contact-form textarea:hover { border-color: #cfc6b4 !important; }
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus {
    outline: none;
    background: #fff !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(200,155,60,0.18);
  }
  .contact-form textarea { min-height: 170px !important; resize: vertical; }

  .contact-form .wpforms-field { margin-bottom: 20px; padding: 0; }
  .contact-form .wpforms-field-label,
  .contact-form legend.wpforms-field-label {
    display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--midnight); margin-bottom: 8px; padding: 0;
  }
  .contact-form fieldset { border: 0; margin: 0; padding: 0; }
  .contact-form .wpforms-required-label { color: var(--gold); }
  /* "First" / "Last" under the name halves — a quiet hint, not a second label
     competing with the real one above the row. */
  .contact-form .wpforms-field-sublabel {
    font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none;
    color: var(--muted); margin: 6px 0 0;
  }
  /* stretch, not WPForms' align-items:start — once this stacks on a phone,
     "start" is the cross axis and the halves shrink to fit their text instead
     of matching the full-width fields above and below them. */
  .contact-form .wpforms-field-row { display: flex; align-items: stretch !important; gap: 16px; max-width: 100% !important; padding: 0 !important; }
  /* WPForms clearfixes this row with ::before/::after. Harmless while it was a
     float layout, but as flex children they become real items and the row's
     gap applies on both sides of them — 32px of dead space the name halves
     could not grow into. */
  .contact-form .wpforms-field-row::before,
  .contact-form .wpforms-field-row::after { display: none !important; }
  /* max-width has to go too — WPForms pins the halves to 48%, which left a
     dead 31px gutter at the end of the row. */
  .contact-form .wpforms-field-row-block { flex: 1 1 0; min-width: 0; width: auto !important; max-width: none !important; padding: 0 !important; }

  .contact-form .wpforms-submit-container { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); }
  .contact-form button[type="submit"].wpforms-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 0.03em;
    min-width: 200px; min-height: 50px; padding: 15px 30px; border-radius: 3px; cursor: pointer;
    border: 1px solid transparent !important; background-color: var(--gold) !important; color: var(--midnight) !important;
    transition: background .15s ease, transform .15s ease;
  }
  .contact-form button[type="submit"].wpforms-submit:hover { background-color: var(--gold-light) !important; transform: translateY(-1px); }
  .contact-form .wpforms-error { color: #b3261e; font-size: 12.5px; margin-top: 6px; }
  .contact-form input.wpforms-error, .contact-form textarea.wpforms-error { border-color: #b3261e !important; }
  .contact-form .wpforms-confirmation-container { padding: 20px; background: #fff; border: 1px solid var(--hairline); color: var(--midnight); }

  /* Dark counterpart to the white form card — mirrors .signup-visual on the
     Subscribe page, and the contrast keeps the two columns from reading as one
     undifferentiated block of white. */
  .contact-details {
    background: var(--midnight);
    border: 1px solid var(--midnight);
    border-radius: 3px;
    padding: 40px 34px;
  }
  .contact-details h4 {
    font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 10px;
  }
  .contact-detail { padding: 18px 0; border-bottom: 1px solid rgba(250,250,247,0.12); }
  .contact-detail:last-of-type { border-bottom: none; }
  .contact-detail .lbl { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,250,247,0.45); margin-bottom: 6px; }
  .contact-detail a, .contact-detail span.val { font-size: 15px; line-height: 1.5; color: var(--ivory); }
  .contact-detail a:hover { color: var(--gold); }
  .contact-social .social-row { margin-top: 4px; }
  .contact-note {
    font-size: 12.5px; line-height: 1.6; color: rgba(250,250,247,0.6);
    margin-top: 24px; padding: 16px 18px;
    background: rgba(250,250,247,0.05); border-left: 2px solid var(--gold); border-radius: 0 3px 3px 0;
  }

  @media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
  @media (max-width: 560px) {
    .contact-card { padding: 28px 22px; }
    .contact-details { padding: 30px 24px; }
    /* First/Last side by side leaves ~130px each on a phone — stack them. */
    .contact-form .wpforms-field-row { flex-direction: column; gap: 18px; }
  }

/* ===== Article share row ===== */
.share-row {
  margin-top: 44px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
}
  .share-label {
    font-family: var(--sans); font-size: 11.5px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  }
  .share-links { display: flex; align-items: center; gap: 10px; }
  .share-btn {
    position: relative;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    color: var(--midnight);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  }
  .share-btn svg { width: 17px; height: 17px; fill: currentColor; }
  .share-btn:hover {
    background: var(--midnight);
    border-color: var(--midnight);
    color: var(--gold);
    transform: translateY(-2px);
  }

  /* "Copied" confirmation — a tooltip above the button, so the icon doesn't
     shift and the row doesn't reflow when it appears. */
  .share-copied {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 4px 9px;
    font-family: var(--sans); font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--midnight); background: var(--gold);
    border-radius: 2px; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
  }
  .share-copy.copied .share-copied { opacity: 1; transform: translateX(-50%) translateY(0); }
  .share-copy.copied { background: var(--midnight); border-color: var(--midnight); color: var(--gold); }

  @media (max-width: 480px) {
    /* Six circles plus the label won't sit on one line — stack them and let
       the buttons run the full width rather than wrapping mid-row. */
    .share-row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .share-links { flex-wrap: wrap; }
  }

/* ===== Comments (single post) ===== */
.comments-area {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 3px solid var(--midnight);
}
  .comments-head { margin-bottom: 30px; }
  .comments-title { font-family: var(--serif); font-size: 26px; color: var(--midnight); }

  .comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
  .comment-list > li + li { margin-top: 26px; }
  /* Replies step in behind a hairline rather than a second card, so a thread
     reads as one conversation instead of a stack of unrelated boxes. */
  .comment-list .children {
    margin: 22px 0 0 26px;
    padding-left: 26px;
    border-left: 2px solid var(--hairline);
  }
  .comment-list .children > li + li { margin-top: 22px; }

  .comment-body {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-areas: "avatar meta" "avatar content" "avatar reply";
    column-gap: 18px;
    row-gap: 8px;
  }
  .comment-body img.avatar { grid-area: avatar; width: 52px; height: 52px; border-radius: 50%; }
  .comment-meta { grid-area: meta; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
  .comment-author { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  .comment-author .fn {
    font-family: var(--serif); font-style: normal; font-weight: 700;
    font-size: 16px; color: var(--midnight);
  }
  .comment-author .fn a { color: inherit; }
  .comment-author .fn a:hover { color: var(--gold); }
  /* Core prints "says:" after the name — redundant beside a timestamp. */
  .comment-author .says { display: none; }
  .comment-metadata { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
  .comment-metadata a { color: inherit; }
  .comment-metadata a:hover { color: var(--gold); }
  .comment-metadata .edit-link { margin-left: 10px; }

  /* The post's own author, so readers can tell the newsroom from the audience. */
  .comment.bypostauthor > .comment-body .comment-author .fn::after {
    content: "Author";
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-family: var(--sans); font-size: 9.5px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--midnight); background: var(--gold); border-radius: 2px;
    vertical-align: middle;
  }

  .comment-content { grid-area: content; font-size: 15px; line-height: 1.7; color: var(--charcoal); }
  .comment-content p { margin-bottom: 12px; }
  .comment-content p:last-child { margin-bottom: 0; }
  .comment-content a { color: var(--emerald); text-decoration: underline; }
  .comment-content blockquote {
    margin: 14px 0; padding: 4px 0 4px 16px;
    border-left: 2px solid var(--gold); color: var(--muted); font-style: italic;
  }

  .comment-body .reply { grid-area: reply; }
  .comment-body .reply a {
    font-family: var(--sans); font-size: 12px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold);
  }
  .comment-body .reply a:hover { text-decoration: underline; }

  /* Held for moderation. */
  .comment-awaiting-moderation {
    display: inline-block; margin-top: 8px; padding: 4px 10px;
    font-size: 12px; color: var(--muted);
    background: var(--ivory); border-left: 2px solid var(--gold);
  }

  .comments-area .comments-pagination { margin-top: 34px; display: flex; gap: 8px; flex-wrap: wrap; }
  .comments-area .comments-pagination .page-numbers {
    padding: 8px 14px; font-size: 13px; font-weight: 600;
    border: 1px solid var(--hairline); background: #fff; color: var(--midnight);
  }
  .comments-area .comments-pagination .page-numbers.current,
  .comments-area .comments-pagination .page-numbers:hover { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }

  .comments-closed { margin-top: 26px; font-size: 13.5px; color: var(--muted); }

  /* ---- The form: same panel language as the contact page ---- */
  .comment-respond {
    margin-top: 44px;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--gold);
    border-radius: 3px;
    box-shadow: 0 2px 18px rgba(11,31,58,0.06);
  }
  /* When replying, the form moves inside the thread — drop the outer margin so
     it doesn't tear a gap in the conversation it belongs to. */
  .comment-list .comment-respond { margin-top: 22px; padding: 26px; }

  .comment-reply-title { font-family: var(--serif); font-size: 22px; color: var(--midnight); }
  .comment-reply-title small { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
  .comment-reply-title small a { color: var(--gold); }
  .comment-reply-title small a:hover { text-decoration: underline; }

  .comment-notes, .logged-in-as { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
  .logged-in-as a { color: var(--emerald); text-decoration: underline; }
  .comment-form { margin-top: 22px; }
  .comment-form p { margin-bottom: 18px; }
  .comment-form label {
    display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--midnight); margin-bottom: 8px;
  }
  .comment-form .required { color: var(--gold); }
  .comment-form-row { display: flex; gap: 16px; }
  .comment-form-row > p { flex: 1 1 0; min-width: 0; }
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--hairline);
    border-radius: 3px;
    background: #fcfbf8;
    color: var(--charcoal);
    font-family: var(--sans);
    font-size: 14.5px;
    transition: border-color .15s ease, background .15s ease;
  }
  .comment-form input::placeholder, .comment-form textarea::placeholder { color: #a8a294; }
  .comment-form input:hover, .comment-form textarea:hover { border-color: #cfc6b4; }
  .comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,155,60,0.18);
  }
  .comment-form textarea { min-height: 150px; resize: vertical; display: block; }
  .comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
  .comment-form .comment-form-cookies-consent input { width: auto; margin-top: 2px; }
  .comment-form .comment-form-cookies-consent label {
    font-size: 12.5px; font-weight: 500; letter-spacing: 0;
    text-transform: none; color: var(--muted); margin: 0;
  }
  .comment-form .form-submit { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hairline); margin-bottom: 0; }
  .comment-form .comment-submit { min-width: 200px; min-height: 50px; justify-content: center; font-weight: 700; }

  @media (max-width: 620px) {
    .comment-respond { padding: 26px 20px; }
    .comment-form-row { flex-direction: column; gap: 0; }
    /* An avatar column plus indentation leaves too little room for the text. */
    .comment-body { grid-template-columns: 40px 1fr; column-gap: 14px; }
    .comment-body img.avatar { width: 40px; height: 40px; }
    .comment-list .children { margin-left: 0; padding-left: 16px; }
  }

/* ===== 404 / search ===== */
.notfound { text-align: center; padding: 60px 0 90px; }
  .notfound p { color: var(--muted); max-width: 460px; margin: 0 auto 26px; }
  .search-form { display: flex; gap: 0; align-items: stretch; max-width: 440px; margin: 26px 0 0; }
  .search-form .search-field {
    flex: 1; min-width: 0; padding: 14px 16px;
    border: 1px solid var(--hairline); border-right: none; border-radius: 0;
    background: #fff; color: var(--charcoal);
    font-family: var(--sans); font-size: 14px; line-height: 1.2;
  }
  .search-form .search-field::placeholder { color: var(--muted); }
  .search-form .search-field:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
  .search-form .search-submit {
    flex: 0 0 auto; padding: 14px 26px;
    border: none; border-radius: 0; cursor: pointer;
    background: var(--gold); color: var(--midnight);
    font-family: var(--sans); font-weight: 700; font-size: 13px;
    letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
    white-space: nowrap;
  }
  .search-form .search-submit:hover { background: var(--gold-light); }
  @media (max-width: 480px) {
    .search-form { flex-direction: column; }
    .search-form .search-field { border-right: 1px solid var(--hairline); }
  }

/* ===== Media inside article and page content ===== */
/* Nothing in the content area may exceed its column. Applies to what an editor
   pastes in as well as to blocks, which is why bare <iframe> and <video> are
   covered and not just the block wrappers. */
.single-article-body img,
.single-article-body video,
.single-article-body iframe,
.single-article-body embed,
.single-article-body object,
.prose img,
.prose video,
.prose iframe { max-width: 100%; }

.single-article-body img,
.prose img { height: auto; }

.single-article-body figure,
.prose figure { margin: 32px 0; }

.single-article-body figcaption,
.prose figcaption {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Video embeds get a 16:9 box and the iframe fills it. Scoped to video
   providers on purpose — a Twitter or Instagram embed is not 16:9 and would be
   cropped or stretched by a blanket ratio. */
.single-article-body .wp-block-embed.is-type-video .wp-block-embed__wrapper,
.prose .wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--midnight);
}
.single-article-body .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe,
.prose .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Self-hosted video via the core Video block. */
.single-article-body .wp-block-video video,
.prose .wp-block-video video { width: 100%; height: auto; display: block; }

.single-article-body .wp-block-embed,
.prose .wp-block-embed { margin: 32px 0; }

/* ===== Homepage — advertising band ("reel") ===== */
/* The class names here say "reel", not "ad". That is deliberate and must not
   be tidied back: ad blockers hide any element whose class begins with "ad-",
   so .ad-band and .ad-slot were stripped from the page before rendering for
   roughly a third of desktop visitors — advertising the publication had been
   paid for, invisible to the people it was sold against.

   What is NOT hidden is that this is advertising: the strip still carries a
   visible "Advertisement" label, and each paid link keeps rel="sponsored" so
   search engines are told it is paid. These are the publication's own directly
   sold banners — no ad network, no tracking, no third-party script. Renaming a
   CSS class so a first-party banner reaches the reader is a different thing
   from disguising advertising as editorial, which the label exists to prevent.

   Deliberately quieter than the editorial sections around it: a plain ivory
   ground, a thin rule above, no shadows. Advertising sits inside the page
   without competing with the journalism for attention. */
.reel-band {
  background: var(--reel-band-bg, var(--ivory));
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.reel-label {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
}

/* The strip runs edge to edge rather than stopping at the 1200px container —
   a marquee that starts and ends inside the text column looks like it is
   stuck, where one running off both edges reads as continuous. */
.reel-viewport {
  overflow: hidden;
  margin: 0 calc(50% - 50vw);
  padding: 0 clamp(20px, 3vw, 48px);
  /* Fades the adverts out at both edges so slides enter and leave the strip
     instead of being clipped mid-image against a hard border. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reel-track { display: flex; align-items: stretch; }

/* Gap comes from a margin on each slot rather than the flex `gap` property.
   The animation shifts the track by exactly -50%, which only lands on the
   start of the duplicate copy if the two copies are the same width down to
   the pixel — and `gap` adds one extra space between them that would make
   the loop drift by that much on every pass. */
.reel-item {
  flex: 0 0 clamp(240px, 26vw, 320px);
  margin-right: 20px;
  display: block;
  border: 1px solid var(--hairline);
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease;
}
a.reel-item:hover { border-color: var(--gold); }
/* Fixed ratio: advertisers supply whatever size they like, and without this
   one tall banner sets the height of the entire strip. */
.reel-item img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.reel-viewport.is-scrolling .reel-track {
  width: max-content;
  animation: arr-reel-scroll var(--reel-duration, 45s) linear infinite;
}
/* Pausing on hover and on keyboard focus is what makes the strip usable: a
   reader who wants to look at an advert, or tab to it, can stop it moving. */
.reel-viewport.is-scrolling:hover .reel-track,
.reel-viewport.is-scrolling:focus-within .reel-track { animation-play-state: paused; }

/* Fewer than three adverts: nothing to scroll past, so it sits still. */
.reel-viewport:not(.is-scrolling) .reel-track { justify-content: center; flex-wrap: wrap; }
.reel-viewport:not(.is-scrolling) .reel-item { margin: 0 10px; }

@keyframes arr-reel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Motion is the whole point of this strip, so when it is switched off the
   adverts must still all be reachable — the track becomes a normal
   swipe/scroll region rather than a frozen row with half of it off-screen. */
@media (prefers-reduced-motion: reduce) {
  .reel-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reel-viewport.is-scrolling .reel-track { animation: none; }
}

@media (max-width: 560px) {
  .reel-band { padding: 28px 0; }
  .reel-item { margin-right: 14px; }
}

/* ===== Homepage — caricature ===== */
/* Navy ground so the cartoons read as a deliberate closing statement rather
   than another content card, and so the band meets the navy footer cleanly. */
.caricature-band {
  background: var(--caricature-bg, var(--midnight));
  padding: 72px 0;
}
.caricature-head { align-items: flex-end; margin-bottom: 30px; }
.caricature-head h2 { color: var(--ivory); font-size: 28px; margin-top: 8px; }

.caricature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
/* One cartoon on its own is a normal week. Rather than leaving half the row
   empty, it takes the centre at the width it was drawn for. */
.caricature-grid[data-count="1"] { grid-template-columns: minmax(0, 640px); justify-content: center; }

.caricature { margin: 0; }
/* Cartoons are usually drawn on white. Framing the image on white keeps the
   linework readable against the navy instead of leaving it floating. */
.caricature-media {
  background: #fff;
  padding: 12px;
  border: 1px solid rgba(200,155,60,0.35);
}
/* Both cartoons share one ratio so the two captions start on the same line —
   without it, two images of different proportions stagger the whole row. */
.caricature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.caricature-body p {
  color: rgba(250,250,247,0.72);
  font-size: 14.5px;
  margin-top: 16px;
}
.caricature-artist {
  font-size: 13px !important;
  letter-spacing: 0.04em;
  color: rgba(250,250,247,0.5) !important;
  margin-top: 10px !important;
}
/* The artist credit is a name, not prose — an em dash sets it apart from the
   caption above it without needing a second colour. */
.caricature-artist::before { content: "\2014\00a0"; }

@media (max-width: 860px) {
  .caricature-grid { grid-template-columns: 1fr; gap: 40px; }
  .caricature-grid[data-count="1"] { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .caricature-band { padding: 48px 0; }
  .caricature-head h2 { font-size: 24px; }
}

/* ===== Single article — related articles ===== */
/* A hairline above rather than a colour change: this is still the same reading
   flow, not a new part of the site. */
.related-band {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 64px;
}
.related-band .section-head { margin-bottom: 26px; }
.related-band .section-head h2 { font-size: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hairline);
  transition: border-color .15s ease, transform .15s ease;
}
.related-card:hover { border-color: var(--gold); transform: translateY(-2px); }
/* Fixed ratio so a portrait and a landscape thumbnail don't produce cards of
   two different heights sitting side by side. */
.related-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hairline); }
.related-media img { width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 18px 20px 22px; }
.related-body .cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--emerald);
}
.related-body h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.3;
  margin-top: 8px;
}
.related-body .meta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* The comments block carries its own 64px top margin and heavy rule, so the
   section it now lives in must not add a second gap on top of that. */
.comments-section { padding-top: 0; }
.comments-section .comments-area { margin-top: 0; }

@media (max-width: 860px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .related-band { padding: 40px 0 48px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ===== Editor's Notes ===== */
/* A dated list, not a card grid. Notes are short and read in sequence, so the
   date carries the structure and the eye runs straight down the left edge. */
.note-list { max-width: 820px; }
.note-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
}
.note-item:first-child { padding-top: 0; }
.note-date {
  text-align: center;
  padding-top: 4px;
  border-right: 2px solid var(--gold);
  padding-right: 16px;
}
.note-day {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--midnight);
  line-height: 1;
}
.note-month {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.note-body h2 { font-size: 23px; line-height: 1.25; }
.note-body h2 a:hover { color: var(--emerald); }
.note-body .dek { margin-top: 10px; font-size: 15px; color: var(--muted); }
.note-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.note-meta img { border-radius: 50%; width: 28px; height: 28px; }
.note-empty { color: var(--muted); }

@media (max-width: 560px) {
  /* The date rail becomes a single line above the title — 74px of chrome is
     too much of a 375px screen to spend on a date. */
  .note-item { grid-template-columns: 1fr; gap: 10px; }
  .note-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
    border-right: none;
    border-left: 2px solid var(--gold);
    padding: 0 0 0 12px;
  }
  .note-day { font-size: 20px; }
  .note-month { margin-top: 0; }
  .note-body h2 { font-size: 20px; }
}

/* ===== Contribute page ===== */
/* Same construction as the contact page — raised white panel on ivory, gold
   top rule — so the two forms on the site read as one design rather than two. */
.contribute-section { background: var(--contribute-bg, var(--ivory)); }
.contribute-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 40px;
  align-items: start;
}
.contribute-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  padding: 40px;
  box-shadow: 0 2px 18px rgba(11,31,58,0.06);
}
.contribute-card-head h2 { font-size: 26px; margin-bottom: 6px; }
.contribute-card-head p { font-size: 14.5px; color: var(--muted); }
.contribute-form { margin-top: 26px; }
.contribute-form .field { margin-bottom: 20px; }
/* Two fields per row on desktop, one per row on a phone. */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.contribute-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contribute-form .req { color: var(--gold); }
.contribute-form input[type="text"],
.contribute-form input[type="email"],
.contribute-form input[type="tel"],
.contribute-form input[type="url"],
.contribute-form select,
.contribute-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: #fcfbf8;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 14.5px;
  transition: border-color .15s ease, background .15s ease;
}
.contribute-form textarea { resize: vertical; min-height: 130px; }
.contribute-form input:hover,
.contribute-form select:hover,
.contribute-form textarea:hover { border-color: #cdc4b2; }
.contribute-form input:focus,
.contribute-form select:focus,
.contribute-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200,155,60,0.15);
}
.contribute-form button { margin-top: 6px; }
.form-fineprint { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* The honeypot must be unreachable to people but still a rendered, focusable
   field in the DOM — display:none is skipped by the bots this is meant to
   catch, so it is moved off-screen instead. */
.arr-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 14px;
  margin-top: 22px;
  border-left: 3px solid;
}
.form-notice-ok { background: rgba(28,107,82,0.08); border-color: var(--emerald); color: #14513e; }
.form-notice-error { background: rgba(178,58,44,0.07); border-color: #b23a2c; color: #8c2b20; }

.contribute-aside {
  background: var(--midnight);
  color: rgba(250,250,247,0.72);
  padding: 34px 30px;
  border-radius: 3px;
}
.contribute-aside h4 {
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contribute-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.contribute-steps li {
  position: relative;
  padding-left: 40px;
  padding-bottom: 24px;
  counter-increment: step;
}
/* A numbered rail rather than bullets — the three stages are a sequence, and
   applicants read this to work out where they are in it. */
.contribute-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
.contribute-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 8px;
  width: 1px;
  background: rgba(200,155,60,0.3);
}
.contribute-steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ivory);
  margin-bottom: 5px;
}
.contribute-steps span { font-size: 13.5px; line-height: 1.6; }
.contribute-note {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(250,250,247,0.14);
}
.contribute-note p { font-size: 13.5px; margin-bottom: 10px; }

@media (max-width: 860px) {
  .contribute-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contribute-card { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ===== Homepage — "see more categories" ===== */
/* Sits under the strip, centred, with the grid's own gap above it so it reads
   as belonging to the strip rather than as a new row. */
.cat-strip-more { text-align: center; margin-top: 28px; }

/* ===== Categories page ===== */
/* Wider cards than the homepage strip: this page is read to find a subject,
   so the description matters more than fitting six across. */
.category-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  padding: 26px 24px 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.category-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11,31,58,0.09);
}
.category-tile h2 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  text-wrap: balance;
}
.category-tile p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
/* Pushed to the bottom so the counts line up across a row whose descriptions
   run to different lengths. */
.category-count {
  margin-top: auto;
  padding-top: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
}

@media (max-width: 900px) {
  .category-index { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .category-index { grid-template-columns: 1fr; }
}

/* ===== Caricatures ===== */
/* Homepage figures are now links, so the media block needs the anchor reset. */
a.caricature-media { display: block; }
.caricature-body h3 { margin-bottom: 8px; }
.caricature-body h3 a { color: var(--ivory); font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.caricature-body h3 a:hover { color: var(--gold); }

/* Listing grid, used on the Caricatures page and under a single cartoon. */
.cartoon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cartoon-card { margin: 0; }
/* White mount, as on the homepage: cartoons are drawn on white and need a
   ground of their own rather than sitting straight on the page. */
.cartoon-media {
  display: block;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.cartoon-media:hover { border-color: var(--gold); transform: translateY(-2px); }
/* contain, not cover: a cartoon must never be cropped — the joke is usually in
   the corner. A fixed box keeps the captions on one line across the row. */
.cartoon-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.cartoon-body { padding-top: 14px; }
.cartoon-body h2 { font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.cartoon-body h2 a:hover { color: var(--emerald); }
.cartoon-meta {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---- Single caricature ---- */
.cartoon-single { padding-top: 56px; }
.cartoon-single-head { max-width: 720px; margin-bottom: 28px; }
.cartoon-single-head h1 { font-size: clamp(26px, 4vw, 38px); margin-top: 10px; text-wrap: balance; }
.cartoon-single-head .cartoon-meta { margin-top: 12px; font-size: 13.5px; }
.cartoon-single-media {
  margin: 0;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 18px;
}
/* No fixed ratio here — this is the page the cartoon exists on, so it is shown
   at whatever shape it was drawn, capped so a tall one still fits a screen. */
.cartoon-single-media img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.cartoon-single-body {
  max-width: 680px;
  margin: 30px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--charcoal);
}
.cartoon-single-body p + p { margin-top: 16px; }
.cartoon-single .share-row { margin-top: 34px; }
.cartoon-more {
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--hairline);
}
.cartoon-more .section-head { margin-bottom: 24px; }
.cartoon-more .section-head h2 { font-size: 22px; }

@media (max-width: 860px) {
  .cartoon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cartoon-grid { grid-template-columns: 1fr; }
  .cartoon-single { padding-top: 36px; }
  .cartoon-single-media { padding: 10px; }
}

/* ===== Advertise page — placements ===== */
.rates-section { padding-bottom: 0; }
.rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rate-grid[data-count="1"] { grid-template-columns: minmax(0, 420px); }
.rate-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.rate-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.rate-card h3 { font-family: var(--serif); font-size: 19px; }
.rate-price {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--emerald);
  margin-top: 10px;
}
.rate-card p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.rate-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }

.advertise-points { list-style: none; margin: 0; padding: 0; }
.advertise-points li {
  position: relative;
  padding-left: 22px;
  padding-bottom: 16px;
  font-size: 13.5px;
  line-height: 1.6;
}
/* A rule rather than a bullet: these are commitments to the reader, and a
   tick would read as a feature list. */
.advertise-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 1px;
  background: var(--gold);
}

@media (max-width: 860px) {
  .rate-grid,
  .rate-grid[data-count="2"] { grid-template-columns: 1fr; }
  .rate-grid[data-count="1"] { grid-template-columns: 1fr; }
}

/* ===== ARR Brief — signup band ===== */
.brief-signup-band { background: var(--brief-signup-bg, var(--midnight)); padding: 54px 0; }
.brief-signup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.brief-signup-copy h2 { color: var(--ivory); font-size: 26px; }
.brief-signup-copy p { color: rgba(250,250,247,0.72); font-size: 15px; margin-top: 12px; }
.brief-fineprint { color: rgba(250,250,247,0.45); font-size: 12.5px; margin-top: 12px; }
/* MailPoet renders its own field markup; these force it onto the band's
   proportions the same way the subscribe page does. */
.brief-signup-form input[type="email"],
.brief-signup-form input[type="text"] {
  width: 100% !important;
  padding: 13px 15px !important;
  border: 1px solid rgba(250,250,247,0.22) !important;
  border-radius: 3px !important;
  background: rgba(250,250,247,0.08) !important;
  color: var(--ivory) !important;
  font-family: var(--sans);
  font-size: 14.5px;
}
.brief-signup-form input::placeholder { color: rgba(250,250,247,0.45); }
.brief-signup-form input[type="submit"] {
  background: var(--gold) !important;
  color: var(--midnight) !important;
  border: none !important;
  padding: 13px 26px !important;
  border-radius: 3px !important;
  font-family: var(--sans);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 860px) {
  .brief-signup { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Editorial standards ===== */
.editorial-section { padding-bottom: 90px; }
.editorial-intro { max-width: 760px; margin-bottom: 46px; }
.editorial-intro p { font-size: 16.5px; line-height: 1.75; }
.editorial-contact { margin-top: 14px; font-size: 15px; }
.editorial-contact a { color: var(--emerald); text-decoration: underline; }

.policy {
  max-width: 860px;
  padding: 34px 0 30px;
  border-top: 1px solid var(--hairline);
}
.policy-head { display: flex; align-items: baseline; gap: 14px; }
/* The number is set in the serif at display size so the four policies scan as
   a numbered sequence without needing a list marker. */
.policy-number {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.policy-head h2 { font-size: 25px; }
.policy-lead { margin-top: 14px; font-size: 16px; color: var(--charcoal); }

.policy-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 26px; }
.policy-group h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.policy-group ul { margin: 0; padding-left: 18px; }
.policy-group li { font-size: 14.5px; line-height: 1.6; margin-bottom: 10px; color: var(--charcoal); }

/* The "in short" line is the one a reader will remember, so it is given the
   weight of a pull quote rather than being folded into the bullets. */
.policy-short {
  margin-top: 26px;
  padding: 20px 24px;
  background: #fff;
  border-left: 3px solid var(--gold);
}
.policy-short-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.policy-short p { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--midnight); }
.policy-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.policy-full { margin-top: 14px; font-size: 13px; color: var(--muted); }
.policy-full a { color: var(--emerald); text-decoration: underline; }

.editorial-sign-off {
  margin-top: 50px;
  padding-top: 28px;
  border-top: 3px solid var(--midnight);
  max-width: 860px;
}
.editorial-sign-off strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--midnight);
}
.editorial-sign-off span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

@media (max-width: 700px) {
  .policy-groups { grid-template-columns: 1fr; gap: 22px; }
  .policy-head h2 { font-size: 21px; }
  .policy-number { font-size: 24px; }
}

/* ===== Contribute — who can contribute ===== */
.who-section { padding-bottom: 0; }
/* Auto-fit rather than a fixed column count: the list is eleven items now and
   may be edited to five or fifteen, and either should fill the row evenly. */
.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px 20px;
}
.who-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 15px;
  color: var(--charcoal);
  border-bottom: 1px solid var(--hairline);
}
.who-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 10px; height: 1px;
  background: var(--gold);
}
.who-note { margin-top: 20px; font-size: 14.5px; color: var(--muted); max-width: 640px; }

/* ===== Advertise — partner and support ===== */
.ways-section { padding-bottom: 0; }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.way-card {
  background: var(--midnight);
  color: rgba(250,250,247,0.72);
  padding: 32px 30px;
  border-radius: 3px;
  border-top: 3px solid var(--gold);
}
.way-card h2 { color: var(--ivory); font-size: 22px; }
.way-card p { font-size: 14.5px; line-height: 1.65; margin-top: 12px; }
.way-card .view-all { display: inline-block; margin-top: 18px; }

@media (max-width: 800px) {
  .ways-grid { grid-template-columns: 1fr; }
}

/* ===== Article body typography ===== */
/* The global reset sets every <p> and heading margin to 0, and the article
   body only ever had rules for images and embeds — so paragraphs ran straight
   into one another with no space between them, and section headings sat
   flush against the text around them. On a 2,000-word essay that is the
   difference between readable and not. */
.single-article-body > * + * { margin-top: 1.35em; }
.single-article-body p { margin: 0; }
.single-article-body > p + p { margin-top: 1.15em; }

.single-article-body h2 {
  font-size: 26px;
  line-height: 1.25;
  margin-top: 2.1em;
  margin-bottom: 0;
}
.single-article-body h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-top: 1.8em;
}
/* A heading pulls the paragraph after it close, so it reads as belonging to
   what follows rather than floating between two sections. */
.single-article-body h2 + p,
.single-article-body h3 + p { margin-top: 0.6em; }

.single-article-body a { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }
.single-article-body a:hover { color: var(--midnight); }

.single-article-body ul,
.single-article-body ol { padding-left: 1.3em; }
.single-article-body li + li { margin-top: 0.4em; }

/* Pull quote: the serif and a gold rule, set wider than the text beside it so
   it interrupts the column the way a pull quote is meant to. */
.single-article-body blockquote,
.single-article-body .wp-block-quote {
  margin: 2em 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--gold);
}
.single-article-body blockquote p {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
  color: var(--midnight);
}
.single-article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.single-article-body blockquote cite::before { content: "\2014\00a0"; }

.single-article-body hr,
.single-article-body .wp-block-separator {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 2.6em 0;
}

/* The closing line of an editorial — set apart so the piece ends on it. */
.single-article-body .arr-kicker-close {
  margin-top: 1.8em;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  color: var(--midnight);
}

@media (max-width: 560px) {
  .single-article-body h2 { font-size: 22px; }
  .single-article-body blockquote p { font-size: 20px; }
  .single-article-body blockquote,
  .single-article-body .wp-block-quote { padding-left: 18px; }
}

/* Footer links jump to #partner and #support. The header is sticky, so without
   an offset the section heading lands underneath it and the reader arrives on
   the paragraph below the thing they clicked. */
.way-card { scroll-margin-top: 100px; }

/* ===== 5 Things to Know ===== */
/* Navy ground with gold numerals, following the brand artwork. The cards are
   an ordered list, not divs: the sequence is the format, and a screen reader
   should hear "1 of 5" rather than five unrelated headings. */
.five-band { background: var(--five-bg, var(--midnight)); padding: 72px 0; }
.five-head { max-width: 720px; margin-bottom: 34px; }
.five-head h2 { color: var(--ivory); font-size: 32px; margin-top: 10px; }
.five-head p {
  color: var(--gold-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  margin-top: 10px;
}

.five-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.five-card {
  background: rgba(250,250,247,0.05);
  border: 1px solid rgba(200,155,60,0.28);
  border-top: 3px solid var(--gold);
  padding: 24px 20px 26px;
  display: flex;
  flex-direction: column;
}
.five-number {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.five-card h3 {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
  margin-top: 14px;
  text-wrap: balance;
}
/* A gold rule under the title, as in the artwork — it separates the label
   from the question without another colour or weight. */
.five-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-top: 12px;
}
.five-card p { color: rgba(250,250,247,0.72); font-size: 14px; margin-top: 12px; }
.five-foot { margin-top: 32px; }

/* ---- On an edition, the cards carry the answers ---- */
/* Five columns of prose would be unreadable, so an edition stacks them: the
   number and heading on the left, the answer given room on the right. */
.five-grid-article { grid-template-columns: 1fr; gap: 16px; margin: 0 0 36px; }
.five-card-filled {
  display: grid;
  grid-template-columns: 200px 1fr;
  /* The answer spans all three rows, so without explicit row sizing the rows
     stretch to share its height and the number floats away from its own
     title. Rows 1 and 2 hug their content; row 3 absorbs the slack. */
  grid-template-rows: auto auto 1fr;
  gap: 4px 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  padding: 24px 26px;
}
.five-card-filled .five-number { grid-row: 1; grid-column: 1; color: var(--gold); font-size: 30px; }
.five-card-filled h3 { grid-row: 2; grid-column: 1; color: var(--midnight); margin-top: 6px; }
.five-card-filled h3::after { display: none; }
.five-card-filled .five-question {
  grid-row: 3;
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.five-card-filled .five-answer {
  grid-row: 1 / -1;
  grid-column: 2;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 0;
}

.five-band-page { padding-bottom: 72px; }
.five-band-page .section-head h2 { color: var(--ivory); }

@media (max-width: 1100px) {
  .five-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .five-grid { grid-template-columns: repeat(2, 1fr); }
  .five-head h2 { font-size: 26px; }
  /* The two-column answer layout has no room left; label above, answer below. */
  .five-card-filled { grid-template-columns: 1fr; gap: 4px; }
  .five-card-filled .five-number,
  .five-card-filled h3,
  .five-card-filled .five-question,
  .five-card-filled .five-answer { grid-row: auto; grid-column: 1; }
  .five-card-filled .five-answer { margin-top: 12px; }
}
@media (max-width: 460px) {
  .five-grid { grid-template-columns: 1fr; }
}
