/* =================================================================
   KS WESOŁA – Section Styles
   Header,
hero,
all content sections,
and footer
   ================================================================= */

/* ───────────────────────────────────────────
   HEADER & NAVIGATION
   ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.site-header .logo {
  flex-shrink: 0;
}

/* Wyróżnienia obok herbu: klub partnerski Legii + Srebrny Certyfikat PZPN.
   Widoczne dopiero od 1280 px — niżej nagłówek robi się ciasny (patrz responsive.css). */
.header-badges {
  display: none;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
  padding-left: var(--space-md);
  margin-left: var(--space-xs);
  border-left: 1px solid var(--border);
}

/* Same znaki graficzne – pełne lockupy z tekstem są na Akademii i „O nas",
w nagłówku ich podpisy byłyby nieczytelne */
.header-badge {
  height: 34px;
  width: auto;
  display: block;
}

@media (min-width: 1281px) {
  .header-badges {
    display: flex;
  }
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  display: block;
  padding: 0.5rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--ink-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--club-green);
  background: var(--club-green-light);
}

.header-cta {
  flex-shrink: 0;
}

/* Right side of the header: phone + CTA + hamburger */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--club-green);
  white-space: nowrap;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast);
}

.header-phone:hover {
  color: var(--club-green-dark);
}

.header-phone-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--club-green-light);
  color: var(--club-green);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.header-phone:hover .header-phone-icon {
  background: var(--club-green);
  color: var(--white);
}

.header-phone-icon svg {
  width: 16px;
  height: 16px;
}

/* "Dołącz" lives in the yellow button on desktop; inside the overlay menu on mobile */
.nav-mobile-only {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ───────────────────────────────────────────
   DROPDOWN NAV
   ─────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-chevron,
.dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-light);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: var(--club-green-light);
  color: var(--club-green);
}

/* ───────────────────────────────────────────
   PAGE HEADER (subpages)
   ─────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--club-green-dark) 0%, var(--club-green) 100%);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

/* Pasek wyróżnień klubu (Legia + certyfikat PZPN).
   Logotypy są na białym tle,
więc na jasnej sekcji wystarcza im delikatna ramka. */
.badge-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.badge-strip-center {
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

/* Logotypy same w sobie – bez kafelków; oba są na białym tle,
a sekcje,
w których stoją,
też są białe */
:is(:is(:is(.badge-strip-item,
.is-style-badge-strip-item),
.is-style-badge-strip-item),
.is-style-badge-strip-item) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

:is(:is(:is(.badge-strip-item,
.is-style-badge-strip-item),
.is-style-badge-strip-item),
.is-style-badge-strip-item) img {
  height: 52px;
  width: auto;
  display: block;
}

/* Znak Srebrnego Certyfikatu ma tekst wtopiony w grafikę – w tej skali
   nieczytelny,
więc dokładamy podpis i robi się lockup jak u Klubu Partnerskiego */
:is(:is(:is(.badge-strip-caption,
.is-style-badge-strip-caption),
.is-style-badge-strip-caption),
.is-style-badge-strip-caption) {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: var(--lh-snug);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-light);
  text-align: left;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.5) 60px,
      rgba(255, 255, 255, 0.5) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.5) 60px,
      rgba(255, 255, 255, 0.5) 61px
    );
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

:is(:is(:is(.page-header-title,
.is-style-page-header-title),
.is-style-page-header-title),
.is-style-page-header-title) {
  font-size: var(--fs-3xl);
  color: var(--white);
  margin-top: var(--space-sm);
}

:is(:is(:is(.page-header-desc,
.is-style-page-header-desc),
.is-style-page-header-desc),
.is-style-page-header-desc) {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-relaxed);
  max-width: 680px;
  margin-top: var(--space-md);
}

/* ───────────────────────────────────────────
   HERO SECTION
   ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: 0;
  overflow: hidden;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--club-green-dark) 0%, var(--club-green) 50%, #0D4E34 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.5) 60px,
      rgba(255, 255, 255, 0.5) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.5) 60px,
      rgba(255, 255, 255, 0.5) 61px
    );
}

/* Center circle motif — resembles football pitch center */
.hero-circle-1 {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero-circle-2 {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

/* Halfway line motif */
.hero-line {
  position: absolute;
  right: 22%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.04);
}

/* Hero content layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  flex: 1;
}

.hero-content {
  padding: var(--space-2xl) 0;
}

@keyframes pulse {
  0%,
100% { opacity: 1; }
  50% { opacity: 0.4; }
}

:is(:is(:is(.hero-title,
.is-style-hero-title),
.is-style-hero-title),
.is-style-hero-title) {
  font-size: var(--fs-5xl);
  font-weight: 900;
  color: var(--white);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

:is(:is(:is(.hero-text,
.is-style-hero-text),
.is-style-hero-text),
.is-style-hero-text) {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero visual — badge + decorations */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-badge-large {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-3xl);
}

/* Real club crest image — translateZ(0) forces GPU compositing so
   drop-shadow correctly traces the PNG alpha from first paint */
.hero-crest {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.4));
  transform: translateZ(0);
}

/* (Old badge text styles removed — using real crest image) */

/* Floating accent shapes */
.hero-floating {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.hero-float-1 {
  width: 140px;
  height: 140px;
  background: rgba(232, 185, 49, 0.12);
  top: 10%;
  right: 5%;
}

.hero-float-2 {
  width: 80px;
  height: 80px;
  background: rgba(190, 47, 47, 0.1);
  bottom: 20%;
  right: 0;
}

.hero-float-3 {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  top: 30%;
  left: -10%;
}

/* Trust stats bar */
.hero-stats {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-3xl);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  padding: var(--space-xl) 0;
}

.stat-item {
  text-align: center;
}

:is(:is(:is(.stat-value,
.is-style-stat-value),
.is-style-stat-value),
.is-style-stat-value) {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--club-yellow);
}

:is(:is(:is(.stat-label,
.is-style-stat-label),
.is-style-stat-label),
.is-style-stat-label) {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

/* ───────────────────────────────────────────
   ABOUT SECTION
   ─────────────────────────────────────────── */
.section-about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

:is(:is(:is(.about-lead,
.is-style-about-lead),
.is-style-about-lead),
.is-style-about-lead) {
  font-size: var(--fs-md);
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

:where(.about-content) p {
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

/* Klub partnerski Legii – dosunięty do prawej w rzędzie z liczbami */
.about-partner {
  margin-left: auto;
}

.about-partner-img {
  width: 100%;
  max-width: 130px;
  height: auto;
  display: block;
}

.about-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.about-number-item {
  text-align: center;
}

:is(:is(:is(.number-value,
.is-style-number-value),
.is-style-number-value),
.is-style-number-value) {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--club-green);
}

:is(:is(:is(.number-label,
.is-style-number-label),
.is-style-number-label),
.is-style-number-label) {
  display: block;
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
}

/* About cards */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}

:where(.about-card) h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}

