/* Hallmark · macrostructure: Split Finder · tone: editorial-civic · anchor hue: VDA blue · pre-emit critique: P5 H5 E5 S5 R5 V4 */
:root {
  --vda-paper: #f4f6f8;
  --vda-paper-blue: #e8f2fa;
  --vda-blue-soft: #cfe6f5;
  --vda-blue-wash: #f2f8fc;
  --vda-success: #267552;
  --vda-warning: #a35b00;
  --vda-map-line: rgba(1, 110, 177, 0.15);
  --vda-map-fill: rgba(155, 173, 214, 0.24);
  --vda-overlay: rgba(21, 26, 32, 0.58);
  --vda-shadow-soft: 0 12px 34px rgba(16, 36, 54, 0.1);
}

body.subpage {
  background: var(--vda-paper);
}

body.subpage main {
  min-height: 70vh;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.nav-item.is-current > .nav-trigger {
  color: var(--vda-blue-dark);
}

.nav-item.is-current > .nav-trigger::after {
  opacity: 1;
  transform: scaleX(1);
}

.subpage-main {
  background: var(--white);
}

.subpage-section {
  padding-block: clamp(4rem, 7vw, 7rem);
}

.subpage-section--paper {
  background-color: var(--vda-paper);
}

.subpage-section--blue {
  background-color: var(--vda-paper-blue);
}

.subpage-section--dark {
  color: var(--white);
  background-color: var(--vda-blue-dark);
}

.subpage-kicker {
  margin: 0 0 0.7rem;
  color: var(--vda-blue);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.subpage-section--dark .subpage-kicker {
  color: var(--vda-blue-soft);
}

.subpage-title,
.section-heading h2,
.profile-title {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.subpage-title {
  max-width: 11ch;
  font-size: clamp(3.1rem, 7vw, 6.5rem);
}

.subpage-title > span {
  display: block;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.section-heading > p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.subpage-section--dark .section-heading > p {
  color: var(--vda-blue-soft);
}

.page-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background-color: var(--vda-paper-blue);
}

.page-hero__art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--vda-paper-blue);
}

.page-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
}

.page-hero__content {
  display: flex;
  max-width: 650px;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 2rem 4.5rem 0;
}

.clubs-page .subpage-title {
  min-width: 0;
  max-width: none;
  overflow-wrap: anywhere;
  font-size: clamp(3rem, 4.8vw, 4.9rem);
}

.clubs-page .subpage-title > span {
  white-space: nowrap;
}

.page-hero__copy {
  max-width: 54ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hero-search {
  display: grid;
  max-width: 680px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  margin-top: 2rem;
}

.field-shell {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  border: 1px solid var(--vda-blue);
  border-radius: var(--radius);
  background: var(--white);
}

.field-shell svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-left: 1rem;
  fill: none;
  stroke: var(--vda-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.field-shell input,
.field-shell select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: transparent;
}

.field-shell:focus-within {
  outline: 3px solid var(--vda-blue-soft);
  outline-offset: 2px;
}

.hero-search .button {
  min-height: 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--vda-blue-dark);
  font-weight: 650;
  text-decoration: none;
}

.breadcrumb span[aria-hidden] {
  color: var(--vda-blue);
}

.finder-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.filter-chip,
.term-filter {
  min-height: 42px;
  border: 1px solid var(--vda-blue);
  border-radius: var(--radius);
  padding: 0.55rem 0.9rem;
  color: var(--vda-blue-dark);
  background: var(--white);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.filter-chip[aria-pressed="true"],
.term-filter[aria-pressed="true"] {
  color: var(--white);
  background: var(--vda-blue);
}

.finder-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.35rem 0 0.9rem;
}

.finder-status p {
  margin: 0;
  font-weight: 700;
}

.finder-reset {
  border: 0;
  padding: 0.4rem 0;
  color: var(--vda-blue-dark);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.finder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  padding-bottom: 5.5rem;
}

