/*
 * Alfa Editorial: chrome.css
 * СЕДУМ ДЕНА site chrome: compact bar, utility row, masthead, the nine sections, the nine-colour
 * strip, dropdown panels, search sheet, full-screen menu, footer, the section bar and the section
 * masthead. Two header modes on desktop (inc/nav.php aed_header_mode()): 'full' and 'section' (one
 * sticky bar); below 1024px the header is the same on every page.
 * Mobile first; desktop chrome from 1024px. Colours come from the section tokens (base.css):
 * any element with data-sec="<key>" carries --sd-c / --sd-c-text / --sd-on.
 */

/* ------------------------------------------------------------------ Identity pieces */

.ed-logo { display: inline-flex; align-items: center; color: var(--ed-ink); }
.ed-logo img { width: auto; max-width: 100%; }
.ed-logo__text {
  font-family: var(--ed-head);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sd-logo { display: block; flex: none; max-width: 100%; height: auto; overflow: visible; }

/* A section's colour dot. */
.sd-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sd-c);
}

/* The nine-colour strip: the brand's signature. Nine equal segments in section order; on a
   section's pages its segment stands taller (it grows downward, the top edge stays straight). */
.sd-strip {
  display: flex;
  align-items: flex-start;
  height: 3px;
}
.sd-strip__seg {
  flex: 1 1 0;
  height: 3px;
  background: var(--sd-c);
  opacity: 0.85;
  transform: scaleY(0.667);
  transform-origin: 50% 0;
  transition: transform 300ms var(--ed-motion), opacity 300ms var(--ed-motion);
}
.sd-strip__seg.is-active,
.sd-strip__seg.is-hot { transform: none; opacity: 1; }
/* Under the header the strip is a little deeper: 2px segments, 4px for the section in view, and the
   section under the pointer in the navigation rises too. On a section's page its segment grows in
   once, just after load. */
.ed-header__strip .sd-strip { height: 4px; margin-bottom: -2px; }
.ed-header__strip .sd-strip__seg { height: 4px; transform: scaleY(0.5); }
.ed-header__strip .sd-strip__seg.is-active,
.ed-header__strip .sd-strip__seg.is-hot { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .ed-header__strip .sd-strip__seg.is-active { animation: sd-seg-rise 500ms var(--ed-motion) 250ms backwards; }
}
@keyframes sd-seg-rise {
  from { transform: scaleY(0.5); opacity: 0.85; }
}

/* Nine small dots in a row. */
.sd-dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.sd-dots__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sd-c); }
.sd-dots__dot.is-active { transform: scale(1.4); }

html:not(.js) [data-ed-open] { display: none; }
html.ed-locked { overflow: hidden; }

/* ------------------------------------------------------------------ Compact bar */
/* Phones/tablets: the one sticky top bar. Desktop: fixed, shown once the header has scrolled away. */

.ed-bar {
  position: sticky;
  top: var(--ed-top);
  z-index: 100;
  background: var(--ed-bg);
  border-bottom: 1px solid var(--ed-line);
}
/* On a section's pages the bar carries the section's band (a sideways fade of its wash) and a
   hairline in its colour; nothing else changes. */
body[class*="sd-sec-"] .ed-bar { background: var(--sd-c-wash, var(--ed-bg)); background: var(--sd-grad-band, var(--sd-c-wash, var(--ed-bg))); border-bottom-color: var(--sd-line, var(--ed-line)); }
/* Phones: it slides away while the reader scrolls down and comes back on the way up (core.js). */
@media (max-width: 1023px) {
  .ed-bar { transition: transform 300ms var(--ed-motion); }
  .ed-bar.is-tucked { transform: translate3d(0, calc(-100% - 1px), 0); }
}
.ed-bar__nav { display: none; }
/* Phones and tablets: once the header's own row has scrolled away, the bar brings the nine sections
   back with it on a scroll up (core.js .is-row): one scrolling line laid over the page under the bar,
   so nothing below moves; it goes with the bar on the way down. Hidden outright otherwise. */
@media (max-width: 1023px) {
  .ed-bar__nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: inherit;
    border-bottom: 1px solid var(--sd-line, var(--ed-line));
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, -6px, 0);
    transition: opacity 200ms var(--ed-motion), transform 240ms var(--ed-motion), visibility 0s linear 240ms;
  }
  .ed-bar.is-row .ed-bar__nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .ed-bar__navlist {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 2px;
    height: 40px;
    margin: 0;
    padding-block: 0;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    font-family: var(--ed-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
  }
  .ed-bar__navlist::-webkit-scrollbar { display: none; }
  .ed-bar__navlink { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 9px; color: var(--ed-ink-2); white-space: nowrap; }
  .ed-bar__navlist > li:first-child .ed-bar__navlink { padding-left: 0; }
  .ed-bar__navlink .sd-dot { width: 6px; height: 6px; }
  .ed-bar__navlink[aria-current] { color: var(--sd-c-text); }
  .ed-bar__navlink:focus-visible { outline-offset: -2px; }
  .ed-bar__navlist > .ed-indicator { bottom: 0; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .ed-bar__nav { transition: none; transform: none; }
}
.ed-bar__inner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-areas: "menu brand search";
  align-items: center;
  height: 56px;
}
.ed-bar__btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ed-ink);
  border-radius: var(--ed-radius);
  transition: background-color 0.15s var(--ed-ease);
}
@media (hover: hover) {
  .ed-bar__btn:hover { background: var(--ed-bg-2); }
}
.ed-bar__btn--menu { grid-area: menu; margin-left: -10px; }
.ed-bar__btn--search { grid-area: search; justify-self: end; margin-right: -10px; }
.ed-bar__btn--saved { display: none; }
.ed-bar__brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 44px;
}
.ed-bar__logo { flex: none; display: flex; align-items: center; min-height: 44px; padding-block: 6px; }
.ed-bar__logo .sd-logo { width: auto; height: 22px; }
.ed-bar__logo .ed-logo__text { font-size: 1.125rem; }
/* Pressed: the bar's buttons sink a pixel. */
.ed-bar__btn { transition: background-color 0.15s var(--ed-ease), transform 0.08s var(--ed-ease); }
.ed-bar__btn:active { transform: translateY(1px) scale(0.96); }

