/* THE STATION UNDER THE MAP (2026-10-28, KGD: "the station page looks bare").
   Loaded by the station page only (pages/station.html), after main.css. main.css is NOT edited, so every other
   page, the tracker included, keeps its exact bytes and asset stamps.
   - the watercolour wash behind the whole area under the map (our own art, drawn in code: watercolour_gen.py),
     with the paper grain on top as the buttons wear it; one picture, stretched once, never tiled;
   - header tiles on the station's news cards (tile-<kind>.webp, chosen from the headline);
   - the editorial block (Open in Europe's shape: lead story, compact list, figures as the side rail);
   - round 3: the shop is the site's REAL season shelf again (components.html season_shelf, untouched; its CSS is main.css).
   Colours are the theme's tokens only (sun, sea, btn-bg, accent, bg-raise, line, ink). Text sits on plates, not on the wash. */

/* ---- the backdrop (round 2, 2026-10-28: calm, and only behind the reading part) ----
   The area under the map is plain paper with the grain, exactly as the shop part should look. The watercolour is ONE
   calm horizontal band behind the news rail and the editorial block (.station-band), feathered wide so it has no
   border; it runs the full width of the screen. Painted once, stretched 100% x 100%, never tiled. */
.station-under {
  gap: 22px;
  padding-bottom: 26px;
  background: var(--grain), var(--bg);
}
.station-band {
  --wash: url("/static/img/art/wash-band-desk.webp");
  --wash-veil: linear-gradient(transparent, transparent);
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 6px 0;
}
.station-band::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -60px calc(50% - 50vw);
  background: var(--wash-veil), var(--wash) 0 0 / 100% 100% no-repeat;
}
.station-band > * { min-width: 0; }
@media (max-width: 759px) {
  .station-under { gap: 18px; padding-bottom: 20px; }
  .station-band { --wash: url("/static/img/art/wash-band-phone.webp"); gap: 16px; }
  .station-band::before { inset: -40px calc(50% - 50vw); }
}
/* night: the same band under a dark veil, so the pigment glows instead of glaring. KEEP THE TWO BLOCKS IDENTICAL. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .station-band { --wash-veil: linear-gradient(rgba(20, 22, 28, .5), rgba(20, 22, 28, .5)); }
}
:root[data-theme="dark"] .station-band { --wash-veil: linear-gradient(rgba(20, 22, 28, .5), rgba(20, 22, 28, .5)); }

/* the plates the words sit on: clean paper over the band */
.station-editorial .ed-lead, .station-editorial .ed-older {
  background: var(--grain), color-mix(in srgb, var(--bg-raise) 94%, transparent);
}
.station-band .livebar-head, .station-editorial .ed-h, .station-editorial .ed-rail-h { text-shadow: 0 0 10px color-mix(in srgb, var(--bg) 80%, transparent); }

/* ---- the news cards: a header tile each ---- */
.lb-news .story.sc { padding: 0; gap: 0; min-height: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.story.sc::after { display: none; }
.sc-art { position: relative; display: block; height: 92px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--cool-soft); }
.sc-tile { position: absolute; inset: 0; background: var(--sc-tile, none) center / cover no-repeat; }
.sc--general .sc-tile { --sc-tile: url("/static/img/art/tile-general.webp"); }
.sc--ours .sc-tile { --sc-tile: url("/static/img/art/tile-ours.webp"); }
.sc--sea .sc-tile { --sc-tile: url("/static/img/art/tile-sea.webp"); }
.sc--flood .sc-tile { --sc-tile: url("/static/img/art/tile-flood.webp"); }
.sc--storm .sc-tile { --sc-tile: url("/static/img/art/tile-storm.webp"); }
.sc--fire .sc-tile { --sc-tile: url("/static/img/art/tile-fire.webp"); }
.sc--heat .sc-tile { --sc-tile: url("/static/img/art/tile-heat.webp"); }
.sc--cold .sc-tile { --sc-tile: url("/static/img/art/tile-cold.webp"); }
.sc--quake .sc-tile { --sc-tile: url("/static/img/art/tile-quake.webp"); }
/* our own card keeps its full colour; an outside card's tile is a muted tint (its own photo, when it has one, is shown as it is) */
.sc--outside .sc-tile { filter: saturate(.45) brightness(1.04); }
/* an OUTSIDE story shows its own feed thumbnail whole (16:9, centred, never a crop through the subject) or no picture header at all */
.sc-art--photo { height: auto; aspect-ratio: 16 / 9; background: var(--cool-soft); }
.sc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: transparent; }
.sc--plain .sc-body { padding-top: 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sc-tile { filter: brightness(.78); } :root:not([data-theme="light"]) .sc--outside .sc-tile { filter: saturate(.45) brightness(.78); } }
:root[data-theme="dark"] .sc-tile { filter: brightness(.78); }
:root[data-theme="dark"] .sc--outside .sc-tile { filter: saturate(.45) brightness(.78); }
.sc-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; position: relative; z-index: 1; }
.sc .story-emblem { font-size: .8rem; }
@media (max-width: 759px) {
  .sc-art { height: 78px; }
  .sc-art--photo { height: auto; }
  .lb-news .story.sc { min-height: 0; padding: 0; }
  .sc-body { padding: 9px 11px 11px; gap: 5px; }
}

