main .block.block-text:has(.article-hero) {
  padding: 0 0 4rem;
  background: color-mix(in srgb, var(--primary) 5%, var(--surface));
}
main .block.block-text:has(.article-hero) > .wrap { width: 100%; max-width: none; margin: 0; }

.article-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(14rem, 24vw, 19rem);
  padding-bottom: 3.5rem;
  background: var(--secondary);
  background-image: linear-gradient(color-mix(in srgb, var(--secondary) 78%, transparent), color-mix(in srgb, var(--secondary) 78%, transparent)), var(--hero-img, none);
  background-size: cover;
  background-position: center;
  text-align: center;
}
.article-hero-in {
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
  padding: 2.5rem 0 0;
}
.article-hero .eyebrow { justify-content: center; color: var(--background); margin-bottom: 0.7rem; }
.article-hero .eyebrow::before { background: var(--background); }
.article-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--background);
}

.article-sheet-wide {
  position: relative;
  width: min(1280px, calc(100% - 3rem));
  margin: -3rem auto 0;
  background: var(--background);
  border: 1px solid color-mix(in srgb, var(--text) 10%, var(--background));
  border-radius: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.article-lead p { margin: 0 0 0.9rem; line-height: 1.7; font-size: 1.08rem; }
.article-toc {
  margin: 1.5rem 0 2rem;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--background));
  background: color-mix(in srgb, var(--primary) 5%, var(--background));
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}
.article-toc-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
}
.article-toc ul { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.35rem; }
.article-toc li::marker { color: var(--primary); }
.article-toc a { color: var(--text); text-decoration: none; overflow-wrap: break-word; }
.article-toc a:hover { color: var(--primary); }
.article-part { scroll-margin-top: 6.5rem; }
.article-part h2 { margin: 2rem 0 0.75rem; }
.article-part p { margin: 0 0 0.85rem; line-height: 1.7; }
.article-part ul { margin: 0.35rem 0 1rem; padding-left: 1.15rem; }
.article-part li { margin: 0.3rem 0; line-height: 1.55; }
.article-part li::marker { color: var(--primary); }
.article-photo { margin: 2rem 0 0; }
.article-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 1rem;
}
html { scroll-behavior: smooth; }

@media (max-width: 700px) {
  .article-hero { min-height: 11rem; padding-bottom: 3rem; }
  .article-sheet-wide { width: calc(100% - 2rem); padding: 1.25rem; }
  .article-photo img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