@media (min-width: 1024px) {
  /* Hidden outright (no pixels, not in the accessibility tree) until the header has scrolled away;
     it slides in, and goes at once when the masthead comes back. */
  .ed-bar {
    position: fixed;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, -100%, 0);
    transition: transform 200ms var(--ed-ease), opacity 160ms var(--ed-ease), visibility 0s linear 200ms;
  }
  .ed-bar.is-visible {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: transform 360ms var(--ed-motion), opacity 240ms var(--ed-motion), visibility 0s;
  }
  .ed-bar__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "tools brand end";
    height: 46px;
  }
  /* The condensed header: under the small nameplate, the nine sections in one quiet row. */
  .ed-bar__nav {
    display: block;
    border-top: 1px solid var(--ed-line);
  }
  body[class*="sd-sec-"] .ed-bar__nav { border-top-color: var(--sd-line, var(--ed-line)); }
  .ed-bar__navlist {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0 2px;
    height: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--ed-sans);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
  }
  .ed-bar__navlink {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    color: var(--ed-ink-2);
    white-space: nowrap;
    transition: color 160ms var(--ed-ease);
  }
  .ed-bar__navlink .sd-dot { width: 5px; height: 5px; }
  .ed-bar__navlink::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    background: var(--sd-c);
    transform: scaleX(0);
    transition: transform 260ms var(--ed-motion);
  }
  .ed-bar__navlink:hover { color: var(--ed-ink); }
  .ed-bar__navlink:hover::after,
  .ed-bar__navlink[aria-current]::after { transform: none; }
  /* The active section: its colour (never a heavier weight, so no item moves). */
  .ed-bar__navlink[aria-current] { color: var(--sd-c-text); }
  .ed-bar__navlist.has-indicator .ed-bar__navlink::after { display: none; }
  .ed-bar__navlist > .ed-indicator { bottom: 0; }
  .ed-bar__navlink:focus-visible { outline-offset: -2px; }
  /* The nameplate arrives a touch larger and settles as the bar lands. */
  .ed-bar__logo { transition: transform 360ms var(--ed-motion); }
  .ed-bar:not(.is-visible) .ed-bar__logo { transform: scale(1.08); }
  .ed-bar__btn { width: 40px; height: 40px; }
  .ed-bar__btn--menu { grid-area: tools; justify-self: start; margin-left: -10px; }
  .ed-bar__btn--search { grid-area: tools; justify-self: start; margin: 0 0 0 30px; }
  .ed-bar__btn--saved { display: inline-grid; grid-area: end; justify-self: end; margin-right: -10px; }
  .ed-bar__logo .sd-logo { height: 24px; }
}

/* ------------------------------------------------------------------ Header */

/* No z-index here: the search sheet and the panels must stack against the page, not inside the header. */
.ed-header { position: relative; background: var(--ed-bg); }
/* On a section's own pages the top of the page carries the section's wash: deepest at the very top,
   settling to the plain wash by the strip. The header always ends in the plain wash, so the view's
   own top band (a front's masthead, a story's head) continues it below the strip and fades it to
   white; where nothing continues it, the strip is the edge. The rules stay as they are. */
/* (2026-11-26) The header is the very top of --sd-grad-top: it settles into wash-2 by the strip, with
   a soft glow of the section colour in the top left and of its second hue in the top right; a view's
   first band (var(--sd-grad-top)) continues from wash-2 and fades to white. Same on every width. */
body[class*="sd-sec-"] .ed-header { background: linear-gradient(180deg, var(--sd-c-wash, var(--ed-bg)) 0%, var(--sd-c-wash-2, var(--ed-bg)) 100%); }
@supports (color: color-mix(in oklch, red 50%, blue)) {
  body[class*="sd-sec-"] .ed-header {
    background:
      radial-gradient(42% 150% at 0% 0%, color-mix(in oklch, var(--sd-c) 7%, transparent) 0%, transparent 72%),
      radial-gradient(48% 160% at 100% 0%, color-mix(in oklch, var(--sd-c-2) 9%, transparent) 0%, transparent 72%),
      linear-gradient(180deg, color-mix(in oklch, var(--sd-c-wash) 60%, var(--sd-c-wash-2)) 0%, var(--sd-c-wash-2) 100%);
  }
}
@media (min-width: 1024px) {
  /* The masthead nameplate condenses as the page scrolls: from a scroll() timeline where the
     browser has one, else core.js sets its transform (never both). */
  .ed-masthead__brand { transform-origin: 50% 0; will-change: transform; }
}
@supports (animation-timeline: scroll()) {
  @media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .ed-masthead__brand {
      animation: ed-condense linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 160px;
    }
  }
}
@keyframes ed-condense {
  to { transform: translate3d(0, 6px, 0) scale(0.9); opacity: 0.55; }
}

/* Utility row (desktop) */
.ed-utility { display: none; }
@media (min-width: 1024px) {
  .ed-utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
  }
}
.ed-utility__group { display: flex; align-items: center; gap: 2px; }
.ed-utility__group:first-child { margin-left: -8px; }
.ed-utility__group--end { gap: 8px; }
.ed-utility__btn,
.ed-utility__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--ed-radius);
  font-family: var(--ed-sans);
  font-size: var(--ed-fs-label);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-ink);
  transition: background-color 0.15s var(--ed-ease), transform 0.08s var(--ed-ease);
}
.ed-utility__btn:hover,
.ed-utility__link:hover,
.ed-utility__btn[aria-expanded="true"] { background: var(--ed-bg-2); background: color-mix(in srgb, var(--sd-c, var(--ed-ink)) 7%, transparent); }
.ed-utility__btn:active,
.ed-utility__link:active { transform: translateY(1px); }
.ed-utility__action { gap: 6px; min-width: 76px; padding-inline: 12px; font-weight: 700; letter-spacing: 0.05em; }

/* Masthead: date and tagline, the brand (with the section's logo beside it on a section's pages),
   the weather. Desktop only: phones carry the brand in the compact bar and the date in the menu. */
