/* Shared editorial layer for Current Notes and research threads. */
body.editorial-page {
  --editorial-bg: #11100e;
  --editorial-surface: #171612;
  --editorial-surface-2: #1d1b17;
  --editorial-text: #eee7db;
  --editorial-copy: #c8beb0;
  --editorial-muted: #8e867b;
  --editorial-line: rgba(238, 231, 219, 0.13);
  --editorial-line-strong: rgba(238, 231, 219, 0.24);
  --editorial-orange: #dc8b45;
  --editorial-blue: #7fa7be;
  --editorial-green: #8aa58b;
  margin: 0;
  overflow-x: clip;
  background: var(--editorial-bg);
  color: var(--editorial-text);
  font-family: var(--font-body);
}

[data-theme="light"] body.editorial-page {
  --editorial-bg: #f2eee7;
  --editorial-surface: #e7e1d8;
  --editorial-surface-2: #ddd6cc;
  --editorial-text: #191714;
  --editorial-copy: #4e4942;
  --editorial-muted: #756e64;
  --editorial-line: rgba(25, 23, 20, 0.14);
  --editorial-line-strong: rgba(25, 23, 20, 0.28);
  --editorial-orange: #a85822;
  --editorial-blue: #426f88;
  --editorial-green: #4e7252;
  color-scheme: light;
}

body.editorial-page::before,
body.editorial-page::after {
  display: none;
}

.editorial-page *,
.editorial-page *::before,
.editorial-page *::after {
  box-sizing: border-box;
}

.editorial-page a {
  color: inherit;
}

.editorial-page .site-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.editorial-page .topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: color-mix(in srgb, var(--editorial-bg) 92%, transparent);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.editorial-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  text-decoration: none;
}

.editorial-page .brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--editorial-orange);
  box-shadow: none;
}

.editorial-page .brand-text {
  color: var(--editorial-text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0;
}

.editorial-page .topnav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2.5rem);
  margin-left: auto;
}

