/* =========================================================================
   KLUB - lokalny design system (.club-hub)

   Wspolny arkusz dla trzech podstron sekcji "Klub":
     klub/informacje.php  - wizytowka, dane klubu, tozsamosc, spolecznosc
     klub/historia.php    - os czasu
     klub/osiagniecia.php - sezon po sezonie

   Wzorzec ukladu: klub/sponsorzy.php (.sponsors-hub) i kontakt.php (.contact-hub) -
   pelnoszerokosciowe panele z naprzemiennym tlem, naglowek sekcji zlozony
   z kickera, tytulu i podtytulu.

   DLACZEGO OSOBNY PLIK, A NIE <style> W KAZDEJ STRONIE (jak w sponsorzy.php):
   te trzy strony dziela caly szkielet - panele, naglowki, karty. Trzy kopie
   tego samego CSS to trzy miejsca do poprawienia przy kazdej zmianie. Arkusz
   wpiety w <head> laduje sie tez PRZED css/dark-theme.css, wiec ciemny motyw
   moze nadpisac dowolna regule, a nie tylko zmienne (arkusz inline na koncu
   <body> wygrywalby kaskade przy rownej specyficznosci - ta pulapka kosztowala
   nas juz czytelnosc sekcji "Dane klubu" na telefonie).

   ZLOTO pochodzi z systemu strony: klasa .gold-sweep (tekst) i .gold-sweep-bg
   (tlo) ze style.css, plus kreski z animacja `goldSweep` na pseudoelemencie
   ::after. Wszystkie trzy formy lapie js/gold-sweep-engine.js wpiety
   w partials/header.php i podmienia na wielo-flarowy efekt.

   UWAGA: kreski musza siedziec na ::after, nie na ::before - silnik skanuje
   wylacznie ::after (funkcja detectMode). Na ::before zostalaby goła animacja
   CSS, czyli inny efekt niz w reszcie serwisu.

   Ciemny motyw: css/dark-theme.css, sekcja "Strony klubowe".
   ========================================================================= */

.club-hub {
    --kl-navy: #1a2332;
    --kl-blue: #1E3A8A;
    --kl-blue-link: #1a4c8b;
    --kl-gold: #AE802F;
    --kl-gold-light: #FFEFA7;
    --kl-bg-light: #f5f7fa;
    --kl-surface: #ffffff;
    --kl-text: #1f2937;
    --kl-text-muted: #6b7280;
    --kl-border: #e5e7eb;
    --kl-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --kl-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --kl-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    display: block;
    font-family: var(--font-heading);
    color: var(--kl-text);
}

/* Gradient zlota uzywany na kreskach. Ten sam zestaw punktow co .gold-sweep
   w style.css - silnik i tak go podmieni, ale bez JS ma wygladac identycznie. */
.club-hub {
    --kl-gold-gradient: linear-gradient(
        110deg,
        #AE802F 0%, #FFEFA7 15%, #AE802F 30%, #AE802F 42%,
        #fffdf0 48%, #ffffff 50%, #fffdf0 52%,
        #AE802F 58%, #AE802F 70%, #FFEFA7 85%, #AE802F 100%
    );
}

/* PULAPKA: js/script.js (monitorTouchButtons) doklada klase .touch-friendly do
   KAZDEGO <a> i <button>, a fixes.css daje jej padding 12px i minimum 44x44 px.
   Link opakowujacy zdjecie dostaje przez to ramke pustego miejsca. */
.club-hub a.club-figure__zoom,
.club-hub .club-gallery a {
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 0;
}

/* === PANELE ============================================================== */

/* Tlo rozlewa sie poza kontener cieniem o promieniu 100vmax, clip-path przycina
   je w pionie - ten sam chwyt co w .contact-hub i .sponsors-hub. */
.club-hub .club-panel {
    position: relative;
    margin: 0;
    padding: 64px 0;
    clip-path: inset(0 -100vmax);
    background: var(--kl-surface);
    box-shadow: 0 0 0 100vmax var(--kl-surface);
}

.club-hub .club-panel--alt {
    background: var(--kl-bg-light);
    box-shadow: 0 0 0 100vmax var(--kl-bg-light);
}

.club-hub .club-panel:last-of-type {
    padding-bottom: 84px;
}

/* === NAGLOWEK SEKCJI ===================================================== */