.ed-masthead { display: none; }
@media (min-width: 1024px) {
  .ed-masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--ed-s6);
    height: 52px;
    padding: 0 0 8px;
    font-family: var(--ed-sans);
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--ed-ink-3);
  }
  /* Every line of the masthead is one fixed line (no wrap, ellipsis): a late font, a longer date
     or the weather arriving can never change its height. */
  .ed-masthead__date { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  .ed-masthead__date > span,
  .ed-masthead__weather > span { display: block; max-width: 100%; height: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .ed-masthead__today { font-weight: 700; color: var(--ed-ink); }
  .ed-masthead__tagline { color: var(--ed-ink-3); }
  .ed-masthead__brand { display: flex; align-items: center; justify-self: center; }
  /* One masthead everywhere: the nameplate is 44px high on every page (only its colour changes). */
  .ed-masthead__logo { height: 44px; }
  .ed-masthead__logo .sd-logo { width: auto; height: 44px; transition: opacity 0.18s var(--ed-ease); }
  .ed-masthead__logo .ed-logo__text { font-size: 1.75rem; }
  .ed-masthead__logo:hover .sd-logo { opacity: 0.86; }
  .ed-masthead__weather { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; min-width: 0; justify-self: end; text-align: right; white-space: nowrap; }
  .ed-masthead__temp { font-weight: 700; color: var(--ed-ink); }
  .ed-masthead__edition { color: var(--ed-ink-3); }
}
/* The thin double rule under the masthead (desktop). */
.ed-header__double { display: none; }
@media (min-width: 1024px) {
  .ed-header__double { display: block; border-top: 3px double var(--ed-ink); }
}

/* The nine sections. Phones: one scrolling row of colour dots and names (no visible scrollbar,
   a fade at the edge while there is more). Desktop: one centred row with dropdown panels. */
.ed-nav {
  position: relative;
  margin-inline: calc(-1 * var(--ed-gutter));
}
.ed-nav__list {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-inline: calc(var(--ed-gutter) - 10px);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}
.ed-nav__list::-webkit-scrollbar { display: none; }
.ed-nav.is-end .ed-nav__list { -webkit-mask-image: none; mask-image: none; }
.ed-nav__item { display: flex; align-items: center; flex: none; }
.ed-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 10px;
  font-family: var(--ed-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--ed-ink);
  position: relative;
}
/* The underline in the section's colour draws out from the centre. */
.ed-nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 2px;
  background: var(--sd-c);
  transform: scaleX(0);
  transition: transform 260ms var(--ed-motion);
}
.ed-nav__link:hover::after,
.ed-nav__link[aria-current]::after { transform: none; }
/* The phone list scrolls (and so clips): the focus ring is drawn inside the link box. */
.ed-nav__link:focus-visible { outline-offset: -2px; }
/* The active section: its colour and the bar under it, never a heavier weight (nothing moves). */
.ed-nav__link[aria-current] { color: var(--sd-c-text); }
.ed-nav__link { transition: color 0.18s var(--ed-ease); }
/* With the sliding indicator (core.js, [data-indicator]) the per-item underline steps aside. */
.ed-nav__list.has-indicator .ed-nav__link::after { display: none; }
.ed-nav__list > .ed-indicator { bottom: 7px; }
.ed-nav__toggle { display: none; }

@media (min-width: 1024px) {
  .ed-nav { margin-inline: 0; }
  /* One line, always 40px: a late web font can never wrap it into two rows (no layout shift). */
  .ed-nav__list {
    justify-content: center;
    flex-wrap: nowrap;
    height: 40px;
    overflow: visible;
    padding-inline: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ed-nav__link { height: 40px; padding: 0 10px; font-size: 0.875rem; gap: 6px; }
  .ed-nav__link::after { bottom: 4px; }
  .ed-nav__list > .ed-indicator { bottom: 4px; }
  .ed-nav__link:hover { color: var(--sd-c-text); }
  .ed-nav__link .sd-dot { width: 5px; height: 5px; opacity: 0.9; }
  /* The chevron is a 24 x 32 pointer target; the link gives up the same width, so no item moves. */
  .ed-nav__item.has-panel .ed-nav__link { padding-right: 1px; }
  .ed-nav__item.has-panel .ed-nav__link::after { right: 1px; }
  .ed-nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 32px;
    margin-right: 0;
    border-radius: var(--ed-radius);
    color: var(--ed-ink-4);
    transition: color 0.15s var(--ed-ease), background-color 0.15s var(--ed-ease);
  }
  .ed-nav__toggle .ed-icon { transition: transform 0.15s var(--ed-ease); }
  .ed-nav__toggle:hover { color: var(--ed-ink); background: var(--ed-bg-2); }
  .ed-nav__toggle[aria-expanded="true"] { color: var(--ed-ink); }
  .ed-nav__toggle[aria-expanded="true"] .ed-icon { transform: rotate(180deg); }
  .ed-nav__item.is-open .ed-nav__link::after { transform: none; }
}
@media (min-width: 1150px) {
  .ed-nav__link { padding: 0 12px; }
  .ed-nav__link::after { left: 12px; right: 12px; }
  .ed-nav__item.has-panel .ed-nav__link::after { right: 1px; }
}
/* Touch screens at desktop width have no hover: the chevron is the only way into a dropdown, so its
   target is a full 40 x 40 (the visible chevron stays small). */
@media (min-width: 1024px) and (hover: none) {
  .ed-nav__toggle { position: relative; justify-items: start; width: 32px; height: 40px; margin-right: 0; padding-left: 4px; }
  .ed-nav__toggle::after { content: ""; position: absolute; inset: 0 -8px 0 0; }
}

/* The strip closes the header: full width on phones, the page column on desktop. */
.ed-header__strip { padding-inline: 0; }
@media (min-width: 1024px) {
  .ed-header__strip { padding-inline: var(--ed-gutter); }
}
.ed-header__rule { border-top: 3px double var(--ed-ink); }

/* Dropdown panels (desktop only) */
.ed-panels { display: none; }
@media (min-width: 1024px) {
  .ed-panels { display: block; position: relative; height: 0; }
}
.ed-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--ed-bg);
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 220ms var(--ed-motion), transform 260ms var(--ed-motion);
}
.ed-panel.is-open { opacity: 1; transform: none; }
/* The three latest stories follow the panel in, one after another. */
.ed-panel__stories .ed-cols > * { transition: opacity 300ms var(--ed-motion), transform 300ms var(--ed-motion); }
.ed-panel:not(.is-open) .ed-panel__stories .ed-cols > * { opacity: 0; transform: translate3d(0, 6px, 0); }
.ed-panel.is-open .ed-panel__stories .ed-cols > :nth-child(2) { transition-delay: 50ms; }
.ed-panel.is-open .ed-panel__stories .ed-cols > :nth-child(3) { transition-delay: 100ms; }
.ed-panel__inner {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  padding-block: var(--ed-s6) var(--ed-s8);
}
.ed-panel__inner--links { grid-template-columns: minmax(0, 1fr); }
/* The closing rule spans the page column, like every other rule in the chrome. */
.ed-panel__inner::after {
  content: "";
  position: absolute;
  left: var(--ed-gutter);
  right: var(--ed-gutter);
  bottom: 0;
  border-top: 1px solid var(--ed-ink);
}
.ed-panel__links { padding-right: var(--ed-col-pad); border-right: 1px solid var(--ed-line-2); }
.ed-panel__inner--links .ed-panel__links { border-right: 0; }
.ed-panel__title { margin-bottom: var(--ed-s2); font-family: var(--ed-head); font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
.ed-panel__title a { display: inline-flex; padding-block: 4px; color: var(--sd-c-text); }
.ed-panel__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ed-panel__line {
  max-width: 34ch;
  margin-bottom: var(--ed-s3);
  font-family: var(--ed-sans);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ed-ink-3);
}
.ed-panel__list {
  font-family: var(--ed-sans);
  font-size: var(--ed-fs-ui);
  font-weight: 500;
  line-height: 1.3;
}
.ed-panel__inner--links .ed-panel__list { display: flex; flex-wrap: wrap; gap: 0 var(--ed-s6); }
.ed-panel__list a { display: block; padding: 6px 0; color: var(--ed-ink-2); }
.ed-panel__list a:hover,
.ed-panel__list a[aria-current] { color: var(--ed-ink); text-decoration: underline; text-decoration-color: var(--sd-c); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ed-panel__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--ed-s3);
  font-family: var(--ed-sans);
  font-size: var(--ed-fs-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sd-c-text);
}
.ed-panel__all:hover { text-decoration: underline; text-underline-offset: 3px; }
.ed-panel__stories { padding-left: var(--ed-col-pad); }
.ed-panel__latest { margin-bottom: var(--ed-s3); }

