/* ==========================================================================
   K.S. Siatkarz Beskid Skoczów — style główne
   Mobile first. Bez frameworków. Kolory i typografia w tokenach :root.
   Breakpointy: 40rem (duży telefon), 48rem (tablet), 64rem (laptop), 75rem (desktop)
   ========================================================================== */

/* Fonty: docelowo samodzielnie hostowany krój kondensowany (np. Barlow
   Condensed, licencja OFL) w /assets/fonts — patrz docs/ROADMAP.md.
   Do tego czasu stos systemowy z krojami kondensowanymi. */

:root {
  --navy-950: #031321;
  --navy-900: #071e34;
  --navy-800: #123450;
  --navy-700: #155179;
  --blue-600: #004f87;
  --blue-500: #0061a5; /* kolor nowego herbu */
  --blue-400: #4a9ad2;
  --blue-300: #a9d5f2;
  --ice-100: #eff7fb;
  --ice-200: #dcecf5;
  --ice-300: #b7d2e3;
  --white: #ffffff;
  --ink: #0a2032;
  --muted: #526b7e;
  --line: #cbdce8;

  --font-display: "Barlow Condensed", "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1440px;
  --wrap-wide: 1560px;
  --gutter: 1.25rem;
  --header-h: 4.25rem;
  --section-y: 3.5rem;
  --cut: 1.25rem; /* ścięcie narożników — motyw „sportowy” */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; --cut: 1.75rem; --section-y: 5rem; }
}

@media (min-width: 75rem) {
  :root { --gutter: 2.5rem; --cut: 2.5rem; --header-h: 5.75rem; --section-y: 4rem; }
  html { font-size: 106.25%; } /* 17px — czytelniej na dużych ekranach */
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Narzędzia ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: var(--wrap-wide); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .2em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--blue-300);
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 3px;
  background: var(--blue-500);
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .8rem 1.6rem;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  padding-right: 2.25rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - .9rem) 100%, 0 100%);
}
.btn--primary::after { content: "→"; transition: transform .2s var(--ease); }
.btn--primary:hover { background: var(--white); color: var(--navy-900); }
.btn--primary:hover::after { transform: translateX(.3rem); }

.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }

@media (min-width: 75rem) {
  .btn { min-height: 3.75rem; padding-inline: 2rem; font-size: 1.25rem; }
  .btn--primary { padding-right: 2.75rem; }
}

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 19, 33, .96);
  color: var(--white);
  border-top: 4px solid var(--blue-500);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  flex: none;
}

/* Herb klubu (assets/img/logo-klubu-*.webp, źródło: nowe logo(1).pdf) */
.brand__logo {
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

.brand__name {
  display: grid;
  font-family: var(--font-display);
  font-stretch: condensed;
  text-transform: uppercase;
  line-height: .95;
}
.brand__top {
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .32em;
  color: var(--blue-300);
}
.brand__main {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: .02em;
}

@media (min-width: 75rem) {
  .brand { gap: 1.1rem; }
  .brand__logo { width: 4.9rem; height: 4.9rem; }
  .brand__top { font-size: .95rem; }
  .brand__main { font-size: 1.9rem; }
}

/* Menu mobilne — <details>, bez JavaScriptu */

.nav-mobile summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 3rem;
  padding: 0 .25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-mobile summary::-webkit-details-marker { display: none; }

.nav-mobile__icon,
.nav-mobile__icon::before,
.nav-mobile__icon::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease);
}
.nav-mobile__icon { position: relative; }
.nav-mobile__icon::before,
.nav-mobile__icon::after { content: ""; position: absolute; left: 0; }
.nav-mobile__icon::before { top: -7px; }
.nav-mobile__icon::after { top: 7px; width: 1rem; }

.nav-mobile[open] .nav-mobile__icon { background: transparent; }
.nav-mobile[open] .nav-mobile__icon::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] .nav-mobile__icon::after { top: 0; width: 1.5rem; transform: rotate(-45deg); }

.nav-mobile nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: .5rem var(--gutter) 2rem;
}

.nav-mobile ul { max-width: var(--wrap); margin-inline: auto; }

.nav-mobile a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-mobile a[aria-current="page"] { color: var(--blue-300); }

@media (min-width: 48rem) {
  .nav-mobile ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

.nav-desktop { display: none; }

@media (min-width: 75rem) {
  .nav-mobile { display: none; }

  .nav-desktop { display: block; }
  .nav-desktop > ul { display: flex; align-items: center; gap: 0; }

  .nav-desktop a,
  .nav-more summary {
    position: relative;
    display: block;
    padding: .6rem .5rem;
    font-family: var(--font-display);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: rgba(255, 255, 255, .8);
    cursor: pointer;
    transition: color .2s var(--ease);
  }
  .nav-desktop > ul > li > a::after {
    content: "";
    position: absolute;
    left: .5rem;
    right: .5rem;
    bottom: .15rem;
    height: 3px;
    background: var(--blue-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav-desktop a:hover,
  .nav-more summary:hover { color: var(--white); }
  .nav-desktop > ul > li > a:hover::after,
  .nav-desktop > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-desktop a[aria-current="page"] { color: var(--white); }

  .nav-more { position: relative; }
  .nav-more summary { list-style: none; }
  .nav-more summary::-webkit-details-marker { display: none; }
  .nav-more summary::after { content: " +"; color: var(--blue-300); }
  .nav-more[open] summary::after { content: " −"; }
  .nav-more ul {
    position: absolute;
    right: 0;
    top: calc(100% + 1.25rem);
    min-width: 16rem;
    padding: .5rem;
    background: var(--navy-900);
    border: 1px solid rgba(255, 255, 255, .1);
    border-top: 3px solid var(--blue-500);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .5);
  }
  .nav-more ul a { padding: .7rem .9rem; }
  .nav-more ul a:hover { background: rgba(255, 255, 255, .05); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut) * 2), 0 100%);
  padding-block: 0 5rem;
}

/* Tło: głęboki gradient, poświata i ukośne pasy „w ruchu” */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(0, 97, 165, .28), transparent 70%),
    linear-gradient(115deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
}
.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  transform: skewX(-18deg);
}
.hero__bg::before {
  right: 34%;
  width: 7rem;
  background: linear-gradient(180deg, rgba(0, 97, 165, 0), rgba(0, 97, 165, .16), rgba(0, 97, 165, 0));
}
.hero__bg::after {
  right: 28%;
  width: 1.25rem;
  background: rgba(169, 213, 242, .1);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  margin-top: -6rem;
}