.club-hub .club-panel__head {
    max-width: 760px;
    margin-bottom: 38px;
}

.club-hub .club-panel__kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 13px;
    border: 1px solid rgba(174, 128, 47, 0.55);
    border-radius: 999px;
    background: rgba(174, 128, 47, 0.08);
    color: var(--kl-gold);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.club-hub .club-panel__title {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: var(--kl-blue);
}

.club-hub .club-panel__subtitle {
    margin: 0;
    max-width: 640px;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--kl-text-muted);
}

/* === WIZYTOWKA (informacje.php) ========================================== */

.club-hub .club-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 44px;
    align-items: center;
}

.club-hub .club-hero__emblem {
    margin: 0;
    text-align: center;
}

.club-hub .club-hero__emblem img {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.16));
}

.club-hub .club-hero__caption {
    display: block;
    margin-top: 18px;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--kl-text-muted);
}

.club-hub .club-hero__author {
    display: block;
    margin-top: 3px;
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.85;
}

.club-hub .club-hero__body p {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--kl-text);
}

/* Szybkie fakty pod wprowadzeniem */
.club-hub .club-quickstats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.club-hub .club-quickstat {
    position: relative;
    padding: 16px 18px;
    background: var(--kl-bg-light);
    border: 1px solid var(--kl-border);
    border-radius: 12px;
    overflow: hidden;
}

.club-hub .club-quickstat::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background-image: var(--kl-gold-gradient);
    background-size: 300% 100%;
    animation: goldSweep 10s ease-in-out infinite;
}

.club-hub .club-quickstat__value {
    display: block;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--kl-blue);
}

.club-hub .club-quickstat__label {
    display: block;
    margin-top: 5px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--kl-text-muted);
}

/* === KARTY TRESCI (informacje.php) ======================================= */

.club-hub .club-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}

.club-hub .club-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px 26px;
    background: var(--kl-surface);
    border: 1px solid var(--kl-border);
    border-radius: 16px;
    box-shadow: var(--kl-shadow-sm);
    overflow: hidden;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out;
}

.club-hub .club-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background-image: var(--kl-gold-gradient);
    background-size: 300% 100%;
    animation: goldSweep 10s ease-in-out infinite;
    opacity: 0.85;
}

.club-hub .club-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kl-shadow-lg);
    border-color: rgba(174, 128, 47, 0.4);
}

.club-hub .club-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 58, 138, 0.04) 100%);
    color: var(--kl-blue);
    font-size: 1.25rem;
}

.club-hub .club-card__title {
    margin: 0 0 12px;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--kl-navy);
}

.club-hub .club-card p {
    margin: 0 0 12px;
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--kl-text);
}

.club-hub .club-card p:last-child {
    margin-bottom: 0;
}

.club-hub .club-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.club-hub .club-card__list li {
    position: relative;
    padding: 9px 0 9px 20px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--kl-text);
    border-bottom: 1px solid var(--kl-border);
}

.club-hub .club-card__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.club-hub .club-card__list li::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #AE802F 0%, #FFEFA7 100%);
}

.club-hub .club-card__list strong {
    color: var(--kl-navy);
    font-weight: 700;
}

/* Probki barw klubowych */
.club-hub .club-swatches {
    display: flex;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.club-hub .club-swatch {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--kl-border);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.club-hub .club-swatch--white { background: #ffffff; }
.club-hub .club-swatch--blue  { background: #1e73be; }
.club-hub .club-swatch--gold  { background: linear-gradient(135deg, #AE802F 0%, #FFEFA7 100%); }

/* Motto - cytat na calej szerokosci pod kartami */
.club-hub .club-motto-box {
    position: relative;
    margin-top: 26px;
    padding: 30px 34px;
    background: var(--kl-bg-light);
    border-radius: 16px;
    border-left: 4px solid var(--kl-gold);
    text-align: center;
}

.club-hub .club-motto-box i {
    display: block;
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--kl-gold);
}

.club-hub .club-motto-box p {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 23px);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.3px;
    color: var(--kl-navy);
}

/* === DANE KLUBU (informacje.php) ========================================= */

.club-hub .club-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.club-hub .club-fact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--kl-surface);
    border: 1px solid var(--kl-border);
    border-radius: 14px;
    box-shadow: var(--kl-shadow-sm);
}

.club-hub .club-fact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(174, 128, 47, 0.16) 0%, rgba(255, 239, 167, 0.16) 100%);
    color: var(--kl-gold);
    font-size: 1rem;
}