.editorial-page .topnav a {
  padding: 0;
  color: var(--editorial-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.editorial-page .topnav a:hover,
.editorial-page .topnav a:focus-visible {
  color: var(--editorial-text);
}

.editorial-page .topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: clamp(1.2rem, 3vw, 3rem);
  padding-left: clamp(1.2rem, 3vw, 3rem);
  border-left: 1px solid var(--editorial-line);
}

.editorial-page .theme-switch,
.editorial-page .lang-switch {
  display: flex;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.editorial-page .theme-btn,
.editorial-page .lang-btn {
  min-height: 32px;
  padding: 0 0.65rem;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--editorial-muted);
  background: transparent;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-page .theme-btn.is-active,
.editorial-page .lang-btn.is-active {
  border-bottom-color: var(--editorial-orange);
  color: var(--editorial-text);
  background: transparent;
}

.editorial-page .archive-layout {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.editorial-page .section {
  position: static;
  width: 100%;
  margin: 0;
  padding-inline: clamp(1.25rem, 6vw, 6rem);
  border-radius: 0;
  transform: none;
}

.editorial-page .section-kicker,
.editorial-page .card-label,
.editorial-page .detail-label {
  color: var(--editorial-orange);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.editorial-page .section-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: currentColor;
}

.editorial-page .archive-hero,
.editorial-page .topics-hero {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: clamp(2rem, 7vw, 8rem);
  min-height: min(590px, calc(100vh - 72px));
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-page .archive-hero .section-kicker,
.editorial-page .topics-hero .section-kicker {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  margin: 0.65rem 0 0;
}

.editorial-page .archive-hero h1,
.editorial-page .topics-hero h1,
.editorial-page .archive-note-hero h1,
.editorial-page .topic-detail-hero h1 {
  position: static;
  max-width: 12ch;
  margin: 0;
  color: var(--editorial-text);
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7.3vw, 7.4rem);
  font-weight: 300;
  line-height: 0.91;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
  transform: none;
}

.editorial-page .archive-hero .section-subcopy,
.editorial-page .topics-hero .section-subcopy {
  grid-column: 2;
  max-width: 42rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
}

.editorial-page .section-subcopy {
  position: static;
  color: var(--editorial-copy);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 350;
  line-height: 1.65;
  letter-spacing: 0;
  transform: none;
}

.editorial-page .archive-controls,
.editorial-page .archive-list-section,
.editorial-page .topics-map-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-page .section-head,
.editorial-page .section-head-compact {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  column-gap: clamp(2rem, 7vw, 8rem);
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
}

.editorial-page .section-head > div {
  display: contents;
}

.editorial-page .section-head .section-kicker {
  grid-column: 1;
  margin: 0.3rem 0 0;
}

.editorial-page .section-head h2 {
  grid-column: 2;
  margin: 0;
  color: var(--editorial-text);
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.editorial-page .archive-month-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin-left: calc(35% + 3rem);
}

.editorial-page .archive-month-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  color: var(--editorial-copy);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-decoration: none;
}

.editorial-page .archive-month-pill span {
  color: var(--editorial-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.editorial-page .archive-month-pill:hover,
.editorial-page .archive-month-pill.is-active {
  border-bottom-color: var(--editorial-orange);
  color: var(--editorial-text);
}

.editorial-page #archive-status {
  margin: 0 0 1.5rem calc(35% + 3rem);
  color: var(--editorial-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-page .archive-note-list {
  display: block;
}

.editorial-page .news-archive-card {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr);
  gap: 0 clamp(2rem, 7vw, 8rem);
  margin: 0;
  padding: clamp(2.25rem, 4vw, 4rem) 0;
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-page .news-archive-card .news-topline {
  grid-column: 1;
  grid-row: 1 / span 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.editorial-page .news-tag,
.editorial-page .news-stage {
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--editorial-orange);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.editorial-page .news-stage {
  color: var(--editorial-muted);
}

.editorial-page .news-archive-card h3 {
  grid-column: 2;
  margin: 0 0 1rem;
  color: var(--editorial-text);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.1vw, 3.3rem);
  font-weight: 350;
  line-height: 1.03;
  letter-spacing: 0;
}

.editorial-page .inline-link {
  color: inherit;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
}

.editorial-page .inline-link:hover,
.editorial-page .inline-link:focus-visible {
  color: var(--editorial-orange);
  text-decoration-color: currentColor;
}

.editorial-page .news-summary {
  grid-column: 2;
  max-width: 50rem;
  margin: 0 0 1.2rem;
  color: var(--editorial-copy);
  font-size: 1rem;
  line-height: 1.7;
}

.editorial-page .news-meta {
  grid-column: 2;
  margin: 0.3rem 0 0;
  color: var(--editorial-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.editorial-page .topics-map-section {
  background: var(--editorial-surface);
}

.editorial-page .topic-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 6vw, 7rem);
  margin: 0;
}

.editorial-page .topic-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(2.2rem, 4vw, 4rem) 0;
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-page .topic-card:nth-child(3n + 2) .card-label {
  color: var(--editorial-blue);
}

.editorial-page .topic-card:nth-child(3n + 3) .card-label {
  color: var(--editorial-green);
}

.editorial-page .topic-card h3 {
  max-width: 17ch;
  margin: 1.4rem 0 1.1rem;
  color: var(--editorial-text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.editorial-page .topic-card > p {
  max-width: 38rem;
  margin: 0;
  color: var(--editorial-copy);
  font-size: 0.98rem;
  line-height: 1.65;
}

.editorial-page .topic-card .topic-card-note {
  margin-top: 1rem;
  color: var(--editorial-muted);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
}

.editorial-page .topic-card-links,
.editorial-page .topic-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.editorial-page .topic-card-links a {
  color: var(--editorial-orange);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-page .archive-note-hero,
.editorial-page .topic-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.65fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 0 clamp(3rem, 7vw, 8rem);
  min-height: min(640px, calc(100vh - 72px));
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-page .archive-note-hero .section-kicker,
.editorial-page .topic-detail-hero .section-kicker {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
}

.editorial-page .archive-note-hero h1,
.editorial-page .topic-detail-hero h1 {
  grid-column: 1;
  grid-row: 2 / span 3;
  align-self: start;
  max-width: 15ch;
  font-size: clamp(3.4rem, 6.4vw, 6.8rem);
  line-height: 0.94;
}

.editorial-page .archive-note-hero .section-subcopy,
.editorial-page .topic-detail-hero .section-subcopy {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  max-width: 34rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-style: italic;
  line-height: 1.45;
}

.editorial-page .note-meta-row {
  grid-column: 2;
  grid-row: 4;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 3rem 0 0;
}

.editorial-page .archive-story-grid,
.editorial-page .topic-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
  align-items: start;
  gap: clamp(3rem, 7vw, 8rem);
  padding-block: clamp(4.5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-page .archive-story-card,
.editorial-page .topic-story-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-page .rich-copy {
  max-width: 48rem;
  color: var(--editorial-copy);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 350;
  line-height: 1.62;
}

.editorial-page .rich-copy p {
  margin: 0 0 1.55em;
}

.editorial-page .rich-copy p:first-child::first-letter {
  float: left;
  margin: 0.1em 0.12em 0 0;
  color: var(--editorial-orange);
  font-family: var(--font-display);
  font-size: 3.5em;
  line-height: 0.75;
}

.editorial-page .archive-story-sidebar {
  display: grid;
  gap: 2.2rem;
  min-width: 0;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--editorial-line);
}

.editorial-page .detail-card {
  margin: 0;
  padding: 1.4rem 0 0;
  border: 0;
  border-top: 1px solid var(--editorial-line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-page .detail-meta,
.editorial-page .detail-value {
  margin: 0.9rem 0 0;
  color: var(--editorial-copy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.62;
  letter-spacing: 0;
}

.editorial-page .contact-link {
  color: var(--editorial-orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.editorial-page .topic-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.editorial-page .topic-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--editorial-copy);
  font-size: 0.88rem;
  line-height: 1.5;
}

.editorial-page .topic-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--editorial-green);
}

.editorial-page .topic-link-list {
  display: grid;
  gap: 0;
  margin-top: 0.8rem;
}

.editorial-page .topic-link-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--editorial-line);
  text-decoration: none;
}

.editorial-page .topic-link-item strong {
  color: var(--editorial-text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.25;
}

.editorial-page .topic-link-item span {
  color: var(--editorial-muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editorial-page .topic-link-item:hover strong,
.editorial-page .topic-link-item:focus-visible strong {
  color: var(--editorial-orange);
}

.editorial-page .button.secondary {
  min-height: 42px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--editorial-line-strong);
  border-radius: 4px;
  color: var(--editorial-text);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
}

.editorial-page .button.secondary:hover,
.editorial-page .button.secondary:focus-visible {
  border-color: var(--editorial-orange);
  color: var(--editorial-orange);
}

.editorial-page .site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 6vw, 6rem);
  border: 0;
  color: var(--editorial-muted);
  background: var(--editorial-bg);
}

.editorial-page .footer-copy,
.editorial-page .footer-legal {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}

.editorial-page .footer-copy {
  max-width: 38rem;
}

.editorial-page .katex-display {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-block: 0.4rem;
}

@media (max-width: 980px) {
  .editorial-page .topnav {
    display: none;
  }

  .editorial-page .topbar-actions {
    margin-left: auto;
  }

  .editorial-page .archive-hero,
  .editorial-page .topics-hero,
  .editorial-page .section-head,
  .editorial-page .news-archive-card {
    grid-template-columns: minmax(9rem, 0.48fr) minmax(0, 1fr);
    column-gap: 2.5rem;
  }

  .editorial-page .archive-month-list,
  .editorial-page #archive-status {
    margin-left: calc(32% + 1.5rem);
  }

  .editorial-page .archive-story-grid,
  .editorial-page .topic-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem);
    gap: 3rem;
  }
}

@media (max-width: 720px) {
  .editorial-page .topbar {
    min-height: 64px;
    padding: 0.65rem 1rem;
  }

  .editorial-page .brand-text {
    font-size: 0.84rem;
  }

  .editorial-page .topbar-actions {
    gap: 0.25rem;
    margin-left: auto;
    padding-left: 0.6rem;
  }

  .editorial-page .theme-btn,
  .editorial-page .lang-btn {
    min-height: 30px;
    padding-inline: 0.38rem;
    font-size: 0.54rem;
  }

  .editorial-page .section {
    padding-inline: 1.25rem;
  }

  .editorial-page .archive-hero,
  .editorial-page .topics-hero {
    display: block;
    min-height: auto;
    padding-block: 4.5rem 5.5rem;
  }

  .editorial-page .archive-hero .section-kicker,
  .editorial-page .topics-hero .section-kicker {
    margin: 0 0 2.5rem;
  }

  .editorial-page .archive-hero h1,
  .editorial-page .topics-hero h1 {
    max-width: 9.5ch;
    font-size: clamp(3.4rem, 16vw, 5.4rem);
    line-height: 0.94;
  }

  .editorial-page .archive-hero .section-subcopy,
  .editorial-page .topics-hero .section-subcopy {
    margin-top: 2.3rem;
    font-size: 1rem;
  }

  .editorial-page .archive-controls,
  .editorial-page .archive-list-section,
  .editorial-page .topics-map-section {
    padding-block: 4rem;
  }

  .editorial-page .section-head,
  .editorial-page .section-head-compact {
    display: block;
    margin-bottom: 2.4rem;
  }

  .editorial-page .section-head .section-kicker {
    display: block;
    margin: 0 0 1.2rem;
  }

  .editorial-page .section-head h2 {
    font-size: 2.6rem;
  }

  .editorial-page .archive-month-list,
  .editorial-page #archive-status {
    margin-left: 0;
  }

  .editorial-page .archive-month-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .editorial-page .news-archive-card {
    display: block;
    padding-block: 2.8rem;
  }

  .editorial-page .news-archive-card .news-topline {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 1.6rem;
  }

  .editorial-page .news-archive-card h3 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .editorial-page .topic-map-grid {
    grid-template-columns: 1fr;
  }

  .editorial-page .topic-card h3 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .editorial-page .archive-note-hero,
  .editorial-page .topic-detail-hero {
    display: block;
    min-height: auto;
    padding-block: 4.5rem 5rem;
  }

  .editorial-page .archive-note-hero .section-kicker,
  .editorial-page .topic-detail-hero .section-kicker {
    margin-bottom: 2.5rem;
  }

  .editorial-page .archive-note-hero h1,
  .editorial-page .topic-detail-hero h1 {
    max-width: none;
    font-size: clamp(2.85rem, 13vw, 4.8rem);
    line-height: 0.96;
  }

  .editorial-page .archive-note-hero .section-subcopy,
  .editorial-page .topic-detail-hero .section-subcopy {
    max-width: none;
    margin-top: 2rem;
    font-size: 1.25rem;
  }

  .editorial-page .note-meta-row {
    margin-top: 2rem;
  }

  .editorial-page .archive-story-grid,
  .editorial-page .topic-detail-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-block: 4.5rem;
  }

  .editorial-page .rich-copy {
    font-size: 1.2rem;
    line-height: 1.65;
  }

  .editorial-page .archive-story-sidebar {
    padding-left: 0;
    border-left: 0;
  }

  .editorial-page .site-footer {
    display: grid;
    gap: 1.2rem;
    padding: 2.4rem 1.25rem;
  }
}

@media (max-width: 420px) {
  .editorial-page .brand {
    gap: 0.5rem;
  }

  .editorial-page .brand-text {
    max-width: 8.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .editorial-page .theme-btn,
  .editorial-page .lang-btn {
    padding-inline: 0.28rem;
  }

  .editorial-page .archive-month-list {
    grid-template-columns: 1fr;
  }
}

/* The legacy stylesheet ends in a fidelity layer with important declarations.
   Keep these route-scoped rules authoritative without changing the home. */
.editorial-page .site-shell {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.editorial-page .topbar {
  margin: 0 !important;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem) !important;
  border-bottom-color: var(--editorial-line) !important;
  background: color-mix(in srgb, var(--editorial-bg) 92%, transparent) !important;
}

.editorial-page .brand-text {
  font-family: var(--font-body) !important;
  letter-spacing: 0 !important;
}

.editorial-page .topnav a {
  color: var(--editorial-muted) !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0 !important;
}

.editorial-page .theme-switch,
.editorial-page .lang-switch {
  border: 0 !important;
  border-radius: 0 !important;
}

.editorial-page .theme-btn,
.editorial-page .lang-btn {
  border-radius: 0 !important;
}

.editorial-page .section,
.editorial-page section.section {
  margin: 0 !important;
  padding-inline: clamp(1.25rem, 6vw, 6rem) !important;
  border-top: 0 !important;
}

.editorial-page .section-kicker {
  color: var(--editorial-orange) !important;
}

.editorial-page .archive-hero,
.editorial-page .topics-hero {
  display: grid !important;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr) !important;
  grid-template-rows: auto auto !important;
  min-height: min(600px, calc(100vh - 100px)) !important;
  padding-block: clamp(4.5rem, 8vw, 7rem) !important;
  border-bottom: 1px solid var(--editorial-line) !important;
}

.editorial-page .archive-hero .section-kicker,
.editorial-page .topics-hero .section-kicker {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  margin: 0.65rem 0 0 !important;
}

.editorial-page .archive-hero h1,
.editorial-page .topics-hero h1 {
  grid-column: 2 !important;
  max-width: 12ch !important;
  margin: 0 !important;
  color: var(--editorial-text) !important;
  font-size: clamp(3.8rem, 7.3vw, 7.4rem) !important;
  font-weight: 300 !important;
  line-height: 0.91 !important;
  letter-spacing: 0 !important;
}

.editorial-page .archive-hero .section-subcopy,
.editorial-page .topics-hero .section-subcopy {
  grid-column: 2 !important;
  max-width: 42rem !important;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0 !important;
  padding: 0 !important;
  color: var(--editorial-copy) !important;
  font-family: var(--font-body) !important;
  font-size: clamp(1rem, 1.4vw, 1.22rem) !important;
  font-style: normal !important;
  line-height: 1.65 !important;
}

.editorial-page .archive-controls,
.editorial-page .archive-list-section,
.editorial-page .topics-map-section {
  padding-block: clamp(4rem, 8vw, 7rem) !important;
  border-bottom: 1px solid var(--editorial-line) !important;
}

.editorial-page .section-head,
.editorial-page .section-head-compact {
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr) !important;
  column-gap: clamp(2rem, 7vw, 8rem) !important;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem) !important;
}