.hero__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(3.5rem, 16vw, 9.75rem);
  line-height: .84;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--blue-300);
}

.hero__lead {
  max-width: 32rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .72);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

/* Zdjęcie w hero: mobile — pasek u góry, desktop — panel po prawej ze skośną krawędzią.
   Gradient przyciemnia zdjęcie od strony tekstu, żeby nagłówek był czytelny. */
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 62vh;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  animation: photo-in 1.2s var(--ease) both;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 19, 33, .25) 0%, rgba(3, 19, 33, 0) 30%, rgba(3, 19, 33, .6) 80%),
    linear-gradient(rgba(18, 52, 80, .22), rgba(18, 52, 80, .22));
}

@keyframes photo-in {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 48rem) {
  .hero { padding-block: 0 7rem; }
}

@media (min-width: 64rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: 3.5rem;
  }
  .hero { padding-block: 3rem 10rem; }
  .hero__inner { margin-top: 0; }
  .hero__title { font-size: clamp(5rem, 8.6vw, 8.5rem); }
  .hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 64%;
    max-height: none;
    aspect-ratio: auto;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__photo img { object-position: 60% 35%; }
  .hero__photo::after {
    background:
      linear-gradient(90deg, var(--navy-950) 0%, rgba(3, 19, 33, .78) 16%, rgba(3, 19, 33, .28) 44%, rgba(3, 19, 33, 0) 70%),
      linear-gradient(0deg, rgba(3, 19, 33, .75) 0%, rgba(3, 19, 33, 0) 38%),
      linear-gradient(rgba(18, 52, 80, .22), rgba(18, 52, 80, .22));
  }
}

@media (min-width: 75rem) {
  .hero {
    min-height: min(56rem, calc(100vh - var(--header-h) + 2rem));
    display: flex;
    align-items: center;
    padding-block: 2.5rem 13rem;
  }
  .hero__inner { gap: 5rem; }
  .hero__title-accent { -webkit-text-stroke-width: 3px; }
  .hero__lead { font-size: 1.25rem; margin-top: 2rem; }
  .hero__actions { margin-top: 2.75rem; gap: 1rem; }
}

/* ---------- Pasek meczowy ---------- */

.matchbar {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
}

.matchbar__grid { display: grid; gap: 1rem; }

.match-card {
  position: relative;
  padding: 1.5rem 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(7, 30, 52, .5);
}
.match-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 5px;
  background: var(--navy-900);
}

.match-card--next {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-color: var(--navy-700);
  color: var(--white);
}
.match-card--next::before { background: var(--blue-500); }

.match-card__label {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.match-card--next .match-card__label { color: var(--blue-300); }

.match-card__empty { margin-top: 1rem; color: var(--muted); font-size: .95rem; }
.match-card--next .match-card__empty { color: rgba(255, 255, 255, .65); }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-top: 1.25rem;
}
.countdown__unit {
  display: grid;
  justify-items: center;
  padding: .75rem 0 .6rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}
.countdown__unit b {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.countdown__unit small {
  margin-top: .25rem;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.countdown--empty b { color: rgba(255, 255, 255, .22); }

.score {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--navy-900);
}
.score__sep { color: var(--blue-500); }
.score--empty span:not(.score__sep) { color: var(--ice-300); }

@media (min-width: 48rem) {
  .matchbar { margin-top: -4.5rem; }
  .matchbar__grid { grid-template-columns: 3fr 2fr; }
}

@media (min-width: 75rem) {
  .matchbar { margin-top: -7rem; }
  .matchbar__grid { gap: 1.5rem; }
  .match-card { padding: 2.25rem 2.5rem 2.5rem; }
  .match-card__label { font-size: 1.2rem; }
  .countdown { gap: .75rem; margin-top: 1.5rem; }
  .countdown__unit { padding: 1.1rem 0 .9rem; }
  .countdown__unit b { font-size: 4rem; }
  .countdown__unit small { font-size: .8rem; }
  .score { font-size: 6.5rem; margin-top: 1.25rem; }
  .match-card__empty { font-size: 1rem; }
}

/* ---------- Sekcje ---------- */

.section { padding-block: var(--section-y); }
.section--tint { background: var(--ice-100); }
.section--dark {
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(0, 97, 165, .18), transparent 70%),
    var(--navy-900);
  color: var(--white);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .25rem 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--navy-900);
}
.section--dark .section-head { border-bottom-color: rgba(255, 255, 255, .2); }

.section-head__index {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  padding-bottom: .35rem;
  color: var(--blue-500);
}

.section-head__title {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(2.25rem, 8vw, 4.75rem);
  line-height: .9;
  text-transform: uppercase;
  color: var(--navy-900);
}
.section--dark .section-head__title { color: var(--white); }

.section-head__more {
  margin-left: auto;
  padding-bottom: .3rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue-600);
  text-decoration: none;
  white-space: nowrap;
}
.section-head__more::after {
  content: " →";
  display: inline-block;
  transition: transform .2s var(--ease);
}
.section-head__more:hover { text-decoration: underline; text-underline-offset: .25em; }
.section-head__more:hover::after { transform: translateX(.25rem); }
.section--dark .section-head__more { color: var(--blue-300); }

@media (min-width: 64rem) {
  .section-head { flex-wrap: nowrap; }
  /* dwie kolumny obok siebie — mniejszy tytuł, żeby link mieścił się w linii */
  .split .section-head__title { font-size: clamp(2.5rem, 4vw, 3.75rem); }
}

@media (min-width: 75rem) {
  .section-head { margin-bottom: 2.75rem; padding-bottom: 1.25rem; gap: .5rem 1.5rem; }
  .section-head__index { font-size: 1.4rem; padding-bottom: .6rem; }
  .section-head__more { font-size: 1.05rem; }
}

.split { display: grid; gap: var(--section-y); }

@media (min-width: 64rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
}
@media (min-width: 75rem) {
  .split { gap: 4.5rem; }
}

/* ---------- Stan pusty ---------- */

.empty {
  padding: 1.5rem 1.75rem;
  border: 1px dashed var(--line);
  border-left: 4px solid var(--blue-500);
  background: var(--white);
}
.empty__title {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--navy-900);
}
.empty__text { margin-top: .25rem; color: var(--muted); }


