/* tennis-golfclub-clubhuis: ReactBitsPro Components/expanding-grid (origineel gecompileerd) met de gedeelde
   glyph-orb-kopbal. Fonts levert de schil (tennis-golfclub-hero/assets/fonts.css). */
.msm-tennis-golfclub-clubhuis {
  --tgc-ink: var(--m-ink, #173228);
  --tgc-muted: var(--m-muted, #5a6b61);
  box-sizing: border-box;
  width: 100%;
  padding: 56px 16px 48px;
  background: var(--m-surface, #f3f6f1);
  color: var(--tgc-ink);
  font-family: var(--m-font-body, 'Public Sans', Arial, sans-serif);
  scroll-margin-top: 112px;
}
.msm-tennis-golfclub-clubhuis *,
.msm-tennis-golfclub-clubhuis *::before,
.msm-tennis-golfclub-clubhuis *::after { box-sizing: border-box; }
.msm-tennis-golfclub-clubhuis .tgc-wrap { max-width: 1400px; margin: 0 auto; }
.msm-tennis-golfclub-clubhuis .tgc-head { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }
.msm-tennis-golfclub-clubhuis .tgc-kicker {
  margin: 0;
  font-family: var(--m-font-display, 'Barlow Condensed', 'Arial Narrow', sans-serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--m-primary, #d76635) 62%, var(--m-ink, #173228));
}
.msm-tennis-golfclub-clubhuis .tgc-titlerow { display: flex; align-items: center; gap: 14px; }
.msm-tennis-golfclub-clubhuis .tgc-title {
  margin: 0;
  font-family: var(--m-font-display, 'Barlow Condensed', 'Arial Narrow', sans-serif);
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.msm-tennis-golfclub-clubhuis .tgc-lead { margin: 0; max-width: 40rem; font-size: 1rem; line-height: 1.6; color: var(--tgc-muted); }

/* Gedeelde kopbal (glyph-orb): plek van 72 px, desktop 96 px. */
.msm-tennis-golfclub-clubhuis .tg-orb-slot {
  position: relative;
  flex: none;
  display: block;
  width: 72px;
  height: 72px;
  color: color-mix(in srgb, var(--m-muted, #5a6b61) 70%, transparent);
}
.msm-tennis-golfclub-clubhuis .tg-orb-slot svg { display: block; width: 100%; height: 100%; }

/* Originele component-CSS, gescoped (expanding-grid.css en glyph-orb.css). */
.msm-tennis-golfclub-clubhuis .expanding-grid { position: relative; width: 100%; height: 100%; min-height: 420px; overflow: hidden; }
.msm-tennis-golfclub-clubhuis .glyph-orb { position: relative; isolation: isolate; width: 100%; height: 100%; min-height: 240px; overflow: hidden; }
.msm-tennis-golfclub-clubhuis .glyph-orb__content { position: relative; z-index: 10; width: 100%; height: 100%; }

/* Podium voor het raster: vaste hoogte, zodat wisselen tussen raster en terugval niets verschuift. */
.msm-tennis-golfclub-clubhuis .tgc-stage {
  position: relative;
  height: 520px;
  margin-top: 32px;
  border-radius: var(--m-radius, 8px);
}
.msm-tennis-golfclub-clubhuis .tgc-host { position: absolute; inset: 0; }
.msm-tennis-golfclub-clubhuis .tgc-host .expanding-grid { min-height: 0; color: var(--tgc-ink); }
.msm-tennis-golfclub-clubhuis .tgc-host .expanding-grid:focus-visible {
  outline: 2px solid var(--m-ink, #173228);
  outline-offset: 4px;
  border-radius: var(--m-radius, 8px);
}

/* Terugval zonder JavaScript of WebGL: de acht foto's als raster met onderschrift. */
.msm-tennis-golfclub-clubhuis .tgc-fallback {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 8px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.msm-tennis-golfclub-clubhuis .tgc-fallback[hidden] { display: none; }
.msm-tennis-golfclub-clubhuis .tgc-tile { min-height: 0; }
.msm-tennis-golfclub-clubhuis .tgc-photo {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--m-radius, 8px);
  background: var(--m-bg, #dfe7dc);
}
.msm-tennis-golfclub-clubhuis .tgc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.msm-tennis-golfclub-clubhuis .tgc-photo figcaption {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--m-surface, #f3f6f1) 92%, transparent);
  color: var(--tgc-ink);
}
.msm-tennis-golfclub-clubhuis .tgc-cap-title { font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.msm-tennis-golfclub-clubhuis .tgc-cap-sub { display: none; font-size: 0.75rem; line-height: 1.35; color: var(--tgc-muted); }
.msm-tennis-golfclub-clubhuis .tgc-note { margin: 24px 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--tgc-muted); }

@media (min-width: 640px) {
  .msm-tennis-golfclub-clubhuis { padding: 72px 24px 64px; }
  .msm-tennis-golfclub-clubhuis .tgc-title { font-size: 2.75rem; }
  .msm-tennis-golfclub-clubhuis .tgc-lead { font-size: 1.125rem; }
  .msm-tennis-golfclub-clubhuis .tgc-stage { height: 600px; margin-top: 40px; }
  .msm-tennis-golfclub-clubhuis .tgc-fallback { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .msm-tennis-golfclub-clubhuis .tgc-photo figcaption { left: 10px; right: 10px; bottom: 10px; padding: 8px 10px; }
  .msm-tennis-golfclub-clubhuis .tgc-cap-title { font-size: 0.9375rem; }
  .msm-tennis-golfclub-clubhuis .tgc-cap-sub { display: block; }
}
@media (min-width: 768px) {
  .msm-tennis-golfclub-clubhuis .tgc-title { font-size: 3.25rem; }
}
@media (min-width: 900px) {
  .msm-tennis-golfclub-clubhuis .tg-orb-slot { width: 96px; height: 96px; }
}
@media (min-width: 1024px) {
  .msm-tennis-golfclub-clubhuis { padding: 96px 32px 80px; }
  .msm-tennis-golfclub-clubhuis .tgc-stage { height: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  .msm-tennis-golfclub-clubhuis .tgc-host .expanding-grid { scroll-behavior: auto; }
}