/* ------------------------------------------------------------------ Search panel */

.ed-search {
  position: fixed;
  inset: var(--ed-top) 0 0 0;
  z-index: 200;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ed-bg);
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition: opacity 220ms var(--ed-motion), transform 260ms var(--ed-motion);
}
.ed-search.is-open { opacity: 1; transform: none; }
.ed-search__chiplist > li { transition: opacity 260ms var(--ed-motion), transform 260ms var(--ed-motion); }
.ed-search:not(.is-open) .ed-search__chiplist > li { opacity: 0; transform: translate3d(0, 4px, 0); }
.ed-search__chiplist > li:nth-child(2) { transition-delay: 30ms; }
.ed-search__chiplist > li:nth-child(3) { transition-delay: 60ms; }
.ed-search__chiplist > li:nth-child(4) { transition-delay: 90ms; }
.ed-search__chiplist > li:nth-child(5) { transition-delay: 120ms; }
.ed-search__chiplist > li:nth-child(6) { transition-delay: 150ms; }
.ed-search__chiplist > li:nth-child(n + 7) { transition-delay: 180ms; }
.ed-search__inner { padding-block: var(--ed-s3) var(--ed-s10); }
.ed-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: var(--ed-s5);
}
.ed-search__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: var(--ed-radius);
  color: var(--ed-ink);
}
@media (hover: hover) {
  .ed-search__close:hover { background: var(--ed-bg-2); }
}
.ed-search__form { display: flex; align-items: flex-end; gap: var(--ed-s3); }
.ed-search__input {
  flex: 1;
  min-width: 0;
  padding: 4px 0 8px;
  border: 0;
  border-bottom: 2px solid var(--ed-ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--ed-head);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ed-ink);
  -webkit-appearance: none;
  appearance: none;
}
.ed-search__input::placeholder { color: var(--ed-ink-4); opacity: 1; }
.ed-search__input { transition: border-color 0.18s var(--ed-ease), box-shadow 0.18s var(--ed-ease); }
/* A clear focus: the rule turns the section's colour and thickens to 3px (no layout change). */
.ed-search__input:focus { outline: 0; border-bottom-color: var(--sd-focus, var(--ed-accent)); box-shadow: 0 1px 0 0 var(--sd-focus, var(--ed-accent)); }
.ed-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.ed-search__submit { min-height: 44px; }
.ed-search__chips { margin-top: var(--ed-s8); }
.ed-search__hint {
  margin-bottom: var(--ed-s3);
  font-family: var(--ed-sans);
  font-size: 0.75rem;
  color: var(--ed-ink-4);
}
.ed-search__chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--ed-s5);
  font-family: var(--ed-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
}
.ed-search__section {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  color: var(--ed-ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.15s var(--ed-ease);
}
.ed-search__section:hover { text-decoration-color: var(--sd-c); }

@media (min-width: 1024px) {
  /* The sheet takes the place of the masthead and the navigation, exactly: opening it moves
     nothing and cuts nothing on the page. Its content sits on the page grid, flush left. */
  .ed-header__main { position: relative; }
  .ed-search {
    position: absolute;
    inset: 0;
    z-index: 85;
    overflow: visible;
    scroll-margin-top: calc(var(--ed-top) + 44px); /* opened from /#ed-search: keep the utility row in view */
  }
  .ed-search__inner {
    display: grid;
    grid-template-columns: minmax(0, 820px) minmax(0, 1fr) auto;
    align-content: center;
    row-gap: 6px;
    height: 100%;
    padding-block: var(--ed-s2);
  }
  .ed-search__head { display: contents; }
  .ed-search__head .ed-label { display: none; }
  .ed-search__close { grid-column: 3; grid-row: 1; align-self: center; }
  .ed-search__form { grid-column: 1; grid-row: 1; }
  .ed-search__input { padding: 2px 0 6px; font-size: 1.75rem; }
  .ed-search__chips { grid-column: 1 / -1; grid-row: 2; margin-top: 0; display: flex; align-items: center; gap: var(--ed-s4); }
  .ed-search__hint { margin: 0; white-space: nowrap; }

  /* Opened from the compact bar after the header has scrolled away: a sheet under the bar over a
     scrim like the menu's (a click on the scrim closes it). */
  .ed-search.is-floating {
    position: fixed;
    inset: var(--ed-top) 0 auto 0;
    border-bottom: 1px solid var(--ed-ink);
  }
  .ed-bar.is-visible ~ .ed-header .ed-search.is-floating { top: calc(var(--ed-top) + 78px); }
  .ed-search.is-floating::after {
    content: "";
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(18, 18, 18, 0.45);
  }
  /* Over the masthead too: the page under the header recedes behind a lighter scrim (a click on it
     closes the search, core.js), so the results read as a panel, not as part of the page. */
  .ed-search:not(.is-floating)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(18, 18, 18, 0.28);
    /* Full width without a wider box (no horizontal scroll): a spread shadow, cut at the top edge. */
    box-shadow: 0 0 0 100vmax rgba(18, 18, 18, 0.28);
    clip-path: inset(0 -100vmax -100vmax -100vmax);
  }
  .ed-search.is-floating .ed-search__inner { height: auto; padding-block: var(--ed-s4) var(--ed-s5); }
  .ed-search.is-floating { background: var(--sd-c-wash, var(--ed-bg)); }

  /* Over the masthead the sheet is see-through on the header's wash: the masthead and the
     navigation fade out beneath it instead of being covered by a white box. */
  .ed-header__main > .ed-masthead,
  .ed-header__main > .ed-nav,
  .ed-header__main > .ed-header__double { transition: opacity 200ms var(--ed-motion); }
  @supports selector(:has(*)) {
    .ed-search:not(.is-floating) { background: transparent; }
    .ed-header__main:has(> .ed-search.is-open:not(.is-floating)) > .ed-masthead,
    .ed-header__main:has(> .ed-search.is-open:not(.is-floating)) > .ed-header__double,
    .ed-header__main:has(> .ed-search.is-open:not(.is-floating)) > .ed-nav { opacity: 0; visibility: hidden; transition: opacity 200ms var(--ed-motion), visibility 0s linear 200ms; }
  }
}

/* ------------------------------------------------------------------ Full-screen menu */

