/* ==========================================================================
   ZDS — system wyglądu (prototyp)
   Jedno źródło stylów dla wszystkich podstron. Zasady opisane na stronie system.html
   ========================================================================== */

@font-face { font-family: 'ZDS Sans'; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'ZDS Sans'; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Kolory marki */
  --granat: #1f365c;      /* główny: nagłówki, tła sekcji, linki nawigacji */
  --granat-2: #16294a;    /* ciemniejszy: stopka, najechanie */
  --granat-3: #2a4673;    /* jaśniejszy: karty na granatowym tle */
  --czerwien: #c4161c;    /* TYLKO akcje i znaczek „Dla Członków” */
  --czerwien-2: #a51217;
  /* Neutralne */
  --tekst: #222b38;       /* treść — kontrast 14:1 */
  --szary: #4f5a6b;       /* opisy, daty — kontrast 7:1 */
  --szary-2: #6b7586;     /* drobne podpisy — kontrast 4.7:1 */
  --linia: #dde3ec;
  --tlo: #eef1f6;
  --tlo-2: #f6f8fb;
  --link: #0a4595;
  --ok: #17703c;
  /* Rytm */
  --szer: 1200px;
  --r: 0;                 /* kanciaste narożniki — styl instytucjonalny */
  --cien: 0 14px 32px rgba(31,54,92,.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: 'ZDS Sans', 'Open Sans', Arial, sans-serif; color: var(--tekst); background: #fff; font-size: 16px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.szer { max-width: var(--szer); margin: 0 auto; padding: 0 24px; }
.cond { font-stretch: 75%; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Widoczne zaznaczenie przy nawigacji klawiaturą */
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.przeskocz { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--granat); font-weight: 700; padding: 10px 16px; z-index: 100; }
.przeskocz:focus { top: 12px; }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 { color: var(--granat); margin: 0; line-height: 1.12; }
.h1 { font-stretch: 75%; font-weight: 700; font-size: 50px; letter-spacing: -.3px; }
.h2 { font-stretch: 75%; font-weight: 700; font-size: 36px; }
.h3 { font-stretch: 87.5%; font-weight: 700; font-size: 22px; line-height: 1.25; }
.nadtytul { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--szary); margin-bottom: 10px; }
.na-granacie .nadtytul { color: #b9c6dc; }
.lead { font-size: 18px; line-height: 1.6; color: var(--szary); margin: 14px 0 0; max-width: 680px; }
.kreska { display: block; width: 44px; height: 4px; background: var(--czerwien); margin-bottom: 16px; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.2; padding: 13px 22px; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-akcja { background: var(--czerwien); color: #fff; }
.btn-akcja:hover { background: var(--czerwien-2); }
.btn-granat { background: var(--granat); color: #fff; }
.btn-granat:hover { background: var(--granat-2); }
.btn-obrys { border-color: var(--granat); color: var(--granat); background: #fff; }
.btn-obrys:hover { background: var(--granat); color: #fff; }
.btn-obrys-jasny { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-obrys-jasny:hover { background: #fff; color: var(--granat); }
.btn-maly { font-size: 14px; padding: 9px 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.strz { display: inline-block; transition: transform .15s; }
a:hover .strz, button:hover .strz { transform: translateX(3px); }
.link-dalej { font-weight: 700; color: var(--granat); display: inline-flex; gap: 6px; align-items: center; }
.link-dalej:hover { color: var(--link); }

/* ---------- Znaczki ---------- */
.znak { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .3px; padding: 4px 9px; line-height: 1.3; white-space: nowrap; }
.znak-kat { background: var(--tlo); color: var(--granat); }
.znak-czl { background: var(--czerwien); color: #fff; }
.znak-czl svg, .znak-otw svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.znak-otw { background: #e3f1e8; color: var(--ok); }
.na-granacie .znak-kat { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Górny pasek i nagłówek ---------- */
.gora { background: var(--granat-2); color: #c6d1e3; font-size: 13px; }
.gora .szer { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.gora-l, .gora-p { display: flex; align-items: center; gap: 20px; }
.gora a:hover { color: #fff; }
.gora-konto { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.gora-konto svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

.naglowek { background: #fff; border-bottom: 1px solid var(--linia); position: sticky; top: 0; z-index: 20; }
.naglowek .szer { display: flex; align-items: center; gap: 26px; height: 84px; }
.logo img { width: 104px; height: auto; }
.menu { display: flex; margin-left: auto; align-items: stretch; height: 100%; }
.menu > li { list-style: none; position: relative; display: flex; }
.menu > li > a { display: flex; align-items: center; gap: 5px; font-stretch: 87.5%; font-weight: 600; font-size: 15.5px; color: var(--granat); padding: 0 12px; border-bottom: 3px solid transparent; white-space: nowrap; }
.menu > li > a:hover, .menu > li:focus-within > a { color: var(--link); }
.menu > li > a[aria-current="page"] { border-bottom-color: var(--granat); }
.menu .v { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.5; opacity: .6; }
.podmenu { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; box-shadow: var(--cien); border-top: 3px solid var(--granat); padding: 8px 0; margin: 0; }
.menu > li:hover .podmenu, .menu > li:focus-within .podmenu { display: block; }
.podmenu li { list-style: none; }
.podmenu a { display: block; padding: 9px 18px; font-size: 14.5px; color: var(--tekst); }
.podmenu a:hover { background: var(--tlo-2); color: var(--granat); }
.menu-ikona { width: 44px; height: 44px; border: 1px solid var(--linia); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--granat); }
.menu-ikona svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-ikona:hover { border-color: var(--granat); }
.hamburger { display: none; }
.naglowek-akcje { display: flex; gap: 10px; align-items: center; }

/* Wyszukiwarka (rozwijana pod nagłówkiem) */
.szukaj-panel { display: none; background: var(--tlo); border-bottom: 1px solid var(--linia); }
.szukaj-panel.otw { display: block; }
.szukaj-panel form { display: flex; gap: 10px; padding: 18px 0; }
.pole { width: 100%; height: 50px; border: 1px solid #c4ccd8; background: #fff; padding: 0 14px; font-size: 16px; color: var(--tekst); border-radius: var(--r); }
.pole:focus { outline: 2px solid var(--granat); outline-offset: -1px; border-color: var(--granat); }
textarea.pole { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
select.pole { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--granat) 50%), linear-gradient(135deg, var(--granat) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.etyk { display: block; font-weight: 700; font-size: 14px; color: var(--granat); margin-bottom: 6px; }
.pomoc { display: block; font-size: 13px; color: var(--szary-2); margin-top: 5px; }
.wiersz-pol { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pole-grupa { margin-bottom: 18px; }
.zgoda { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--szary); }
.zgoda input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--granat); flex: none; }

/* Menu mobilne */
.mobilne { display: none; }

/* ---------- Sekcje ---------- */
.sekcja { padding: 72px 0; }
.sekcja-tlo { background: var(--tlo-2); }
.sekcja-nagl { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.na-granacie { background: var(--granat); color: #fff; }
.na-granacie h1, .na-granacie h2, .na-granacie h3 { color: #fff; }
.na-granacie .lead { color: #c9d4e6; }

/* Nagłówek podstrony */
.strona-nagl { padding: 46px 0 50px; }
.okruszki { font-size: 13px; color: #a9b8d0; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.okruszki li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.okruszki a:hover { color: #fff; text-decoration: underline; }

/* ---------- Karty wpisów ---------- */
.karty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.karta { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linia); transition: box-shadow .15s, border-color .15s; position: relative; }
.karta:hover { box-shadow: var(--cien); border-color: #c9d2df; }
.karta-obraz { aspect-ratio: 16/9; overflow: hidden; background: var(--tlo); position: relative; }
.karta-obraz img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.karta:hover .karta-obraz img { transform: scale(1.03); }
.karta-tresc { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.karta-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--szary-2); }
.karta h3 { font-size: 17.5px; font-weight: 700; line-height: 1.35; font-stretch: 100%; }
.karta h3 a::after { content: ""; position: absolute; inset: 0; }
.karta h3 a:hover { color: var(--link); }
.karta p { margin: 0; font-size: 14.5px; color: var(--szary); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.karta-obraz .znak-czl { position: absolute; left: 12px; top: 12px; }

/* Karta pozioma (lista) */
.karta-poz { flex-direction: row; }
.karta-poz .karta-obraz { width: 40%; flex: none; aspect-ratio: auto; }

/* ---------- Kafelki „szybkie drogi” ---------- */
.drogi { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--linia); background: #fff; }
.droga { padding: 26px 24px; border-right: 1px solid var(--linia); display: flex; flex-direction: column; gap: 8px; position: relative; transition: background .15s; }
.droga:last-child { border-right: 0; }
.droga:hover { background: var(--tlo-2); }
.droga-ik { width: 46px; height: 46px; background: var(--tlo); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; color: var(--granat); }
.droga-ik svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.droga h3 { font-size: 20px; font-stretch: 75%; }
.droga h3 a::after { content: ""; position: absolute; inset: 0; }
.droga p { margin: 0; color: var(--szary); font-size: 14.5px; line-height: 1.5; }
.droga .link-dalej { margin-top: auto; font-size: 14px; padding-top: 6px; }

/* ---------- Wyróżnienia (góra strony głównej) ---------- */
.wyr-sekcja { padding: 36px 0 48px; }
.wyr-nagl { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.wyroznienia { display: grid; grid-template-columns: 1.85fr 1fr; gap: 20px; }
.wyroznienia[data-u="1"] { grid-template-columns: 1fr; }
.wyroznienia[data-u="1"] .boczne { display: none; }
.boczne { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.wyr { background: #fff; color: var(--tekst); display: flex; flex-direction: column; position: relative; }
.wyr-obraz { background: #0f1b30; overflow: hidden; }
.wyr-obraz img { width: 100%; height: 100%; object-fit: cover; }
.wyr-tresc { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wyr h2 { font-stretch: 75%; font-size: 30px; line-height: 1.08; }
.wyr h3 { font-stretch: 75%; font-size: 25px; line-height: 1.08; }
.wyr p { margin: 0; color: var(--szary); font-size: 15px; line-height: 1.55; }
.wyr-fakty { display: flex; gap: 24px; flex-wrap: wrap; }
.wyr-fakt { display: flex; align-items: center; gap: 10px; }
.wyr-fakt .ik { width: 38px; height: 38px; background: var(--tlo); color: var(--granat); display: flex; align-items: center; justify-content: center; flex: none; }
.wyr-fakt .ik svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wyr-fakt b { display: block; font-size: 15px; color: var(--granat); line-height: 1.25; }
.wyr-fakt small { display: block; font-size: 13px; color: var(--szary); }
.wyr-dol { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.wyr-przyciski { display: flex; gap: 10px; flex-wrap: wrap; }
.wyr--glowne .wyr-obraz { aspect-ratio: 1365/768; }
/* tryb „grafika zawiera tytuł” — tytuł strony tylko dla Google i czytników */
.wyr--baner .wyr-tytul { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wyr--maly { flex-direction: row; }
.wyr--maly .wyr-tresc { padding: 20px 22px; }
.wyr--maly h3 a::after { content: ""; position: absolute; inset: 0; }
.wyr-bok { width: 36%; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.wyr-bok--ikona { background: var(--tlo); color: var(--granat); }
.wyr-bok--ikona svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wyr-bok--data { background: var(--granat); color: #fff; }
.wyr-bok--data b { font-stretch: 75%; font-size: 60px; line-height: .9; }
.wyr-bok--data span { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px; }
.wyr-bok--data small { font-size: 12.5px; color: #c6d1e3; margin-top: 2px; }
/* dla 1 dużego: obraz obok treści */
.wyroznienia[data-u="1"] .wyr--glowne { flex-direction: row; }
.wyroznienia[data-u="1"] .wyr--glowne .wyr-obraz { width: 56%; flex: none; }
.wyroznienia[data-u="1"] .wyr--glowne .wyr-tresc { justify-content: center; padding: 30px 34px; }
.wyroznienia[data-u="1"] .wyr-dol { flex-direction: column; align-items: flex-start; }
.demo-przel { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #b9c6dc; flex-wrap: wrap; }
.demo-przel button { font-size: 12.5px; font-weight: 700; color: #fff; background: transparent; border: 1px dashed rgba(255,255,255,.45); padding: 5px 10px; cursor: pointer; }
.demo-przel button[aria-pressed="true"] { background: #fff; color: var(--granat); border-style: solid; }

/* ---------- Pasek liczb ---------- */
.liczby { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.15); margin-top: 34px; }
.liczba { padding: 22px 24px 0 0; }
.liczba b { display: block; font-stretch: 75%; font-size: 46px; line-height: 1; color: #fff; }
.liczba span { font-size: 14px; color: #c6d1e3; }

/* ---------- Lista z boku / proste listy ---------- */
.lista-wpisow { list-style: none; margin: 0; padding: 0; }
.lista-wpisow li { padding: 13px 0; border-bottom: 1px solid var(--linia); }
.lista-wpisow a { font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--granat); display: block; }
.lista-wpisow a:hover { color: var(--link); text-decoration: underline; }
.lista-wpisow small { color: var(--szary-2); font-size: 12.5px; display: flex; gap: 8px; align-items: center; margin-top: 3px; }

/* ---------- Ramka / panel ---------- */
.panel { background: #fff; border: 1px solid var(--linia); padding: 26px; }
.panel-tlo { background: var(--tlo); padding: 24px; }
.panel h3 { margin-bottom: 10px; }

/* ---------- Komunikaty ---------- */
.kom { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-left: 4px solid var(--granat); background: var(--tlo); font-size: 14.5px; }
.kom-ok { border-color: var(--ok); background: #e9f5ee; }
.kom-uwaga { border-color: #c98a00; background: #fff6e0; }
.kom b { color: var(--granat); }

/* ---------- Stopka ---------- */
.stopka { background: var(--granat-2); color: #c6d1e3; font-size: 14px; }
.stopka .szer { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.stopka h2 { color: #fff; font-stretch: 75%; font-size: 19px; margin: 0 0 14px; }
.stopka ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stopka a:hover { color: #fff; text-decoration: underline; }
.stopka-logo { background: #fff; display: inline-block; padding: 12px 14px; margin-bottom: 18px; }
.stopka-logo img { width: 92px; }
.stopka-dol { border-top: 1px solid rgba(255,255,255,.12); }
.stopka-dol .szer { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 12.5px; flex-wrap: wrap; }

/* ---------- Pasek prototypu ---------- */

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1100px) {
  .menu > li > a { padding: 0 8px; font-size: 14.5px; }
  .naglowek .szer { gap: 16px; }
}
@media (max-width: 980px) {
  .menu, .naglowek-akcje .btn { display: none; }
  .hamburger { display: inline-flex; background: var(--granat); color: #fff; border-color: var(--granat); }
  .naglowek-akcje { margin-left: auto; }
  .mobilne.otw { display: block; position: fixed; inset: 0; top: 0; z-index: 40; background: #fff; overflow: auto; padding: 18px 16px 40px; }
  .mobilne-gora { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  .mobilne ul { list-style: none; margin: 0; padding: 0; }
  .mobilne > nav > ul > li { border-bottom: 1px solid var(--linia); }
  .mobilne > nav > ul > li > a { display: block; padding: 15px 4px; font-weight: 700; font-size: 18px; color: var(--granat); }
  .mobilne ul ul { padding: 0 0 12px 12px; }
  .mobilne ul ul a { display: block; padding: 8px 4px; color: var(--szary); }
  .mobilne .btn { width: 100%; margin-top: 14px; }
  .karty { grid-template-columns: 1fr 1fr; }
  .drogi { grid-template-columns: 1fr 1fr; }
  .droga:nth-child(2) { border-right: 0; }
  .droga:nth-child(-n+2) { border-bottom: 1px solid var(--linia); }
  .wyroznienia, .wyroznienia[data-u="1"] { grid-template-columns: 1fr; }
  .boczne { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .wyroznienia[data-u="1"] .wyr--glowne { flex-direction: column; }
  .wyroznienia[data-u="1"] .wyr--glowne .wyr-obraz { width: auto; }
  .stopka .szer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .szer { padding: 0 16px; }
  .gora-l a:nth-child(2) { display: none; }
  .naglowek .szer { height: 68px; }
  .logo img { width: 82px; }
  .naglowek-akcje .menu-szukaj { display: none; }
  .h1 { font-size: 34px; }
  .h2 { font-size: 29px; }
  .lead { font-size: 16px; }
  .sekcja { padding: 48px 0; }
  .strona-nagl { padding: 30px 0 34px; }
  .karty { grid-template-columns: 1fr; gap: 16px; }
  .karta-poz { flex-direction: column; }
  .karta-poz .karta-obraz { width: auto; aspect-ratio: 16/9; }
  .drogi { grid-template-columns: 1fr; }
  .droga { border-right: 0; border-bottom: 1px solid var(--linia); padding: 18px 16px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
  .droga-ik { margin: 0; }
  .droga h3 { flex: 1; }
  .droga p { flex-basis: 100%; }
  .droga .link-dalej { display: none; }
  .wyr-sekcja { padding: 22px 0 30px; }
  .boczne { grid-template-columns: 1fr; gap: 14px; }
  .wyroznienia { gap: 14px; }
  .wyr-tresc, .wyr--maly .wyr-tresc, .wyroznienia[data-u="1"] .wyr--glowne .wyr-tresc { padding: 16px; }
  .wyr h2 { font-size: 26px; }
  .wyr h3 { font-size: 21px; }
  .wyr--maly p { display: none; }
  .wyr-bok { width: 32%; }
  .wyr-bok--data b { font-size: 44px; }
  .wyr-przyciski .btn { flex: 1 1 100%; }
  .liczby { grid-template-columns: 1fr 1fr 1fr; }
  .liczba b { font-size: 32px; }
  .liczba span { font-size: 12.5px; }
  .wiersz-pol { grid-template-columns: 1fr; gap: 0; }
  .stopka .szer { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Białe karty na granatowym tle zachowują kolory treści */
.na-granacie .wyr h2, .na-granacie .wyr h3, .na-granacie .panel h2, .na-granacie .panel h3 { color: var(--granat); }
.na-granacie .wyr .nadtytul { color: var(--szary); }
.na-granacie .wyr-bok--data b, .na-granacie .wyr-bok--data span { color: #fff; }
[hidden] { display: none !important; }
.btn-obrys-jasny { background: transparent; }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Pas: Partnerzy i Członkowie wspierający (wspólny dla wszystkich stron, nad stopką) ---------- */
.pas-partnerow { border-top: 1px solid var(--linia); padding: 52px 0 60px; background: #fff; }
.pas-t { font-stretch: 75%; font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .3px; color: var(--granat); margin: 0 0 22px; }
.pas-t + ul + .pas-t { margin-top: 44px; }
.logo-partner, .logo-wsp { list-style: none; margin: 0; padding: 0; display: grid; }
.logo-partner { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); gap: 20px; justify-content: center; }
.logo-wsp { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-partner a, .logo-wsp a { display: flex; align-items: center; justify-content: center; border: 1px solid var(--linia); background: #fff; transition: border-color .15s, box-shadow .15s; }
.logo-partner a { aspect-ratio: 2/1; padding: 18px 26px; }
.logo-wsp a { aspect-ratio: 3/2; padding: 14px 16px; }
.logo-partner a:hover, .logo-wsp a:hover { border-color: var(--granat); box-shadow: var(--cien); }
.logo-partner img, .logo-wsp img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 980px) { .logo-wsp { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) {
  .pas-partnerow { padding: 36px 0 40px; }
  .pas-t { font-size: 20px; margin-bottom: 16px; }
  .pas-t + ul + .pas-t { margin-top: 32px; }
  .logo-partner { grid-template-columns: minmax(0, 260px); }
  .logo-wsp { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logo-wsp a { padding: 8px; }
}
