.editorial-page {
  min-width: 320px;
  background: var(--canvas);
}

.editorial-hero {
  padding: clamp(3.2rem, 8vw, 6rem) 0 clamp(2.4rem, 6vw, 4.2rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 15%, rgba(193, 47, 114, .12), transparent 24rem),
    linear-gradient(145deg, #fffaf7, #f8f2ff);
}

.editorial-hero__eyebrow {
  margin: 0 0 .7rem;
  color: var(--pink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.editorial-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.editorial-main {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 9vw, 7rem);
}

.rich-header-image {
  width: min(100%, 52rem);
  margin: 0 0 1rem;
  padding: clamp(.55rem, 1.5vw, .85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.rich-header-image[hidden] { display: none; }
.rich-header-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(76vh, 54rem);
  margin: 0 auto;
  border-radius: calc(var(--radius) - .55rem);
  object-fit: contain;
}

.rich-content {
  width: min(100%, 52rem);
  padding: clamp(1.35rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.rich-content > :first-child { margin-top: 0; }
.rich-content > :last-child { margin-bottom: 0; }
.rich-content h2,
.rich-content h3 {
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.rich-content h2 { margin: 2rem 0 .7rem; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.rich-content h3 { margin: 1.6rem 0 .6rem; font-size: clamp(1.18rem, 2.5vw, 1.45rem); }
.rich-content p,
.rich-content li { color: var(--muted); line-height: 1.75; }
.rich-content p { margin: 0 0 1rem; }
.rich-content ul,
.rich-content ol { margin: 0 0 1.25rem; padding-left: 1.45rem; }
.rich-content li + li { margin-top: .4rem; }
.rich-content strong { color: var(--ink); }
.rich-content a {
  color: var(--plum-deep);
  font-weight: 720;
  text-decoration-thickness: .1em;
  text-underline-offset: .2em;
}
.rich-content a:hover { color: var(--pink); }
.rich-content__empty,
.rich-content__error {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: .9rem;
  background: #f3edf9;
  color: var(--plum-deep) !important;
  font-weight: 700;
}
.rich-content__error { background: #fde9ed; color: #8b263b !important; }

.editorial-footer { background: #fff; }

@media (max-width: 38rem) {
  .editorial-hero { padding-top: 2.6rem; }
  .editorial-main { padding-top: 1.1rem; }
  .rich-content { border-radius: 1.05rem; }
  .rich-header-image { padding: .4rem; border-radius: 1.05rem; }
  .rich-header-image img { max-height: 72vh; border-radius: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