/* ---------- Tabela ---------- */

.table-wrap { overflow-x: auto; }

.standings {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.standings th {
  padding: .75rem .9rem;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}
.standings td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
.standings .num { text-align: right; width: 1%; white-space: nowrap; }
.standings__empty {
  color: var(--muted);
  padding-block: 3rem !important;
  text-align: center;
  background: repeating-linear-gradient(0deg, transparent 0 2.9rem, var(--ice-100) 2.9rem 3rem);
}

@media (min-width: 64rem) {
  .standings__empty { height: 18rem; }
}

/* ---------- Strona główna: dwie aktualne tabele + kanał YouTube ---------- */

.home-standings__grid {
  display: grid;
  gap: 1.5rem;
}
.home-table-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-500);
  background: var(--white);
  box-shadow: 0 20px 42px -34px rgba(7, 30, 52, .55);
}
.home-table-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: 1.15rem 1.2rem .8rem;
}
.home-table-card__category {
  display: inline-flex;
  padding: .25rem .65rem;
  background: var(--blue-500);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .88rem;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}
.home-table-card__head h3 {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-stretch: condensed;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.home-table-card .standings__caption { padding: .1rem 1.2rem .85rem; }
.standings--home { font-size: .9rem; }
.standings--home th { padding: .68rem .65rem; font-size: .84rem; }
.standings--home td { padding: .68rem .65rem; }
.home-table-card__more {
  display: block;
  padding: 1rem 1.2rem 1.1rem;
  color: var(--blue-600);
  font-weight: 700;
  text-align: right;
  text-decoration: none;
}
.home-table-card__more::after { content: " →"; }
.home-table-card__more:hover { text-decoration: underline; text-underline-offset: .25em; }

.home-youtube {
  display: grid;
  align-items: center;
  gap: 1.15rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(1.35rem, 4vw, 2.25rem);
  overflow: hidden;
  background:
    radial-gradient(80% 170% at 5% 50%, rgba(74, 154, 210, .35), transparent 65%),
    linear-gradient(115deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.25rem), calc(100% - 1.25rem) 100%, 0 100%);
}
.home-youtube__icon {
  position: relative;
  display: grid;
  width: 3.65rem;
  height: 3.65rem;
  place-items: center;
  border-radius: 1rem;
  background: #ff0033;
  box-shadow: 0 12px 28px -14px rgba(255, 0, 51, .9);
}
.home-youtube__icon span {
  width: 0;
  height: 0;
  margin-left: .2rem;
  border-top: .65rem solid transparent;
  border-bottom: .65rem solid transparent;
  border-left: 1rem solid var(--white);
}
.home-youtube__eyebrow {
  color: var(--blue-300);
  font-family: var(--font-display);
  font-size: .9rem;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-youtube h2 {
  margin-top: .25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-stretch: condensed;
  font-weight: 800;
  line-height: .98;
  text-transform: uppercase;
}
.home-youtube__content > p:last-child { max-width: 48rem; margin-top: .65rem; color: var(--ice-200); }
.home-youtube__button {
  justify-self: start;
  white-space: nowrap;
  background: var(--white);
  color: var(--navy-900);
}
.home-youtube__button:hover { background: var(--blue-300); }

@media (min-width: 64rem) {
  .home-standings__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .home-youtube { grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.6rem; }
  .home-youtube__button { justify-self: end; }
}

@media (max-width: 36rem) {
  .home-table-card__head { align-items: flex-start; flex-direction: column; }
  .home-table-card .standings__caption { padding-inline: .7rem; }
  .standings--home { font-size: .78rem; }
  .standings--home th, .standings--home td { padding: .58rem .38rem; }
  .standings--home th { font-size: .75rem; letter-spacing: .05em; }
  .home-youtube { clip-path: none; }
  .home-youtube__button { justify-content: center; width: 100%; }
}

/* ---------- Transmisja ---------- */

.video-slot {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  aspect-ratio: 16 / 9;
  padding: 1rem;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(0, 97, 165, .18), transparent 70%),
    var(--navy-900);
  color: rgba(255, 255, 255, .72);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.video-slot__play {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
}
.video-slot__play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: .75rem 0 .75rem 1.2rem;
  border-color: transparent transparent transparent rgba(255, 255, 255, .55);
}
.video-slot__text { max-width: 24rem; font-size: .95rem; }

@media (min-width: 75rem) {
  .video-slot__play { width: 6rem; height: 6rem; }
  .video-slot__play::after { border-width: 1rem 0 1rem 1.6rem; }
  .video-slot__text { font-size: 1.05rem; }
}

/* ---------- Aktualności — szkielety kart ---------- */

.card-grid { display: grid; gap: 1.25rem; }

.card-slot {
  display: grid;
  align-content: start;
  gap: .75rem;
  padding-bottom: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.card-slot__media {
  width: 100%;
  height: auto;
  align-self: start;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: .5rem;
}
.card-slot--status {
  align-content: center;
  padding: 1.25rem;
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.card-slot--status .empty {
  background: transparent;
  border: 0;
  border-left: 4px solid var(--blue-500);
}
.card-slot--status .empty__title { color: var(--white); font-size: 1.75rem; }
.card-slot--status .empty__text { color: rgba(255, 255, 255, .7); }
.card-slot__line {
  height: .9rem;
  margin-inline: 1.5rem;
  background: var(--ice-100);
}
.card-slot__line--meta { width: 30%; height: .6rem; background: var(--ice-200); }
.card-slot__line--short { width: 55%; }

.card-grid .card-slot:nth-child(2) { display: none; }

@media (min-width: 48rem) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .card-grid .card-slot:nth-child(2) { display: grid; }
}

/* ---------- Galerie — mozaika ---------- */

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
.gallery-mosaic img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - .9rem), calc(100% - .9rem) 100%, 0 100%);
  transition: filter .3s var(--ease);
}
.gallery-mosaic img:first-child { grid-column: 1 / -1; }
.gallery-mosaic img:hover { filter: brightness(1.08) saturate(1.1); }

.gallery-status { margin-top: 1.25rem; }

.section--dark .empty {
  background: var(--navy-950);
  border-color: rgba(255, 255, 255, .15);
  border-left-color: var(--blue-500);
}
.section--dark .empty__title { color: var(--white); }
.section--dark .empty__text { color: rgba(255, 255, 255, .65); }