.ed-drawer { position: fixed; inset: var(--ed-top) 0 0 0; z-index: 300; }
.ed-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: var(--ed-bg);
  opacity: 0;
  transition: opacity 220ms var(--ed-motion);
}
.ed-drawer.is-open .ed-drawer__backdrop { opacity: 1; }
.ed-drawer__panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ed-bg);
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity 240ms var(--ed-motion), transform 300ms var(--ed-motion);
}
.ed-drawer__panel:focus { outline: 0; }
.ed-drawer.is-open .ed-drawer__panel { opacity: 1; transform: none; }
/* The sections follow the panel in, a step apart (at most six steps). */
.ed-drawer__item { transition: opacity 320ms var(--ed-motion), transform 320ms var(--ed-motion); }
.ed-drawer:not(.is-open) .ed-drawer__item { opacity: 0; transform: translate3d(0, 8px, 0); }
.ed-drawer.is-open .ed-drawer__item:nth-child(2) { transition-delay: 40ms; }
.ed-drawer.is-open .ed-drawer__item:nth-child(3) { transition-delay: 80ms; }
.ed-drawer.is-open .ed-drawer__item:nth-child(4) { transition-delay: 120ms; }
.ed-drawer.is-open .ed-drawer__item:nth-child(5) { transition-delay: 160ms; }
.ed-drawer.is-open .ed-drawer__item:nth-child(6) { transition-delay: 200ms; }
.ed-drawer.is-open .ed-drawer__item:nth-child(n + 7) { transition-delay: 240ms; }
.ed-drawer__item:focus-within { opacity: 1; transform: none; }
.ed-drawer__strip { position: sticky; top: 0; z-index: 1; background: var(--ed-bg); }
.ed-drawer__wrap { padding-bottom: var(--ed-s12); }

.ed-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.ed-drawer__logo .sd-logo { width: auto; height: 22px; }
.ed-drawer__logo .ed-logo__text { font-size: 1.25rem; }
.ed-drawer__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: var(--ed-radius);
  color: var(--ed-ink);
}
@media (hover: hover) {
  .ed-drawer__close:hover { background: var(--ed-bg-2); }
}

.ed-drawer__search { position: relative; margin-block: var(--ed-s2) var(--ed-s6); }
.ed-drawer__input { min-height: 48px; padding-right: 48px; font-size: 1rem; }
.ed-drawer__go {
  position: absolute;
  top: 2px;
  right: 2px;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ed-ink);
}

/* Each section opens with a 3px rule in its colour, then its logo and its sub-sections. */
.ed-drawer__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ed-s5) var(--ed-s8);
}
@media (min-width: 740px) {
  .ed-drawer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ed-drawer__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--ed-s8); }
}
.ed-drawer__item { padding-top: var(--ed-s2); border-top: 2px solid var(--sd-c); }
.ed-drawer__row { display: flex; align-items: center; justify-content: space-between; gap: var(--ed-s2); }
.ed-drawer__link { display: flex; flex: 1; align-items: center; gap: 9px; min-width: 0; min-height: 44px; font-family: var(--ed-head); font-size: 1.25rem; font-weight: 700; line-height: 1.15; color: var(--sd-c-text, var(--ed-ink)); }
.ed-drawer__link .sd-dot { width: 7px; height: 7px; flex: none; }
.ed-drawer__link:hover { color: var(--ed-ink); }
.ed-drawer__link[aria-current] { text-decoration: underline; text-decoration-color: var(--sd-c); text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* The current section stands out at a glance: its tint behind the whole row. */
.ed-drawer__item.is-current { background: var(--sd-c-tint, var(--ed-bg-2)); box-shadow: inset 0 2px 0 var(--sd-c); }
.ed-drawer__toggle {
  display: none;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: var(--ed-radius);
  color: var(--ed-ink-3);
}
.ed-drawer__toggle .ed-icon { transition: transform 200ms var(--ed-motion); }
.ed-drawer__toggle[aria-expanded="true"] { color: var(--ed-ink); }
.ed-drawer__toggle[aria-expanded="true"] .ed-icon { transform: rotate(180deg); }
@media (hover: hover) {
  .ed-drawer__toggle:hover { background: var(--ed-bg-2); color: var(--ed-ink); }
}
.ed-drawer__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--ed-s5);
  font-family: var(--ed-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}
/* From 740px there is room for every list: the chevrons step aside and nothing is collapsed. */
@media (max-width: 739px) {
  .ed-drawer__sub.is-shut { display: none; }
}
@media (min-width: 740px) {
  .ed-drawer__item.is-current { margin-inline: -12px; padding-inline: 12px; padding-bottom: var(--ed-s2); }
}
/* Phones: the nine sections fit one screen, one 44px row each between hairlines. */
@media (max-width: 739px) {
  .ed-drawer__list { gap: 0; }
  .ed-drawer__item { padding: 0 12px; margin-inline: -12px; border-top: 1px solid var(--ed-line); }
  .ed-drawer__item:last-child { border-bottom: 1px solid var(--ed-line); }
  .ed-drawer__item.is-current { border-top-color: transparent; }
  .ed-drawer__link { font-size: 1.125rem; }
  .ed-drawer__toggle { display: inline-grid; margin-right: -12px; }
  .ed-drawer__sub { padding: 0 0 var(--ed-s2) 16px; }
}
/* The reader's saved stories, one tap from the top of the menu. */
.ed-drawer__quick { margin: calc(-1 * var(--ed-s3)) 0 var(--ed-s4); font-family: var(--ed-sans); font-size: var(--ed-fs-ui); font-weight: 600; }
.ed-drawer__saved { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ed-ink); }
.ed-drawer__saved:hover { text-decoration: underline; text-underline-offset: 3px; }
.ed-drawer__sub a { display: flex; align-items: center; min-height: 40px; color: var(--ed-ink-2); }
@media (max-width: 739px) {
  .ed-drawer__sub a { min-height: 44px; }
}
.ed-drawer__sub a:hover,
.ed-drawer__sub a[aria-current] { color: var(--ed-ink); text-decoration: underline; text-decoration-color: var(--sd-c); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.ed-drawer__foot {
  margin-top: var(--ed-s10);
  padding-top: var(--ed-s4);
  border-top: 1px solid var(--ed-ink);
}
.ed-drawer__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--ed-s6);
  font-family: var(--ed-sans);
  font-size: var(--ed-fs-ui);
  font-weight: 600;
}
.ed-drawer__more a { display: flex; align-items: center; min-height: 40px; color: var(--ed-ink); }
.ed-drawer__more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ed-drawer__tagline {
  margin-top: var(--ed-s3);
  font-family: var(--ed-sans);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ed-ink-4);
}

/* ------------------------------------------------------------------ Footer */
/* A compact broadsheet site index: black rule, nameplate, small sans columns between hairlines,
   the thin strip and a centred last row. */