.club-hub .club-fact__label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--kl-text-muted);
}

.club-hub .club-fact__value {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--kl-navy);
}

/* Zdjecie stadionu obok danych */
.club-hub .club-facts-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: start;
}

.club-hub .club-figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--kl-shadow-md);
    background: var(--kl-bg-light);
}

.club-hub .club-figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

/* === SPOLECZNOSC (informacje.php) ======================================== */

.club-hub .club-prose p {
    margin: 0 0 14px;
    max-width: 860px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--kl-text);
}

.club-hub .club-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.club-hub .club-gallery figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--kl-shadow-sm);
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
}

.club-hub .club-gallery figure:hover {
    transform: translateY(-4px);
    box-shadow: var(--kl-shadow-lg);
}

.club-hub .club-gallery img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* === OS CZASU (historia.php) ============================================= */

.club-hub .club-timeline {
    position: relative;
    margin: 0;
    padding: 0 0 0 0;
    list-style: none;
}

/* Pionowa kreska osi. Zlota, z tym samym gradientem co reszta - silnik
   podmieni ja na wielo-flarowa (orientacja pionowa przez --gs-orientation). */
.club-hub .club-timeline::after {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 17px;
    width: 3px;
    border-radius: 2px;
    background-image: var(--kl-gold-gradient);
    background-size: 100% 300%;
    animation: goldSweep 10s ease-in-out infinite;
    opacity: 0.5;
}

.club-hub .club-timeline {
    --gs-orientation: vertical;
}

.club-hub .club-tl {
    position: relative;
    padding: 0 0 26px 56px;
}

.club-hub .club-tl:last-child {
    padding-bottom: 0;
}

.club-hub .club-tl__dot {
    position: absolute;
    top: 22px;
    left: 8px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--kl-surface);
    border: 3px solid var(--kl-blue);
    box-shadow: 0 0 0 4px var(--kl-surface);
    z-index: 1;
}

.club-hub .club-tl--gold .club-tl__dot {
    border-color: var(--kl-gold);
    background: linear-gradient(135deg, #AE802F 0%, #FFEFA7 100%);
}

.club-hub .club-tl__card {
    position: relative;
    padding: 24px 26px;
    background: var(--kl-surface);
    border: 1px solid var(--kl-border);
    border-radius: 16px;
    box-shadow: var(--kl-shadow-sm);
    overflow: hidden;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out;
}

.club-hub .club-tl__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--kl-shadow-md);
    border-color: rgba(30, 58, 138, 0.28);
}

.club-hub .club-tl--gold .club-tl__card {
    border-color: rgba(174, 128, 47, 0.45);
}

.club-hub .club-tl--gold .club-tl__card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background-image: var(--kl-gold-gradient);
    background-size: 300% 100%;
    animation: goldSweep 10s ease-in-out infinite;
    --gs-orientation: horizontal;
}

.club-hub .club-tl__year {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(30, 58, 138, 0.09);
    color: var(--kl-blue);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.club-hub .club-tl--gold .club-tl__year {
    background: linear-gradient(135deg, #AE802F 0%, #FFEFA7 100%);
    color: #1a2332;
}

.club-hub .club-tl__title {
    margin: 0 0 10px;
    font-size: 1.24rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--kl-navy);
}

.club-hub .club-tl__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--kl-text);
}

/* Zdjecia w osi czasu sa ilustracja wpisu, nie jego trescia - bez limitu
   wysokosci jedna fotografia z aparatu zajmowala caly ekran i rozrywala os. */
.club-hub .club-tl__figure {
    margin: 20px 0 0;
    max-width: 560px;
    border-radius: 12px;
    overflow: hidden;
}

.club-hub .club-tl__figure img {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: cover;
}

.club-hub .club-tl__figure figcaption {
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--kl-text-muted);
}

/* === SEZONY (osiagniecia.php) ============================================ */

.club-hub .club-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.club-hub .club-highlight {
    position: relative;
    padding: 24px 22px;
    background: var(--kl-surface);
    border: 1px solid var(--kl-border);
    border-radius: 16px;
    box-shadow: var(--kl-shadow-sm);
    overflow: hidden;
}