:where(.about-card) p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
}

/* PZPN certificate card with image */
.about-card-cert {
  padding: 0;
  overflow: hidden;
  border: none;
}

.about-cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ───────────────────────────────────────────
   FUNDING / WSPÓŁFINANSOWANIE
   ─────────────────────────────────────────── */
.section-funding {
  background: var(--white);
  padding: var(--space-3xl) 0;
}

/* ───────────────────────────────────────────
   LICZBA KOLUMN Z PANELU BLOKU

   15 równych siatek kart czyta `--ks-cols`; wartość domyślna w `var()` to liczba
   z projektu,
więc bez ustawienia klienta nic się nie zmienia. Zmienną wstawia
   blok grupy jako `style="--ks-cols: N"` (blocks.js + functions.php).

   Dlaczego nie natywny `layout: {type:"grid"}`: włączenie CSS układu rdzenia
   wnosi `:root :where(.is-layout-flow) > * { margin-block: … }` o specyficzności
   (0,
1,
0),
a reguły projektu są celowo (0,
0,
1) (siedzą w `:where()`,
żeby
   przepuszczać ustawienia klienta). Rdzeń wygrywał każdy taki remis i podmieniał
   odstępy projektu na blockGap edytora — pomiar: 0/0/4 różnice wysokości
   edytor↔front z `disable-layout-styles`,
12/19/24 bez niego.

   Breakpointy w responsive.css ustawiają CAŁĄ właściwość `grid-template-columns`,
więc wygrywają ze zmienną poniżej progów: wybór klienta działa na desktopie,
a zwijanie do 2 i 1 kolumny na tablecie i telefonie zostaje nietknięte.
   ─────────────────────────────────────────── */

.funding-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 4), minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.funding-card {
  text-align: center;
  margin: 0;
}

.funding-card > a {
  display: block;
  transition: opacity var(--transition-base);
}

.funding-card > a:hover {
  opacity: 0.75;
}

.funding-card img {
  max-height: 160px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto var(--space-md);
}

/* Wariant bez logotypu – nazwa złożona typograficznie */
.funding-card-text .funding-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 160px;
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--club-green);
  text-align: center;
  transition: all var(--transition-base);
}

.funding-card-text .funding-wordmark:hover {
  border-color: var(--club-green-light);
  box-shadow: var(--shadow-sm);
  opacity: 1;
}

.funding-wordmark-crest svg {
  width: 34px;
  height: 34px;
}

.funding-wordmark-text {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: var(--lh-snug);
  max-width: 14ch;
}

:where(.funding-card) figcaption {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  max-width: 320px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────
   CERTIFICATE BANNER
   ─────────────────────────────────────────── */
.section-certificate {
  background: var(--bg);
  padding: var(--space-3xl) 0;
}

.certificate-banner {
  text-align: center;
  margin: 0;
}

.certificate-banner img {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-lg);
}

:where(.certificate-banner) figcaption {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--club-green);
  max-width: 640px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

/* ───────────────────────────────────────────
   ADVANTAGES SECTION
   ─────────────────────────────────────────── */
.section-advantages {
  background: var(--bg);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-xl);
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Colored top accent stripe */
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--club-yellow);
}

.adv-accent-green::before { background: var(--club-green); }
.adv-accent-red::before { background: var(--club-red); }

/* Subtle decorative mesh pattern in the corner */
.advantage-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  opacity: 0.04;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--club-yellow) 0px,
      var(--club-yellow) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      var(--club-yellow) 0px,
      var(--club-yellow) 1px,
      transparent 1px,
      transparent 10px
    );
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
}

.adv-accent-green::after {
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--club-green) 0px, var(--club-green) 1px,
      transparent 1px, transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      var(--club-green) 0px, var(--club-green) 1px,
      transparent 1px, transparent 10px
    );
}

.adv-accent-red::after {
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--club-red) 0px, var(--club-red) 1px,
      transparent 1px, transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      var(--club-red) 0px, var(--club-red) 1px,
      transparent 1px, transparent 10px
    );
}

.advantage-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.advantage-card:hover::after {
  opacity: 0.07;
}

.advantage-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--club-yellow-light);
  color: var(--club-yellow-dark);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.advantage-icon svg {
  width: 26px;
  height: 26px;
}

.advantage-icon.icon-green {
  background: var(--club-green-light);
  color: var(--club-green);
}

.advantage-icon.icon-red {
  background: var(--club-red-light);
  color: var(--club-red);
}

:where(.advantage-card) h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

:where(.advantage-card) p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
}

/* ───────────────────────────────────────────
   ACADEMY SECTION
   ─────────────────────────────────────────── */
.section-academy {
  background: var(--white);
}

.academy-path {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 4), minmax(0, 1fr));
  gap: var(--space-3xl) var(--space-lg);
  position: relative;
}

.academy-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Connector line from each marker to the next one in the same row
   (8 steps = 2 rows of 4; the last step in a row gets no line) */
.academy-step:not(:nth-child(4n))::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--club-green), var(--club-yellow));
  z-index: 0;
}

.academy-step:last-child::before {
  display: none;
}

.step-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-lg);
  background: var(--club-green);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--club-green), var(--shadow-md);
  transition: all var(--transition-base);
}

.academy-step:hover .step-marker {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px var(--club-yellow), var(--shadow-lg);
}

.step-marker-final {
  background: var(--club-yellow);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--club-yellow), var(--shadow-md);
}

:is(:is(:is(.step-number,
.is-style-step-number),
.is-style-step-number),
.is-style-step-number) {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-sm);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-marker-final :is(:is(:is(.step-number,
.is-style-step-number),
.is-style-step-number),
.is-style-step-number) {
  color: var(--club-green-dark);
}

.step-marker-final :is(:is(:is(.step-number,
.is-style-step-number),
.is-style-step-number),
.is-style-step-number) svg {
  stroke: var(--club-green-dark);
}

:is(:is(:is(.step-name,
.is-style-step-name),
.is-style-step-name),
.is-style-step-name) {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 4px;
}

:is(:is(:is(.step-age,
.is-style-step-age),
.is-style-step-age),
.is-style-step-age) {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--club-green);
  background: var(--club-green-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

:where(.step-content) p {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: var(--lh-normal);
}


.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}