/* The footer is a quiet full-bleed band in the wash of the page's section (a neutral paper
   elsewhere); the black rule opens it a little below its top edge. */
.ed-footer {
  margin-top: var(--ed-s6);
  padding: var(--ed-s6) 0 var(--ed-s6);
  background: var(--sd-c-wash, var(--ed-bg));
  background: var(--sd-grad-band, var(--sd-c-wash, var(--ed-bg)));
  font-family: var(--ed-sans);
}
.ed-footer__links a,
.ed-footer__title > a,
.ed-footer__copy a,
.ed-footer__totop { transition: color 160ms var(--ed-ease); }
.ed-footer__totop .ed-icon { transition: transform 260ms var(--ed-motion); }
.ed-footer__totop:hover .ed-icon { transform: translate3d(0, -3px, 0); }
.ed-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ed-s3);
  padding-top: var(--ed-s5);
  border-top: 1px solid var(--ed-ink);
}
.ed-footer__brand { min-width: 0; }
.ed-footer__logo { max-width: 100%; }
.ed-footer__logo .sd-logo { width: auto; height: 24px; }
.ed-footer__logo .ed-logo__text { font-size: 1.75rem; }
.ed-footer__tagline { margin-top: 6px; font-size: 0.75rem; line-height: 1.4; color: var(--ed-ink-3); }
.ed-footer__totop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 40px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-ink-3);
}
.ed-footer__totop:hover { color: var(--ed-ink); }
/* Touch: a labelled 44px control (never a bare arrow); the label shortens on the narrowest phones. */
@media (max-width: 1023px) {
  .ed-footer__totop { min-height: 44px; padding-inline: 10px; margin-right: -10px; }
}
@media (max-width: 359px) {
  .ed-footer__totop { font-size: 0; gap: 0; width: 44px; justify-content: center; }
}

.ed-footer__nav { margin-top: var(--ed-s5); padding-top: var(--ed-s2); border-top: 1px solid var(--sd-line, var(--ed-line)); }
/* Phones: each section is a title over a wrapping row of its sub-sections (40px targets). */
.ed-footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.ed-footer__col { min-width: 0; }
.ed-footer__col + .ed-footer__col { border-top: 1px solid var(--ed-line); }
.ed-footer__title {
  font-family: var(--ed-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-ink);
}
.ed-footer__title > a,
.ed-footer__title > span { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: var(--ed-ink); }
.ed-footer__title a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--sd-c); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ed-footer__title .sd-dot { width: 6px; height: 6px; }
.ed-footer__links { display: flex; flex-wrap: wrap; column-gap: var(--ed-s5); padding-bottom: var(--ed-s2); font-size: 0.8125rem; line-height: 1.3; }
.ed-footer__links a { display: flex; align-items: center; min-height: 40px; color: var(--ed-ink-2); }
.ed-footer__links a:hover { color: var(--ed-ink); text-decoration: underline; text-underline-offset: 3px; }
/* Phones: the index is the nine section names in two columns of 44px rows (each section page has its
   own sub-sections at the top), then the site's own pages in one wrapping row. */
@media (max-width: 739px) {
  .ed-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ed-s4); }
  .ed-footer__col + .ed-footer__col { border-top: 0; }
  .ed-footer__col { border-bottom: 1px solid var(--sd-line, var(--ed-line)); }
  .ed-footer__col:not(.ed-footer__col--site) .ed-footer__links { display: none; }
  .ed-footer__title > a,
  .ed-footer__title > span { min-height: 44px; }
  .ed-footer__title > a { display: flex; }
  .ed-footer__col--site { grid-column: 1 / -1; border-bottom: 0; padding-top: var(--ed-s2); }
  .ed-footer__col--site .ed-footer__title > span { min-height: 32px; color: var(--ed-ink-3); }
  .ed-footer__col--site .ed-footer__links a { min-height: 44px; }
}
@media (min-width: 740px) {
  .ed-footer__nav { padding-top: var(--ed-s5); }
  .ed-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ed-s6) var(--ed-s5); }
  .ed-footer__col + .ed-footer__col { border-top: 0; }
  .ed-footer__links { display: block; padding-bottom: 0; }
  .ed-footer__title > a,
  .ed-footer__title > span { min-height: 0; margin-bottom: var(--ed-s2); }
}
@media (min-width: 1024px) {
  .ed-footer__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--ed-s6); row-gap: var(--ed-s6); }
  /* Hairlines between the columns, the way a printed index is ruled. */
  .ed-footer__col { padding-left: var(--ed-s4); border-left: 1px solid var(--ed-line); }
  .ed-footer__col:nth-child(5n + 1) { padding-left: 0; border-left: 0; }
  /* A compact index: tight leading where a mouse does the pointing. */
  .ed-footer__links { font-size: 0.78125rem; }
  .ed-footer__links a { display: block; min-height: 0; padding: 3px 0; }
}

.ed-footer__strip { margin-top: var(--ed-s8); }

/* Last row: the copyright, small, grey, centred. */
.ed-footer__bottom {
  padding-top: var(--ed-s3);
  font-size: 0.6875rem;
  line-height: 1.45;
  text-align: center;
  color: var(--ed-ink-4);
}
.ed-footer__copy a { color: var(--ed-ink-4); text-decoration: underline; text-underline-offset: 2px; }
.ed-footer__copy a:hover { color: var(--ed-ink); }
@media (max-width: 1023px) {
  /* Touch: the credit link is a 40px target inside its line. */
  .ed-footer__bottom { padding-top: var(--ed-s2); }
  .ed-footer__copy a { display: inline-block; padding-block: 12px; }
}

/* ------------------------------------------------------------------ Section header (desktop) */
/* Header mode 'section' (owner, 2026-11-26; body.ed-hmode-section, header.ed-header--section): from
   1024px one sticky 64px bar is the whole header: menu and search icons and the section's name at the
   left, the nameplate 30px high in the exact centre, the two utilities as compact buttons at the
   right; the nine-colour strip under it. No compact bar slides in. Below 1024px nothing changes. */