/* ---- the editorial block ---- */
.station-editorial { width: min(100%, var(--maxw)); justify-self: center; }
.station-editorial {
  display: grid; gap: 14px 26px; align-items: start;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-areas: "h railh" "lead rail" "older rail" "more more";
}
/* ROUND 3: the two headings share ONE row, one size, one weight, one baseline (KGD: "things inline please").
   .ed-rail is dissolved so its heading and its tiles become cells of this grid. */
.station-editorial .ed-h, .station-editorial .ed-rail-h { margin: 0; padding: 0; border: 0; font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); text-align: left; align-self: end; }
.station-editorial .ed-h { grid-area: h; }
.station-editorial .ed-rail-h { grid-area: railh; }
.ed-lead { grid-area: lead; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.ed-dateline { margin: 0 0 6px; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.ed-headline { margin: 0 0 16px; font-size: 1.6rem; line-height: 1.2; }
.ed-headline a { color: var(--ink); text-decoration: none; }
.ed-headline a:hover, .ed-headline a:focus-visible { text-decoration: underline; }
.ed-lead .update-quote { margin: 0 0 18px; }   /* more air under the headline and under the quote (KGD 2026-10-30) */
.ed-lead .update-fold { margin: 0 0 8px; }
.ed-lead .update-src { margin: 0; font-size: 1rem; }
.ed-lead .update-cta { margin-top: 12px; }
.station-editorial .station-more { grid-area: more; margin: 0; }
.ed-older { grid-area: older; list-style: none; margin: 0; padding: 4px 18px; border: 1px solid var(--line); border-radius: 14px; }
.ed-older li { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: 4px 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.4; }
.ed-older li:first-child { border-top: 0; }
.ed-older time { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ed-older a { color: var(--ink); font-weight: 600; text-decoration: none; }
.ed-older a:hover, .ed-older a:focus-visible { text-decoration: underline; }
.ed-rail { display: contents; }
.ed-rail > .station-strip { grid-area: rail; min-width: 0; }
.ed-rail .station-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ed-rail .station-strip > .station-tile { padding: 10px 12px; border-radius: 10px; border-top-width: 4px; background: var(--grain), color-mix(in srgb, var(--bg-raise) 94%, transparent); }
.ed-rail .station-strip > .station-tile:first-child { grid-column: 1 / -1; }
.ed-rail .station-k { font-size: .95rem; min-height: 0; line-height: 1.3; }
.ed-rail .station-sci { font-size: .85rem; }
.ed-rail .station-v { font-size: 1.5rem; min-height: 0; margin: 2px 0; }
.ed-rail .station-v-text { font-size: 1.1rem; }
.ed-rail .station-s { font-size: .9rem; }
@media (max-width: 899px) {
  .station-editorial { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "lead" "older" "railh" "rail" "more"; gap: 12px; }
  .station-editorial .ed-rail-h { margin-top: 10px; }
}
@media (max-width: 759px) {
  .ed-lead { padding: 14px 14px; }
  .ed-headline { font-size: 1.3rem; }
  .ed-older { padding: 2px 14px; }
  .ed-older li { grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 9px 0; }
}

/* ---- round 3 (KGD: "white line here, don't have that ... must make visible break, or not at all") ----
   main.css draws a hairline + 30 px air over any section's first h2. On the station it striped the editorial heading and the
   shop heading, so both are switched off here (scoped to this page; every other page keeps its rule). The break between the
   reading part and the shop is the end of the watercolour band itself: a deliberate soft fade, then plain paper. */
.station-editorial > h2:first-child, .station > .shelf > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.station > .shelf { margin-top: 56px; }
.station-band::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 100%);
}

/* ---- round 3 (KGD: "in night mode have a moon backdrop image not sun") ----
   The station head band swaps the sun picture for our own night picture (band-hero-night.webp, drawn in code by
   band_night_gen.py: same canvas, a pale moon) in dark mode ONLY, and only on this page. The veil over it keeps
   the sky dark enough that the words (set in the full ink colour with a dark halo) stay legible; the moon sits in the gap between the two text blocks.
   KEEP THE TWO BLOCKS IDENTICAL. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .station-two .b-head { background: var(--grain),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 42%, transparent), color-mix(in srgb, var(--bg) 62%, transparent)),
    url("/static/img/art/band-hero-night.webp") center 58%/cover no-repeat, var(--bg); }
  :root:not([data-theme="light"]) .station-two .b-head .head-line,
  :root:not([data-theme="light"]) .station-two .b-head .head-stamp,
  :root:not([data-theme="light"]) .station-two .b-head .head-stamp .stamp,
  :root:not([data-theme="light"]) .station-two .b-head h1 { color: var(--ink); text-shadow: 0 0 5px var(--bg), 0 0 12px var(--bg); }
}
:root[data-theme="dark"] .station-two .b-head { background: var(--grain),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 42%, transparent), color-mix(in srgb, var(--bg) 62%, transparent)),
    url("/static/img/art/band-hero-night.webp") center 58%/cover no-repeat, var(--bg); }
:root[data-theme="dark"] .station-two .b-head .head-line,
:root[data-theme="dark"] .station-two .b-head .head-stamp,
:root[data-theme="dark"] .station-two .b-head .head-stamp .stamp,
:root[data-theme="dark"] .station-two .b-head h1 { color: var(--ink); text-shadow: 0 0 5px var(--bg), 0 0 12px var(--bg); }
/* the moon on a phone (KGD 2026-10-30: "i want to see the moon more on mobile"): the picture scaled up and slid so the moon sits
   right of the words, the veil a little thinner; dark mode only, as above. KEEP THE TWO BLOCKS IDENTICAL. */
@media (max-width: 759px) {
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .station-two .b-head { background: var(--grain),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 28%, transparent), color-mix(in srgb, var(--bg) 55%, transparent)),
    url("/static/img/art/band-hero-night.webp") 38% 68%/auto 300% no-repeat, var(--bg); } }
  :root[data-theme="dark"] .station-two .b-head { background: var(--grain),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 28%, transparent), color-mix(in srgb, var(--bg) 55%, transparent)),
    url("/static/img/art/band-hero-night.webp") 38% 68%/auto 300% no-repeat, var(--bg); }
}