:where(.team-card) > p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
  flex: 1;
}

/* CTA card — the last card in the grid */
.team-card-cta {
  background: linear-gradient(135deg, var(--club-green) 0%, var(--club-green-dark) 100%);
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.team-cta-content {
  text-align: center;
}

:where(.team-cta-content) h3 {
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

:where(.team-cta-content) p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

/* Dwa CTA jeden pod drugim: „Zapisz dziecko" + „Zadzwoń" */
.team-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: stretch;
}

.team-cta-actions .btn {
  justify-content: center;
  white-space: nowrap;
}

/* ───────────────────────────────────────────
   COACHES SECTION
   ─────────────────────────────────────────── */
.section-coaches {
  background: var(--white);
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-lg);
}

/* Featured coach takes full width of first row */
.coach-featured {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  background: linear-gradient(135deg, var(--club-green-light) 0%, var(--white) 100%);
  border: 1px solid var(--club-green-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.coach-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--club-green);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.coach-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Coach photos */
.coach-photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Fallback initials avatar (kept for coaches without photos) */
.coach-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--club-green);
  border-radius: 50%;
}

:is(:is(:is(.coach-initials,
.is-style-coach-initials),
.is-style-coach-initials),
.is-style-coach-initials) {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--club-yellow);
}

:is(:is(:is(.coach-badge,
.is-style-coach-badge,
.is-style-coach-badge-secondary),
.is-style-coach-badge,
.is-style-coach-badge-secondary),
.is-style-coach-badge,
.is-style-coach-badge-secondary) {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--club-green);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

:is(:is(:is(.coach-badge-secondary,
.is-style-coach-badge-secondary),
.is-style-coach-badge-secondary),
.is-style-coach-badge-secondary) {
  background: var(--club-yellow);
  color: var(--ink);
}

:is(:is(:is(.coach-name,
.is-style-coach-name),
.is-style-coach-name),
.is-style-coach-name) {
  font-size: var(--fs-lg);
  margin-bottom: 4px;
}

:is(:is(:is(.coach-role,
.is-style-coach-role),
.is-style-coach-role),
.is-style-coach-role) {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

:is(:is(:is(.coach-bio,
.is-style-coach-bio),
.is-style-coach-bio),
.is-style-coach-bio) {
  font-size: var(--fs-sm);
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
}

/* ───────────────────────────────────────────
   RECRUITMENT / NABÓR SECTION
   ─────────────────────────────────────────── */
.section-recruitment {
  background: linear-gradient(135deg, var(--club-green-dark) 0%, var(--club-green) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.section-recruitment::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.5) 40px,
      rgba(255, 255, 255, 0.5) 41px
    );
  pointer-events: none;
}

.recruitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
  position: relative;
}

:is(:is(:is(.recruitment-lead,
.is-style-recruitment-lead),
.is-style-recruitment-lead),
.is-style-recruitment-lead) {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
}

.recruitment-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.recruitment-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

:is(:is(:is(.recruitment-step-num,
.is-style-recruitment-step-num),
.is-style-recruitment-step-num),
.is-style-recruitment-step-num) {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--club-yellow);
  color: var(--club-green-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-sm);
  border-radius: 50%;
}

:where(.recruitment-step) strong {
  display: block;
  color: var(--white);
  font-size: var(--fs-base);
  margin-bottom: 4px;
}

:where(.recruitment-step) p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-sm);
}

.recruitment-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(232, 185, 49, 0.12);
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 185, 49, 0.2);
}

.recruitment-note svg {
  flex-shrink: 0;
  color: var(--club-yellow);
}

:where(.recruitment-note) span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
}

/* Recruitment form */
.recruitment-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

:is(:is(:is(.form-title,
.is-style-form-title),
.is-style-form-title),
.is-style-form-title) {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

:is(:is(:is(.form-subtitle,
.is-style-form-subtitle),
.is-style-form-subtitle),
.is-style-form-subtitle) {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

/* ───────────────────────────────────────────
   PARENTS SECTION
   ─────────────────────────────────────────── */
.section-parents {
  background: var(--bg);
}

.parents-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-lg);
}

.parent-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  color: var(--ink);
  text-decoration: none;
  position: relative;
}

.parent-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--club-green);
  color: var(--ink);
}

.parent-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--club-yellow-light);
  color: var(--club-yellow-dark);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.parent-card-icon svg {
  width: 24px;
  height: 24px;
}

.parent-card-icon.icon-green {
  background: var(--club-green-light);
  color: var(--club-green);
}

.parent-card-icon.icon-red {
  background: var(--club-red-light);
  color: var(--club-red);
}

:where(.parent-card) h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}

:where(.parent-card) p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  flex: 1;
}

.parent-card-arrow {
  margin-top: var(--space-lg);
  font-size: var(--fs-lg);
  color: var(--club-green);
  transition: transform var(--transition-fast);
}

.parent-card:hover .parent-card-arrow {
  transform: translateX(4px);
}

/* ───────────────────────────────────────────
   EVENTS SECTION
   ─────────────────────────────────────────── */
.section-events {
  background: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-xl);
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}

/* Featured event with poster image */
.event-card-featured {
  grid-row: span 1;
  overflow: hidden;
}

.event-poster {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: var(--club-green);
  color: var(--white);
  text-align: center;
}

:is(:is(:is(.event-month,
.is-style-event-month),
.is-style-event-month),
.is-style-event-month) {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--club-yellow);
}

:is(:is(:is(.event-day,
.is-style-event-day),
.is-style-event-day),
.is-style-event-day) {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 900;
  line-height: 1.1;
}

:is(:is(:is(.event-year,
.is-style-event-year),
.is-style-event-year),
.is-style-event-year) {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
}

.event-content {
  padding: var(--space-xl);
}

:is(:is(:is(.event-tag,
.is-style-event-tag,
.is-style-event-tag-red,
.is-style-event-tag-green),
.is-style-event-tag,
.is-style-event-tag-red,
.is-style-event-tag-green),
.is-style-event-tag,
.is-style-event-tag-green,
.is-style-event-tag-red) {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--club-yellow-dark);
  background: var(--club-yellow-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

:is(:is(:is(.event-tag-green,
.is-style-event-tag-green),
.is-style-event-tag-green),
.is-style-event-tag-green) {
  color: var(--club-green);
  background: var(--club-green-light);
}

:is(:is(:is(.event-tag-red,
.is-style-event-tag-red),
.is-style-event-tag-red),
.is-style-event-tag-red) {
  color: var(--club-red);
  background: var(--club-red-light);
}

:where(.event-content) h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}