.club-hub .club-highlight::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background-image: var(--kl-gold-gradient);
    background-size: 300% 100%;
    animation: goldSweep 10s ease-in-out infinite;
}

.club-hub .club-highlight__icon {
    display: block;
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--kl-gold);
}

.club-hub .club-highlight__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.6px;
    color: var(--kl-blue);
}

.club-hub .club-highlight__label {
    display: block;
    margin-top: 6px;
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 600;
    color: var(--kl-text-muted);
}

.club-hub .season-list {
    display: grid;
    gap: 20px;
}

.club-hub .season-card {
    position: relative;
    background: var(--kl-surface);
    border: 1px solid var(--kl-border);
    border-radius: 16px;
    box-shadow: var(--kl-shadow-sm);
    overflow: hidden;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out;
}

.club-hub .season-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--kl-shadow-md);
}

.club-hub .season-card--gold {
    border-color: rgba(174, 128, 47, 0.45);
}

.club-hub .season-card--gold::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background-image: var(--kl-gold-gradient);
    background-size: 300% 100%;
    animation: goldSweep 10s ease-in-out infinite;
    z-index: 2;
}

/* Naglowek karty sezonu. Swiadomie <div>, nie <header> - css/style.css ma
   reguly ubrane w sam element (`header { position: sticky }`), pisane pod
   pasek nawigacji, i drugi <header> na stronie lapie je wszystkie naraz. */
.club-hub .season-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--kl-bg-light);
    border-bottom: 1px solid var(--kl-border);
}

.club-hub .season-card__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--kl-blue);
    font-size: 1.15rem;
}

/* Medale: zloto dla awansow i pierwszych miejsc, srebro i braz analogicznie.
   Ikona ma byc ciemna na jasnej odznace - style.css maluje .fa-trophy
   i .fa-medal wlasnym gradientem, wiec zerujemy go tutaj. */
.club-hub .season-card--gold .season-card__rank {
    background: linear-gradient(135deg, #AE802F 0%, #FFEFA7 100%);
    box-shadow: 0 6px 16px rgba(174, 128, 47, 0.32);
}

.club-hub .season-card--silver .season-card__rank {
    background: linear-gradient(135deg, #94a3b8 0%, #e2e8f0 100%);
    box-shadow: 0 6px 16px rgba(100, 116, 139, 0.28);
}

.club-hub .season-card--bronze .season-card__rank {
    background: linear-gradient(135deg, #b45309 0%, #fbbf24 100%);
    box-shadow: 0 6px 16px rgba(180, 83, 9, 0.28);
}

.club-hub .season-card__name {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--kl-navy);
}

.club-hub .season-card__tag {
    position: relative;
    margin-left: auto;
    padding: 7px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, #AE802F 0%, #FFEFA7 100%);
    color: #1a2332;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

.club-hub .season-card__list {
    margin: 0;
    padding: 8px 24px 20px;
    list-style: none;
}

.club-hub .season-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 11px 0;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--kl-text);
    border-bottom: 1px solid var(--kl-border);
}

.club-hub .season-card__list li:last-child {
    border-bottom: none;
}

.club-hub .season-card__list li i {
    flex: none;
    width: 18px;
    margin-top: 4px;
    font-size: 0.9rem;
    text-align: center;
}

/* Wyniki pucharowe - wciecie pod pozycja nadrzedna */
.club-hub .season-card__list li.is-sub {
    margin-left: 31px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--kl-text-muted);
}

.club-hub .season-card__list li.is-sub i {
    color: var(--kl-text-muted);
}

.club-hub .season-card__figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    padding: 0 24px 24px;
}

.club-hub .season-card__figures figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--kl-shadow-sm);
}

.club-hub .season-card__figures img {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

/* Podsumowanie na dole strony osiagniec */
.club-hub .club-note {
    position: relative;
    padding: 28px 32px;
    background: var(--kl-surface);
    border: 1px solid var(--kl-border);
    border-radius: 16px;
    box-shadow: var(--kl-shadow-sm);
    overflow: hidden;
}

.club-hub .club-note::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background-image: var(--kl-gold-gradient);
    background-size: 300% 100%;
    animation: goldSweep 10s ease-in-out infinite;
}

.club-hub .club-note p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--kl-text);
}

/* === PRZEJECIE KOLOROW IKON ============================================== */

