/* Inner pages share the homepage's typography, palette and motion. */
.inner-page.intro-scrolling {
  overflow-anchor: none;
}
.inner-page.hero-collapsed .hero {
  display: none;
}
.inner-page.hero-collapsed main::before {
  content: "";
  display: block;
  height: var(--header-height, 76px);
}
.page-heading {
  background: var(--olive);
  padding: clamp(65px, 8vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.page-heading::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 300px;
  height: 300px;
  background: var(--verm);
  clip-path: polygon(30% 0, 100% 0, 100% 100%);
}
.page-heading .wrap {
  position: relative;
  z-index: 1;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.85rem;
}
.breadcrumbs a {
  border-bottom: 2px solid var(--ink);
}
.page-title {
  max-width: 1050px;
  font-size: clamp(3.4rem, 7.7vw, 7rem);
  overflow-wrap: anywhere;
}
.page-kicker {
  margin-top: 1.8rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(45px, 7vw, 90px);
  align-items: start;
}
.page-article {
  min-width: 0;
}
.page-cover {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border: 3px solid var(--ink);
  margin-bottom: 2.5rem;
}
.page-article h2,
.page-article h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 2.5rem 0 1.1rem;
  scroll-margin-top: 95px;
}
.page-article h3 {
  font-size: 2.5rem;
}
.page-article p {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  line-height: 1.85;
}
.page-article > p:first-child {
  font-size: 1.2rem;
}
.page-article a:not(.gallery-photo) {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.page-article a:hover {
  text-decoration-color: var(--red);
}
.page-article ul,
.page-article ol {
  margin: 1.25rem 0 2rem;
  padding-left: 1.6rem;
  list-style: disc;
}
.page-article ol {
  list-style: decimal;
}
.page-article li {
  padding-left: 0.3rem;
  margin-bottom: 0.85rem;
}
.page-article hr {
  border-top: 3px solid var(--ink);
  margin: 2.5rem 0;
}
.page-article blockquote {
  border-left: 6px solid var(--red);
  padding-left: 1.5rem;
  margin: 2rem 0;
}
.page-article figure {
  margin: 2rem 0;
}
.gallery-photo {
  background: transparent;
  display: block;
  width: 100%;
  cursor: zoom-in;
  padding: 0;
  border: 3px solid var(--ink);
  overflow: hidden;
}
.gallery-photo img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}
.gallery-photo:hover img {
  transform: scale(1.03);
}
.page-article figcaption {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}
.archive-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 2rem 0;
}
.archive-gallery .gallery-photo {
  aspect-ratio: 4/3;
}
.archive-gallery img {
  height: 100%;
  object-fit: cover;
}
.video-frame {
  margin: 2rem 0;
  aspect-ratio: 16/9;
  background: var(--ink);
  border: 3px solid var(--ink);
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.page-sidebar {
  position: sticky;
  top: 100px;
  border-top: 8px solid var(--red);
  padding: 1.4rem;
  background: var(--ink);
  color: var(--paper);
}
.page-sidebar h2 {
  font: 700 2.4rem/1 var(--font-display);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-sidebar a {
  display: block;
  padding: 0.75rem 0;
  border-top: 1px solid #fff3;
  font-size: 0.9rem;
  line-height: 1.5;
}
.page-sidebar a:hover,
.page-sidebar [aria-current="page"] {
  color: var(--yellow);
}
.page-sidebar .back-link {
  margin-top: 1rem;
  font-weight: 700;
}
.archive-links {
  background: var(--gray);
  border-top: 3px solid var(--ink);
  padding-block: 55px;
}
.archive-links h2 {
  font: 700 3.5rem/1 var(--font-display);
  margin-bottom: 1.5rem;
}
.archive-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.archive-link-grid a {
  border: 3px solid var(--ink);
  padding: 1.2rem;
  font: 700 2rem/1.1 var(--font-display);
  transition: background 0.2s, transform 0.2s;
}
.archive-link-grid a:hover {
  background: var(--yellow);
  transform: translateY(-3px);
}
.supporter-logo {
  width: min(100%, 540px);
  height: auto;
  margin: 2rem auto;
}
@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .page-sidebar {
    position: static;
  }
  .archive-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .page-heading::after {
    width: 180px;
    height: 180px;
    right: -80px;
  }
  .archive-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .page-article p {
    font-size: 1rem;
  }
  .archive-link-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-photo img,
  .archive-link-grid a {
    transition: none;
  }
}