:where(.event-content) p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--club-green);
}

/* ───────────────────────────────────────────
   NEWS / AKTUALNOŚCI SECTION
   ─────────────────────────────────────────── */
.section-news {
  background: var(--bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-xl);
}

.news-card,
.news-grid > .wp-block-post {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.news-card:hover,
.news-grid > .wp-block-post:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}

.news-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}

/* Logotypy,
plakaty i plansze wynikowe – wpisane w kadr zamiast przycięte */
.news-image-contain {
  background: var(--club-green-light);
}

/* Dwie klasy,
żeby wygrać z późniejszą regułą `.news-image img` (object-fit: cover) */
.news-image.news-image-contain img {
  object-fit: contain;
  padding: var(--space-lg);
}

.news-card:hover .news-image.news-image-contain img,
.news-grid > .wp-block-post:hover .news-image.news-image-contain img {
  transform: scale(1.02);
}

/* Kategoria wpisu */
:is(:is(:is(.news-tag,
.is-style-news-tag),
.is-style-news-tag),
.is-style-news-tag) {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 1;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--club-green);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-image img,
.news-grid > .wp-block-post:hover .news-image img {
  transform: scale(1.04);
}

.news-content {
  padding: var(--space-xl);
}

.news-date {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

:where(.news-content) h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
  line-height: var(--lh-snug);
}

.news-content h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.news-content h3 a:hover {
  color: var(--club-green);
}

:where(.news-content) p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
}

/* ───────────────────────────────────────────
   PARTNERS SECTION
   ─────────────────────────────────────────── */
.section-partners {
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 4), minmax(0, 1fr));
  gap: var(--space-lg);
}

.partner-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--ink);
}

.partner-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--club-green-light);
  color: var(--ink);
}

.partner-card-static {
  cursor: default;
}

.partner-logo {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.partner-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
  filter: grayscale(20%);
}

.partner-card:hover .partner-logo img {
  opacity: 1;
  filter: grayscale(0%);
}

:is(:is(:is(.partner-type,
.is-style-partner-type),
.is-style-partner-type),
.is-style-partner-type) {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.partners-cta {
  margin-top: var(--space-2xl);
}

:where(.partners-cta) p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.partners-cta a {
  font-weight: 600;
}

/* ───────────────────────────────────────────
   CONTACT SECTION
   ─────────────────────────────────────────── */
.section-contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-lg);
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--club-green-light);
  color: var(--club-green);
  border-radius: var(--radius-md);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

:where(.contact-item) h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 4px;
}

:where(.contact-item) p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
}

.contact-item a {
  color: var(--club-green);
  font-weight: 500;
}

.contact-social {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

:where(.contact-social) h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: var(--radius-md);
  color: var(--ink-light);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--club-green);
  color: var(--white);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Map embed */
.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
}

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  background: var(--bg-alt);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--white);
}

:is(:is(:is(.map-caption-pin,
.is-style-map-caption-pin),
.is-style-map-caption-pin),
.is-style-map-caption-pin) {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.08);
  color: var(--club-red);
}

:is(:is(:is(.map-caption-pin,
.is-style-map-caption-pin),
.is-style-map-caption-pin),
.is-style-map-caption-pin) svg {
  width: 18px;
  height: 18px;
}

:is(:is(:is(.map-caption-text,
.is-style-map-caption-text),
.is-style-map-caption-text),
.is-style-map-caption-text) {
  flex: 1 1 220px;
  min-width: 0;
}

:where(:is(:is(.map-caption-text,
.is-style-map-caption-text),
.is-style-map-caption-text)) strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}

:where(:is(:is(.map-caption-text,
.is-style-map-caption-text),
.is-style-map-caption-text)) span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--ink-light);
}

.map-caption-link {
  margin-left: auto;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--club-green);
  white-space: nowrap;
}

.map-caption-link:hover {
  color: var(--club-red);
}

/* Herb jako ilustracja w kolumnie medialnej (historia) – bez kadrowania i cienia.
   Selektor z dwiema klasami,
żeby wygrać z późniejszą regułą `.info-media img`. */
.info-media .info-media-crest {
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-xl);
}

/* ───────────────────────────────────────────
   DLA RODZICÓW — sekcje docelowe kafelków
   ─────────────────────────────────────────── */
.section-parents-detail {
  padding: var(--space-4xl) 0;
  background: var(--white);
  scroll-margin-top: var(--header-height);
}

.section-parents-detail-alt {
  background: var(--bg);
}

.parents-prose {
  max-width: 780px;
}

:where(.parents-prose) > p {
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.parents-prose .offer-list,
.parents-prose .btn {
  margin-top: var(--space-xl);
}

:is(:is(:is(.parents-lead,
.is-style-parents-lead),
.is-style-parents-lead),
.is-style-parents-lead) {
  max-width: 780px;
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
}

.parents-back {
  display: inline-block;
  margin-top: var(--space-2xl);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
}

.parents-back:hover {
  color: var(--club-green);
}

/* ── Kodeks zawodnika i rodzica ── */
.codex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.codex-col {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.section-parents-detail-alt .codex-col {
  background: var(--white);
}

:is(:is(:is(.codex-title,
.is-style-codex-title),
.is-style-codex-title),
.is-style-codex-title) {
  font-size: var(--fs-lg);
  color: var(--club-green);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--club-yellow);
}

.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.rule-item {
  padding-left: var(--space-lg);
  border-left: 3px solid var(--club-green-light);
}

.rule-title {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.rule-text {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-light);
  line-height: var(--lh-normal);
}

.codex-poster-link {
  display: inline-block;
  margin-top: var(--space-lg);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--club-green);
}

.codex-poster-link:hover {
  color: var(--club-red);
}

/* ── Osoba zaufana (standardy ochrony małoletnich) ── */
.trust-person {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--club-green-light);
  border-radius: var(--radius-lg);
}

.trust-person-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--club-green);
  margin-bottom: var(--space-md);
}

.trust-person-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.trust-person-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--white);
}

:where(.trust-person-row) strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
}

:where(.trust-person-row) span {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-light);
}

.trust-person-row a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--club-green);
}

/* ── Dokumenty do pobrania ── */
.docs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 780px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: all var(--transition-base);
}

.doc-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.doc-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--club-red-light);
  color: var(--club-red);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Pozycja bez pliku – klub jeszcze go nie przysłał */
.doc-icon-soon {
  background: var(--border-light);
  color: var(--muted);
}

