/* Einheitlicher Seitenkopf für Aktuelles, Termine, Mitglied und Kontakt. */

.subpage-hero {
  position: relative;
  isolation: isolate;
  min-height: 24rem !important;
  display: grid !important;
  align-items: center !important;
  overflow: hidden;
  padding: 8rem 1.5rem 3.5rem !important;
  border-bottom: 1px solid color-mix(in oklch, var(--gold) 16%, transparent) !important;
  background:
    radial-gradient(44rem 24rem at 8% 100%, color-mix(in oklch, var(--blue-club) 14%, transparent), transparent 72%),
    linear-gradient(145deg, var(--navy-900), var(--navy-950)) !important;
}

.subpage-hero::before,
.subpage-hero::after {
  content: none !important;
}

.subpage-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

.subpage-hero__copy {
  max-width: 48rem;
}

.subpage-hero__copy::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-bottom: 1rem;
  background: var(--gold);
}

h1.subpage-title {
  max-width: none;
  margin-top: 0;
  padding-right: 0.08em;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.subpage-hero__intro {
  max-width: 42rem;
  margin-top: 1rem !important;
  color: var(--text-dim);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem) !important;
  line-height: 1.5;
}

/* Individuelle Funktionen bleiben erhalten, ohne den gemeinsamen Aufbau zu stören. */
.member-hero .subpage-hero__inner {
  display: block;
}

.member-hero .member-crest {
  position: absolute;
  top: 50%;
  right: 0;
  width: 15rem;
  min-height: 15rem;
  translate: 0 -50%;
  opacity: 0.52;
  pointer-events: none;
}

.member-hero .member-crest img { width: 10rem; }
.member-hero .member-crest__ring { width: 13rem; }
.member-hero .member-crest__glow { width: 11rem; }
.member-hero .member-crest figcaption { display: none; }

@media (max-width: 760px) {
  .subpage-hero {
    min-height: 22rem !important;
    padding: 7.5rem 1rem 3rem !important;
  }

  .subpage-hero__inner,
  .member-hero .subpage-hero__inner {
    display: block !important;
    text-align: left !important;
  }

  .member-hero .member-hero__copy { display: block; }
  .member-hero .member-crest { display: none; }
  .member-hero .member-hero__status { width: fit-content; }
  .schedule-hero .print-button { margin-top: 1.5rem; }
}

@media (max-width: 620px) {
  h1.subpage-title { font-size: clamp(3.4rem, 15vw, 4.5rem); }
}
