/* =============================================================
   SPR ORZEŁ PRZEWORSK — design system
   Ciemny, sportowy motyw inspirowany legia.com.
   Czerń jako baza, czerwień klubowa jako akcent, biel do treści.
   Condensed sans (Barlow Condensed) do nagłówków, Barlow do treści.
   ============================================================= */

:root {
  --bg:        #0a0a0c;   /* prawie czarne tło */
  --bg-soft:   #111114;   /* sekcje naprzemienne */
  --card:      #17171b;   /* karty */
  --card-hi:   #1f1f25;   /* hover / wyróżnienie */
  --ink:       #f4f4f6;   /* tekst główny */
  --ink-soft:  #c4c4cc;   /* tekst drugorzędny */
  --muted:     #8a8a93;   /* opisy, meta */
  --line:      rgba(255,255,255,.09);
  --line-hi:   rgba(255,255,255,.18);

  --red:       #d81f2a;   /* czerwień klubowa */
  --red-bright:#ff2d3a;   /* akcent jaśniejszy */
  --red-deep:  #a1121b;

  --radius:    14px;
  --radius-sm: 9px;
  --nav-h:     70px;

  /* Typografia jak legia.com: Mulish (tekst) + Archivo (nagłówki, odpowiednik ich kroju). */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Mulish", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1220px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0;
}
/* duże tytuły — ciężka waga jak w nagłówkach legii */
h1, .display-xl, .about-hero h1, .squad-hero h1,
.cta-band h2, .section-head h2, .squad-h {
  font-weight: 800; letter-spacing: -0.01em;
}
.display-xl { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
.display-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 600;
  font-size: .82rem;
  color: var(--red-bright);
}
.muted { color: var(--muted); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-bright); }
.btn-ghost { border-color: var(--line-hi); color: var(--ink); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* =============================================================
   NAWIGACJA
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(10,10,12,.9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links.right { justify-content: flex-end; }
.nav-social { display: inline-flex; align-items: center; gap: 12px; margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-social a { display: inline-flex; color: var(--muted); transition: color .18s ease, transform .18s ease; }
.nav-social a svg { width: 19px; height: 19px; display: block; }
.nav-social a:hover { color: #fff; transform: translateY(-1px); }
.nav-link {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: .95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red-bright); transition: width .2s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Herb (oryginalny plik) — domyślne dopasowanie, nadpisywane w kontekstach */
.crest { display: block; height: 100%; width: auto; object-fit: contain; }

.nav-crest { display: flex; justify-content: center; }
.nav-crest img, .nav-crest svg { height: 52px; width: auto; }

.nav-tickets {
  background: var(--red); color: #fff;
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
  transition: background .15s ease;
}
.nav-tickets:hover { background: var(--red-bright); }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; align-items: center; justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 24px; height: 2px; background: #fff;
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after  { position: absolute; top: 7px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobilne */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(8,8,10,.98); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; font-size: 1.8rem; letter-spacing: .04em;
  color: var(--ink-soft); padding: 10px 0;
}
.mobile-menu a:hover, .mobile-menu a.active { color: #fff; }

/* =============================================================
   HERO / MATCH CENTER
   ============================================================= */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10,10,12,.74) 0%, rgba(10,10,12,.80) 55%, #0a0a0c 100%),
    radial-gradient(120% 90% at 50% 0%, rgba(216,31,42,.30), transparent 55%),
    url("../img/hero.jpg") center center / cover no-repeat;
  overflow: hidden;
}
/* subtelny wzór / dynamika w tle */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 2px, transparent 2px 44px);
  opacity: .6; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 900px; }
.hero-meta { color: var(--ink-soft); font-size: 1rem; margin-bottom: 6px; letter-spacing: .04em; }
.hero-comp {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .18em;
  font-size: .85rem; color: var(--muted); margin-bottom: 34px;
}

.match-teams {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(12px, 4vw, 48px); margin-bottom: 34px;
}
.team { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.team-crest {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.team-crest svg, .team-crest img {
  height: clamp(120px, 17vw, 185px); width: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.45));
}
.team-name {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.5rem); line-height: 1; text-align: center;
}
.match-vs {
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  color: var(--muted);
}