@media (min-width: 64rem) {
  .gallery-mosaic {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 15rem);
    gap: .75rem;
  }
  .gallery-mosaic img { aspect-ratio: auto; }
  .gallery-mosaic img:first-child { grid-column: auto; grid-row: span 2; }
  .gallery-status { margin-top: 2rem; }
}
@media (min-width: 75rem) {
  .gallery-mosaic { grid-template-rows: repeat(2, 19rem); gap: 1rem; }
  .gallery-mosaic img { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), calc(100% - 1.5rem) 100%, 0 100%); }
}

/* ---------- Na skróty ---------- */

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
.quick-links a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 8rem;
  padding: 1.1rem 1.1rem 1.25rem;
  background: var(--navy-900);
  color: var(--white);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.25rem), calc(100% - 1.25rem) 100%, 0 100%);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.quick-links small {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--blue-300);
}
.quick-links span {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}
.quick-links span::after {
  content: "\00a0→";
  color: var(--blue-300);
  transition: color .25s var(--ease);
}
.quick-links a:hover { background: var(--blue-600); }
.quick-links a:hover span::after { color: var(--white); }

@media (min-width: 48rem) {
  .quick-links { grid-template-columns: repeat(4, 1fr); gap: .75rem; }
  .quick-links a { min-height: 10rem; }
}
@media (min-width: 75rem) {
  .quick-links { gap: 1rem; }
  .quick-links a { min-height: 13rem; padding: 1.75rem; }
  .quick-links span { font-size: 2.25rem; }
}

/* ---------- Podstrony ---------- */

.page-hero {
  background:
    radial-gradient(50% 80% at 85% 30%, rgba(0, 97, 165, .22), transparent 70%),
    linear-gradient(115deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  padding-block: 3rem 4.5rem;
}
.page-hero__title {
  /* Odstęp od eyebrow + zapas w em (skaluje się z rozmiarem liter) na znaki diakrytyczne nad wersalikami
     (Ż, Ź, Ś, Ć, Ó, Ń) — przy line-height < 1 kropki/kreski wychodzą ponad linię i zbliżały się do eyebrow. */
  margin-top: clamp(.65rem, .4rem + .7vw, 1rem);
  padding-top: .12em;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.page-hero__lead {
  max-width: 40rem;
  margin-top: .65rem;
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
}
.page-hero__code {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--blue-300);
}
.page-hero--error p:last-child { margin-top: 2rem; }

@media (min-width: 75rem) {
  .page-hero { padding-block: 2rem 2.25rem; }
  .page-hero__lead { font-size: 1rem; }
  .page-hero + .section { padding-top: 2.5rem; }
}

/* ---------- Stopka ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .75);
  padding-top: 3.5rem;
  border-top: 4px solid var(--blue-500);
}
.site-footer__grid { display: grid; gap: 2.5rem; }
.site-footer__name {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}
.site-footer__note { margin-top: .75rem; font-size: .95rem; }
.site-footer__funding {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ice-300);
  border-left: 4px solid var(--blue-500);
  background: rgba(255, 255, 255, .55);
  font-size: clamp(.9rem, 1.3vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem 1.5rem;
}
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer__bottom {
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
}

@media (min-width: 48rem) {
  .site-footer__grid { grid-template-columns: 1fr 2fr; }
  .site-footer__nav { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 75rem) {
  .site-footer { padding-top: 5rem; }
  .site-footer__name { font-size: 2.75rem; }
}

/* ==========================================================================
   Dane z bazy (stany niepuste strony głównej)
   ========================================================================== */

/* Mecze */
.match-card__teams {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .6rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.match-card__teams--small { font-size: 1.2rem; margin-top: .75rem; color: var(--navy-900); }
.match-card__vs { font-weight: 600; font-size: .8em; color: var(--blue-300); }
.match-card--result .match-card__vs { color: var(--blue-500); }
.match-card__meta { margin-top: 1rem; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.match-card--result .match-card__meta { color: var(--muted); }

.score--won span:not(.score__sep) { color: var(--navy-900); }
.score--lost span:not(.score__sep) { color: var(--muted); }

.set-scores {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .75rem;
}
.set-scores li {
  padding: .2rem .55rem;
  background: var(--ice-100);
  font-variant-numeric: tabular-nums;
  font-size: .9rem;
  color: var(--muted);
}
.set-scores li.is-won { background: var(--navy-900); color: var(--white); }

@media (min-width: 75rem) {
  .match-card__teams { font-size: 2.1rem; }
  .match-card__teams--small { font-size: 1.35rem; }
}

/* Tabela */
.standings__caption {
  caption-side: top;
  padding-bottom: .75rem;
  text-align: left;
  font-weight: 600;
  color: var(--navy-900);
}
.standings__caption span {
  display: block;
  font-weight: 400;
  font-size: .85rem;
  color: var(--muted);
}
.standings tr.is-own td {
  background: var(--ice-100);
  font-weight: 700;
  color: var(--navy-900);
}
.standings tr.is-own td:first-child { box-shadow: inset 4px 0 0 var(--blue-500); }

/* Transmisja */
.stream__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
}
.stream__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.stream__meta { margin-top: .9rem; font-weight: 600; color: var(--navy-900); }
.stream__badge {
  display: inline-block;
  margin-right: .5rem;
  padding: .15rem .55rem;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--navy-900);
  color: var(--white);
}
.stream__badge--live { background: #d92d3a; }
.stream__badge--upcoming { background: var(--blue-500); }

/* Aktualności */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.post-card:hover { box-shadow: 0 24px 48px -28px rgba(7, 30, 52, .45); transform: translateY(-2px); }
.post-card__media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__media--none {
  display: block;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(21, 81, 121, .05) 14px 15px),
    var(--ice-200);
}
.post-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.post-card__date { font-size: .85rem; font-weight: 600; color: var(--blue-600); }
.post-card__title {
  margin-top: .35rem;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy-900);
}
.post-card__excerpt { margin-top: .6rem; color: var(--muted); }

.card-grid--posts .post-card { display: flex; }

