/* Editorial pages use the colour, type and interactive controls supplied by site.css. */
.ed-main {
  padding-block-start: calc(var(--top) + var(--nav-top) + clamp(20px, 3vw, 38px));
}
.ed-fallback, .ed-categories, .ed-byline, .ed-meta, .ed-share, .ed-carousel-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1rem;
}
.ed-fallback { margin-block-end: 1rem; }
.ed-mast { position: relative; isolation: isolate; }
.ed-mast::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.8rem 0 auto auto;
  width: min(33vw, 28rem);
  height: 3.5rem;
  opacity: .36;
  background: radial-gradient(circle, var(--muted) 1px, transparent 1.5px) 0 0 / 14px 14px;
  mask-image: linear-gradient(95deg, transparent, #000);
}
@media (prefers-reduced-motion: no-preference) {
  .ed-mast::after { animation: ed-dots-enter 3.6s ease-out both; }
  @keyframes ed-dots-enter { from { background-position: 0 14px; opacity: .1; } to { background-position: 28px 0; opacity: .36; } }
}
.ed-mast-line {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(15rem, 1fr);
  align-items: end;
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: .2rem clamp(16px, 2.3vw, 30px);
  border-bottom: 2px solid var(--ink);
}
.ed-name {
  max-width: 18ch;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(2.45rem, 5.15vw, 4.9rem);
  letter-spacing: -.065em;
  line-height: 1;
  text-wrap: balance;
}
.ed-mast-jump { display: inline-flex; align-items: center; min-height: 40px; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.ed-mast-deck { max-width: 34ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.23rem); }
.ed-feature { padding-block-start: clamp(18px, 2.3vw, 32px); }
.ed-slide, .ed-story-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.ed-slide + .ed-slide { margin-block-start: 1.65rem; }
.ed-feature[data-enhanced] .ed-slide { margin-block-start: 0; }
.ed-lead-image { background: var(--mist); }
.ed-lead-image img { display: block; width: 100%; aspect-ratio: 1.88; object-fit: cover; }
.ed-beat {
  display: inline-block;
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--muted);
}
.ed-lead-copy h2, .ed-sectionhead h2, .ed-related h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.15rem);
  line-height: 1.09;
  text-wrap: balance;
}
.ed-lead-copy h2 { margin-block: .55rem .75rem; }
.ed-lead-deck, .ed-news-item p, .ed-entry-deck, .ed-related-item p { color: var(--muted); }
.ed-lead-deck { max-width: 45ch; }
.ed-entry-date, .ed-byline, .ed-response, .ed-total, .ed-meta {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.6;
}
.ed-lead-copy .ed-entry-date { margin-block-start: .65rem; }
.ed-carousel-nav { justify-content: end; gap: .65rem; margin-block-start: .7rem; }
.ed-carousel-nav [data-position] { min-width: 4ch; text-align: center; font-variant-numeric: tabular-nums; font-size: .88rem; }
.ed-control, .ed-tool {
  min-height: 44px;
  padding: .45rem .8rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: inherit;
  font-size: .86rem;
}
.ed-control { min-width: 44px; font-size: 1.2rem; }
.ed-control:hover, .ed-tool:hover { border-color: var(--link-color); }
.ed-news, .ed-workshop, .ed-archive, .ed-related { margin-block: clamp(42px, 6vw, 84px); }
.ed-sectionhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1rem;
  border-top: 2px solid var(--ink);
}
.ed-picks { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: clamp(1.4rem, 4vw, 4rem); }
.ed-pick-photo img { width: 100%; aspect-ratio: 1.86; object-fit: cover; }
.ed-pick .ed-entry-date { margin-top: .75rem; }
.ed-pick h3 { margin-block: .35rem .5rem; font-size: clamp(1.35rem, 2.4vw, 2.2rem); line-height: 1.16; text-wrap: balance; }
.ed-news-grid, .ed-related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 3rem); }
.ed-news-item, .ed-related-item { padding-block-start: .8rem; border-top: 1px solid var(--rule); }
.ed-news-item h3, .ed-related-item h3, .ed-entry h3 {
  margin-block: .32rem .55rem;
  line-height: 1.22;
  font-size: clamp(1.08rem, 1.6vw, 1.46rem);
  overflow-wrap: break-word;
}
.ed-categories { gap: .25rem 1.15rem; }
.ed-categories a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; font-weight: 650; }
.ed-categories [aria-current] { border-color: var(--orange); }
.ed-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .9rem;
  margin-block: 1rem 1.5rem;
}
.ed-search label { font-size: .93rem; font-weight: 650; }
.ed-search input {
  width: min(100%, 26rem);
  min-height: 44px;
  padding: .6rem .8rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 4px;
  font: inherit;
}
.ed-search input::placeholder { color: var(--muted); }
.ed-topic-group { margin-block: clamp(1.7rem, 4vw, 3.8rem); }
.ed-group-title { font-size: clamp(1.3rem, 2.3vw, 1.9rem); padding-bottom: .75rem; }
.ed-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.3rem, 3.5vw, 3.5rem); }
.ed-entry {
  display: grid;
  grid-template-columns: minmax(85px, .4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(.7rem, 1.7vw, 1.4rem);
  padding-block: 1.2rem;
  border-top: 1px solid var(--rule);
}
.ed-entry-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ed-entry-deck, .ed-related-item p, .ed-news-item p { font-size: .94rem; }
.ed-empty { padding: 1.4rem; background: var(--mist); }
.ed-story-intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding-block: .35rem clamp(1.8rem, 4vw, 3.4rem); border-bottom: 2px solid var(--ink); }
.ed-story-title { font-family: Sora, Inter, sans-serif; font-size: clamp(2.05rem, 3.85vw, 3.7rem); line-height: 1.07; letter-spacing: -.048em; margin-block: .6rem 1.15rem; text-wrap: balance; overflow-wrap: break-word; }
.ed-deck { color: var(--muted); font-size: clamp(1.02rem, 1.35vw, 1.22rem); max-width: 58ch; }
.ed-byline { margin-block-start: 1.05rem; gap: .2rem 1rem; }
.ed-story-photo img { width: 100%; max-height: min(56vh, 30rem); object-fit: contain; background: var(--mist); }
.ed-story-photo figcaption, .ed-figure figcaption, .ed-prose figcaption { font-family: Georgia, serif; font-style: italic; color: var(--muted); line-height: 1.45; font-size: .83rem; padding-block-start: .55rem; }
.ed-reading { display: grid; grid-template-columns: minmax(9rem, 13.5rem) minmax(0, 69ch); justify-content: center; align-items: start; gap: clamp(1.7rem, 5vw, 5.7rem); padding-block: clamp(1.7rem, 4vw, 3.5rem); }
.ed-sidebar { min-width: 0; position: sticky; top: calc(var(--top) + var(--nav-top) + 1rem); }
.ed-toc { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ed-toc summary { display: list-item; padding-block: .75rem; font-weight: 700; }
.ed-toc nav { max-height: 47vh; overflow: auto; overscroll-behavior: contain; }
.ed-toc ul, .ed-related-list { list-style: none; margin: 0; padding: 0; }
.ed-toc li { padding-block: .26rem .44rem; font-size: .87rem; line-height: 1.45; }
.ed-toc [aria-current] { text-decoration: underline; text-underline-offset: .23em; font-weight: 700; }
.ed-share { margin-top: .8rem; gap: .5rem; }
.ed-response:empty { display: none; }
.ed-prose { min-width: 0; font-size: clamp(1.02rem, 1.25vw, 1.13rem); color: var(--ink); overflow-wrap: break-word; }
.ed-prose p, .ed-prose li { line-height: 1.72; }
.ed-prose p + p, .ed-prose ul, .ed-prose ol { margin-block: .95em; }
.ed-prose h2 { margin-block: 1.55em .55em; font-size: clamp(1.55rem, 2.4vw, 2.15rem); line-height: 1.17; scroll-margin-top: calc(var(--top) + 2rem); }
.ed-prose h3 { margin-block: 1em .45em; line-height: 1.25; }
.ed-prose p a, .ed-prose li a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .17em; }
.ed-figure, .journal-media, .journal-gallery { margin-block: 1.6rem; }
.ed-figure img, .ed-prose video { width: 100%; max-height: 36rem; object-fit: contain; background: var(--mist); }
.ed-film { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.ed-followup { padding: 1rem 1.15rem; background: var(--mist); border-inline-start: 3px solid var(--orange); }
.ed-table-scroll { overflow-x: auto; margin-block: 1.3rem; }
.ed-table { width: 100%; border-collapse: collapse; text-align: start; line-height: 1.5; }
.ed-table caption { text-align: start; font-size: .9rem; font-weight: 700; margin-bottom: .5rem; }
.ed-table th, .ed-table td { padding: .65rem .75rem; border-bottom: 1px solid var(--rule); text-align: start; vertical-align: top; }
.journal-fact, .journal-inset, .journal-chapter blockquote { display: block; margin-block: .9rem; padding: .85rem 1rem; border-inline-start: 2px solid var(--rule); background: var(--mist); }
.journal-inline-grid, .journal-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.journal-inset img, .journal-gallery img { width: 100%; height: auto; }
.journal-links { display: flex; flex-wrap: wrap; gap: .7rem 1rem; margin-block: .9rem; }
.journal-inset-copy > * + * { margin-top: .5rem; }
.ed-related-list { margin-top: 1.25rem; }
@media (max-width: 780px) {
  .ed-mast-line, .ed-slide, .ed-story-intro, .ed-reading, .ed-news-grid, .ed-picks, .ed-related-list, .ed-entry-grid { grid-template-columns: minmax(0, 1fr); }
  .ed-mast-line, .ed-slide, .ed-story-intro, .ed-reading { gap: 1.1rem; }
  .ed-mast-jump { display: inline-flex; align-items: center; min-height: 40px; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.ed-mast-deck { max-width: 48ch; }
  .ed-news-grid, .ed-related-list { gap: .85rem; }
  .ed-entry { grid-template-columns: minmax(76px, .36fr) minmax(0, 1fr); }
  .ed-story-photo img { max-height: 25rem; }
  .ed-sidebar { position: static; }
  .ed-toc nav { max-height: 19rem; }
  .ed-search input { flex: 1 1 15rem; min-width: 0; }
}
@media (max-width: 480px) {
  .ed-main { padding-block-start: calc(var(--top) + var(--nav-top) + 14px); }
  .ed-mast::after { width: 6rem; height: 2rem; }
  .ed-entry { grid-template-columns: minmax(0, 1fr); }
  .ed-entry-photo img { aspect-ratio: 2.2; }
  .ed-categories { gap: .15rem .9rem; }
  .ed-search { align-items: start; }
  .ed-search label { flex-basis: 100%; }
  .ed-carousel-nav { justify-content: start; }
}


.ed-share input { min-width: 0; width: 100%; padding: .5rem; color: var(--ink); background: var(--paper); border: 1px solid var(--muted); }