.doc-body {
  flex: 1;
  min-width: 0;
}

:where(.doc-body) strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
}

:where(.doc-body) span {
  display: block;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.doc-action {
  flex-shrink: 0;
  font-size: var(--fs-lg);
  color: var(--club-green);
}

/* ── Składki ── */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.fee-card {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.fee-card-main {
  background: linear-gradient(135deg, var(--club-green) 0%, var(--club-green-dark) 100%);
  border-color: transparent;
  color: var(--white);
}

:is(:is(:is(.fee-label,
.is-style-fee-label),
.is-style-fee-label),
.is-style-fee-label) {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.fee-card-main :is(:is(:is(.fee-label,
.is-style-fee-label),
.is-style-fee-label),
.is-style-fee-label) {
  color: rgba(255, 255, 255, 0.75);
}

:is(:is(:is(.fee-value,
.is-style-fee-value),
.is-style-fee-value),
.is-style-fee-value) {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: var(--lh-tight);
  margin: var(--space-xs) 0;
  color: var(--club-green);
}

.fee-card-main :is(:is(:is(.fee-value,
.is-style-fee-value),
.is-style-fee-value),
.is-style-fee-value) {
  color: var(--club-yellow);
}

:is(:is(:is(.fee-note,
.is-style-fee-note),
.is-style-fee-note),
.is-style-fee-note) {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-light);
}

.fee-card-main :is(:is(:is(.fee-note,
.is-style-fee-note),
.is-style-fee-note),
.is-style-fee-note) {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Dane do przelewu ── */
.bank-box {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

:where(.bank-box) h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
}

.bank-box dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-sm) var(--space-lg);
  margin: 0 0 var(--space-lg);
}

.bank-box dt {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
}

.bank-box dd {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink);
}

.bank-box dd.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  letter-spacing: 0.02em;
}

:is(:is(:is(.bank-note,
.is-style-bank-note),
.is-style-bank-note),
.is-style-bank-note) {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* Składki idą przez ProTrainUp,
nie przelewem – ta ramka stoi nad danymi
   konta,
żeby rodzic nie wysłał składki na rachunek klubu */
.bank-box-accent {
  background: var(--club-green-light);
  border-color: transparent;
  margin-bottom: var(--space-lg);
}

.bank-box-accent :is(:is(:is(.bank-note,
.is-style-bank-note),
.is-style-bank-note),
.is-style-bank-note) {
  color: var(--ink-light);
}

/* ───────────────────────────────────────────
   ROZPISKA BOISK (stadion)
   ─────────────────────────────────────────── */
.section-venues {
  background: var(--bg);
}

.venues-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-lg);
}

.venue-card {
  padding: var(--space-lg) var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.venue-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}

/* Boisko główne zajmuje cały wiersz i jest wyraźnie wyróżnione */
.venue-card-main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--club-green) 0%, var(--club-green-dark) 100%);
  border-color: transparent;
  color: var(--white);
}

:is(:is(:is(.venue-name,
.is-style-venue-name),
.is-style-venue-name),
.is-style-venue-name) {
  font-size: var(--fs-md);
  margin-bottom: var(--space-xs);
}

.venue-card-main :is(:is(:is(.venue-name,
.is-style-venue-name),
.is-style-venue-name),
.is-style-venue-name) {
  color: var(--white);
  font-size: var(--fs-xl);
}

:is(:is(:is(.venue-address,
.is-style-venue-address),
.is-style-venue-address),
.is-style-venue-address) {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-sm);
}

.venue-card-main :is(:is(:is(.venue-address,
.is-style-venue-address),
.is-style-venue-address),
.is-style-venue-address) {
  color: var(--white);
  font-size: var(--fs-base);
}

.venue-area {
  font-weight: 500;
  color: var(--muted);
}

.venue-card-main .venue-area {
  color: rgba(255, 255, 255, 0.75);
}

:is(:is(:is(.venue-desc,
.is-style-venue-desc),
.is-style-venue-desc),
.is-style-venue-desc) {
  font-size: var(--fs-sm);
  color: var(--ink-light);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-sm);
}

.venue-card-main :is(:is(:is(.venue-desc,
.is-style-venue-desc),
.is-style-venue-desc),
.is-style-venue-desc) {
  color: rgba(255, 255, 255, 0.85);
}

.venue-map-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--club-green);
  white-space: nowrap;
}

.venue-map-link:hover {
  color: var(--club-red);
}

.venue-card-main .venue-map-link {
  color: var(--club-yellow);
}

.venue-card-main .venue-map-link:hover {
  color: var(--white);
}

/* Akapit wprowadzający wyróżniony na tle zwykłego tekstu */
:is(:is(:is(.lead-emphasis,
.is-style-lead-emphasis),
.is-style-lead-emphasis),
.is-style-lead-emphasis) {
  font-size: var(--fs-md);
  color: var(--ink);
  line-height: var(--lh-relaxed);
}

/* ───────────────────────────────────────────
   TRENINGI DZIECI Z NIEPEŁNOSPRAWNOŚCIAMI
   – własny formularz zgłoszeniowy
   ─────────────────────────────────────────── */
.disability-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-top: var(--space-3xl);
}

:where(.disability-contact-intro) h3 {
  font-size: var(--fs-2xl);
  margin: var(--space-sm) 0 var(--space-md);
}

:where(.disability-contact-intro) p {
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

/* Zgoda / opcja zaznaczana w formularzu */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--club-green);
  cursor: pointer;
}

.form-check label {
  font-size: var(--fs-sm);
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  cursor: pointer;
}

/* ───────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo-img {
  width: 50px;
  height: auto;
  border-radius: 50%;
}

.footer-logo-wrap :is(:is(:is(.logo-name,
.is-style-logo-name),
.is-style-logo-name),
.is-style-logo-name) {
  color: var(--white);
}

:is(:is(:is(.footer-tagline,
.is-style-footer-tagline),
.is-style-footer-tagline),
.is-style-footer-tagline) {
  margin-top: var(--space-lg);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

:where(.footer-nav) h4,
:where(.footer-contact) h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--club-yellow);
}

:where(.footer-contact) p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-sm);
  line-height: var(--lh-relaxed);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
  color: var(--club-yellow);
}

.footer-social {
  margin-top: var(--space-lg);
}

.footer-social .social-link {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.footer-social .social-link:hover {
  background: var(--club-yellow);
  color: var(--club-green-dark);
}

.footer-bottom {
  text-align: center;
}

:where(.footer-bottom) p {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}

/* ───────────────────────────────────────────
   FOOTER — 1,
5% BOX
   ─────────────────────────────────────────── */