/* Galerie publiczne */
.gallery-grid { display: grid; gap: .75rem; }
.gallery-card { position: relative; overflow: hidden; background: var(--navy-800); }
.gallery-card__media { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-card__media--none {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(169, 213, 242, .07) 14px 15px),
    var(--navy-800);
}
.gallery-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(0deg, rgba(3, 19, 33, .92), rgba(3, 19, 33, 0));
}
.gallery-card__title {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.gallery-card__meta { margin-top: .25rem; font-size: .85rem; color: rgba(255, 255, 255, .7); }

@media (min-width: 48rem) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .gallery-grid .gallery-card:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-grid .gallery-card:first-child .gallery-card__media { height: 100%; aspect-ratio: auto; }
}

/* ==========================================================================
   Aktualności — karty z linkiem, lista, pojedynczy wpis
   ========================================================================== */

.post-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card__link:hover .post-card__title { color: var(--blue-600); }
.post-card__title { overflow-wrap: anywhere; }

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  font-weight: 600;
}
.pager a { color: var(--blue-600); }
.pager span { color: var(--muted); }

.article__wrap { max-width: var(--wrap); }
.page-hero--article .eyebrow a { color: inherit; text-decoration: none; }
.article__title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); overflow-wrap: anywhere; }
.article__date { margin-top: .7rem; color: rgba(255, 255, 255, .75); }
.page-hero--article { padding-block: 2.5rem 3rem; }
.page-hero--article + .section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.article__cover { margin: 0 0 1.25rem; }
.article__cover img { width: 100%; height: auto; }
.article__lead { max-width: 75rem; font-size: 1.18rem; font-weight: 600; line-height: 1.5; color: var(--navy-900); margin-bottom: 1rem; }
.article__body { max-width: 75rem; font-size: 1.1rem; line-height: 1.75; overflow-wrap: anywhere; }
.article__body p + p { margin-top: 1.1rem; }
.article__funding {
  max-width: 75rem;
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--ice-300);
  border-left: 5px solid var(--blue-500);
  border-radius: .6rem;
  background: linear-gradient(110deg, var(--ice-100), var(--white));
  color: var(--navy-900);
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  font-weight: 700;
  line-height: 1.5;
}
.article__back { margin-top: 3rem; }
.article__back a { color: var(--blue-600); font-weight: 600; }