.editorial-page .section-head h2 {
  max-width: none !important;
  color: var(--editorial-text) !important;
  font-family: var(--font-body) !important;
  font-size: clamp(2rem, 4vw, 4.4rem) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.editorial-page .archive-note-hero,
.editorial-page .note-hero.archive-note-hero,
.editorial-page .topic-detail-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.65fr) !important;
  grid-template-rows: auto auto 1fr auto !important;
  min-height: min(620px, calc(100vh - 72px)) !important;
  padding-block: clamp(4.5rem, 8vw, 7rem) !important;
  border-bottom: 1px solid var(--editorial-line) !important;
}

.editorial-page .archive-note-hero .section-kicker,
.editorial-page .note-hero.archive-note-hero .section-kicker,
.editorial-page .topic-detail-hero .section-kicker {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 0 clamp(2rem, 5vw, 4rem) !important;
}

.editorial-page .archive-note-hero h1,
.editorial-page .note-hero.archive-note-hero h1,
.editorial-page .topic-detail-hero h1 {
  grid-column: 1 !important;
  grid-row: 2 / span 3 !important;
  max-width: 15ch !important;
  margin: 0 !important;
  color: var(--editorial-text) !important;
  font-size: clamp(3.4rem, 6.4vw, 6.8rem) !important;
  font-weight: 300 !important;
  line-height: 0.94 !important;
  letter-spacing: 0 !important;
  overflow-wrap: break-word !important;
}