.footer-krs {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(232, 185, 49, 0.35);
  border-left: 3px solid var(--club-yellow);
  border-radius: var(--radius-md);
  max-width: 300px;
}

:is(:is(:is(.footer-krs-label,
.is-style-footer-krs-label),
.is-style-footer-krs-label),
.is-style-footer-krs-label) {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

:is(:is(:is(.footer-krs-value,
.is-style-footer-krs-value),
.is-style-footer-krs-value),
.is-style-footer-krs-value) {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--club-yellow);
  letter-spacing: 0.02em;
}

.footer-krs a {
  display: inline-block;
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer-krs a:hover {
  color: var(--club-yellow);
}

.footer-contact-label {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
}

/* ───────────────────────────────────────────
   ACADEMY — SPECIALIST TRAINING (motoryka,
bramkarze)
   ─────────────────────────────────────────── */
.section-specials {
  background: var(--bg);
}

.specials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.special-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--club-green);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.special-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.special-card-yellow {
  border-top-color: var(--club-yellow);
}

.special-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--club-green-light);
  color: var(--club-green);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.special-card-yellow .special-icon {
  background: var(--club-yellow-light);
  color: var(--club-yellow-dark);
}

.special-icon svg {
  width: 28px;
  height: 28px;
}

:where(.special-card) h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

:where(.special-card) > p {
  font-size: var(--fs-sm);
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  flex: 1;
}

.special-coaches {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.special-coach {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.special-coach-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

:is(:is(:is(.special-coach-name,
.is-style-special-coach-name),
.is-style-special-coach-name),
.is-style-special-coach-name) {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--ink);
}

:is(:is(:is(.special-coach-role,
.is-style-special-coach-role),
.is-style-special-coach-role),
.is-style-special-coach-role) {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.special-coach a {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--club-green);
}

:is(:is(:is(.special-note,
.is-style-special-note),
.is-style-special-note),
.is-style-special-note) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--club-green);
  background: var(--club-green-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.special-card-yellow :is(:is(:is(.special-note,
.is-style-special-note),
.is-style-special-note),
.is-style-special-note) {
  color: var(--club-yellow-dark);
  background: var(--club-yellow-light);
}

/* Step meta line: number of trainings / game format */
:is(:is(:is(.step-meta,
.is-style-step-meta),
.is-style-step-meta),
.is-style-step-meta) {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--club-green-dark);
  margin-bottom: var(--space-sm);
}

:is(:is(:is(.academy-intro,
.is-style-academy-intro),
.is-style-academy-intro),
.is-style-academy-intro) {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
  font-size: var(--fs-md);
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
}

/* ───────────────────────────────────────────
   TRAINING GROUPS (grupy treningowe)
   ─────────────────────────────────────────── */
.section-groups {
  background: var(--bg);
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-lg);
}

.group-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.group-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}

/* Identyfikacja grup: herb klubu + rocznik zamiast zdjęć (układ wg wzoru
   od klubu) – własne fotografie są tylko dla części roczników. Wysokość
   sterujemy treścią,
nie proporcją: lockup ma stały rozmiar,
więc przy
   szerokiej karcie aspect-ratio zostawiałoby samo puste tło. */
.group-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: clamp(var(--space-xl), 8%, var(--space-2xl)) var(--space-lg);
  background: var(--club-yellow-light);
  border-bottom: 1px solid var(--border);
}

.group-emblem-crest {
  width: auto;
  height: 92px;
  display: block;
  transition: transform var(--transition-slow);
}

.group-card:hover .group-emblem-crest {
  transform: scale(1.04);
}

:is(:is(:is(.group-emblem-year,
.is-style-group-emblem-year),
.is-style-group-emblem-year),
.is-style-group-emblem-year) {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--club-green-dark);
}

.group-body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.group-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

:is(:is(:is(.group-category,
.is-style-group-category),
.is-style-group-category),
.is-style-group-category) {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--club-green);
}

:is(:is(:is(.group-age,
.is-style-group-age),
.is-style-group-age),
.is-style-group-age) {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--club-green);
  background: var(--club-green-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

:is(:is(:is(.group-format,
.is-style-group-format),
.is-style-group-format),
.is-style-group-format) {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: var(--space-md);
  flex: 1;
}

.group-coaches {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.group-coach {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

.group-coach + .group-coach {
  padding-top: var(--space-sm);
}

.group-coach-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

:is(:is(:is(.group-coach-label,
.is-style-group-coach-label),
.is-style-group-coach-label),
.is-style-group-coach-label) {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

:is(:is(:is(.group-coach-name,
.is-style-group-coach-name),
.is-style-group-coach-name),
.is-style-group-coach-name) {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}

.group-coach a {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--club-green);
}

/* ───────────────────────────────────────────
   COACHES — CLICKABLE CARDS + MODAL
   ─────────────────────────────────────────── */
.coach-card[data-coach] {
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}

.coach-card[data-coach]:focus-visible {
  outline: 2px solid var(--club-yellow);
  outline-offset: 2px;
}

:is(:is(:is(.coach-card-more,
.is-style-coach-card-more),
.is-style-coach-card-more),
.is-style-coach-card-more) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.coach-card:hover :is(:is(:is(.coach-card-more,
.is-style-coach-card-more),
.is-style-coach-card-more),
.is-style-coach-card-more) {
  color: var(--club-green);
  gap: 8px;
}

.coach-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--club-green);
  margin-top: 4px;
}

.coach-phone svg {
  flex-shrink: 0;
}

.coach-years {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-sm);
}

:is(:is(:is(.coach-year,
.is-style-coach-year,
.is-style-coach-year-yellow),
.is-style-coach-year,
.is-style-coach-year-yellow),
.is-style-coach-year,
.is-style-coach-year-yellow) {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--club-green);
  background: var(--club-green-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

:is(:is(:is(.coach-year-yellow,
.is-style-coach-year-yellow),
.is-style-coach-year-yellow),
.is-style-coach-year-yellow) {
  color: var(--club-yellow-dark);
  background: var(--club-yellow-light);
}

:is(:is(:is(.coaches-subheading,
.is-style-coaches-subheading),
.is-style-coaches-subheading),
.is-style-coaches-subheading) {
  font-size: var(--fs-lg);
  margin: var(--space-3xl) 0 var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--club-green-light);
}

:is(:is(:is(.coaches-subheading,
.is-style-coaches-subheading),
.is-style-coaches-subheading),
.is-style-coaches-subheading):first-child {
  margin-top: 0;
}