/* Wyróżnione, bezpieczne bloki w treści aktualności. */
.news-section-title {
  margin: 2.5rem 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 3px solid var(--blue-300);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-stretch: condensed;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.article__body > .news-section-title:first-child { margin-top: 0; }
.news-score {
  position: relative;
  display: grid;
  gap: .45rem;
  max-width: 58rem;
  margin: 1.35rem 0;
  padding: 1.25rem 1.4rem 1.25rem 1.65rem;
  overflow: hidden;
  border: 1px solid rgba(0, 97, 165, .22);
  border-radius: .75rem;
  background: linear-gradient(135deg, var(--ice-100), #fff);
  box-shadow: 0 14px 30px -24px rgba(7, 30, 52, .55);
}
.news-score::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .38rem;
  background: var(--blue-500);
}
.news-score--win {
  border-color: rgba(25, 135, 84, .28);
  background: linear-gradient(135deg, #e5f7ee, #fbfffd);
}
.news-score--win::before { background: #198754; }
.news-score--loss::before { background: var(--navy-700); }
.news-score__match {
  color: var(--navy-900);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.35;
}
.news-score__sets { color: var(--muted); font-size: .98rem; font-weight: 600; }
.news-video {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.25rem;
  max-width: 58rem;
  margin: 1rem 0 2rem;
  padding: 1rem 1.15rem;
  border-radius: .7rem;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
}
.news-video__button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: var(--blue-300);
  color: var(--navy-900);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.news-video__button::before { content: "▶"; margin-right: .5rem; font-size: .8em; }
.news-video__button:hover { background: var(--white); transform: translateY(-1px); }
.news-video__button:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.news-callout {
  max-width: 64rem;
  margin: 1.8rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: .8rem;
  font-size: clamp(1.05rem, 2.5vw, 1.22rem);
  font-weight: 700;
  line-height: 1.55;
}
.news-callout--success {
  border: 1px solid rgba(0, 97, 165, .25);
  border-left: .42rem solid var(--blue-500);
  background: linear-gradient(135deg, var(--ice-200), var(--ice-100));
  color: var(--navy-900);
}
.news-callout--thanks {
  border: 1px solid var(--ice-300);
  background: rgba(220, 236, 245, .55);
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 600;
}
@media (max-width: 36rem) {
  .article__body { font-size: 1rem; line-height: 1.65; }
  .article__body p + p { margin-top: .9rem; }
  .news-section-title {
    margin: 2rem 0 .85rem;
    padding-bottom: .5rem;
    font-size: 1.38rem;
    line-height: 1.08;
  }
  .news-score {
    gap: .35rem;
    margin: 1rem 0;
    padding: 1rem 1.05rem 1rem 1.25rem;
    border-radius: .65rem;
  }
  .news-score__match { font-size: 1rem; line-height: 1.35; }
  .news-score__sets { font-size: .9rem; }
  .news-video {
    align-items: stretch;
    margin: .85rem 0 1.65rem;
    padding: .9rem;
    font-size: .95rem;
  }
  .news-video__button { justify-content: center; width: 100%; }
  .news-callout {
    margin: 1.35rem 0;
    padding: 1.05rem 1.15rem;
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* ==========================================================================
   Transmisje (lista) i „Do pobrania”
   ========================================================================== */
.stream__desc { margin-top: .5rem; color: var(--muted); }
.streams__heading {
  margin: 3rem 0 1rem;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--navy-900);
}
.streams__list { display: grid; gap: 1rem; }
.streams__list a { display: grid; gap: .35rem; color: inherit; text-decoration: none; }
.streams__list img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-900); }
.streams__title { font-weight: 700; color: var(--navy-900); overflow-wrap: anywhere; }
.streams__meta { font-size: .9rem; color: var(--muted); }
@media (min-width: 48rem) { .streams__list { grid-template-columns: repeat(2, 1fr); } }

.downloads { display: grid; gap: .75rem; }
.downloads__item a {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s var(--ease);
}
.downloads__item a:hover { border-color: var(--blue-500); }
.downloads__kind {
  flex: none;
  min-width: 3.5rem;
  padding: .3rem .5rem;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.downloads__body { display: grid; gap: .2rem; }
.downloads__body strong { color: var(--navy-900); overflow-wrap: anywhere; }
.downloads__desc { color: var(--ink); overflow-wrap: anywhere; }
.downloads__meta { font-size: .85rem; color: var(--muted); }

/* Drużyny, terminarz, tabela (Faza 2E-B) */
.team-grid { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-grid__section { grid-column: 1 / -1; display: grid; gap: .75rem; margin-top: 1rem; }
.team-grid__title { font-family: var(--font-display); font-stretch: condensed; font-size: 1.6rem; text-transform: uppercase; color: var(--navy-900); }
.team-grid__title a { color: inherit; text-decoration: none; }
.team-grid__empty { color: var(--muted); }
.team-card {
  display: grid;
  gap: .3rem;
  min-height: 7rem;
  padding: 1.1rem 1.25rem;
  background: var(--navy-900);
  color: var(--white);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .2s var(--ease);
}
.team-card:hover, .team-card:focus-visible { background: var(--blue-600); }
.team-card__name { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.team-card__meta { color: var(--ice-300); }
.team-card__status { align-self: end; font-size: .85rem; color: var(--blue-300); text-transform: uppercase; letter-spacing: .04em; }
.team-status { margin-top: .75rem; color: var(--blue-300); text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.page-hero .eyebrow a { color: inherit; }
.team-note { color: var(--ink); margin-bottom: 1rem; }
.team-links { margin: 1.5rem 0; }
.team-links a { color: var(--blue-600); font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem 1rem; margin-bottom: 2rem; }
.filters label { width: 100%; font-weight: 600; color: var(--navy-900); }
@media (min-width: 40rem) { .filters label { width: auto; } }
.filters select, .filters__submit { min-height: 2.75rem; padding: .4rem .8rem; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 1rem; color: var(--ink); }
.filters__submit { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); font-weight: 600; cursor: pointer; }
.phase-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.phase-nav a { padding: .45rem .8rem; border: 1px solid var(--line); color: var(--navy-900); text-decoration: none; font-size: .9rem; }
.phase-nav a[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.fixtures { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.fixture { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--blue-500); background: var(--white); }
@media (min-width: 40rem) { .fixture { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.25rem; } }
.fixture--played { border-left-color: var(--navy-900); }
.fixture--bye { border-left-color: var(--ice-300); background: var(--ice-100); color: var(--muted); }
.fixture__when { display: grid; gap: .1rem; font-weight: 600; color: var(--navy-900); }
.fixture__time { font-family: var(--font-display); font-stretch: condensed; font-size: 1.4rem; font-weight: 700; }
.fixture__time--tbd { font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: var(--muted); }
.fixture__main { display: grid; gap: .35rem; min-width: 0; }
.fixture__team { justify-self: start; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue-600); text-decoration: none; }
.fixture__teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; font-size: 1.05rem; color: var(--ink); overflow-wrap: anywhere; }
.fixture__teams .is-own { font-weight: 800; color: var(--navy-900); }
.fixture__vs { color: var(--muted); }
.fixture__score { padding: .1rem .5rem; background: var(--ice-200); color: var(--navy-900); font-family: var(--font-display); font-stretch: condensed; font-size: 1.3rem; }
.fixture__score.is-won { background: var(--navy-900); color: var(--white); }
.fixture__sets { margin: 0; }
.fixture__meta { font-size: .85rem; color: var(--muted); }
.fixture__note { font-size: .9rem; color: var(--navy-800); border-left: 3px solid var(--blue-300); padding-left: .6rem; }

.standings--full { width: 100%; }
.source-note { margin-top: 1rem; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: -1rem 0 2rem; font-size: .95rem; color: var(--muted); }
.pager a { color: var(--blue-600); font-weight: 600; }

/* Numeracja aktualności: osobny blok pod kartami, bez ujemnych marginesów. */
.section.news-list-section { --news-pager-gap: clamp(2rem, 4vw, 3rem); padding-bottom: var(--news-pager-gap); }
.news-pagination { display: grid; justify-items: center; gap: .85rem; margin: var(--news-pager-gap) 0 0; font-size: 1rem; }
.news-pagination__pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; max-width: 100%; }
.news-pagination__number { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: .35rem .6rem; border: 1px solid var(--ice-300); border-radius: .5rem; background: var(--white); color: var(--blue-600); font-weight: 700; text-decoration: none; }
.news-pagination__number:hover { background: var(--ice-100); border-color: var(--blue-600); }
.news-pagination__number[aria-current="page"] { color: var(--white); background: var(--blue-600); border-color: var(--blue-600); }
.news-pagination__ellipsis { color: var(--muted); padding-inline: .1rem; }
.news-pagination__directions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 1.5rem; }
.news-pagination__directions a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue-600); font-weight: 600; }
.news-pagination__directions [aria-disabled] { color: var(--muted); opacity: .65; }
.news-pagination__summary { color: var(--muted); }
.news-pagination a:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; }
@media (max-width: 30rem) {
  .news-pagination__directions { column-gap: 1rem; }
  .news-pagination__summary { order: 1; flex-basis: 100%; text-align: center; }
}

/* Galerie i sztab (Faza 2F) */
.gallery-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.gallery-card__link:focus-visible { outline: 3px solid var(--blue-400); outline-offset: -3px; }
@media (min-width: 64rem) {
  .gallery-grid--page .gallery-card:first-child { grid-column: auto; grid-row: auto; }
  .gallery-grid--page .gallery-card:first-child .gallery-card__media { height: auto; aspect-ratio: 4 / 3; }
}
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; } }
@media (min-width: 64rem) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ice-200); }
.photo-grid a:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.photo-grid figcaption { padding: .35rem 0; font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 19, 33, .96); color: var(--white); }
.lightbox::backdrop { background: rgba(3, 19, 33, .9); }
.lightbox__figure { display: grid; place-items: center; gap: .5rem; height: 100%; margin: 0; padding: 3.5rem 1rem 2rem; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.lightbox__caption { text-align: center; font-size: .95rem; color: var(--ice-200); }
.lightbox__btn { position: absolute; min-width: 2.75rem; min-height: 2.75rem; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--blue-600); }
.lightbox__prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: .5rem; top: .5rem; }