/* css/style.css i css/ui-consistency.css maluja ikony osiagniec globalnie,
   golym selektorem klasy i z `!important` (.fa-trophy dostaje zloty gradient
   z background-clip: text, .fa-arrow-up zielen, .fa-chart-line fiolet,
   .fa-medal szarosc, .fa-user-friends czerwien). Reguly powstaly pod stara
   wersje tej wlasnie strony, ale dzialaja na calym serwisie, wiec nie da sie
   ich stad bezpiecznie usunac - przejmujemy je wewnatrz .club-hub.
   `!important` jest tu konieczne: bez niego zloty gradient z background-clip
   robi z ikony w kolorowej odznace pusty prostokat. */
.club-hub .club-highlight__icon i,
.club-hub .season-card__list li i,
.club-hub .season-card__rank i,
.club-hub .club-card__icon i,
.club-hub .club-fact__icon i,
.club-hub .club-motto-box i {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    color: inherit !important;
}

.club-hub .club-highlight__icon i {
    color: var(--kl-gold) !important;
}

/* Ikony wynikow: zloto dla sukcesu, blekit dla informacji, szarosc dla
   rozwinieć pucharowych. */
.club-hub .season-card__list li i {
    color: var(--kl-blue) !important;
}

.club-hub .season-card__list li i.fa-trophy,
.club-hub .season-card__list li i.fa-arrow-up,
.club-hub .season-card__list li i.fa-award,
.club-hub .season-card__list li i.fa-medal {
    color: var(--kl-gold) !important;
}

.club-hub .season-card__list li.is-sub i {
    color: var(--kl-text-muted) !important;
}

.club-hub .season-card--gold .season-card__rank i,
.club-hub .season-card--silver .season-card__rank i,
.club-hub .season-card--bronze .season-card__rank i {
    color: #1a2332 !important;
    -webkit-text-fill-color: #1a2332 !important;
}

/* === RESPONSYWNOSC ======================================================= */

@media (max-width: 992px) {
    .club-hub .club-panel {
        padding: 52px 0;
    }

    .club-hub .club-panel:last-of-type {
        padding-bottom: 68px;
    }

    .club-hub .club-hero,
    .club-hub .club-facts-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .club-hub .club-hero__emblem img {
        max-width: 240px;
    }

    .club-hub .club-figure img {
        min-height: 220px;
    }
}

@media (max-width: 720px) {
    .club-hub .club-panel {
        padding: 40px 0;
    }

    .club-hub .club-panel:last-of-type {
        padding-bottom: 56px;
    }

    .club-hub .club-panel__head {
        margin-bottom: 28px;
    }

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

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

    .club-hub .club-gallery img {
        height: 200px;
    }

    .club-hub .club-card,
    .club-hub .club-note {
        padding: 24px 20px;
    }

    .club-hub .club-motto-box {
        padding: 24px 20px;
    }

    .club-hub .club-tl {
        padding-left: 46px;
    }

    .club-hub .club-tl__card {
        padding: 20px;
    }

    /* Plakietka "Awans" schodzi pod nazwe sezonu - w jednym rzedzie z odznaka
       i nazwa zostawialaby na kolumne tytulu szerokosc jednego slowa. */
    .club-hub .season-card__head {
        flex-wrap: wrap;
        padding: 18px 20px;
    }

    .club-hub .season-card__tag {
        margin-left: 0;
        order: 3;
        width: 100%;
        text-align: center;
    }

    .club-hub .season-card__list {
        padding: 6px 20px 18px;
    }

    .club-hub .season-card__figures {
        padding: 0 20px 20px;
    }

    .club-hub .season-card__list li.is-sub {
        margin-left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .club-hub .club-card::after,
    .club-hub .club-quickstat::after,
    .club-hub .club-highlight::after,
    .club-hub .club-note::after,
    .club-hub .club-timeline::after,
    .club-hub .club-tl--gold .club-tl__card::after,
    .club-hub .season-card--gold::after {
        animation: none;
        background-position: 50% center;
    }

    .club-hub .club-card,
    .club-hub .club-tl__card,
    .club-hub .season-card,
    .club-hub .club-gallery figure {
        transition: none;
    }

    .club-hub .club-card:hover,
    .club-hub .club-tl__card:hover,
    .club-hub .season-card:hover,
    .club-hub .club-gallery figure:hover {
        transform: none;
    }
}