/* Modal (native <dialog>) */
.coach-modal {
  border: none;
  padding: 0;
  width: min(560px, calc(100vw - 2rem));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background: var(--white);
}

.coach-modal::backdrop {
  background: rgba(10, 63, 42, 0.6);
  backdrop-filter: blur(4px);
}

.coach-modal-inner {
  padding: var(--space-2xl);
  position: relative;
}

.coach-modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-light);
  transition: all var(--transition-fast);
}

.coach-modal-close:hover {
  background: var(--club-red-light);
  color: var(--club-red);
}

.coach-modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.coach-modal-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--club-yellow);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

:is(:is(:is(.coach-modal-name,
.is-style-coach-modal-name),
.is-style-coach-modal-name),
.is-style-coach-modal-name) {
  font-size: var(--fs-xl);
  margin-bottom: 4px;
}

:is(:is(:is(.coach-modal-role,
.is-style-coach-modal-role),
.is-style-coach-modal-role),
.is-style-coach-modal-role) {
  font-size: var(--fs-sm);
  color: var(--muted);
}

:is(:is(:is(.coach-modal-bio,
.is-style-coach-modal-bio),
.is-style-coach-modal-bio),
.is-style-coach-modal-bio) {
  font-size: var(--fs-sm);
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.coach-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.coach-modal-footer .btn {
  gap: 8px;
}

/* ───────────────────────────────────────────
   RECRUITMENT — TRIAL WEEK BANNER + PHONES
   ─────────────────────────────────────────── */
.trial-banner {
  position: relative;
  overflow: hidden;
  background: var(--club-yellow);
  color: var(--club-green-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  margin-bottom: var(--space-2xl);
  box-shadow: 0 12px 40px rgba(232, 185, 49, 0.35);
  transform: rotate(-1deg);
}

.trial-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border: 18px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

:is(:is(:is(.trial-banner-kicker,
.is-style-trial-banner-kicker),
.is-style-trial-banner-kicker),
.is-style-trial-banner-kicker) {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--club-green-dark);
  color: var(--club-yellow);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

:is(:is(:is(.trial-banner-title,
.is-style-trial-banner-title),
.is-style-trial-banner-title),
.is-style-trial-banner-title) {
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--club-green-dark);
}

:where(:is(:is(.trial-banner-title,
.is-style-trial-banner-title),
.is-style-trial-banner-title)) strong {
  display: block;
  font-size: 1.2em;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(10, 63, 42, 0.35);
}

:is(:is(:is(.trial-banner-text,
.is-style-trial-banner-text),
.is-style-trial-banner-text),
.is-style-trial-banner-text) {
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(10, 63, 42, 0.85);
  max-width: 420px;
}

.recruitment-phones {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

:where(.recruitment-phones) h3 {
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.recruitment-phones ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.recruitment-phones li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.recruitment-phones svg {
  flex-shrink: 0;
  color: var(--club-yellow);
}

.recruitment-phones a {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--club-yellow);
  white-space: nowrap;
}

.recruitment-phones a:hover {
  color: var(--white);
}

:where(.recruitment-phones) span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}

:where(.recruitment-phones) strong {
  color: var(--white);
  font-weight: 600;
}

/* ───────────────────────────────────────────
   SENIORS — TEAMS + TRAINING SCHEDULE
   ─────────────────────────────────────────── */
.section-seniors {
  background: var(--white);
}

.seniors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.senior-team {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--club-green) 0%, var(--club-green-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.senior-team-second {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}

.senior-team::before {
  content: attr(data-roman);
  position: absolute;
  right: -10px;
  top: -30px;
  font-family: var(--font-heading);
  font-size: 11rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.senior-team-second::before {
  color: rgba(15, 90, 60, 0.06);
}

:is(:is(:is(.senior-team-badge,
.is-style-senior-team-badge),
.is-style-senior-team-badge),
.is-style-senior-team-badge) {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--club-yellow);
  color: var(--club-green-dark);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

:where(.senior-team) h3 {
  font-size: var(--fs-2xl);
  color: inherit;
  line-height: 1.1;
}

:is(:is(:is(.senior-team-league,
.is-style-senior-team-league),
.is-style-senior-team-league),
.is-style-senior-team-league) {
  font-size: var(--fs-base);
  font-weight: 600;
  opacity: 0.85;
}

.senior-team-staff {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--fs-sm);
}

.senior-team-second .senior-team-staff {
  border-top-color: var(--border-light);
}

:where(.senior-team-staff) span {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin-bottom: 4px;
}

:where(.senior-team-staff) strong {
  font-weight: 700;
}

.senior-team .btn {
  align-self: flex-start;
}

.training-schedule {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-xl);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
}

:where(.training-schedule-head) h3 {
  font-size: var(--fs-lg);
  margin-bottom: 4px;
}

:where(.training-schedule-head) p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.training-days {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: flex-end;
}

.training-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

:is(:is(:is(.training-day-name,
.is-style-training-day-name),
.is-style-training-day-name),
.is-style-training-day-name) {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

:is(:is(:is(.training-day-time,
.is-style-training-day-time),
.is-style-training-day-time),
.is-style-training-day-time) {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--club-green);
}

/* ───────────────────────────────────────────
   CONTACT — FORM,
LEGAL DATA,
1,
5%
   ─────────────────────────────────────────── */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

:is(:is(:is(.contact-office-badge,
.is-style-contact-office-badge),
.is-style-contact-office-badge),
.is-style-contact-office-badge) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--club-green);
  background: var(--club-green-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

:is(:is(:is(.contact-office-badge,
.is-style-contact-office-badge),
.is-style-contact-office-badge),
.is-style-contact-office-badge)::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--club-green);
  box-shadow: 0 0 0 3px rgba(15, 90, 60, 0.2);
}

.contact-people {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.contact-person {
  display: flex;
  flex-direction: column;
}

:where(.contact-person) strong {
  font-size: var(--fs-sm);
  color: var(--ink);
}

:where(.contact-person) small {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.contact-legal {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
}

:where(.contact-legal) h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
}

.contact-legal dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
}

.contact-legal dt {
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fs-xs);
  padding-top: 2px;
}

.contact-legal dd {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.contact-legal dd.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}

.krs-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-xl);
  background: linear-gradient(135deg, var(--club-green) 0%, var(--club-green-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  overflow: hidden;
}

:is(:is(:is(.krs-banner-kicker,
.is-style-krs-banner-kicker),
.is-style-krs-banner-kicker),
.is-style-krs-banner-kicker) {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--club-yellow);
  margin-bottom: var(--space-sm);
}