.club-results {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.club-result {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(190px, 0.56fr) 150px;
  gap: 1.4rem;
  align-items: center;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.club-result[hidden] {
  display: none;
}

.club-result__logo {
  width: 96px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--white);
  object-fit: cover;
}

.club-result__main,
.club-result__event,
.club-result__actions {
  min-width: 0;
}

.club-result h2 {
  max-width: 26ch;
  margin: 0;
  color: var(--vda-blue-dark);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.05;
  text-wrap: balance;
}

.club-result h2 .title-lock {
  white-space: nowrap;
}

.club-result__location {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 2px;
  padding: 0.22rem 0.55rem;
  color: var(--vda-blue-dark);
  background: var(--vda-blue-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.club-result__event {
  padding-left: 1.3rem;
  border-left: 1px solid var(--line);
}

.club-result__event small {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-result__event strong {
  display: block;
  color: var(--vda-blue-dark);
  line-height: 1.2;
}

.club-result__event span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.club-result__actions {
  display: grid;
  gap: 0.55rem;
}

.button--small {
  min-height: 42px;
  padding: 0.58rem 0.8rem;
  font-size: 0.93rem;
}

.button--outline {
  border-color: var(--vda-blue);
  color: var(--vda-blue-dark);
  background: var(--white);
}

.button--outline:hover,
.button--outline[aria-pressed="true"] {
  color: var(--white);
  background: var(--vda-blue);
}

.button--ghost {
  border-color: var(--line);
  color: var(--vda-blue-dark);
  background: transparent;
}

.button--ghost:hover {
  border-color: var(--vda-blue);
  background: var(--white);
}

.finder-rail {
  padding-top: 1.35rem;
}

.finder-rail__section {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.finder-rail__section:first-child {
  border-top-color: var(--vda-blue);
}

.finder-rail__section h2 {
  margin: 0 0 0.65rem;
  color: var(--vda-blue-dark);
  font-size: 1.2rem;
}

.finder-rail__section p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.saved-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.saved-summary strong {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--vda-blue);
}

.list-panel[hidden] {
  display: none;
}

.club-region {
  padding-block: clamp(4rem, 7vw, 7rem);
  background: var(--vda-paper-blue);
}

.club-region__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.club-region__heading h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.club-region__heading > p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  text-wrap: pretty;
}

.club-region__map {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.72fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.club-region__visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--vda-blue-wash);
}

.club-region__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.club-region__places {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.club-region__places li {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.club-region__places li:last-child {
  border-bottom: 0;
}

.club-region__places a {
  display: grid;
  min-height: 100%;
  align-content: center;
  gap: 0.22rem;
  padding: 1.2rem 1.35rem;
  color: var(--vda-blue-dark);
  text-decoration: none;
}

.club-region__places a:hover,
.club-region__places a:focus-visible {
  background: var(--vda-blue-wash);
}

.club-region__places a:focus-visible {
  outline: 3px solid var(--vda-blue);
  outline-offset: -3px;
}

.club-region__places span {
  color: var(--vda-blue);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-region__places strong {
  min-width: 0;
  font-size: 1.08rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.club-region__places small {
  color: var(--muted);
  font-size: 0.86rem;
}

.clubs-page .site-footer .footer-brand img {
  width: 72px;
  height: 72px;
  background: transparent;
  object-fit: contain;
}

.empty-state {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.empty-state h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.empty-state p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
}

/* Club profile */

.profile-hero {
  padding: clamp(3.5rem, 6vw, 6rem) 0 2rem;
  background: var(--vda-paper-blue);
}

.profile-intro {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.profile-logo {
  width: 142px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--white);
  object-fit: cover;
}

.profile-number {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-weight: 650;
}

.profile-number::before {
  width: 24px;
  height: 3px;
  background: var(--vda-blue);
  content: "";
}

.profile-title {
  max-width: 27ch;
  color: var(--vda-blue-dark);
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.6rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
}

.profile-meta a {
  color: var(--vda-blue-dark);
  font-weight: 650;
  text-decoration: none;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: 4.5rem 6.5rem;
}

.profile-content > section {
  padding-block: 2.2rem;
  border-top: 1px solid var(--line);
}

.profile-content > section:first-child {
  padding-top: 0;
  border-top: 0;
}

.profile-content h2,
.contact-rail h2 {
  margin: 0 0 1rem;
  color: var(--vda-blue-dark);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.05;
}

.profile-content p {
  max-width: 70ch;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.offer-item {
  min-height: 118px;
  padding: 1.1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-item::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 0.9rem;
  background: var(--vda-blue);
  content: "";
}

.offer-item strong {
  display: block;
  line-height: 1.15;
}

.offer-item span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-events {
  border-top: 1px solid var(--line);
}

.profile-event {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-event time {
  color: var(--vda-blue-dark);
  font-weight: 750;
}

.profile-event time span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-event h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
}

.profile-event p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-event a {
  color: var(--vda-blue-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.contact-rail {
  position: sticky;
  top: calc(var(--header-height) + var(--brand-overhang) + 1rem);
  align-self: start;
  border-top: 3px solid var(--vda-blue);
}

.contact-rail__section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-person + .contact-person {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.contact-person__name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
}

.contact-person__role {
  margin: 0.1rem 0 0.8rem;
  color: var(--muted);
}

.contact-person__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.contact-person__links a,
.contact-list a {
  color: var(--vda-blue-dark);
  font-weight: 650;
  text-decoration: none;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-maintenance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  color: var(--muted);
  background: var(--vda-blue-wash);
}

.profile-maintenance a {
  color: var(--vda-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.mobile-profile-actions {
  display: none;
}

/* Membership */

.membership-hero {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  color: var(--white);
  background: var(--vda-blue-dark);
}

.membership-hero::after {
  position: absolute;
  top: -20%;
  right: -6%;
  width: 46vw;
  aspect-ratio: 1;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  content: "";
}

.membership-hero .subpage-title {
  max-width: none;
  font-size: clamp(2rem, 10.5vw, 6.5rem);
}

.membership-hero__copy {
  max-width: 55ch;
  margin: 1.5rem 0 0;
  color: var(--vda-blue-soft);
  font-size: 1.2rem;
}

.membership-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.membership-option {
  min-height: 420px;
  padding: clamp(2rem, 5vw, 4rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.membership-option:nth-child(2) {
  background: var(--vda-paper-blue);
}

.membership-option h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--vda-blue-dark);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.membership-option p {
  max-width: 48ch;
  color: var(--muted);
}

.membership-option__price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 2rem 0 1rem;
  color: var(--vda-blue-dark);
}

.membership-option__price strong {
  font-size: 3rem;
  line-height: 1;
}

.membership-option ul,
.benefit-item ul {
  padding: 0;
  list-style: none;
}

.membership-option li,
.benefit-item li {
  padding: 0.55rem 0 0.55rem 1.2rem;
  border-top: 1px solid var(--line);
}

.membership-option li::before,
.benefit-item li::before {
  float: left;
  width: 1.2rem;
  margin-left: -1.2rem;
  color: var(--vda-blue);
  content: "–";
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-item {
  min-height: 290px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-item__marker {
  width: 34px;
  height: 4px;
  margin-bottom: 1.5rem;
  background: var(--vda-blue);
}

.benefit-item h3 {
  max-width: 14ch;
  margin: 0;
  color: var(--vda-blue-dark);
  font-size: 1.6rem;
  line-height: 1.08;
}

.benefit-item p {
  color: var(--muted);
}

.join-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-on-dark);
}

.join-step {
  padding: 2rem 2rem 0 0;
  border-right: 1px solid var(--line-on-dark);
}

.join-step + .join-step {
  padding-left: 2rem;
}

.join-step:last-child {
  border-right: 0;
}

.join-step__line {
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 1.2rem;
  background: var(--vda-blue-soft);
}

.join-step h3 {
  margin: 0;
  font-size: 1.5rem;
}

.join-step p {
  color: var(--vda-blue-soft);
}

/* Events */

.event-hero {
  padding: clamp(5rem, 9vw, 8rem) 0 3.5rem;
  background: var(--vda-paper-blue);
}

.event-hero .subpage-title {
  max-width: 12ch;
}

.event-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-top: 2rem;
}

.term-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.event-month {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.event-month__title {
  padding: 2rem 2rem 2rem 0;
  color: var(--vda-blue-dark);
}

.event-month__title strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.event-month__title span {
  display: block;
  color: var(--muted);
}

.event-list {
  border-left: 1px solid var(--line);
}

.calendar-event {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 220px auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.35rem 0 1.35rem 2rem;
  border-bottom: 1px solid var(--line);
}

.calendar-event[hidden] {
  display: none;
}

.calendar-event time {
  color: var(--vda-blue-dark);
  font-size: 1.8rem;
  font-weight: 750;
  line-height: 0.95;
}

.calendar-event time span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-event h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.12;
}

.calendar-event__type {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--vda-blue);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-event__place {
  color: var(--muted);
  font-size: 0.95rem;
}

.calendar-event__place strong {
  display: block;
  color: var(--ink);
}

.calendar-event > a {
  color: var(--vda-blue-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.event-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.event-submit h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1;
}

.event-submit p {
  max-width: 55ch;
  color: var(--vda-blue-soft);
}

/* Shared footer and mobile dock */

.subpage-footer {
  padding: 4.5rem 0 1.5rem;
  color: var(--white);
  background: var(--ink);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr));
  gap: 3rem;
}

.footer__brand img {
  width: 72px;
  background: var(--vda-blue);
}

.footer__brand p {
  max-width: 34ch;
  color: var(--white);
}

.subpage-footer h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.subpage-footer li + li {
  margin-top: 0.55rem;
}

.subpage-footer a {
  color: var(--white);
  text-decoration: none;
}

.subpage-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-on-dark);
  color: var(--white);
  font-size: 0.9rem;
}

.footer__bottom p {
  margin: 0;
}

.mobile-dock {
  display: none;
}

.toast {
  position: fixed;
  z-index: 2000;
  right: 1rem;
  bottom: 1rem;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--vda-shadow-soft);
}

@media (max-width: 1100px) {
  .club-result {
    grid-template-columns: 88px minmax(0, 1fr) 150px;
  }

  .club-result__logo {
    width: 84px;
  }

  .club-result__event {
    display: none;
  }

  .finder-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
  }

  .calendar-event {
    grid-template-columns: 80px minmax(0, 1fr) auto;
  }

  .calendar-event__place {
    display: none;
  }
}

@media (max-width: 959px) {
  .finder-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .finder-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1;
    gap: 1.5rem;
    order: -1;
  }

  .finder-rail__section {
    border-top-color: var(--line);
  }

  .club-region__heading,
  .club-region__map {
    grid-template-columns: 1fr;
  }

  .club-region__heading {
    gap: 1.2rem;
  }

  .club-region__visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .club-region__places {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-region__places li:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .contact-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
  }

  .contact-rail > h2 {
    grid-column: 1 / -1;
  }

  .offer-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 790px) {
  .page-hero,
  .page-hero__inner {
    min-height: clamp(850px, 155vw, 1180px);
  }

  .page-hero__inner {
    display: block;
  }

  .page-hero__content {
    max-width: 100%;
    padding: 4.75rem 0 15rem;
  }

  .page-hero__art img {
    object-position: center top;
  }
}

@media (max-width: 760px) {
  body.subpage {
    padding-bottom: 70px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .subpage-title {
    max-width: 12ch;
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .clubs-page .subpage-title {
    max-width: none;
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .section-heading,
  .finder-toolbar,
  .event-toolbar,
  .event-submit {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .finder-toolbar > *,
  .event-toolbar > * {
    min-width: 0;
  }

  .section-heading h2 {
    max-width: 14ch;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search .button {
    width: 100%;
  }

  .finder-layout {
    padding-bottom: 4rem;
  }

  .finder-rail {
    grid-template-columns: 1fr;
    gap: 0;
    order: initial;
  }

  .club-region__places {
    grid-template-columns: 1fr;
  }

  .club-region__places li:nth-child(odd) {
    border-right: 0;
  }

  .club-region__visual img {
    min-height: 300px;
  }

  .club-result {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1.4rem 0;
  }

  .club-result__logo {
    width: 56px;
  }

  .club-result h2 {
    font-size: clamp(1.05rem, 4.8vw, 1.25rem);
    line-height: 1.1;
    text-wrap: pretty;
  }

  .club-result__actions {
    display: flex;
    grid-column: 1 / -1;
  }

  .club-result__actions .button {
    flex: 1 1 0;
  }

  .profile-intro {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1.15rem;
  }

  .profile-logo {
    width: 92px;
  }

  .profile-title {
    font-size: clamp(2rem, 8.8vw, 3.2rem);
  }

  .profile-meta,
  .profile-actions {
    grid-column: 1 / -1;
  }

  .profile-actions .button {
    flex: 1 1 calc(50% - 0.7rem);
  }

  .profile-layout {
    padding-block: 3.5rem 5rem;
  }

  .offer-grid,
  .contact-rail,
  .membership-choice,
  .benefit-grid,
  .join-steps {
    grid-template-columns: 1fr;
  }

  .contact-rail > h2 {
    grid-column: 1;
  }

  .profile-event {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .profile-event a {
    grid-column: 2;
    white-space: normal;
  }

  .mobile-profile-actions {
    position: fixed;
    z-index: 1200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 66px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--vda-shadow-soft);
  }

  .mobile-profile-actions a,
  .mobile-profile-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-right: 1px solid var(--line);
    padding: 0.5rem;
    color: var(--vda-blue-dark);
    background: transparent;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .membership-option {
    min-height: 0;
  }

  .benefit-item {
    min-height: 0;
  }

  .join-step,
  .join-step + .join-step {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-on-dark);
  }

  .event-month {
    grid-template-columns: 1fr;
  }

  .event-month__title {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    padding: 2rem 0 1rem;
  }

  .event-list {
    border-left: 0;
  }

  .calendar-event {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem 0;
  }

  .calendar-event time {
    font-size: 1.55rem;
  }

  .calendar-event > a {
    grid-column: 2;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .mobile-dock {
    position: fixed;
    z-index: 1150;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 70px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--vda-shadow-soft);
  }

  .mobile-dock a,
  .mobile-dock button {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    border: 0;
    padding: 0.45rem 0.2rem;
    color: var(--muted);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 650;
    text-decoration: none;
  }

  .mobile-dock a[aria-current="page"] {
    color: var(--vda-blue-dark);
  }

  .mobile-dock svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .mobile-dock strong {
    position: absolute;
    top: 5px;
    left: calc(50% + 7px);
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--vda-blue);
    font-size: 0.66rem;
  }

  body.profile-page {
    padding-bottom: 66px;
  }

  body.profile-page .mobile-dock {
    display: none;
  }

  .toast {
    bottom: 82px;
  }
}

@media (max-width: 420px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .subpage-section {
    padding-block: 3.5rem;
  }

  .page-hero__content {
    padding-top: 4.8rem;
  }

  .filter-chip-list,
  .term-filter-list {
    width: 100%;
    max-width: calc(100vw - 24px);
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
  }

  .filter-chip,
  .term-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .club-result__actions {
    flex-direction: column;
  }

  .profile-intro {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .profile-logo {
    width: 72px;
  }

  .profile-title {
    font-size: 1.95rem;
  }

  .profile-number {
    font-size: 0.85rem;
  }

  .profile-actions .button {
    flex-basis: 100%;
  }

  .profile-maintenance {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: 1;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