.ed-sbar { display: none; }
@media (min-width: 1024px) {
  body.ed-hmode-section { --ed-sticky-top: calc(var(--ed-top) + 68px); }
  body.ed-hmode-section .ed-bar { display: none; }
  .ed-header--section { position: sticky; top: var(--ed-top); z-index: 100; }
  .ed-header--section .ed-nav { display: none; }
  .ed-sbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: var(--ed-s6);
    height: 64px;
  }
  .ed-sbar__start { display: flex; align-items: center; min-width: 0; margin-left: -10px; }
  .ed-sbar__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: var(--ed-radius);
    color: var(--ed-ink);
    transition: background-color 0.15s var(--ed-ease), transform 0.08s var(--ed-ease);
  }
  .ed-sbar__icon:hover,
  .ed-sbar__icon[aria-expanded="true"] { background: var(--ed-bg-2); background: color-mix(in srgb, var(--sd-c, var(--ed-ink)) 9%, transparent); }
  .ed-sbar__icon:active { transform: translateY(1px) scale(0.96); }
  .ed-sbar__label {
    display: block;
    min-width: 0;
    margin-left: 10px;
    padding-block: 12px;
    overflow: hidden;
    font-family: var(--ed-sans);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--sd-c-text);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: text-decoration-color 0.18s var(--ed-ease);
  }
  .ed-sbar__label:hover { text-decoration-color: var(--sd-c); }
  .ed-sbar__brand { display: flex; align-items: center; justify-content: center; }
  .ed-sbar__logo { display: flex; align-items: center; height: 40px; }
  .ed-sbar__logo .sd-logo { width: auto; height: 30px; transition: opacity 0.18s var(--ed-ease); }
  .ed-sbar__logo:hover .sd-logo { opacity: 0.86; }
  .ed-sbar__logo .ed-logo__text { font-size: 1.25rem; color: var(--sd-c-text); }
  .ed-sbar__end { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
  .ed-sbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--sd-c-text);
    border-radius: var(--ed-radius);
    font-family: var(--ed-sans);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--sd-c-text);
    background: transparent;
    transition: background-color 0.15s var(--ed-ease), color 0.15s var(--ed-ease), transform 0.08s var(--ed-ease);
  }
  .ed-sbar__btn:hover { background: var(--ed-bg); }
  .ed-sbar__btn--fill { border-color: var(--sd-c); background: var(--sd-c); color: var(--sd-on); }
  .ed-sbar__btn--fill:hover { background: var(--sd-c-text); border-color: var(--sd-c-text); color: var(--sd-on); }
  .ed-sbar__btn:active { transform: translateY(1px); }
  /* The search sheet always floats under the bar (there is no masthead for it to cover). */
  .ed-header--section .ed-search.is-floating { top: var(--ed-sticky-top); }
}

/* ------------------------------------------------------------------ Section masthead */
/* aed_section_masthead_html() (inc/nav.php), the same on all nine sections: the name very large in
   the display face and, on its baseline, the sub-sections in a light sans between thin rules; a 2px
   rule in the section colour, the one-line strip, a hairline. Phones: the name on its own line, the
   sub-sections one scrolling line under it. */

.ed-smast {
  position: relative;
  background: var(--sd-c-wash, var(--ed-bg));
  background: var(--sd-grad-top, var(--sd-c-wash, var(--ed-bg)));
}
.ed-smast--dark { background: transparent; }
.ed-smast__inner { padding-top: var(--ed-s6); }
.ed-smast__title {
  margin: 0;
  font-size: 2.125rem;
  line-height: 1.05;
  color: var(--sd-c-text);
}
.ed-smast__name { color: inherit; }
a.ed-smast__name { transition: color 0.18s var(--ed-ease); }
a.ed-smast__name:hover { color: var(--ed-ink); }
.ed-smast__nav { margin: var(--ed-s2) calc(-1 * var(--ed-gutter)) 0; }
.ed-smast__subs {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0 var(--ed-gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  list-style: none;
}
.ed-smast__subs::-webkit-scrollbar { display: none; }
.ed-smast__subs.is-more {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}
/* Once scrolled, the left edge fades too (core.js .is-back), on its own or with the right one. */
.ed-smast__subs.is-back {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px);
  mask-image: linear-gradient(to right, transparent, #000 40px);
}
.ed-smast__subs.is-back.is-more {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.ed-smast__item { position: relative; flex: none; padding: 0 14px; }
.ed-smast__item:first-child { padding-left: 0; }
.ed-smast__item + .ed-smast__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 1px;
  background: var(--sd-line, var(--ed-line));
}
.ed-smast__subh { margin: 0; font: inherit; color: inherit; }
.ed-smast__sub {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--ed-sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.15;
  white-space: nowrap;
  color: var(--ed-ink-2);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  transition: color 0.18s var(--ed-ease), text-decoration-color 0.18s var(--ed-ease);
}
.ed-smast__sub:hover { color: var(--sd-c-text); }
.ed-smast__sub[aria-current] { font-weight: 500; color: var(--ed-ink); text-decoration-color: var(--sd-c); }
.ed-smast__sub:focus-visible { outline-offset: -2px; }
.ed-smast__page {
  margin-top: var(--ed-s2);
  font-family: var(--ed-sans);
  font-size: var(--ed-fs-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-ink-3);
}
.ed-smast__rule { margin-top: var(--ed-s4); border-top: 2px solid var(--sd-c); }
@media (min-width: 740px) {
  .ed-smast__inner { padding-top: clamp(40px, 4.5vw, 64px); }
  .ed-smast__row { display: flex; align-items: baseline; }
  .ed-smast__title { flex: none; max-width: 100%; padding-right: 20px; font-size: clamp(2.125rem, 1rem + 2.2vw, 3.25rem); }
  .ed-smast__nav { flex: 1 1 0; min-width: 0; margin: 0; }
  /* One line always (owner, 2026-11-26): when the sub-sections do not fit they scroll sideways, never wrap. */
  .ed-smast__subs { flex-wrap: nowrap; margin-block: -8px; padding: 8px 0; overflow-x: auto; overflow-y: hidden; }
  .ed-smast__item,
  .ed-smast__item:first-child { padding: 0 16px; }
  .ed-smast__sub { min-height: 0; font-size: clamp(1.0625rem, 0.55rem + 1.05vw, 1.5rem); }
  .ed-smast__subs--many .ed-smast__sub { font-size: clamp(1rem, 0.5rem + 0.95vw, 1.375rem); }
  /* Every item opens with a thin rule, the first one too (it parts the name from the list). */
  .ed-smast__item::before,
  .ed-smast__item + .ed-smast__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 14%;
    width: 1px;
    background: var(--sd-line, var(--ed-line));
  }
  .ed-smast__rule { margin-top: 28px; }
}

/* The strip: one line under the rule (a module's data through the slot section-strip, else the
   cross-section link), closed by a hairline. */