:where(.krs-banner) h3 {
  font-size: var(--fs-xl);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

:where(.krs-banner) p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-relaxed);
  max-width: 420px;
}

.krs-number {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  border: 3px solid var(--club-yellow);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.2);
}

:where(.krs-number) span {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--club-yellow);
}

:where(.krs-number) strong {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}

.krs-number-solid {
  background: var(--club-green-dark);
  color: var(--white);
  margin-top: var(--space-md);
}

.contact-map-wide {
  margin-top: var(--space-3xl);
  min-height: 320px;
}

/* ───────────────────────────────────────────
   SUBPAGE CONTENT HELPERS (historia,
stadion,
współpraca,
treningi)
   ─────────────────────────────────────────── */
.section-info {
  background: var(--white);
}

.section-info-alt {
  background: var(--bg);
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
}

.info-grid.reverse > .info-media {
  order: -1;
}

:where(.info-content) p {
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.info-content ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-md) 0 var(--space-lg);
}

.info-content ul li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-light);
  line-height: var(--lh-normal);
}

.info-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--club-green-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F5A3C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 8 7 11 12 5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.info-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.info-facts {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.info-fact {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

:where(.info-fact) strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--club-green);
  line-height: 1.1;
}

:where(.info-fact) span {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Inline CTA box (e.g. "masz pytania? zadzwoń") */
.info-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding: var(--space-xl) var(--space-2xl);
  background: linear-gradient(135deg, var(--club-green) 0%, var(--club-green-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
}

:where(.info-cta) h3 {
  font-size: var(--fs-xl);
  color: var(--white);
  margin-bottom: var(--space-xs);
}

:where(.info-cta) p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

.info-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Cooperation cards (współpraca) */
.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 3), minmax(0, 1fr));
  gap: var(--space-lg);
}

.cooperation-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.cooperation-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cooperation-card .parent-card-icon {
  margin-bottom: var(--space-lg);
}

:where(.cooperation-card) h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

:where(.cooperation-card) p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  flex: 1;
  margin-bottom: var(--space-lg);
}

/* Partner groups on sponsors page */
.partners-group + .partners-group {
  margin-top: var(--space-4xl);
}

:is(:is(:is(.partners-group-title,
.is-style-partners-group-title),
.is-style-partners-group-title),
.is-style-partners-group-title) {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xl);
}

:is(:is(:is(.partners-group-title,
.is-style-partners-group-title),
.is-style-partners-group-title),
.is-style-partners-group-title)::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--club-green-light);
}

:is(:is(:is(.partners-group-desc,
.is-style-partners-group-desc),
.is-style-partners-group-desc),
.is-style-partners-group-desc) {
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: 640px;
  margin: calc(-1 * var(--space-md)) 0 var(--space-xl);
}

/* Schedule list (treningi indywidualne etc.) */
.offer-list {
  display: grid;
  grid-template-columns: repeat(var(--ks-cols, 2), minmax(0, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.offer-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

:is(:is(:is(.offer-item-num,
.is-style-offer-item-num),
.is-style-offer-item-num),
.is-style-offer-item-num) {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-sm);
  background: var(--club-yellow);
  color: var(--club-green-dark);
  border-radius: 50%;
}

:where(.offer-item) strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  margin-bottom: 4px;
}

:where(.offer-item) p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
}

/* Lead row on the coaches page: coordinator + administrator side by side */
.coaches-grid-lead {
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-lg);
}

.coaches-grid-lead .coach-featured {
  grid-column: auto;
}

/* Initials avatar reused in the modal when a coach has no photo yet */
.coach-modal-avatar {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--club-green);
  border: 4px solid var(--club-yellow);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

:where(.coach-modal-avatar) span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--club-yellow);
}

.coach-modal-years {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.coach-modal-years:empty {
  display: none;
}

.coach-avatar-featured {
  width: 110px;
  height: 110px;
  border: 4px solid var(--club-yellow);
}

.coach-avatar-featured :is(:is(:is(.coach-initials,
.is-style-coach-initials),
.is-style-coach-initials),
.is-style-coach-initials) {
  font-size: var(--fs-2xl);
}

/* ───────────────────────────────────────────
   ODPOWIEDNIKI INLINE style="…" Z MOCKUPU
   Bloki Gutenberga nie niosą surowego atrybutu style,
więc rozmiary
   awatarów z inicjałami i ikona w przycisku trafiają do arkusza.
   ─────────────────────────────────────────── */
.group-coach .coach-avatar { width: 44px; height: 44px; }
.group-coach :is(:is(:is(.coach-initials,
.is-style-coach-initials),
.is-style-coach-initials),
.is-style-coach-initials) { font-size: var(--fs-sm); }
.special-coach .coach-avatar { width: 48px; height: 48px; }
.special-coach :is(:is(:is(.coach-initials,
.is-style-coach-initials),
.is-style-coach-initials),
.is-style-coach-initials) { font-size: var(--fs-sm); }
/* Ikona PRZED tekstem (telefon na Grupach treningowych) – w mockupie miała
   inline style="margin-right:6px". `:first-child` liczy tylko ELEMENTY,
więc bez
   `:not(.btn-icon)` łapało też strzałki `.btn-icon`,
które stoją ZA tekstem i są
   jedynym elementem w przycisku: „Dołącz do nas" i trzy inne robiły się o 6 px
   szersze niż w mockupie. */
.btn > svg:first-child:not(.btn-icon) { margin-right: 6px; vertical-align: -2px; }


/* ───────────────────────────────────────────
   POJEDYNCZY WPIS (templates/single.html)

   Mockup nie ma projektu tej strony – składamy ją z istniejących wzorców:
   szerokość kolumny tekstu jak w `.parents-prose` (780 px), typografia akapitu
   jak w `.info-content`, kadr zdjęcia jak w kartach aktualności. Selektory po
   nazwie elementu w `:where()`, bo treść wpisu to bloki, w których klient
   ustawia kolor i rozmiar z panelu – te muszą wygrywać.
   ─────────────────────────────────────────── */
.post-body {
  max-width: 780px;
}

.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

:where(.post-body) p {
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

:where(.post-body) h2,
:where(.post-body) h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

:where(.post-body) ul,
:where(.post-body) ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

:where(.post-body) li {
  color: var(--ink-light);
  line-height: var(--lh-relaxed);
}

:where(.post-body) img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* Data nad tytułem wpisu – ta sama rola co etykieta sekcji na ciemnym tle. */
.page-header .wp-block-post-date {
  margin-bottom: var(--space-sm);
}
