.editorial-page {
  --editorial-muted: #bfc4ce;
  --editorial-accent: #c9bcff;
  box-sizing: border-box;
  width: min(100% - 3rem, 76rem);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5.5rem) 0;
  color: inherit;
  overflow-wrap: anywhere;
}
.editorial-page * {
  box-sizing: border-box;
}
.editorial-page a {
  color: var(--editorial-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.editorial-page a:hover {
  color: inherit;
}
.editorial-page a:focus-visible,
.editorial-page summary:focus-visible {
  outline: 3px solid #e7c67a;
  outline-offset: 5px;
  border-radius: 2px;
}
.editorial-breadcrumb {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.editorial-heading {
  max-width: 55rem;
}
.editorial-page h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0.7rem 0 1.3rem;
  text-wrap: balance;
  max-width: 22ch;
}
.editorial-eyebrow {
  font-size: 0.78rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--editorial-muted);
}
.editorial-summary {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.65;
  max-width: 66ch;
}
.editorial-byline,
.editorial-dateline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--editorial-muted);
  max-width: 76ch;
}
.editorial-notice {
  border-left: 3px solid #c4a369;
  padding: 0.7rem 1rem;
  margin-top: 1.5rem;
  line-height: 1.7;
  background: rgb(196 163 105 / 6%);
  max-width: 76ch;
}
.editorial-hero {
  margin: 2.5rem 0 3rem;
  max-width: 65rem;
}
.editorial-hero img,
.editorial-diagram img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.editorial-contents,
.editorial-topics {
  border-top: 1px solid rgb(255 255 255 / 17%);
  border-bottom: 1px solid rgb(255 255 255 / 17%);
  padding: 1.5rem 0;
  margin: 2rem 0 3rem;
  max-width: 76ch;
}
.editorial-page h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 2.1em 0 0.8em;
  scroll-margin-top: 7rem;
}
.editorial-page nav h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}
.editorial-contents ul,
.editorial-topics ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  line-height: 1.6;
}
.editorial-prose {
  max-width: 72ch;
  font-size: 1.08rem;
  line-height: 1.85;
}
.editorial-prose p {
  margin: 1.2em 0;
}
.editorial-prose h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 2em 0 0.7em;
}
.editorial-prose li {
  margin: 0.45em 0;
}
.editorial-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.6;
}
.editorial-prose th,
.editorial-prose td {
  border: 1px solid rgb(255 255 255 / 20%);
  padding: 0.7rem;
  text-align: left;
  min-width: 8rem;
}
.editorial-prose blockquote {
  border-left: 3px solid #9a8acc;
  margin: 1.5rem 0;
  padding: 0.1rem 1.25rem;
  color: var(--editorial-muted);
}
.editorial-diagram {
  margin: 3.5rem 0;
  max-width: 58rem;
}
.editorial-diagram h2 {
  margin: 0 0 1.2rem;
}
.editorial-diagram figcaption {
  line-height: 1.7;
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--editorial-muted);
}
.editorial-diagram details {
  margin-top: 1.5rem;
  line-height: 1.7;
  padding: 1rem;
  border: 1px solid rgb(255 255 255 / 18%);
}
.editorial-diagram summary {
  cursor: pointer;
  min-height: 1.5rem;
}
.editorial-diagram li {
  margin: 0.5rem 0;
}
.editorial-sources,
.editorial-related {
  max-width: 76ch;
  border-top: 1px solid rgb(255 255 255 / 17%);
  margin-top: 3rem;
  padding-top: 1.5rem;
  line-height: 1.7;
}
.editorial-sources h2,
.editorial-related h2 {
  margin-top: 0.5rem;
}
.editorial-sources ol {
  padding-left: 1.3rem;
}
.editorial-sources li {
  margin: 1.2rem 0;
}
.editorial-sources li p {
  color: var(--editorial-muted);
  margin: 0.5rem 0;
}
.editorial-related ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.3rem;
}
.editorial-related li span {
  display: block;
  color: var(--editorial-muted);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}
.editorial-topics {
  max-width: none;
}
.editorial-topics ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 0.65rem 1.5rem;
}
.editorial-topic {
  margin: 3.5rem 0;
}
.editorial-topic h2 {
  margin: 0 0 1.5rem;
}
.editorial-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.editorial-cards > li {
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 17%);
  background: rgb(255 255 255 / 2%);
  min-width: 0;
}
.editorial-cards h3 {
  font-size: 1.3rem;
  line-height: 1.4;
  margin: 0.6rem 0;
}
.editorial-cards p {
  line-height: 1.7;
  margin: 0.6rem 0;
}
.editorial-network-link {
  border-top: 1px solid rgb(255 255 255 / 17%);
  padding-top: 1.5rem;
  line-height: 1.8;
}
.theme-swarn .editorial-page {
  --editorial-accent: #e5cb8c;
  --editorial-muted: #c9c0cb;
}
@media (max-width: 620px) {
  .editorial-page {
    width: calc(100% - 2rem);
    padding-top: 2rem;
  }
  .editorial-cards {
    grid-template-columns: 1fr;
  }
  .editorial-cards > li {
    padding: 1.1rem;
  }
  .editorial-prose {
    font-size: 1rem;
  }
  .editorial-page h1 {
    max-width: none;
  }
  .editorial-hero {
    margin: 2rem 0;
  }
  .editorial-byline {
    line-height: 1.9;
  }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-page {
    scroll-behavior: auto;
  }
}