.ed-smast__strip {
  border-bottom: 1px solid var(--sd-line, var(--ed-line));
  font-family: var(--ed-sans);
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--ed-ink-2);
}
.ed-smast__strip .ed-slot { margin: 0; }
.ed-strip { display: flex; align-items: center; gap: var(--ed-s5); min-height: 44px; min-width: 0; }
.ed-strip__head { display: flex; align-items: baseline; gap: 8px; flex: none; white-space: nowrap; }
.ed-strip__label { font-weight: 700; color: var(--ed-ink); }
.ed-strip__time { color: var(--ed-ink-4); }
@media (max-width: 739px) {
  .ed-strip__time { display: none; }
}
.ed-strip__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed-strip__items > li:nth-child(n + 2) { display: none; }
.ed-strip__item { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ed-strip__item b { font-weight: 700; color: var(--ed-ink); }
.ed-strip__val { margin-inline: 6px; color: var(--ed-ink-4); font-variant-numeric: tabular-nums; }
.ed-strip__val.is-live { font-weight: 700; color: var(--ed-live, var(--ed-red)); }
.ed-strip__val .ed-dot { width: 6px; height: 6px; margin-right: 4px; }
.ed-strip__more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: none;
  min-height: 44px;
  margin-left: auto;
  font-weight: 600;
  white-space: nowrap;
  color: var(--sd-c-text);
}
.ed-strip__more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 740px) {
  .ed-strip__items { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--ed-s5); }
  .ed-strip__items > li:nth-child(n + 2) { display: block; }
  .ed-strip__item { text-align: center; }
}

/* The cross-section link as one line: its section in its colour, the time, the headline cut with an
   ellipsis, the arrow at the far right. */
.ed-smast__strip .sd-bridge--top { margin: 0; padding: 0; border: 0; background: none; }
.ed-smast__strip .sd-bridge--top .sd-bridge__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: var(--ed-ink);
}
.ed-smast__strip .sd-bridge--top .sd-bridge__kicker {
  order: 1;
  flex: none;
  margin: 0;
  font-family: var(--ed-sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sd-c-text);
}
.ed-smast__strip .sd-bridge--top .sd-bridge__meta { display: contents; }
.ed-smast__strip .sd-bridge--top .sd-bridge__meta time {
  order: 2;
  flex: none;
  font-size: 0.75rem;
  color: var(--ed-ink-4);
  white-space: nowrap;
}
.ed-smast__strip .sd-bridge--top .sd-bridge__headline {
  order: 3;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-family: var(--ed-head);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ed-ink);
  transition: color 0.18s var(--ed-ease);
}
.ed-smast__strip .sd-bridge--top .sd-bridge__arrow { order: 4; flex: none; margin-left: auto; color: var(--sd-c-text); }
.ed-smast__strip .sd-bridge--top .sd-bridge__link:hover .sd-bridge__headline { color: var(--ed-ink-3); }
.ed-smast__strip .sd-bridge--top .sd-bridge__link:focus-visible { outline: 2px solid var(--sd-c-text); outline-offset: -2px; }
@media (max-width: 739px) {
  .ed-smast__strip .sd-bridge--top .sd-bridge__meta time { display: none; }
}

/* PLAY: the same masthead on the dark stage. */
.ed-smast--dark .ed-smast__title { color: #e57ab7; color: color-mix(in oklch, var(--sd-c) 58%, #fff); }
.ed-smast--dark a.ed-smast__name:hover { color: #fff; }
.ed-smast--dark .ed-smast__sub { color: rgb(255 255 255 / 0.72); }
.ed-smast--dark .ed-smast__sub:hover,
.ed-smast--dark .ed-smast__sub[aria-current] { color: #fff; }
.ed-smast--dark .ed-smast__item::before { background: rgb(255 255 255 / 0.22); }
.ed-smast--dark .ed-smast__page { color: rgb(255 255 255 / 0.66); }
.ed-smast--dark .ed-smast__strip { border-bottom-color: rgb(255 255 255 / 0.16); color: rgb(255 255 255 / 0.8); }
.ed-smast--dark .ed-strip__label,
.ed-smast--dark .ed-strip__item b,
.ed-smast--dark .ed-smast__strip .sd-bridge--top .sd-bridge__link,
.ed-smast--dark .ed-smast__strip .sd-bridge--top .sd-bridge__headline { color: #fff; }
.ed-smast--dark .ed-strip__time,
.ed-smast--dark .ed-strip__val,
.ed-smast--dark .ed-smast__strip .sd-bridge--top .sd-bridge__meta time { color: rgb(255 255 255 / 0.62); }
.ed-smast--dark .ed-smast__strip .sd-bridge--top .sd-bridge__kicker,
.ed-smast--dark .ed-smast__strip .sd-bridge--top .sd-bridge__arrow,
.ed-smast--dark .ed-strip__more { color: #f0a6cf; color: color-mix(in oklch, var(--sd-c) 50%, #fff); }
.ed-smast--dark .ed-smast__strip .sd-bridge--top .sd-bridge__link:hover .sd-bridge__headline { color: rgb(255 255 255 / 0.75); }

@media (prefers-reduced-motion: reduce) {
  .ed-sbar__icon, .ed-sbar__btn, .ed-sbar__label, .ed-smast__sub, a.ed-smast__name { transition: none; }
}

/* Story pages carry their section's masthead too (owner, 2026-11-26): the same row with less air above it,
   because the story's own headline is the page's title. On phones it is one compact line. */
/* Its wash runs from the header's wash-2 down to the plain wash (no fade to white), the token the
   story's header band starts with, so the masthead and the band meet without a seam. */
.ed-smast--story { background: linear-gradient(180deg, var(--sd-c-wash-2, var(--ed-bg)) 0%, var(--sd-c-wash, var(--ed-bg)) 100%); }
@supports (color: color-mix(in oklch, red 50%, blue)) {
  .ed-smast--story {
    background:
      radial-gradient(48% 160% at 100% 0%, color-mix(in oklch, var(--sd-c-2, var(--sd-c)) 7%, transparent) 0%, transparent 72%),
      linear-gradient(180deg, var(--sd-c-wash-2, var(--ed-bg)) 0%, var(--sd-c-wash, var(--ed-bg)) 100%);
  }
}
.ed-smast--story .ed-smast__inner { padding-top: var(--ed-s3); }
.ed-smast--story .ed-smast__rule { margin-top: var(--ed-s3); }
@media (max-width: 739px) {
  .ed-smast--story .ed-smast__row { display: flex; align-items: baseline; }
  .ed-smast--story .ed-smast__title { flex: none; padding-right: 14px; font-size: 1.5rem; }
  .ed-smast--story .ed-smast__nav { flex: 1 1 0; min-width: 0; margin: 0 calc(-1 * var(--ed-gutter)) 0 0; }
  .ed-smast--story .ed-smast__subs { padding: 0 var(--ed-gutter) 0 0; }
  .ed-smast--story .ed-smast__item:first-child { padding-left: 14px; }
  .ed-smast--story .ed-smast__item:first-child::before { content: ""; position: absolute; left: 0; top: 13px; bottom: 13px; width: 1px; background: var(--sd-line, var(--ed-line)); }
  .ed-smast--story .ed-smast__sub { font-size: 1rem; }
}
@media (min-width: 740px) {
  .ed-smast--story .ed-smast__inner { padding-top: clamp(24px, 2.6vw, 36px); }
}
