/* Shared editorial essay hero: link this stylesheet on new long-form essays.
   Visual treatment uses site colours and type; optional decorative SVG is supplied per article. */
.essay-article.editorial-hero.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.2rem, 7vw, 6rem) 0 clamp(3.8rem, 6vw, 5.5rem);
  background: linear-gradient(119deg, #102d4e 0%, #153d5a 57%, #1c595a 100%);
  border-bottom: 0;
  box-shadow: none;
}
.essay-article.editorial-hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -62% 22%;
  height: 110%;
  border: 1px solid rgba(182, 232, 222, .1);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.essay-article.editorial-hero .editorial-hero__layout {
  width: min(calc(100% - 3rem), 1120px);
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.editorial-hero__content { position: relative; z-index: 1; }
.editorial-hero .eyebrow {
  color: #b2e6dd;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  margin: 0 0 clamp(1.65rem, 3vw, 2.75rem);
}
.essay-article.editorial-hero h1 {
  max-width: 13ch;
  margin: 0 0 clamp(1.5rem, 3vw, 2.3rem);
  color: #fff;
  font-size: clamp(3.05rem, 5.3vw, 5.15rem);
  line-height: 1.065;
  letter-spacing: -.064em;
  text-wrap: balance;
}
.editorial-hero h1 span {
  display: block;
  color: #a6e7d6;
}
.editorial-hero__intro {
  max-width: 39rem;
  margin: 0;
  color: #e4f1f1;
  font-size: clamp(1.08rem, 1.05rem + .4vw, 1.36rem);
  line-height: 1.65;
}
.editorial-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  margin: clamp(1.5rem, 3vw, 2rem) 0 1.4rem;
  color: #d8eee9;
  font-size: .79rem;
  font-weight: 600;
}
.editorial-hero__meta span + span::before {
  content: "·";
  margin-right: .7rem;
  color: #8dcabb;
}
.editorial-hero__back {
  display: inline-block;
  color: #fff;
  font-size: .85rem;
  text-underline-offset: .3em;
  text-decoration-color: rgba(255, 255, 255, .52);
}
.editorial-hero__back:hover, .editorial-hero__back:focus-visible { color: #b3ecda; }
.editorial-hero__art {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  align-items: center;
}
.editorial-hero__art svg {
  display: block;
  width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(7, 22, 38, .23));
}
.editorial-hero__art-note {
  margin-top: -3rem;
  justify-self: end;
  position: relative;
  color: #b7d5d6;
  font-size: .78rem;
  line-height: 1.6;
  letter-spacing: .025em;
  text-align: right;
}
.editorial-hero__art-note strong { color: #f7fff9; font-weight: 600; }

/* A dated author byline is required in the standard hero.
   Preview drafts identify their proof date; published essays identify publication date. */
.editorial-hero__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .65rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.7rem);
  color: #f1f8f5;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.6;
}
.editorial-hero__byline time { font-variant-numeric: tabular-nums; }
.editorial-hero__separator { color: #8bc8bf; }
.editorial-hero__meta { margin-top: .8rem; }
@media (max-width: 800px) {
  .essay-article.editorial-hero .editorial-hero__layout { grid-template-columns: minmax(0, 1fr); }
  .editorial-hero__art {
    position: absolute;
    top: -5.5rem;
    right: -8.5rem;
    width: 350px;
    opacity: .24;
    z-index: -1;
    pointer-events: none;
  }
  .editorial-hero__art-note { display: none; }
  .editorial-hero__content { max-width: 680px; }
}
@media (max-width: 620px) {
  .essay-article.editorial-hero.page-hero { padding: 3.6rem 0 3.5rem; }
  .essay-article.editorial-hero .editorial-hero__layout { width: min(calc(100% - 2rem), 1120px); }
  .essay-article.editorial-hero h1 { font-size: clamp(2.55rem, 10vw, 3.5rem); }
  .editorial-hero__intro { font-size: 1.06rem; }
  .editorial-hero__meta span + span::before { margin-right: .4rem; }
  .editorial-hero__byline { gap: .15rem .4rem; }
}
@media print {
  .essay-article.editorial-hero.page-hero {
    background: #fff; color: #111; border: 1px solid #aaa;
  }
  .editorial-hero__art { display: none; }
  .editorial-hero h1, .editorial-hero h1 span,
  .editorial-hero__intro, .editorial-hero__byline,
  .editorial-hero__meta, .editorial-hero__back { color: #111 !important; }
}