/* Odliczanie */
.countdown { display: flex; justify-content: center; gap: clamp(10px, 3vw, 30px); margin-bottom: 36px; }
.cd-unit { min-width: 62px; }
.cd-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-label {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em;
  font-size: .72rem; color: var(--muted); margin-top: 4px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Ostatni mecz — karta w stylu handballstal.mielec.pl */
.result-strip { background: #000; }
.result-strip .container {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 30px; padding-bottom: 30px;
}
.match-slider { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; }
.mc-arrow {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: none;
  background: #fff; color: #16161b; font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.mc-arrow:hover:not(:disabled) { background: #1e50c8; color: #fff; transform: scale(1.08); }
.mc-arrow:disabled { opacity: .28; cursor: default; }
.match-cards {
  flex: 1; max-width: 1040px; display: flex;
  gap: 18px; align-items: stretch;
}
.match-cards > .match-card { flex: 1 1 0; min-width: 0; }
/* Niebieski kafel „nadchodzący mecz" — łącznie ~2 cm szerszy (po 1 cm na stronę) */
.match-cards > .match-card.mc-blue { flex-grow: 1.45; }
.mc-vs .mc-time.mc-range { font-size: 1.05rem; letter-spacing: 0; }
.mc-title {
  display: block; text-align: center;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em;
  font-size: .72rem; font-weight: 600; color: #9a9aa2; margin-bottom: 14px;
}
.match-card {
  background: #fff; border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 18px 46px rgba(0,0,0,.4); display: flex; flex-direction: column;
}
.mc-next .mc-title { color: #d81f2a; }
.mc-body {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 14px; flex: 1;
}
.mc-side { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.mc-crest { height: 54px; display: flex; align-items: center; }
.mc-crest img, .mc-crest .crest, .mc-crest svg { height: 54px; width: auto; object-fit: contain; }
.mc-name {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  font-size: .82rem; color: #16161b; text-align: center; line-height: 1.08; max-width: 130px;
}
.mc-center { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.mc-meta { font-size: .62rem; color: #9a9aa2; text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.mc-score {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #16161b; line-height: 1;
  border: 2px solid #e6e6ea; border-radius: 12px; padding: 8px 16px;
}
.mc-score i { font-style: normal; color: #c2c2c8; font-weight: 700; }
.mc-vs {
  flex-direction: column; gap: 1px; border-color: rgba(216,31,42,.28);
  padding: 7px 14px; line-height: 1;
}
.mc-vs .mc-day { font-family: var(--font-body); font-weight: 700; font-size: .62rem;
  text-transform: uppercase; letter-spacing: .08em; color: #d81f2a; }
.mc-vs .mc-time { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #16161b; }

/* Karty boczne (węższe, nie-niebieskie) — mniejsze herby/tekst, nic nie wychodzi poza kartę */
.match-card { overflow: hidden; }
.mc-crest img, .mc-crest .crest, .mc-crest svg { max-width: 100%; }
.match-card:not(.mc-blue) .mc-body { gap: 8px; }
.match-card:not(.mc-blue) .mc-crest,
.match-card:not(.mc-blue) .mc-crest img,
.match-card:not(.mc-blue) .mc-crest .crest,
.match-card:not(.mc-blue) .mc-crest svg { height: 44px; }
.match-card:not(.mc-blue) .mc-name { font-size: .72rem; max-width: 98px; }
.match-card:not(.mc-blue) .mc-score { font-size: 1.5rem; padding: 6px 11px; }
.match-card:not(.mc-blue) .mc-vs .mc-time { font-size: 1.2rem; }

/* Środkowy panel „Nadchodzący mecz" — zawsze niebieski, białe napisy */
.mc-blue {
  background: linear-gradient(160deg, #1e50c8 0%, #163ea6 100%);
  box-shadow: 0 18px 46px rgba(20,52,140,.5);
}
.mc-blue .mc-title { color: rgba(255,255,255,.9); }
.mc-blue .mc-name  { color: #fff; }
.mc-blue .mc-meta  { color: rgba(255,255,255,.72); }
.mc-blue .mc-date  { color: rgba(255,255,255,.85); }
.mc-blue .mc-score { border-color: rgba(255,255,255,.4); }
.mc-blue .mc-vs .mc-day  { color: #fff; }
.mc-blue .mc-vs .mc-time { color: #fff; }
.mc-blue .mc-btn {
  color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08);
}
.mc-blue .mc-btn:hover { background: rgba(255,255,255,.2); }
.mc-date { font-size: .72rem; color: #9a9aa2; text-align: center; }
.mc-btn {
  margin-top: 4px; font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  letter-spacing: .04em; font-size: .68rem; color: #16161b;
  border: 1px solid #d8d8de; border-radius: 999px; padding: 7px 15px; transition: background .15s ease;
}
.mc-btn:hover { background: #f2f2f4; }

@media (max-width: 1000px) {
  .match-cards { flex-direction: column; gap: 16px; max-width: 560px; }
  .match-cards > .match-card, .match-cards > .match-card.mc-blue { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .match-card { padding: 18px; }
  .mc-body { gap: 8px; }
  .mc-crest, .mc-crest img, .mc-crest .crest, .mc-crest svg { height: 46px; }
  .mc-name { font-size: .78rem; max-width: 100px; }
  .mc-score { font-size: 1.8rem; padding: 6px 12px; }
}

/* =============================================================
   SEKCJE OGÓLNE
   ============================================================= */
.section { padding: 74px 0; }
.section.alt { background: var(--bg-soft); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 34px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head .link-more {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  letter-spacing: .08em; color: var(--red-bright); font-size: .95rem;
}
.section-head .link-more:hover { color: #fff; }

/* Aktualności — siatka kart */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, border-color .18s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--line-hi); }
.news-thumb {
  aspect-ratio: 16/10; position: relative;
  background: linear-gradient(135deg, #26262c, #131316);
  display: grid; place-items: center;
}
.news-thumb .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  font-size: .72rem; padding: 4px 10px; border-radius: 4px;
}
.news-thumb .ph-crest { opacity: .18; width: 46%; }
.news-thumb .ph-crest .crest { width: 100%; height: auto; }
.news-body { padding: 18px 20px 22px; }
.news-date { font-size: .78rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.news-card h3 { font-size: 1.35rem; margin: 8px 0 0; }
.news-card:hover h3 { color: #fff; }

/* Wyróżniona aktualność ze zdjęciem i pełną treścią */
.news-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 0.92fr) 1fr; align-items: stretch;
}
.news-featured:hover { transform: none; }
.news-photo {
  position: relative; min-height: 320px;
  background: linear-gradient(135deg, #26262c, #131316);
  display: grid; place-items: center; overflow: hidden;
}
.news-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.news-photo .nf-fallback { display: none; opacity: .18; width: 40%; }
.news-photo.no-photo img { display: none; }
.news-photo.no-photo .nf-fallback { display: block; }
.news-photo .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-block; width: auto;
  background: #fff; color: #16161b; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 800;
  font-size: .72rem; line-height: 1; padding: 6px 12px; border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}
.nf-text { padding: 26px 30px 30px; display: flex; flex-direction: column; }
.nf-text h3 { font-size: 1.5rem; margin: 8px 0 14px; line-height: 1.18; }
.nf-lead { font-weight: 700; color: var(--text); margin: 0 0 12px; }
.nf-text p { color: var(--muted); line-height: 1.62; margin: 0 0 12px; }
.nf-more { margin-top: 2px; }
.nf-more summary {
  cursor: pointer; display: inline-block; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .74rem;
  color: var(--red); padding: 8px 0; list-style: none;
}
.nf-more summary::-webkit-details-marker { display: none; }
.nf-more summary::after { content: " ↓"; }
.nf-more[open] summary::after { content: " ↑"; }
.nf-more[open] summary { color: var(--muted); }
.news-photo .credit {
  position: absolute; bottom: 8px; right: 10px; z-index: 2;
  font-size: .64rem; color: rgba(255,255,255,.7); letter-spacing: .04em;
}
@media (max-width: 720px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-photo { min-height: 240px; aspect-ratio: 4/3; }
}

/* =============================================================
   TERMINARZ / WYNIKI / TABELA
   ============================================================= */
.fixtures { display: grid; gap: 12px; }
.fixture {
  display: grid; grid-template-columns: 108px 1fr auto; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 22px; transition: border-color .18s ease, background .18s ease;
}
.fixture:hover { border-color: var(--line-hi); background: var(--card-hi); }
.fx-date { line-height: 1.15; }
.fx-date .d { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.fx-date .m { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fx-match { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fx-team { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 1.15rem; }
.fx-team.home { font-weight: 700; }
.fx-score {
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  background: rgba(255,255,255,.06); padding: 2px 12px; border-radius: 6px; min-width: 74px; text-align: center;
}
.fx-score.win  { background: rgba(46,160,67,.18); color: #6ee787; }
.fx-score.loss { background: rgba(216,31,42,.18); color: #ff8a8a; }
.fx-comp { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fx-cta { justify-self: end; }
.fx-vs { color: var(--muted); font-family: var(--font-display); font-weight: 700; }

/* Strzelcy przy wyniku (rozwijane) */
.fx-scorers { margin-top: 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.fx-scorers summary {
  cursor: pointer; padding: 11px 18px; list-style: none; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--ink-soft);
}
.fx-scorers summary::-webkit-details-marker { display: none; }
.fx-scorers summary::before { content: "▸"; color: var(--red-bright); transition: transform .15s ease; }
.fx-scorers[open] summary::before { transform: rotate(90deg); }
.fx-sc-count { background: var(--red); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: .74rem; }
.fx-sc-list { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 2px 18px 15px; }
.fx-sc { font-size: .92rem; color: var(--ink-soft); }
.fx-sc b { color: #fff; font-family: var(--font-display); font-weight: 700; margin-right: 3px; }

/* Tabela ligowa — styl legia.com */
.league-badge {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: .8rem; color: var(--muted); align-self: center;
}
.league-table {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--card);
}
.lt-row {
  display: grid; align-items: center;
  grid-template-columns: 42px minmax(140px, 1fr) 40px 52px 40px 40px 80px 54px 104px;
  padding: 0 14px; height: 56px; border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.lt-row:last-child { border-bottom: 0; }
.lt-row:not(.lt-head):hover { background: var(--card-hi); }
.lt-head {
  height: 44px; background: var(--bg-soft);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: .74rem; color: var(--muted); font-weight: 600;
}
.lt-pos { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink-soft); }
.lt-team { display: flex; align-items: center; gap: 11px; min-width: 0; }
.lt-crest { width: 30px; height: 30px; object-fit: contain; flex: none; display: grid; place-items: center; }
.lt-crest.gen svg { width: 100%; height: 100%; }
.lt-name {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 1.02rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lt-c { text-align: center; font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--ink-soft); }
.lt-c.lt-pts { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.lt-head .lt-c.lt-pts { font-size: .74rem; color: var(--muted); }
.lt-goals { color: var(--ink-soft); }
.lt-diff.pos { color: #6ee787; }
.lt-diff.neg { color: #ff8a8a; }

/* Forma — kwadraciki ostatnich meczów */
.lt-form { display: flex; gap: 4px; justify-content: center; }
.fm {
  width: 20px; height: 20px; border-radius: 5px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .74rem; font-style: normal;
  color: #0a0a0c;
}
.fm-Z { background: #34c759; }
.fm-P { background: #ff5a5f; }
.fm-R { background: #f2c94c; }
.lt-form-h { text-align: center; }

/* strefy: awans (zielony) i spadek (czerwony) — pasek przy lewej krawędzi */
.lt-row.zone-promo { box-shadow: inset 4px 0 0 #34c759; }
.lt-row.zone-releg { box-shadow: inset 4px 0 0 #ff5a5f; }

/* wyróżnienie naszej drużyny (tło + biały tekst; pasek strefy zostaje) */
.lt-row.is-us { background: rgba(216,31,42,.16); }
.lt-row.is-us .lt-name, .lt-row.is-us .lt-pos { color: #fff; }

/* legenda pod tabelą */
.lt-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: .84rem; }
.lt-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg-dot.promo { background: #34c759; }
.lg-dot.releg { background: #ff5a5f; }

@media (max-width: 720px) {
  .lt-row { grid-template-columns: 34px minmax(80px,1fr) 32px 46px 32px 32px 64px; padding: 0 8px; }
  .lt-diff, .lt-form, .lt-form-h, .lt-head .lt-c[title="Różnica"] { display: none; }
  .lt-name { font-size: .9rem; }
  .lt-crest { width: 24px; height: 24px; }
}

/* =============================================================
   KADRA — sekcje pozycji + duże karty (styl legia.com)
   ============================================================= */
/* Nagłówek strony (wielki, lewy) */
.about-hero.squad-hero { text-align: left; padding-bottom: 30px; }
.squad-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.01em; }

/* Pasek zakładek-filtrów */
.squad-tabs { display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; margin: 0 0 40px; }
.squad-tab {
  background: none; border: 0; cursor: pointer; padding: 6px 2px;
  font-family: var(--font-body); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted); position: relative; transition: color .15s ease; white-space: nowrap;
}
.squad-tab:hover { color: #fff; }
.squad-tab.active { color: #fff; }
.squad-tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px;
  background: var(--red); border-radius: 2px;
}

.squad-section { margin-bottom: 52px; }
.squad-section:last-child { margin-bottom: 0; }
.squad-h {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 22px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.squad-h::before {
  content: ""; width: 6px; height: 1em; background: var(--red); border-radius: 2px;
  display: inline-block;
}
.squad-h.muted-h { color: var(--muted); }
.squad-h .cnt { font-size: .9rem; color: var(--muted); font-weight: 600; }

.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 14px; }

.pcard {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(216,31,42,.14), transparent 60%),
    linear-gradient(180deg, #24242b 0%, #141417 70%, #0e0e11 100%);
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pcard::before { /* subtelna tekstura / dynamika w tle karty */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 40px);
  opacity: .7; pointer-events: none;
}
.pcard:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 18px 40px rgba(0,0,0,.4); }

.pc-id {
  position: absolute; top: 10px; left: 10px; z-index: 4;
  background: rgba(0,0,0,.55); color: #fff; font-family: var(--font-body);
  font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
}
.pc-photo { position: absolute; inset: 0; z-index: 1; }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* placeholder gdy brak zdjęcia — duży, wyszarzony numer */
.pc-bignum { position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 7rem; color: rgba(255,255,255,.07); z-index: 1; }
.pcard.no-photo .pc-bignum { display: flex; }

.pc-label {
  position: relative; z-index: 3; padding: 16px 18px 18px;
  display: flex; align-items: flex-end; gap: 12px;
  background: linear-gradient(180deg, transparent, rgba(8,8,10,.82) 55%, rgba(8,8,10,.95));
}
.pc-num {
  font-family: var(--font-display); font-weight: 700; line-height: .82;
  font-size: clamp(2.6rem, 6vw, 3.6rem); color: #fff; flex: none;
}
.pc-num.ph { color: rgba(255,255,255,.28); }
.pc-role {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  letter-spacing: .04em; color: var(--red-bright); font-size: .95rem; line-height: 1.1;
}
.pc-name { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.pc-name .fn { font-size: .95rem; color: var(--ink-soft); font-weight: 500; }
.pc-name .ln {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: #fff; line-height: 1.02;
}
.pcard.staff .pc-label { flex-direction: column; align-items: flex-start; gap: 4px; }

@media (max-width: 720px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 440px) {
  .pgrid { grid-template-columns: 1fr 1fr; }
  .pc-label { padding: 12px; }
}

/* =============================================================
   O KLUBIE / KONTAKT
   ============================================================= */
.about-hero {
  padding: calc(var(--nav-h) + 70px) 0 60px;
  background: radial-gradient(120% 100% at 50% 0%, rgba(216,31,42,.18), transparent 60%), var(--bg);
  text-align: center;
}
.about-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.about-hero p { max-width: 640px; margin: 14px auto 0; color: var(--ink-soft); font-size: 1.1rem; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: start; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose p:first-child { color: var(--ink); font-size: 1.12rem; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 16px; margin: 10px 0; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: #fff; line-height: 1; }
.stat .lab { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }

.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.info-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.info-list { list-style: none; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.info-list .ic { color: var(--red-bright); flex: none; margin-top: 2px; }

.map-embed { border: 0; width: 100%; height: 280px; border-radius: var(--radius); margin-top: 22px; filter: grayscale(.3) contrast(1.05); }

/* Sponsorzy */
.sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 16px; }
.sponsor {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  height: 92px; display: grid; place-items: center;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); font-weight: 600; transition: color .15s ease, border-color .15s ease;
}
.sponsor:hover { color: var(--ink); border-color: var(--line-hi); }

/* Najlepsi strzelcy — karty z zawodnikiem (styl legia) */
.scorers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scorer {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(216,31,42,.16), transparent 60%),
    linear-gradient(180deg, #24242b 0%, #141417 70%, #0e0e11 100%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.scorer::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 40px);
  opacity: .7; pointer-events: none;
}
.scorer:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.sc-photo { position: absolute; inset: 0; z-index: 1; }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.sc-rank {
  position: absolute; top: 10px; right: 16px; z-index: 3;
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: rgba(255,255,255,.12);
}
.sc-jersey {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: #fff; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.18);
  padding: 2px 9px; border-radius: 999px;
}
.sc-tag {
  display: inline-block; align-self: flex-start; margin-bottom: 9px;
  background: var(--red); color: #fff; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: .68rem;
  padding: 3px 9px; border-radius: 5px; white-space: nowrap;
}
.sc-label {
  position: relative; z-index: 2; padding: 18px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(8,8,10,.82) 45%, rgba(8,8,10,.96));
}
.sc-goalbox { display: flex; align-items: baseline; gap: 7px; }
.sc-num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: .9; color: #fff; }
.sc-unit { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--red-bright); font-size: .82rem; font-weight: 700; }
.sc-name { margin-top: 8px; display: flex; flex-direction: column; line-height: 1.02; }
.sc-name .fn { color: var(--ink-soft); font-size: .92rem; }
.sc-name .ln { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.5rem; color: #fff; }
.sc-sub { margin-top: 5px; color: var(--muted); font-size: .78rem; }

.scorer.rank-1 { border-color: rgba(240,194,75,.55); }
.scorer.rank-1 .sc-num { color: #F0C24B; }
.scorer.rank-1 .sc-unit { color: #F0C24B; }
.scorer.rank-1 .sc-name .fn,
.scorer.rank-1 .sc-name .ln { color: #F0C24B; }

.scorer { min-width: 0; }
@media (max-width: 760px) {
  .scorers { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 600px) {
  .scorers { grid-template-columns: 1fr; gap: 16px; max-width: 320px; margin-inline: auto; }
  .scorers .rank-1, .scorers .rank-2, .scorers .rank-3 {
    grid-column: auto; max-width: none; margin: 0;
  }
}

/* Pozostali strzelcy — lista pod kartami */
.scorers-more { margin-top: 22px; }
.scorers-more-head {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-weight: 700; font-size: .9rem; color: var(--muted); margin-bottom: 8px;
}
.scorers-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
.scorers-list li {
  display: flex; align-items: center; gap: 14px; padding: 11px 4px;
  border-bottom: 1px solid var(--line);
}
.sl-pos { width: 20px; text-align: center; color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.sl-goals {
  min-width: 30px; text-align: center; font-family: var(--font-display); font-weight: 800;
  font-size: 1.2rem; color: #fff;
}
.sl-name { flex: 1; color: var(--ink-soft); font-weight: 600; }
.sl-num { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) { .scorers-list { grid-template-columns: 1fr; gap: 0; } }

/* CTA baner */
.cta-band {
  background: linear-gradient(120deg, var(--red-deep), var(--red));
  text-align: center; padding: 60px 24px;
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 12px auto 24px; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--red-deep); }

/* Piszą o nas — wzmianki medialne */
.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.press-card {
  display: grid; grid-template-columns: 66px 1fr; gap: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: transform .18s ease, border-color .18s ease;
}
.press-card:hover { transform: translateY(-4px); border-color: var(--line-hi); }
.press-logo {
  display: flex; align-items: center; justify-content: center; padding: 12px 6px; text-align: center;
  background: linear-gradient(150deg, #1e50c8, #12307c);
}
.press-logo span {
  writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; font-size: .88rem; color: #fff; line-height: 1;
}
.press-body { padding: 18px 20px; display: flex; flex-direction: column; }
.press-meta { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.press-card h3 { font-size: 1.12rem; margin: 6px 0 8px; line-height: 1.22; }
.press-card:hover h3 { color: #fff; }
.press-body p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 0 0 12px; }
.press-link { margin-top: auto; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .74rem; color: #4d84ff; }
@media (max-width: 760px) {
  .press-grid { grid-template-columns: 1fr; }
  .press-card { grid-template-columns: 52px 1fr; }
  .press-logo span { font-size: .78rem; }
}

/* Mniejsze loga partnerów pod tabelą */
.partners-small .section-head.center { justify-content: center; text-align: center; }
.small-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.small-tile {
  flex: 0 1 150px; height: 82px; background: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; padding: 12px 16px;
  overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.24);
}
.small-tile img { max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; display: block; }
.small-tile.has-cap { flex-direction: column; gap: 5px; height: auto; min-height: 82px; padding: 12px 14px; }
.small-tile.has-cap img { max-height: 40px; }
.st-cap { font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 560px) {
  .small-tile { flex: 0 1 120px; height: 70px; padding: 10px 12px; }
  .small-tile img { max-height: 38px; }
}

/* Grupy naborowe (o-klubie) */
.nabor-groups { display: grid; gap: 12px; }
.ngroup { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: rgba(255,255,255,.02); }
.ng-age { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem; }
.ng-when { color: var(--text); font-size: .95rem; margin-top: 4px; }
.ng-coach { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.ng-coach strong { color: var(--text); }

/* Sekcja kontakt na stronie głównej */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.contact-info .info-list { margin: 0 0 20px; }
.contact-info .btn { align-self: flex-start; margin-top: auto; }
.contact-map { width: 100%; min-height: 340px; height: 100%; border: 0; border-radius: 16px; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 280px; }
}

/* Sekcja naboru — zawodnicy po bokach, treść w środku */
.nabor-band { padding: 0 20px; overflow: hidden; }
.nabor-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 56px); padding: 40px 0; }
.nabor-players { display: flex; align-items: center; flex: none; gap: 12px; }
.nabor-players img {
  height: 300px; width: auto; display: block; object-fit: cover;
  border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.nabor-text { align-self: center; text-align: center; padding: 0 6px; max-width: 440px; flex: 0 1 440px; }
.nabor-text .eyebrow { margin-bottom: 10px; }
.nabor-text h2 { line-height: 1.08; font-size: clamp(1.5rem, 3.1vw, 2.35rem); }
.nabor-text h2 span { color: #d81f2a; }
.nabor-when { color: rgba(0,0,0,.72); font-size: 1.05rem; margin: 16px 0 22px; }
.nabor-when strong { color: #111; }
.nabor-coach {
  display: inline-flex; flex-direction: column; gap: 3px;
  padding: 14px 30px; border: 1px solid rgba(0,0,0,.14); border-radius: 14px; background: rgba(0,0,0,.02);
}
.nc-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; color: rgba(0,0,0,.5); }
.nc-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #111; }
.nc-phone { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #d81f2a; letter-spacing: .02em; text-decoration: none; }
.nc-phone:hover { text-decoration: underline; }
.nabor-two { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.ng2 { border: 1px solid rgba(0,0,0,.14); border-radius: 12px; padding: 12px 16px; background: rgba(0,0,0,.02); text-align: left; }
.ng2-age { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: .95rem; color: #16161b; }
.ng2-when { color: rgba(0,0,0,.7); font-size: .92rem; margin-top: 2px; }
.ng2-coach { font-size: .9rem; color: rgba(0,0,0,.62); margin-top: 4px; }
.ng2-coach a { color: #d81f2a; font-weight: 700; text-decoration: none; }
.ng2-coach a:hover { text-decoration: underline; }
@media (max-width: 1040px) { .nabor-players img { height: 240px; } .nabor-players img:nth-child(2) { display: none; } }
@media (max-width: 900px) { .nabor-players img { height: 210px; } .nc-phone { font-size: 1.5rem; } }
@media (max-width: 680px) {
  .nabor-players { display: none; }
  .nabor-text { padding: 44px 8px 48px; max-width: 520px; }
}

/* =============================================================
   STOPKA
   ============================================================= */
.site-footer { background: #060608; border-top: 1px solid var(--line); padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand svg { height: 54px; }
.footer-brand .fb-crest { height: 54px; display: inline-flex; }
.footer-brand .fb-crest .crest { height: 54px; width: auto; }
.footer-brand .fb-name { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 1.3rem; line-height: 1; }
.footer-brand .fb-sub { font-size: .8rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.footer-col h4 { font-size: 1rem; letter-spacing: .1em; margin-bottom: 14px; color: #fff; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-hi); display: grid; place-items: center; }
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: .84rem;
}

/* =============================================================
   RESPONSYWNOŚĆ
   ============================================================= */
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links:not(.right) { display: none; }
  .nav-links.right .nav-link { display: none; }
  .nav-social { display: none; }
  .nav-crest { justify-content: flex-start; }
  .nav-burger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fixture { grid-template-columns: 84px 1fr; }
  .fx-cta { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .countdown { gap: 8px; }
  .cd-unit { min-width: 48px; }
  .team-name { font-size: 1rem; }
  .section { padding: 54px 0; }
}

/* =============================================================
   TEST: zamiana czerwień ↔ biel (poza kartami zawodników)
   Aby cofnąć — usuń cały ten blok.
   ============================================================= */
:root { --red: #ffffff; --red-bright: #ffffff; --red-deep: #efefef; }
/* karty zawodników zachowują czerwień */
.pcard, .scorer { --red: #d81f2a; --red-bright: #ff2d3a; --red-deep: #a1121b; }

/* tekst na elementach, które były czerwone (teraz białe) -> czarny */
.result-strip { color: #000; }
.result-strip .rs-score { background: rgba(0,0,0,.08); color: #000; }
.result-strip .rs-label { opacity: .75; }
.btn-primary { color: #000; }
.news-thumb .tag { color: #000; }
.fx-sc-count { color: #000; }
.cta-band h2 { color: #000; }
.cta-band p { color: rgba(0,0,0,.72) !important; }
.cta-band .eyebrow { color: rgba(0,0,0,.72) !important; }
.cta-band .btn-primary { background: #111; color: #fff; }
.cta-band .btn-ghost { border-color: rgba(0,0,0,.55); color: #000; }

/* =============================================================
   SPONSORZY — kolorowe loga na białych kaflach
   ============================================================= */
.sponsors-tiles .section-head.center { justify-content: center; text-align: center; }
.partner-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
}
.partner-tile {
  flex: 0 1 244px; height: 118px; background: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; padding: 16px 20px;
  overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.28); transition: transform .18s ease;
}
.partner-tile:hover { transform: translateY(-4px); }
.partner-tile img {
  max-width: 100%; max-height: 66px; width: auto; height: auto;
  object-fit: contain; display: block;
}
/* Kafel „herb + nazwa" (Miasto / Powiat) — czcionka jak główny sponsor */
.partner-crest { gap: 11px; }
.partner-crest .pc-crest { max-height: 58px; flex: none; }
.pc-name {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 800;
  font-size: .92rem; letter-spacing: 0; color: #16161b; line-height: 1.08; text-align: left;
  flex: none;
}
.pc-name .pc-thin { display: block; font-weight: 400; color: #6b6b73; font-size: .78rem; }
@media (max-width: 560px) {
  .partner-tile { flex: 0 1 140px; height: 92px; padding: 12px 14px; }
  .partner-tile img, .partner-crest .pc-crest { max-height: 52px; }
  .pc-name { font-size: .98rem; }
  .partner-grid { gap: 12px; }
}

/* Partnerzy: transmisja + media (pod tabelą) */
.partners-media { padding-top: 26px; }
.pm-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 64px; }
.pm-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pm-label {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .22em;
  font-size: .72rem; font-weight: 600; color: var(--muted);
}
.pm-logo { height: 72px; display: flex; align-items: center; justify-content: center; }
.pm-logo img { max-height: 72px; max-width: 290px; width: auto; height: auto; object-fit: contain; display: block; }
@media (max-width: 560px) {
  .pm-grid { gap: 26px 40px; }
  .pm-logo, .pm-logo img { max-height: 58px; }
}

/* =============================================================
   PASEK SPONSORÓW — czarny, przewijany (jedna linia)
   ============================================================= */
.sponsor-bar {
  background: #000; overflow: hidden; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sponsor-track { display: flex; align-items: center; width: max-content; animation: sp-scroll 38s linear infinite; }
.sponsor-bar:hover .sponsor-track { animation-play-state: paused; }
/* Pasek nieruchomy — wyśrodkowany rząd bez animacji */
.sponsor-track.static { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; gap: 20px 56px; }
.sponsor-track.static .sp-item { margin-right: 0; }
.sp-item { flex: none; margin-right: 72px; display: flex; align-items: center; }
.sp-item img { height: 40px; width: auto; display: block; opacity: .9; transition: opacity .2s ease; }
.sp-item img:hover { opacity: 1; }
@keyframes sp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sponsor-track { animation: none; } }

/* Sekcja strzelców na czarnym tle — zlana z paskiem sponsorów */
.section.alt.scorers-black { background: #000; padding-bottom: 34px; }
.scorers-black + .sponsor-bar { border-top: none; padding-top: 6px; }

/* Główny sponsor pod odliczaniem (herb Miasta Przeworsk) */
.hero-sponsor { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hs-label {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .28em;
  font-size: .72rem; font-weight: 600; color: var(--muted);
}
.hs-logo { display: flex; align-items: center; gap: 22px; }
.hs-logo img { height: 87px; width: auto; }
.hs-text { display: flex; flex-direction: column; text-align: left; line-height: 1.05; }
.hs-name {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 800;
  font-size: 2.25rem; letter-spacing: .02em; color: #fff;
}
.hs-name .hs-thin { font-weight: 400; color: rgba(255,255,255,.7); }
.hs-sub { align-self: flex-end; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 480px) { .hs-name { font-size: 1.8rem; } .hs-logo img { height: 69px; } }

/* ===== SPONSORING (rozwijany kafel) ===== */
.spons-panel {
  border: 1px solid var(--line, rgba(255,255,255,.10));
  border-radius: 16px;
  background: var(--card, rgba(255,255,255,.03));
  overflow: hidden;
}
.spons-panel > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}
.spons-panel > summary::-webkit-details-marker { display: none; }
.spons-panel > summary:hover { background: rgba(255,255,255,.04); }
.spons-panel .sp-arrow {
  font-size: 1.1rem; color: var(--red, #e2001a);
  transition: transform .2s ease;
}
.spons-panel[open] .sp-arrow { transform: rotate(180deg); }
.spons-body {
  padding: 4px 24px 26px;
  border-top: 1px solid var(--line, rgba(255,255,255,.08));
}
.spons-intro p { margin: 14px 0 0; line-height: 1.6; }
.spons-photo {
  margin: 20px 0 6px;
  aspect-ratio: 16 / 7;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted, rgba(255,255,255,.55));
  font-size: .9rem; text-align: center;
  overflow: hidden;
}
.spons-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spons-contacts, .spons-trusted { margin-top: 26px; }
.spons-contacts h3, .spons-trusted h3 {
  font-family: "Archivo", sans-serif; font-weight: 800;
  font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--red, #e2001a); margin: 0 0 14px;
}
.trusted-names {
  list-style: none; margin: 0; padding: 0;
  columns: 2; column-gap: 40px;
}
.trusted-names li {
  break-inside: avoid;
  padding: 7px 0 7px 18px;
  position: relative;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trusted-names li::before {
  content: "›"; position: absolute; left: 0;
  color: var(--red, #e2001a); font-weight: 700;
}
@media (max-width: 640px) {
  .trusted-names { columns: 1; }
  .spons-panel > summary { font-size: 1.05rem; padding: 16px 18px; }
  .spons-body { padding: 4px 18px 22px; }
}

/* ===== Skróty: 4 kafle w jednym rzędzie ===== */
.news-grid.quick-links { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .news-grid.quick-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .news-grid.quick-links { grid-template-columns: 1fr; } }

/* ===== Sponsoring: zdjęcie hali ===== */
.spons-hero-photo { margin: 0; }
.spons-hero-photo img {
  width: 100%; display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9; object-fit: cover;
}
.spons-hero-photo figcaption {
  margin-top: 12px; color: var(--muted);
  font-size: .9rem; text-align: center;
}
.trusted-names--wide { columns: 3; }
@media (max-width: 900px) { .trusted-names--wide { columns: 2; } }
@media (max-width: 560px) { .trusted-names--wide { columns: 1; } }

/* ===== KIBICE: przesuwana galeria ===== */
.fans-section { padding-bottom: 8px; }
.fans-viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.fans-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px 9px;
  animation: fans-scroll 55s linear infinite;
}
.fans-track:hover { animation-play-state: paused; }
.fans-item { flex: 0 0 auto; }
.fans-item img {
  height: 270px; width: auto; max-width: none;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  object-fit: cover;
}
@keyframes fans-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 640px) { .fans-item img { height: 190px; } .fans-track { animation-duration: 42s; } }
@media (prefers-reduced-motion: reduce) { .fans-track { animation: none; } }

/* ===== Klikalne kafle sponsorów (link do strony www) ===== */
a.partner-tile { text-decoration: none; color: inherit; cursor: pointer; }
a.partner-tile.partner-link { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.partner-tile.partner-link:hover {
  transform: translateY(-3px);
  border-color: var(--line-hi);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}

/* ===== Lightbox: powiększanie zdjęć kibiców ===== */
.fans-item img { cursor: zoom-in; }
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.92);
  padding: 24px;
  animation: lb-fade .18s ease;
}
.lightbox.open { display: flex; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-img {
  max-width: 94vw; max-height: 90vh;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.6);
  cursor: default;
}
.lb-close, .lb-nav {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.10);
  color: #fff; border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%; cursor: pointer;
  line-height: 1; transition: background .15s ease, transform .15s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 20px; right: 24px; width: 46px; height: 46px; font-size: 1.7rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
@media (max-width: 640px) {
  .lb-close { width: 40px; height: 40px; font-size: 1.4rem; top: 14px; right: 14px; }
  .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ===== Poprawki mobilne: główny sponsor + kafle herb/nazwa ===== */
@media (max-width: 480px) {
  /* Główny sponsor w hero — logo nad tekstem, wszystko wyśrodkowane */
  .hs-logo { flex-direction: column; gap: 10px; }
  .hs-text { text-align: center; }
}
@media (max-width: 560px) {
  /* Kafle „herb + nazwa" (Miasto / Powiat) — skalowanie, by nie wychodziły poza kafel */
  .partner-crest { gap: 7px; padding: 10px 12px; }
  .partner-crest .pc-crest { max-height: 40px; }
  .partner-crest .pc-name { font-size: .72rem; min-width: 0; }
  .partner-crest .pc-name .pc-thin { font-size: .6rem; }
}

/* ===== Mniejsze kafle sponsorów (sekcja „Partnerzy i sponsorzy" na o-klubie) ===== */
.partner-grid--sm { gap: 12px; }
.partner-grid--sm .partner-tile { flex: 0 1 172px; height: 84px; padding: 10px 14px; }
.partner-grid--sm .partner-tile img { max-height: 44px; }
.partner-grid--sm .partner-crest .pc-crest { max-height: 40px; }
.partner-grid--sm .partner-crest { gap: 8px; }
.partner-grid--sm .pc-name { font-size: .74rem; }
.partner-grid--sm .pc-name .pc-thin { font-size: .58rem; }
@media (max-width: 560px) {
  .partner-grid--sm .partner-tile { flex: 0 1 132px; height: 74px; }
  .partner-grid--sm .partner-tile img, .partner-grid--sm .partner-crest .pc-crest { max-height: 38px; }
}
