/* Illustrated essay headers and reading columns. Homepage layout is in home.css. */
.editorial .editorial-shell {
  width: 100%;
  max-width: 1120px;
  padding: 2rem 3.5rem 6rem;
}

.editorial .reading-column {
  width: 100%;
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.editorial .skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 500;
  padding: 0.65rem 1rem;
  transform: translateY(-200%);
  background: var(--bg);
  border: 1px solid var(--fg);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.editorial .skip-link:focus { transform: translateY(0); }
.editorial a:focus-visible,
.editorial button:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 5px;
  border-radius: 0;
}
.editorial h2 .anchor { opacity: 0.6; }
.editorial h2 .anchor:focus-visible { opacity: 1; }

.editorial .ink-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.editorial .article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.editorial .hint-expanded,
.editorial .cite-popup { border-radius: 0; box-shadow: none; }

.editorial .essay-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(180px, 0.8fr);
  align-items: center;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.editorial .essay-heading > * { text-align: left; }
.editorial .essay-heading .title {
  max-width: 25ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.editorial .essay-heading .tagline {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
}
.editorial .essay-heading .date { margin: 0.7rem 0 0; }
.editorial .essay-art { aspect-ratio: 3 / 2; }
.editorial-essay .abstract { margin: 0 0 2.75rem; }
.editorial-essay .abstract p { font-size: 0.95rem; line-height: 1.85; }
.editorial-essay .article-body p.lede { font-size: 1.12rem; }
.editorial-essay .bib { font-size: 0.87rem; line-height: 1.8; }
.editorial-essay .bib li { margin-bottom: 0.65rem; }

@media (max-width: 980px) {
  .editorial .editorial-shell { padding-right: 2.5rem; padding-left: 2.5rem; }
}
@media (max-width: 720px) {
  .editorial .editorial-shell { padding: 1.5rem 1.5rem 5rem; }
  .editorial .article-body p { font-size: 1rem; line-height: 1.85; }
  .editorial .essay-hero { grid-template-columns: minmax(0, 1fr) 155px; gap: 1.25rem; }
  .editorial .essay-heading .title { font-size: 2.1rem; }
  .editorial .essay-heading .tagline { font-size: 0.95rem; }
  .editorial .essay-heading .affiliation { font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .editorial .editorial-shell { padding-right: 1.25rem; padding-left: 1.25rem; }
  .editorial .essay-hero { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.25rem; }
  .editorial .essay-heading .title { font-size: 2.2rem; }
  .editorial .essay-art { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  body.editorial,
  .editorial *,
  .editorial *::before,
  .editorial *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