.editorial-page .archive-note-hero .section-subcopy,
.editorial-page .note-hero.archive-note-hero .section-subcopy,
.editorial-page .topic-detail-hero .section-subcopy {
  grid-column: 2 !important;
  grid-row: 2 !important;
  max-width: 34rem !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--editorial-copy) !important;
  font-size: clamp(1.25rem, 2vw, 1.8rem) !important;
  line-height: 1.45 !important;
}

.editorial-page .archive-note-hero .note-meta-row,
.editorial-page .note-hero.archive-note-hero .note-meta-row,
.editorial-page .topic-detail-hero .note-meta-row {
  grid-column: 2 !important;
  grid-row: 4 !important;
  margin: 3rem 0 0 !important;
}

.editorial-page .archive-story-grid,
.editorial-page .topic-detail-grid {
  padding-block: clamp(4.5rem, 9vw, 8rem) !important;
  border-bottom: 1px solid var(--editorial-line) !important;
}

.editorial-page .rich-copy {
  max-width: 48rem !important;
}

.editorial-page .site-footer {
  margin: 0 auto !important;
  padding: 2.5rem clamp(1.25rem, 6vw, 6rem) !important;
  border-top: 0 !important;
  background: var(--editorial-bg) !important;
}

@media (max-width: 720px) {
  .editorial-page .topbar {
    padding: 0.65rem 1rem !important;
  }

  .editorial-page .topbar-actions {
    flex-flow: row nowrap !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
  }

  .editorial-page .theme-switch,
  .editorial-page .lang-switch {
    flex-flow: row nowrap !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .editorial-page .archive-hero,
  .editorial-page .topics-hero,
  .editorial-page .archive-note-hero,
  .editorial-page .note-hero.archive-note-hero,
  .editorial-page .topic-detail-hero {
    display: block !important;
    min-height: auto !important;
    padding: 4.5rem 1.25rem 5rem !important;
  }

  .editorial-page .archive-hero .section-kicker,
  .editorial-page .topics-hero .section-kicker,
  .editorial-page .archive-note-hero .section-kicker,
  .editorial-page .note-hero.archive-note-hero .section-kicker,
  .editorial-page .topic-detail-hero .section-kicker {
    margin: 0 0 2.5rem !important;
  }

  .editorial-page .archive-hero h1,
  .editorial-page .topics-hero h1 {
    max-width: 9.5ch !important;
    font-size: clamp(3.4rem, 16vw, 5.4rem) !important;
    line-height: 0.94 !important;
  }

  .editorial-page .archive-note-hero h1,
  .editorial-page .note-hero.archive-note-hero h1,
  .editorial-page .topic-detail-hero h1 {
    max-width: none !important;
    font-size: clamp(2.85rem, 13vw, 4.8rem) !important;
    line-height: 0.96 !important;
  }

  .editorial-page .archive-hero .section-subcopy,
  .editorial-page .topics-hero .section-subcopy,
  .editorial-page .archive-note-hero .section-subcopy,
  .editorial-page .note-hero.archive-note-hero .section-subcopy,
  .editorial-page .topic-detail-hero .section-subcopy {
    max-width: none !important;
    margin: 2rem 0 0 !important;
  }

  .editorial-page .archive-note-hero .note-meta-row,
  .editorial-page .note-hero.archive-note-hero .note-meta-row,
  .editorial-page .topic-detail-hero .note-meta-row {
    margin-top: 2rem !important;
  }

  .editorial-page .archive-controls,
  .editorial-page .archive-list-section,
  .editorial-page .topics-map-section,
  .editorial-page .archive-story-grid,
  .editorial-page .topic-detail-grid {
    padding: 4rem 1.25rem !important;
  }

  .editorial-page .section-head,
  .editorial-page .section-head-compact {
    display: block !important;
    margin-bottom: 2.4rem !important;
  }

  .editorial-page .section-head .section-kicker {
    margin: 0 0 1.2rem !important;
  }

  .editorial-page .section-head h2 {
    font-size: 2.6rem !important;
  }

  .editorial-page .site-footer {
    padding: 2.4rem 1.25rem !important;
  }
}