.staff-grid { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.staff-card { display: grid; gap: .5rem; height: 100%; padding: 0 0 1.25rem; border: 1px solid var(--line); background: var(--white); }
.staff-card__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ice-200); }
.staff-card__photo--none { display: block; aspect-ratio: 4 / 1; }
.staff-card__body { display: grid; gap: .35rem; padding: 0 1.1rem; }
.staff-card__name { font-family: var(--font-display); font-stretch: condensed; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; color: var(--navy-900); overflow-wrap: anywhere; }
.staff-card__role { font-weight: 600; color: var(--blue-600); }
.staff-card__teams { font-size: .9rem; color: var(--muted); }
.staff-card__bio { font-size: .95rem; color: var(--ink); overflow-wrap: anywhere; }

.club-lead { font-size: 1.15rem; color: var(--navy-900); margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.contact-list { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.contact-list dt { font-weight: 700; color: var(--navy-900); text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
.contact-list dd { margin: .2rem 0 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-list a { color: var(--blue-600); font-weight: 600; }
.contact-social { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.contact-social a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1rem; border: 1px solid var(--line); color: var(--navy-900); font-weight: 600; text-decoration: none; }
.contact-social a:hover { border-color: var(--blue-500); }

/* Dodatkowe zdjęcia aktualności; nie zmienia siatki osobnych galerii. */
.news-photos { margin-top: 2.5rem; }
.news-photos__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; list-style: none; padding: 0; }
@media (min-width: 30rem) { .news-photos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .news-photos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-photos figure { margin: 0; }
.news-photos a { display: block; border-radius: .5rem; overflow: hidden; }
.news-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.news-photos figcaption { font-size: .9rem; overflow-wrap: anywhere; padding-top: .4rem; }
.news-photos a:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.news-lightbox { height: 100dvh; }
.news-lightbox .lightbox__figure { box-sizing: border-box; grid-template-rows: minmax(0, 1fr) auto; padding: 4rem 3.5rem 1rem; }
.news-lightbox .lightbox__img { max-height: 100%; min-height: 0; user-select: none; }
.news-lightbox .lightbox__caption { max-width: 100%; overflow-wrap: anywhere; max-height: 25vh; overflow: auto; }
.news-lightbox__fullscreen { right: 4rem; top: .5rem; }
.news-lightbox [hidden] { display: none; }
.news-lightbox button:disabled { opacity: .35; cursor: default; }


/* ==========================================================================
   Sponsorzy — podstrona /sponsorzy. Logotypy mieszczą się w polu bez przycinania.
   ========================================================================== */

.sponsor-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1.25rem;
  list-style: none;
  margin: 0 0 -1.25rem;
  padding: 0;
}
@media (min-width: 40rem) { .sponsor-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .sponsor-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; } }

/* Karta zajmuje dwa wiersze listy (logo, treść). Dzięki subgrid pola logo i treści
   wyrównują się w obrębie rzędu, a wysokość rzędu wynika z treści — bez obcinania. */
.sponsor-card {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-width: 0;
  margin-bottom: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-500);
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 11rem;
  padding: 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--navy-900);
  text-decoration: none;
}
.sponsor-logo img { display: block; width: 100%; height: calc(8rem - 1px); object-fit: contain; } /* 11rem − padding − ramka */
/* Nazwa zamiast logo: zawsze w całości; dłuższe nazwy mniejszą czcionką, pole rośnie w razie potrzeby. */
.sponsor-logo__name {
  max-width: 100%;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.sponsor-logo--text { padding: 1rem 1.25rem; }
.sponsor-logo__name--long { font-size: 1.25rem; }
.sponsor-logo__name--xlong { font-size: .95rem; line-height: 1.15; }
a.sponsor-logo { transition: background-color .2s var(--ease); }
a.sponsor-logo:hover { background: var(--ice-100); }
.sponsor-logo:focus-visible { outline: 3px solid var(--blue-500); outline-offset: -3px; }
.sponsor-card__body {
  display: grid;
  align-content: start;
  gap: .6rem;
  min-width: 0;
  padding: 1.25rem 1.5rem 1.5rem;
}
.sponsor-card__name {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy-900);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.sponsor-card__description { color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }

/* Sponsor główny: szeroka karta — logo na białym polu, nazwa i opis na granacie */
.sponsor-cards--main { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; margin-bottom: 0; }
.sponsor-card--main {
  grid-row: auto;
  grid-template-rows: auto 1fr;
  margin-bottom: 0;
  border: 0;
  border-top: 6px solid var(--blue-500);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.sponsor-card--main .sponsor-logo { min-height: 15rem; padding: 2rem; border-bottom: 0; }
.sponsor-card--main .sponsor-logo--text { padding: 1.5rem; }
.sponsor-card--main .sponsor-logo img { height: 11rem; }
.sponsor-card--main .sponsor-logo__name { font-size: 2.25rem; }
.sponsor-card--main .sponsor-logo__name--long { font-size: 1.6rem; }
.sponsor-card--main .sponsor-logo__name--xlong { font-size: 1.25rem; }
.sponsor-card--main .sponsor-card__body { padding: 1.75rem 1.75rem 2.25rem; background: var(--navy-900); }
.sponsor-card--main .sponsor-card__name { font-size: clamp(2rem, 6vw, 3.25rem); color: var(--white); }
.sponsor-card--main .sponsor-card__description { font-size: 1.05rem; color: var(--ice-200); }
@media (min-width: 64rem) {
  .sponsor-card--main { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto; }
  .sponsor-card--main .sponsor-logo { min-height: 20rem; padding: 3rem; }
  .sponsor-card--main .sponsor-logo--text { padding: 2rem 3rem; }
  .sponsor-card--main .sponsor-logo img { height: 14rem; }
  .sponsor-card--main .sponsor-card__body { align-content: center; padding: 2.5rem 2.5rem 3rem; }
}

/* Strona główna: tylko tekstowy odnośnik do sponsorów (bez logotypów) */
.home-more { margin-top: 1.5rem; }
.home-more a { font-weight: 600; color: var(--blue-600); text-decoration: none; }
.home-more a::after { content: " →"; }
.home-more a:hover { text-decoration: underline; text-underline-offset: .25em; }

/* Jasna oprawa klubu — biel i błękit, z #0061a5 jako akcentem. */
.site-header {
  background: rgba(255, 255, 255, .97);
  color: var(--navy-900);
  border-bottom-color: var(--line);
}
.brand__logo { filter: drop-shadow(0 3px 7px rgba(0, 97, 165, .13)); }
.brand__top, .nav-mobile a[aria-current="page"] { color: var(--blue-600); }
.nav-mobile nav { background: var(--white); border-top-color: var(--line); }
.nav-mobile a { border-bottom-color: var(--line); }

@media (min-width: 75rem) {
  .nav-desktop a, .nav-more summary { color: var(--navy-900); }
  .nav-desktop a:hover, .nav-more summary:hover,
  .nav-desktop a[aria-current="page"] { color: var(--blue-600); }
  .nav-more ul { background: var(--white); border-color: var(--line); border-top-color: var(--blue-500); }
  .nav-more ul a:hover { background: var(--ice-100); }
  .nav-more summary::after { color: var(--blue-600); }
}

.hero { background: var(--ice-100); color: var(--navy-900); }
.hero__bg {
  background: radial-gradient(60% 70% at 78% 40%, rgba(0, 97, 165, .12), transparent 70%),
    linear-gradient(115deg, var(--white), var(--ice-100) 55%, var(--ice-200));
}
.hero__title-accent { -webkit-text-stroke-color: var(--blue-500); }
.hero__lead { color: var(--muted); }
.hero__photo img { filter: contrast(1.1) saturate(1.12); }
.hero .eyebrow { color: var(--blue-600); }
.hero .btn--ghost { color: var(--blue-600); border-color: var(--blue-500); }
.hero .btn--ghost:hover { color: var(--white); background: var(--blue-500); }
.hero__photo::after {
  background: linear-gradient(180deg, transparent 52%, rgba(239, 247, 251, .72) 100%);
}
@media (min-width: 64rem) {
  .hero__photo::after {
    background: linear-gradient(90deg, var(--ice-100), rgba(239, 247, 251, .76) 18%, rgba(239, 247, 251, .08) 48%, transparent 70%);
  }
}

.match-card--next {
  background: var(--ice-100);
  border-color: var(--ice-300);
  color: var(--navy-900);
}
.match-card--next .match-card__label { color: var(--blue-600); }
.match-card--next .match-card__empty, .match-card--next .match-card__meta { color: var(--muted); }
.match-card--next .match-card__vs { color: var(--blue-600); }
.countdown__unit { background: var(--white); border-color: var(--line); }
.countdown__unit b { color: var(--blue-600); }
.countdown__unit small { color: var(--muted); }
.countdown--empty b { color: var(--ice-300); }

.section--dark { background: var(--ice-100); color: var(--ink); }
.section--dark .section-head { border-bottom-color: var(--blue-500); }
.section--dark .section-head__title { color: var(--navy-900); }
.section--dark .section-head__more { color: var(--blue-600); }
.section--dark .empty { background: var(--white); border-color: var(--line); border-left-color: var(--blue-500); }
.section--dark .empty__title { color: var(--navy-900); }
.section--dark .empty__text { color: var(--muted); }
.gallery-card__body, .gallery-card__title { color: var(--white); }

.video-slot {
  background: radial-gradient(60% 80% at 50% 50%, rgba(0, 97, 165, .12), transparent 70%), var(--ice-200);
  color: var(--navy-900);
}
.video-slot__play { border-color: var(--blue-500); }
.video-slot__play::after { border-left-color: var(--blue-500); }
.card-slot--status { background: var(--ice-100); border-color: var(--line); }
.card-slot--status .empty__title { color: var(--navy-900); }
.card-slot--status .empty__text { color: var(--muted); }

.quick-links a { background: var(--white); color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--line); }
.quick-links small, .quick-links span::after { color: var(--blue-600); }
.quick-links a:hover { background: var(--blue-500); color: var(--white); }
.quick-links a:hover small { color: var(--white); }

.page-hero {
  background: radial-gradient(50% 80% at 85% 30%, rgba(0, 97, 165, .12), transparent 70%),
    linear-gradient(115deg, var(--white), var(--ice-100));
  color: var(--navy-900);
}
.page-hero .eyebrow { color: var(--blue-600); }
.page-hero__lead, .article__date { color: var(--muted); }
.page-hero__code { -webkit-text-stroke-color: var(--blue-500); }

.site-footer { background: var(--ice-200); color: var(--navy-900); }
.site-footer__name { color: var(--blue-600); }
.site-footer__nav a:hover { color: var(--blue-600); }
.site-footer__bottom { border-top-color: var(--ice-300); }
.sponsor-card--main .sponsor-card__body { background: var(--ice-100); }
.sponsor-card--main .sponsor-card__name { color: var(--navy-900); }
.sponsor-card--main .sponsor-card__description { color: var(--muted); }

/* Dwa niezależne najbliższe mecze w jednej karcie. */
.next-matches { margin-top: .4rem; }
.next-match { padding-block: 1.1rem 1.25rem; }
.next-match + .next-match { border-top: 1px solid var(--ice-300); }
.next-match__category {
  display: inline-block;
  padding: .25rem .65rem;
  background: var(--blue-500);
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: condensed;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.next-match .match-card__teams { margin-top: .7rem; font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.next-match .match-card__meta { margin-top: .7rem; }
.next-match .countdown { max-width: 28rem; margin-top: .9rem; }
.next-match .countdown__unit { padding: .55rem 0 .45rem; }
.next-match .countdown__unit b { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.next-match__date { margin-top: .7rem; color: var(--navy-900); font-weight: 700; }
.next-match__opponents { display: grid; gap: .35rem; margin-top: .65rem; }
.next-match__opponents li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; font-family: var(--font-display); font-stretch: condensed; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.1; text-transform: uppercase; }
.next-match__opponents time, .next-match__venue { font-family: var(--font-body); font-size: .9rem; font-weight: 400; color: var(--muted); text-transform: none; }
.map-link { color: inherit; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.map-link:hover, .map-link:focus-visible { color: var(--blue-600); }
.last-results { margin-top: .4rem; }
.last-result { padding-block: 1.1rem 1.25rem; }
.last-result + .last-result { border-top: 1px solid var(--ice-300); }
.last-result .next-match__category { background: var(--ice-100); color: var(--blue-600); }
.last-result .score { margin-top: .7rem; gap: .45rem; font-size: clamp(2.7rem, 4vw, 4.2rem); }
.last-result .match-card__teams--small { margin-top: .55rem; font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.last-result .match-card__meta { margin-top: .7rem; }
.last-result .set-scores { margin-top: .55rem; }
@media (min-width: 48rem) {
  .matchbar__grid { align-items: start; }
}