/* ---- round 4 (KGD 2026-10-29: "a bit too soft ... some framing, say this is a new section"; "the news feed disappears
   next to the block below"; "backdrop shading for the different rows"; "on mobile centre the heading") ----
   Each reading section is ONE framed panel of the SAME width: a sea-coloured top bar, tighter corners than the cards,
   a see-through paper plate over the watercolour band, so the colour still shows but the words sit on calm ground.
   Inner plates (lead, list, tiles, cards) sit one shade lighter on top: two layers of shading, no hairlines. */
.station-band { gap: 30px; }
.station-band > .livebar, .station-band > .station-editorial {
  width: min(100%, var(--maxw)); justify-self: center; box-sizing: border-box;
  padding: 18px 20px 20px; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-top: 5px solid var(--sea); border-radius: 6px;
  background: var(--grain), color-mix(in srgb, var(--bg) 58%, transparent); box-shadow: var(--shadow);
}
.station-band .livebar { gap: 12px; }
.station-band .livebar-head { flex-wrap: nowrap; }
.station-band .livebar-head .stamp { margin: 0; }
.station-band .livebar-h, .station-editorial .ed-h, .station-editorial .ed-rail-h { font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.station-band .livebar-head, .station-editorial .ed-h, .station-editorial .ed-rail-h { text-shadow: none; }
.station-editorial .ed-lead, .station-editorial .ed-older, .ed-next { border-radius: 10px; border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  background: var(--grain), color-mix(in srgb, var(--bg-raise) 96%, transparent); }
.lb-news .story.sc { border-radius: 10px; }
/* our own card's picture is the SAME size and shape as an outside story's photo (KGD: "it looks a bit weird") */
.sc-art, .sc-art--photo { height: auto; aspect-ratio: 16 / 9; }
/* the empty corner under the figures: what comes next, from the data */
/* two real columns under the two inline headings: the update and its list on the left, the figures, what comes next
   and the links on the right. Each column stacks on its own, so a tall lead never opens a gap beside it. */
.station-editorial { grid-template-areas: "h railh" "main side"; }
.ed-main { grid-area: main; display: grid; gap: 14px; min-width: 0; }
.ed-side { grid-area: side; display: grid; gap: 12px; min-width: 0; }
.ed-main > .ed-lead, .ed-main > .ed-older, .ed-side > *, .ed-side > .station-more { grid-area: auto; }
.ed-next { padding: 12px 14px; }
.ed-next-h { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; }
.ed-next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ed-next li { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: 2px 12px; font-size: 1rem; line-height: 1.4; }
.ed-next time, .ed-next-k { font-weight: 700; font-variant-numeric: tabular-nums; }
.station-editorial .station-more { align-self: start; }
@media (max-width: 899px) {
  .station-editorial { grid-template-areas: "h" "main" "railh" "side"; }
  .station-band .livebar-head { flex-direction: column; align-items: center; text-align: center; }
  .station-band .livebar-h, .station-editorial .ed-h, .station-editorial .ed-rail-h { text-align: center; justify-self: center; }
}
@media (max-width: 759px) {
  .station-band { gap: 22px; }
  .station-band > .livebar, .station-band > .station-editorial { padding: 14px 12px 16px; }
  .station-band .livebar-h, .station-editorial .ed-h, .station-editorial .ed-rail-h { font-size: 1.25rem; }
  /* the quote reads full width on a phone: no indent bar squeezing it into a column */
  .ed-lead .update-quote { padding: 0; border-left: 0; }
  .ed-lead .update-quote p { font-size: 1rem; line-height: 1.6; }
  .ed-next li { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (min-width: 900px) { .station-band .livebar-h { white-space: nowrap; } .station-band .livebar-head .stamp { font-size: .9rem; } }
/* round 4b (KGD 2026-10-29: "on pc we want full bar for news"): on a computer the news frame runs the full width again; the NOAA panel keeps the reading width. */
@media (min-width: 900px) { .station-band > .livebar { width: 100%; } }
/* round 4c (KGD 2026-10-29: "make new backdrop, more professional ... sleeker, more news outlet feel"; phone: "move slightly up").
   The watercolour band is retired on the station: ONE flat, calm tone behind the reading part, full width, crisp top and
   bottom edges (a visible break, no fade), solid panels on it, the way a news site sets its sections. No picture, no grain. */
.station-band { --wash: none; --wash-veil: none; }
.station-band::before {
  inset: -24px calc(50% - 50vw); -webkit-mask-image: none; mask-image: none;
  background: color-mix(in srgb, var(--ink) 5%, var(--bg));
}
.station-band > .livebar, .station-band > .station-editorial { background: var(--bg-raise); box-shadow: 0 1px 2px rgba(31, 36, 48, .06); }
.station-editorial .ed-lead, .station-editorial .ed-older, .ed-next, .ed-rail .station-strip > .station-tile { background: var(--bg); box-shadow: none; }
.station-band > .station-editorial { margin-top: 0; }
@media (max-width: 759px) { .station-band::before { inset: -16px calc(50% - 50vw); } }
/* round 4d (KGD: "but with our branding please"): the clean news-site set wears OUR marks — the band takes a faint sea
   tint, each frame's top bar runs our sun gold into our sea aqua (heat to ocean, the El Niño story), and each section
   heading carries the same sun as the favicon and the header mark. */
.station-band::before { background: color-mix(in srgb, var(--sea) 8%, var(--bg)); }
.station-band > .livebar, .station-band > .station-editorial {
  border-top: 0; padding-top: 27px;
  background: var(--btn-grad) top / 100% 9px no-repeat, var(--bg-raise);   /* the buttons' own blue, 9 px (KGD 2026-10-30: "that color wider" · "use same blue instead") */
}
/* the news panel has no coloured line, only its thin frame (KGD 2026-10-30: "remove that blue line top completely · just keep others") */
.station-band > .livebar { border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); padding-top: 18px; background: var(--bg-raise); }
/* round 4e (KGD 2026-10-29: "remove the coloured backdrop", "more column structured", "fill width on pc, matching above",
   "inline", "fill out"): no band behind the panels at all; the NOAA panel runs the full width like the news; on a computer
   it reads as THREE columns under three headings on one line (the update · earlier updates + what comes next · the
   figures), each column stretched to the same height so no column ends short. */
.station-band::before { display: none; }
.station-editorial .ed-mid-h { grid-area: midh; margin: 0; padding: 0; border: 0; font-size: 1.45rem; font-weight: 800; line-height: 1.2; color: var(--ink); text-align: left; align-self: end; }
.ed-mid { grid-area: mid; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ed-main, .ed-side { display: flex; flex-direction: column; gap: 12px; }
.ed-main > .ed-lead { flex: 1; }
.ed-mid > .ed-older { flex: 1; }
.ed-side > .station-strip { flex: 1; grid-auto-rows: 1fr; }
.ed-main, .ed-mid, .ed-side { align-self: stretch; }
.station-editorial { grid-template-areas: "h railh" "main side" "midh midh" "mid mid"; }
@media (min-width: 900px) { .station-band > .station-editorial { width: 100%; } }
@media (min-width: 1200px) {
  .station-editorial { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "h midh railh" "main mid side"; }
}
@media (max-width: 899px) {
  .station-editorial { grid-template-areas: "h" "main" "midh" "mid" "railh" "side"; }
  .station-editorial .ed-mid-h { text-align: center; justify-self: center; margin-top: 10px; }
  .ed-side > .station-strip { grid-auto-rows: auto; }
}
@media (max-width: 759px) { .station-editorial .ed-mid-h { font-size: 1.25rem; } }
/* round 4f (KGD: "same as others"): on the station our own card wears the same white card as the outside stories; only its picture and our sun mark tell it apart. */
.lb-news .story--ours { --story-tint: var(--bg-raise); }
/* round 4g (KGD 2026-10-29: "also want the products full row"): on a computer the shop runs the full width like the news
   and the NOAA panel, in the same panel (sun-to-sea bar, our sun before the heading). The shelf's own markup and main.css
   are untouched; only its box on this page changes. */
.station > .shelf {
  box-sizing: border-box; padding: 27px 20px 20px; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 6px;
  background: var(--btn-grad) top / 100% 9px no-repeat, var(--bg-raise); box-shadow: 0 1px 2px rgba(31, 36, 48, .06);
}
/* the shop's line wears the blue of its own buttons (KGD 2026-10-30: "make this one just as is below the blue") */
@media (min-width: 900px) { .station > .shelf { max-width: none; margin-left: 20px; margin-right: 20px; } }
@media (max-width: 899px) { .station > .shelf { margin-left: 12px; margin-right: 12px; padding: 20px 12px 16px; } }

/* THE SUN-TO-SEA BAR, ONE TOKEN (2026-10-29, owner: "different color here please on the fades. more vibrant"). Every panel's top
   bar on the station reads this one variable. Gold sun -> coral heat -> rose -> sea blue, with explicit middle stops and
   interpolation in oklch, so the middle is never the muddy olive that gold -> aqua made in sRGB. Light and dark each have
   their own stops; the first line is the plain-sRGB fallback for a browser without `in oklch`. KEEP THE TWO DARK BLOCKS IDENTICAL. */
:root {
  --fade-bar: linear-gradient(90deg, #f6ae1c 0%, #f26a38 34%, #e0457d 62%, #1f86d1 100%);
  --fade-bar: linear-gradient(90deg in oklch, #f6ae1c 0%, #f26a38 34%, #e0457d 62%, #1f86d1 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fade-bar: linear-gradient(90deg, #ffc23a 0%, #ff7a50 34%, #f0589a 62%, #3fa2ea 100%);
    --fade-bar: linear-gradient(90deg in oklch, #ffc23a 0%, #ff7a50 34%, #f0589a 62%, #3fa2ea 100%);
  }
}
:root[data-theme="dark"] {
  --fade-bar: linear-gradient(90deg, #ffc23a 0%, #ff7a50 34%, #f0589a 62%, #3fa2ea 100%);
  --fade-bar: linear-gradient(90deg in oklch, #ffc23a 0%, #ff7a50 34%, #f0589a 62%, #3fa2ea 100%);
}

/* ---- round 5 (owner 2026-10-29): the reading sections set like a news outlet's page — type and alignment only ----
   One head style for every section (news, NOAA update, earlier updates, figures, shop): clean bold, one hairline under
   it, NO mark per heading. The three NOAA heads share one size, one line and one top so the columns start together.
   A small uppercase kicker for every dateline. One spacing scale: 6 / 12 / 18. No heading word, title or text is changed. */
.station-band .livebar-h, .station-editorial .ed-h, .station-editorial .ed-mid-h, .station-editorial .ed-rail-h, .station > .shelf > h2 {
  font-size: 1.2rem; font-weight: 800; line-height: 1.25; letter-spacing: 0; text-transform: none; color: var(--ink);
  margin: 0; padding: 0 0 10px; border: 0; border-bottom: 1px solid var(--line); text-align: left; align-self: end;
}
.station-editorial .ed-h, .station-editorial .ed-mid-h, .station-editorial .ed-rail-h { white-space: nowrap; }
.station > .shelf > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; padding-bottom: 10px; }
.station-band .livebar-head { padding-bottom: 0; align-items: end; }
.station-band .livebar-head .livebar-h { border-bottom: 0; padding-bottom: 0; }
.station-band .livebar-head { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.station-editorial { row-gap: 12px; }
.station-editorial .ed-dateline, .ed-next-k, .station .shelf-tag { letter-spacing: .06em; }
.ed-lead .update-quote p { max-width: 64ch; line-height: 1.55; }
.ed-lead .update-quote { margin-left: 0; }
.ed-next-h { font-size: 1.05rem; }
.ed-tools ul { gap: 6px; }
.ed-tools li { display: block; }
.ed-tools a { color: var(--ink); font-weight: 400; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); text-underline-offset: 3px; }
.ed-tools a:hover, .ed-tools a:focus-visible { text-decoration-color: currentColor; }
@media (max-width: 899px) {
  .station-band .livebar-h, .station-editorial .ed-h, .station-editorial .ed-mid-h, .station-editorial .ed-rail-h, .station > .shelf > h2 { text-align: center; }
  .station-editorial .ed-h, .station-editorial .ed-mid-h, .station-editorial .ed-rail-h { white-space: normal; }
  /* round 5's align-items: end (above, every width) pushed the stacked news head to the right on phones (KGD 2026-10-30: "text missaligned on mobile") */
  .station-band .livebar-head { align-items: center; }
}
@media (max-width: 759px) {
  .station-band .livebar-h, .station-editorial .ed-h, .station-editorial .ed-mid-h, .station-editorial .ed-rail-h, .station > .shelf > h2 { font-size: 1.15rem; }
  /* the news rail on a phone (owner: "slightly smaller cards, so a bit more of the next card shows"): a narrower card and a lower picture */
  .station-band .lb-card.lb-news { flex: 0 0 66%; }
  .station-band .sc-art, .station-band .sc-art--photo { aspect-ratio: 2 / 1; }
  .station-band .lb-news .story.sc .sc-body { padding: 8px 10px 10px; gap: 4px; }
}

/* the station shop centred over its products (KGD 2026-10-30: "placemend for produc tabvs weird" · "center to products"):
   heading, lede, the commission line and the tabs share the cards' centre; other pages' shelves are untouched */
.station > .shelf > h2, .station > .shelf .shelf-lede, .station > .shelf .shelf-honest { text-align: center; margin-left: auto; margin-right: auto; }
.station > .shelf .shelf-bar { justify-content: center; }
