/* Heading cards: every page's title block sits in a gold-edged glass card */
.heading-card,
.board-hero > div:first-child,
.shop-hero > div:first-child,
.gallery-hero__copy,
.entry-intro > div:first-child,
.packages-intro__copy,
.partner-directory__intro,
.terms-heading {
  position: relative;
  background:
    radial-gradient(120% 90% at 0% 0%, oklch(from var(--color-gold) l c h / 0.14), transparent 55%),
    linear-gradient(155deg, oklch(from #17150f l c h / 0.88), oklch(from #0a0a0b l c h / 0.92));
  border: 1px solid oklch(from var(--color-gold) l c h / 0.30);
  border-top: 3px solid var(--color-gold);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85), inset 0 1px 0 oklch(from #fff l c h / 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.heading-card { max-width: 780px; }
.heading-card > :last-child { margin-bottom: 0; }
.heading-card .page-hero__title { max-width: 18ch; }

/* The home hero keeps its image visible, so the card hugs the left */
.hero__inner > .heading-card { max-width: 820px; }
.hero__inner > .heading-card .hero__actions { margin-bottom: 0; }

/* Standalone blocks that were previously width-capped */
.partner-directory__intro { max-width: 760px; }
.terms-heading { max-width: 860px; }

@media (max-width: 640px) {
  .heading-card,
  .board-hero > div:first-child,
  .shop-hero > div:first-child,
  .gallery-hero__copy,
  .entry-intro > div:first-child,
  .packages-intro__copy,
  .partner-directory__intro,
  .terms-heading { border-radius: 16px; padding: 22px 20px; }
}
