:root {
  --ubz-niebieski: #0e5a8a;
  --ubz-niebieski-2: #0b4a73;
  --ubz-granat: #0a2a43;
  --ubz-granat-2: #071d2f;
  --ubz-jasny: #eaf3f9;
  --ubz-tlo: #f5f9fc;
  --ubz-pomarancz: #e8741f;
  --ubz-tekst: #2a3b4d;
  --ubz-szary: #5d7186;
  --ubz-linia: #dce7f0;
  --ubz-kolor: #0e5a8a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
:where(.ubz) * { margin: 0; padding: 0; }
:where(.ubz) :is(ul, ol) { list-style: none; }
:where(.ubz) :is(h1, h2, h3, h4, h5, h6) { line-height: 1.25; }
:where(.ubz) :is(img, svg) { vertical-align: middle; }
:where(.ubz) :is(button, input) { font: inherit; color: inherit; }
[hidden] { display: none !important; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.container { width: 100%; padding-right: 12px; padding-left: 12px; margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 1320px; } }

body.ubz { font-family: 'Manrope', 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.7; color: var(--ubz-tekst); background: #fff; }
.ubz h1, .ubz h2, .ubz h3, .ubz h4, .ubz h5, .ubz h6 { font-family: 'Roboto Slab', Georgia, 'Times New Roman', serif; color: var(--ubz-granat); font-weight: 700; letter-spacing: -0.005em; margin: 0; }
.ubz h1 a, .ubz h2 a, .ubz h3 a, .ubz h4 a, .ubz h5 a, .ubz h6 a { color: inherit; }
.ubz p, .ubz li, .ubz input, .ubz button, .ubz dd, .ubz dt { font-family: 'Manrope', 'Segoe UI', Arial, sans-serif; }
:where(.ubz) a { color: inherit; display: inline; text-decoration: none; }
.ubz a:hover { color: inherit; }
:where(.ubz) img { max-width: 100%; height: auto; }
.ubz-sr { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.ubz .screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.ubz-do-gory { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; background: var(--ubz-niebieski); color: #fff; display: grid; place-items: center; font-size: 22px; cursor: pointer; z-index: 800; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, background .2s, visibility .25s; box-shadow: 0 6px 18px rgba(10, 42, 67, .25); }
.ubz-do-gory.ubz-widoczny { opacity: 1; visibility: visible; transform: none; }
.ubz-do-gory:hover { background: var(--ubz-pomarancz); }

.ubz-svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.14em; flex: 0 0 auto; }
.ubz-d-ikona .ubz-svg, .ubz-dzial-ikona .ubz-svg, .ubz-o-znak .ubz-svg { stroke-width: 1.15; }
.ubz-blok-ikona .ubz-svg, .ubz-bok-dzial-ikona .ubz-svg { stroke-width: 1.5; }

.ubz-glowny { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--ubz-linia); box-shadow: 0 3px 16px rgba(10, 42, 67, .07); }
.ubz-glowny-wnetrze { display: flex; align-items: center; gap: 34px; height: 82px; }
.ubz-logo { display: block; flex: 0 0 auto; line-height: 0; }
.ubz-logo-obraz { display: block; height: 52px; width: auto; max-width: none; }
.ubz-logo-tekst { font-family: 'Roboto Slab', Georgia, serif; font-weight: 800; font-size: 22px; color: var(--ubz-granat); line-height: 1.2; }
.ubz-nav { flex: 1 1 auto; min-width: 0; }
.ubz-nav ul { display: flex; align-items: stretch; justify-content: flex-start; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ubz-nav li { margin: 0; padding: 0; list-style: none; }
.ubz-nav a { position: relative; display: block; padding: 0 15px; line-height: 82px; font-weight: 800; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ubz-granat); white-space: nowrap; transition: color .2s; }
.ubz-nav a .ubz-svg { display: none; }
.ubz-nav a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 4px; background: var(--ubz-kolor); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.ubz-nav a:hover, .ubz-nav li.ubz-biezacy a { color: var(--ubz-kolor); }
.ubz-nav a:hover::after, .ubz-nav li.ubz-biezacy a::after { transform: scaleX(1); }
.ubz-glowny-akcje { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ubz-ikonka { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ubz-linia); background: #fff; color: var(--ubz-granat); display: inline-grid; place-items: center; font-size: 20px; cursor: pointer; padding: 0; transition: background .2s, color .2s, border-color .2s; }
.ubz-ikonka:hover, .ubz-ikonka[aria-expanded="true"] { background: var(--ubz-niebieski); color: #fff; border-color: var(--ubz-niebieski); }
.ubz-ikonka-menu { display: none; }
.ubz-szukaj-panel { display: none; background: var(--ubz-jasny); border-top: 1px solid var(--ubz-linia); padding: 16px 0; }
.ubz-szukaj-panel.ubz-otwarty { display: block; }

.ubz-szukaj { display: flex; gap: 0; max-width: 640px; margin: 0; }
.ubz-szukaj input[type="search"] { flex: 1 1 auto; min-width: 0; height: 52px; border: 1px solid #c4d6e4; border-right: 0; border-radius: 6px 0 0 6px; padding: 0 18px; font-size: 16px; color: var(--ubz-granat); background: #fff; outline: none; }
.ubz-szukaj input[type="search"]:focus { border-color: var(--ubz-niebieski); box-shadow: 0 0 0 3px rgba(14, 90, 138, .15); }
.ubz-szukaj button { height: 52px; border: 0; border-radius: 0 6px 6px 0; background: var(--ubz-niebieski); color: #fff; padding: 0 24px; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.ubz-szukaj button:hover { background: var(--ubz-pomarancz); }

.ubz-znacznik { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ubz-kolor) !important; line-height: 1.3; }
.ubz-znacznik::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--ubz-kolor); flex: 0 0 auto; }
.ubz-znacznik:hover { filter: brightness(.85); }
.ubz-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; line-height: 1.5; color: var(--ubz-szary); }
.ubz-meta .ubz-svg { color: var(--ubz-kolor, var(--ubz-niebieski)); margin-right: 5px; width: 1.08em; height: 1.08em; }
.ubz-meta-autor a { color: var(--ubz-niebieski); font-weight: 800; border-bottom: 1px solid rgba(14, 90, 138, .35); }
.ubz-meta-autor a:hover { color: var(--ubz-pomarancz); border-bottom-color: var(--ubz-pomarancz); }
.ubz-przycisk { display: inline-flex; align-items: center; gap: 10px; background: var(--ubz-pomarancz); color: #fff !important; border-radius: 6px; padding: 13px 24px; font-weight: 800; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; transition: background .2s, transform .15s; }
.ubz-przycisk:hover { background: #cf6314; transform: translateY(-1px); }
.ubz-przycisk-jasny { background: #fff; color: var(--ubz-granat) !important; }
.ubz-przycisk-jasny:hover { background: var(--ubz-pomarancz); color: #fff !important; }
.ubz-naglowek-sekcji { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 6px; padding-bottom: 12px; border-bottom: 2px solid var(--ubz-granat); }
.ubz-naglowek-sekcji h2 { font-size: 26px; line-height: 1.2; }
.ubz-wiecej { font-weight: 800; font-size: 13.5px; letter-spacing: .03em; color: var(--ubz-kolor) !important; white-space: nowrap; }
.ubz-wiecej .ubz-svg { margin-left: 4px; transition: margin .2s; }
.ubz-wiecej:hover .ubz-svg { margin-left: 9px; }
.ubz-okruszki { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; color: var(--ubz-szary); }
.ubz-okruszki a:hover { color: var(--ubz-niebieski); }

.ubz-czolowka { padding: 38px 0 44px; }
.ubz-czolowka-siatka { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.ubz-lead-obraz { display: block; border-radius: 6px; overflow: hidden; background: var(--ubz-jasny); line-height: 0; }
.ubz-lead-obraz img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 0% 100%; transition: transform .6s ease; }
.ubz-lead:hover .ubz-lead-obraz img { transform: scale(1.025); }
.ubz-lead-tresc { padding-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ubz-lead-tytul { font-size: 36px; line-height: 1.17; font-weight: 800; margin: 0; }
.ubz-lead-tytul a:hover { color: var(--ubz-niebieski); }
.ubz-lead-zajawka { font-size: 17px; line-height: 1.7; color: var(--ubz-szary); margin: 0; }
.ubz-lead .ubz-przycisk { margin-top: 6px; }
.ubz-stos { border-top: 4px solid var(--ubz-granat); }
.ubz-stos-naglowek { padding: 14px 0 4px; font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ubz-granat); }
.ubz-stos-wpis { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--ubz-linia); }
.ubz-stos-wpis:last-child { border-bottom: 0; padding-bottom: 0; }
.ubz-stos-obraz { display: block; border-radius: 5px; overflow: hidden; line-height: 0; background: var(--ubz-jasny); align-self: start; }
.ubz-stos-obraz img { display: block; width: 138px; height: 138px; object-fit: cover; object-position: 0% 100%; }
.ubz-stos-tresc { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.ubz-stos-tytul { font-size: 19px; line-height: 1.28; margin: 0; font-weight: 700; }
.ubz-stos-tytul a:hover { color: var(--ubz-niebieski); }

.ubz-dzialy { background: var(--ubz-granat); color: #fff; }
.ubz-dzialy-siatka { display: grid; grid-template-columns: repeat(var(--ubz-ile, 5), minmax(0, 1fr)); }
.ubz-d { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 36px 24px 34px; border-left: 1px solid rgba(255, 255, 255, .13); color: #fff !important; transition: background .25s; }
.ubz-d:first-child { border-left: 0; padding-left: 0; }
.ubz-d:last-child { padding-right: 0; }
.ubz-d::before { content: ""; position: absolute; top: 0; left: 24px; width: 44px; height: 4px; background: color-mix(in srgb, var(--ubz-kolor) 60%, #fff); }
.ubz-d:first-child::before { left: 0; }
.ubz-d-ikona { font-size: 38px; line-height: 1; color: var(--ubz-pomarancz); margin-bottom: 6px; }
.ubz-d-nazwa { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.2; color: #fff; }
.ubz-d-opis { font-size: 13.5px; line-height: 1.6; color: #a9c3d8; }
.ubz-d-licznik { margin-top: auto; padding-top: 6px; font-weight: 800; font-size: 13px; color: var(--ubz-pomarancz); }
.ubz-d-licznik .ubz-svg { margin-left: 4px; transition: margin .2s; }
.ubz-d:hover .ubz-d-licznik .ubz-svg { margin-left: 10px; }
.ubz-d:hover .ubz-d-nazwa { color: #ffd7b5; }

.ubz-dwa { padding: 52px 0 26px; }
.ubz-dwa-siatka { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 56px; align-items: start; }
.ubz-wiersz { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; padding: 24px 0; border-bottom: 1px solid var(--ubz-linia); }
.ubz-wiersz:last-child { border-bottom: 0; }
.ubz-wiersz-obraz { display: block; border-radius: 5px; overflow: hidden; line-height: 0; background: var(--ubz-jasny); align-self: start; }
.ubz-wiersz-obraz img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 0% 100%; transition: transform .5s ease; }
.ubz-wiersz:hover .ubz-wiersz-obraz img { transform: scale(1.04); }
.ubz-wiersz-tresc { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ubz-wiersz-tytul { font-size: 22px; line-height: 1.26; margin: 0; }
.ubz-wiersz-tytul a:hover { color: var(--ubz-niebieski); }
.ubz-wiersz-zajawka { font-size: 14.5px; line-height: 1.65; color: var(--ubz-szary); margin: 0; }
.ubz-sciaga { background: var(--ubz-jasny); border-top: 5px solid var(--ubz-pomarancz); padding: 26px 28px 14px; }
.ubz-sciaga-nadtytul { font-weight: 800; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--ubz-niebieski); margin: 0 0 4px; }
.ubz-sciaga-nadtytul .ubz-svg { margin-right: 6px; color: var(--ubz-pomarancz); }
.ubz-sciaga-tytul { font-size: 26px; margin: 0 0 8px; }
.ubz-sciaga-lista { margin: 0; }
.ubz-sciaga-pozycja { padding: 14px 0; border-top: 1px solid #cfe0ec; }
.ubz-sciaga-pozycja dt { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 18px; color: var(--ubz-niebieski); line-height: 1.3; margin: 0 0 2px; }
.ubz-sciaga-pozycja dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ubz-tekst); }

.ubz-pary { padding: 34px 0 16px; background: var(--ubz-tlo); border-top: 1px solid var(--ubz-linia); margin-top: 20px; }
.ubz-para { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-bottom: 52px; }
.ubz-blok-naglowek { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 2px solid var(--ubz-linia); }
.ubz-blok-naglowek::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 96px; height: 2px; background: var(--ubz-kolor); }
.ubz-blok-naglowek h2 { font-size: 25px; line-height: 1.2; }
.ubz-blok-naglowek h2 a { display: inline-flex; align-items: center; gap: 12px; }
.ubz-blok-ikona { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ubz-kolor); color: #fff; font-size: 18px; flex: 0 0 auto; }
.ubz-wiodacy { margin: 0; }
.ubz-wiodacy-obraz { display: block; border-radius: 5px; overflow: hidden; line-height: 0; background: var(--ubz-jasny); }
.ubz-wiodacy-obraz img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 0% 100%; transition: transform .5s ease; }
.ubz-wiodacy:hover .ubz-wiodacy-obraz img { transform: scale(1.03); }
.ubz-wiodacy-tresc { padding-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.ubz-wiodacy-tytul { font-size: 24px; line-height: 1.24; margin: 0; }
.ubz-wiodacy-tytul a:hover { color: var(--ubz-kolor); }
.ubz-wiodacy-zajawka { font-size: 15px; line-height: 1.65; color: var(--ubz-szary); margin: 0; }
.ubz-blok-reszta { margin-top: 12px; }
.ubz-mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--ubz-linia); align-items: center; }
.ubz-mini-obraz { display: block; border-radius: 4px; overflow: hidden; line-height: 0; background: var(--ubz-jasny); }
.ubz-mini-obraz img { display: block; width: 96px; height: 96px; object-fit: cover; object-position: 0% 100%; }
.ubz-mini-tresc { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.ubz-mini-tytul { font-size: 17px; line-height: 1.3; margin: 0; }
.ubz-mini-tytul a:hover { color: var(--ubz-kolor); }
.ubz-para-szeroka { grid-template-columns: minmax(0, 1fr); }
.ubz-para-szeroka .ubz-blok-wnetrze { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: start; }
.ubz-para-szeroka .ubz-blok-reszta { margin-top: 0; }
.ubz-mini-zajawka { display: none; margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ubz-szary); }
.ubz-para-szeroka .ubz-mini { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; padding: 20px 0; align-items: start; }
.ubz-para-szeroka .ubz-mini-zajawka { display: block; }
.ubz-para-szeroka .ubz-mini:first-child { border-top: 0; padding-top: 0; }
.ubz-para-szeroka .ubz-mini-obraz img { width: 230px; height: 153px; }
.ubz-para-szeroka .ubz-mini-tytul { font-size: 21px; }

.ubz-o { padding: 30px 0 58px; background: var(--ubz-tlo); }
.ubz-o-ramka { display: flex; align-items: center; gap: 32px; padding: 34px 40px; background: var(--ubz-niebieski); border-radius: 8px; color: #d6e8f5; position: relative; overflow: hidden; }
.ubz-o-ramka::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.ubz-o-znak { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--ubz-niebieski); display: grid; place-items: center; font-size: 34px; position: relative; z-index: 1; }
.ubz-o-tekst { flex: 1; position: relative; z-index: 1; }
.ubz-o-tekst h2 { color: #fff; font-size: 26px; margin: 0 0 8px; }
.ubz-o-tekst p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #d6e8f5; }
.ubz-o .ubz-przycisk { position: relative; z-index: 1; white-space: nowrap; }

.ubz-dzial-pas { position: relative; background: var(--ubz-granat); color: #fff; padding: 22px 0 44px; border-bottom: 6px solid var(--ubz-kolor); overflow: hidden; }
.ubz-dzial-pas::after { content: ""; position: absolute; right: -90px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .04); }
.ubz-dzial-pas .ubz-okruszki { color: #9db9ce; margin-bottom: 26px; }
.ubz-dzial-pas .ubz-okruszki a:hover { color: #fff; }
.ubz-dzial-wnetrze { display: flex; align-items: center; gap: 28px; position: relative; z-index: 1; }
.ubz-dzial-ikona { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%; background: var(--ubz-kolor); border: 3px solid rgba(255, 255, 255, .85); color: #fff; display: grid; place-items: center; font-size: 40px; }
.ubz-dzial-opis-blok { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ubz-dzial-tytul { font-size: 46px; line-height: 1.1; color: #fff !important; font-weight: 800; margin: 0; }
.ubz-dzial-opis { font-size: 17px; line-height: 1.65; max-width: 760px; margin: 0; color: #c4d8e8; }
.ubz-dzial-opis strong { color: #fff; }
.ubz-dzial-licznik { display: inline-block; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 999px; padding: 3px 14px; font-weight: 800; font-size: 13px; letter-spacing: .03em; }
.ubz-dzial-lista { padding-top: 46px; padding-bottom: 54px; }
.ubz-siatka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 32px; }
.ubz-czytaj { margin-top: 56px; }
.ubz-czytaj .ubz-naglowek-sekcji { margin-bottom: 26px; }
.ubz-dzial-lista .navigation.pagination { margin-top: 44px; }
.ubz-dzial-lista .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ubz-dzial-lista .page-numbers { display: inline-block; padding: 8px 15px; border-radius: 5px; border: 1px solid var(--ubz-linia); font-weight: 700; color: var(--ubz-granat); }
.ubz-dzial-lista .page-numbers.current, .ubz-dzial-lista a.page-numbers:hover { background: var(--ubz-niebieski); color: #fff; border-color: var(--ubz-niebieski); }
.ubz-pusto { max-width: 640px; padding: 20px 0 10px; }
.ubz-pusto-tytul { font-size: 30px; margin: 0 0 10px; }
.ubz-pusto p { margin: 0 0 20px; color: var(--ubz-szary); font-size: 17px; }
.ubz-podpowiedzi { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.ubz-podpowiedzi li { margin: 0; list-style: none; }
.ubz-podpowiedzi a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--ubz-linia); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ubz-granat); background: #fff; }
.ubz-podpowiedzi a .ubz-svg { color: var(--ubz-kolor); width: 1.2em; height: 1.2em; }
.ubz-podpowiedzi a:hover { border-color: var(--ubz-kolor); color: var(--ubz-kolor); }
.ubz-strona-wnetrze { padding-top: 46px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 64px; align-items: start; }
.ubz-strona-tresc { max-width: 780px; }

.ubz-karta { display: flex; flex-direction: column; height: 100%; }
.ubz-karta-obraz { display: block; border-radius: 5px; overflow: hidden; line-height: 0; background: var(--ubz-jasny); }
.ubz-karta-obraz img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 0% 100%; transition: transform .5s ease; }
.ubz-karta:hover .ubz-karta-obraz img { transform: scale(1.04); }
.ubz-karta-tresc { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 16px; flex: 1; }
.ubz-karta-tytul { font-size: 21px; line-height: 1.28; margin: 0; }
.ubz-karta-tytul a:hover { color: var(--ubz-niebieski); }
.ubz-karta-zajawka { font-size: 14.5px; line-height: 1.65; color: var(--ubz-szary); margin: 0; }
.ubz-karta .ubz-meta { margin-top: auto; padding-top: 4px; }

.ubz-wpis { padding: 28px 0 34px; }
.ubz-wpis-naglowek { max-width: 900px; margin-bottom: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.ubz-wpis-tytul { font-size: 42px; line-height: 1.16; font-weight: 800; margin: 0; }
.ubz-wpis-lead { font-size: 19px; line-height: 1.65; color: var(--ubz-tekst); margin: 0; }
.ubz-wpis-uklad { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "glowna rail" "tekst rail"; column-gap: 64px; align-items: start; }
.ubz-wpis-glowna { grid-area: glowna; min-width: 0; }
.ubz-wpis-tekst { grid-area: tekst; min-width: 0; }
.ubz-rail { grid-area: rail; min-width: 0; display: flex; flex-direction: column; gap: 26px; position: sticky; top: 108px; }
.ubz-wpis-zdjecie, .ubz-wpis-tekst { max-width: 820px; }
.ubz-wpis-zdjecie { margin: 0 0 30px; border-radius: 6px; overflow: hidden; background: var(--ubz-jasny); line-height: 0; }
.ubz-wpis-zdjecie img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 0% 100%; }
.ubz-spis { background: var(--ubz-jasny); border-top: 4px solid var(--ubz-kolor); padding: 20px 24px 18px; }
.ubz-spis-tytul { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 19px; color: var(--ubz-granat); margin: 0 0 10px; }
.ubz-spis-tytul .ubz-svg { color: var(--ubz-kolor); margin-right: 8px; }
.ubz-spis ol { margin: 0; padding: 0; list-style: none; counter-reset: ubz-spis; }
.ubz-spis li { counter-increment: ubz-spis; display: grid; grid-template-columns: 28px minmax(0, 1fr); margin: 0; padding: 8px 0; border-top: 1px solid #cfe0ec; font-size: 14.5px; line-height: 1.45; list-style: none; }
.ubz-spis li::before { content: counter(ubz-spis); font-family: 'Roboto Slab', Georgia, serif; font-weight: 800; color: var(--ubz-kolor); }
.ubz-spis a { color: var(--ubz-tekst); font-weight: 600; }
.ubz-spis a:hover { color: var(--ubz-niebieski); text-decoration: underline; }
.ubz-bok { display: flex; flex-direction: column; gap: 26px; }
.ubz-bok-dzial { background: #fff; border: 1px solid var(--ubz-linia); border-top: 4px solid var(--ubz-kolor); padding: 22px 24px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ubz-bok-dzial-ikona { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ubz-kolor); color: #fff; font-size: 23px; }
.ubz-bok-dzial-nazwa { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.25; color: var(--ubz-granat); margin: 4px 0 0; }
.ubz-bok-dzial-opis { font-size: 14px; line-height: 1.6; color: var(--ubz-szary); margin: 0 0 4px; }
.ubz-bok-blok { border: 1px solid var(--ubz-linia); border-top: 4px solid var(--ubz-granat); padding: 18px 22px 12px; }
.ubz-bok-tytul { font-size: 19px; margin: 0 0 8px; }
.ubz-bok-wpis { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--ubz-linia); }
.ubz-bok-wpis img { width: 62px; height: 62px; object-fit: cover; object-position: 0% 100%; border-radius: 4px; display: block; }
.ubz-bok-wpis span { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 14.5px; line-height: 1.32; color: var(--ubz-granat); display: block; }
.ubz-bok-wpis:hover span { color: var(--ubz-niebieski); }
.ubz-bok-dzialy { list-style: none; margin: 0; padding: 0; }
.ubz-bok-dzialy li { margin: 0; list-style: none; border-top: 1px solid var(--ubz-linia); }
.ubz-bok-dzialy li a { display: flex; align-items: center; gap: 12px; padding: 11px 0; color: var(--ubz-granat); font-weight: 700; font-size: 14.5px; }
.ubz-bok-dzialy li a .ubz-svg { color: var(--ubz-kolor); width: 22px; height: 22px; }
.ubz-bok-nazwa { flex: 1; }
.ubz-bok-liczba { background: var(--ubz-jasny); border-radius: 999px; padding: 0 10px; font-size: 12.5px; color: var(--ubz-szary); line-height: 22px; }
.ubz-bok-dzialy li a:hover .ubz-bok-nazwa { color: var(--ubz-kolor); }
.ubz-tresc { font-size: 17.5px; line-height: 1.8; color: var(--ubz-tekst); }
.ubz-tresc p { margin: 0 0 1.2em; font-size: 17.5px; line-height: 1.8; color: var(--ubz-tekst); }
.ubz-tresc h2 { font-size: 29px; line-height: 1.22; margin: 1.7em 0 .65em; padding-top: 16px; position: relative; scroll-margin-top: 110px; }
.ubz-tresc h2::before { content: ""; position: absolute; top: 0; left: 0; width: 52px; height: 4px; background: var(--ubz-kolor); }
.ubz-tresc h2:first-child { margin-top: 0; }
.ubz-tresc h3 { font-size: 22px; line-height: 1.3; margin: 1.5em 0 .5em; }
.ubz-tresc ul, .ubz-tresc ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.ubz-tresc ul { list-style: none; }
.ubz-tresc ul li { position: relative; list-style: none; }
.ubz-tresc ul li::before { content: ""; position: absolute; left: -1.15em; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--ubz-kolor); }
.ubz-tresc ol { list-style: decimal; }
.ubz-tresc ol li { list-style: decimal; }
.ubz-tresc ol li::marker { color: var(--ubz-kolor); font-weight: 800; }
.ubz-tresc li { margin: .4em 0; font-size: 17px; line-height: 1.75; color: var(--ubz-tekst); }
.ubz-tresc strong { color: var(--ubz-granat); font-weight: 800; }
.ubz-tresc a { color: var(--ubz-niebieski); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ubz-tresc a:hover { color: var(--ubz-pomarancz); }
.ubz-tresc table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; line-height: 1.55; display: block; overflow-x: auto; }
.ubz-tresc th { background: var(--ubz-granat); color: #fff; text-align: left; padding: 11px 13px; font-weight: 800; font-size: 14px; vertical-align: top; }
.ubz-tresc td { border-bottom: 1px solid var(--ubz-linia); padding: 11px 13px; vertical-align: top; color: var(--ubz-tekst); }
.ubz-tresc tr:nth-child(even) td { background: var(--ubz-tlo); }
.ubz-tresc blockquote { border-left: 5px solid var(--ubz-pomarancz); background: var(--ubz-jasny); margin: 0 0 1.3em; padding: 16px 22px; }
.ubz-tresc img { height: auto; }
.ubz-sasiednie { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 40px 0 6px; }
.ubz-sasiedni { display: flex; flex-direction: column; gap: 7px; padding: 18px 20px; border: 1px solid var(--ubz-linia); border-top: 4px solid var(--ubz-granat); }
.ubz-sasiedni:hover { border-top-color: var(--ubz-pomarancz); background: var(--ubz-tlo); }
.ubz-sasiedni-nast { text-align: right; grid-column: 2; align-items: flex-end; }
.ubz-sasiedni-etykieta { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ubz-niebieski); }
.ubz-sasiedni-tytul { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--ubz-granat); }
.ubz-wpis .ubz-czytaj { margin-top: 48px; padding-top: 6px; }

.ubz-autor { display: flex; align-items: flex-start; gap: 24px; margin: 44px 0 6px; padding: 26px 30px; background: var(--ubz-tlo); border: 1px solid var(--ubz-linia); border-left: 5px solid var(--ubz-niebieski); }
.ubz-autor-znak { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; background: var(--ubz-niebieski); color: #fff; display: grid; place-items: center; font-family: 'Roboto Slab', Georgia, serif; font-weight: 800; font-size: 34px; line-height: 1; }
.ubz-autor-tresc { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.ubz-autor-nadtytul { margin: 0; font-weight: 800; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--ubz-szary); }
.ubz-autor-imie { margin: 0; font-family: 'Roboto Slab', Georgia, serif; font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--ubz-granat); }
.ubz-autor-imie a:hover { color: var(--ubz-niebieski); }
.ubz-autor-opis { margin: 0 0 4px; font-size: 15px; line-height: 1.7; color: var(--ubz-tekst); }
.ubz-dzial-inicjal { font-family: 'Roboto Slab', Georgia, serif; font-weight: 800; font-size: 44px; line-height: 1; background: var(--ubz-niebieski); }
.ubz-prowadzi { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-size: 14px; color: #c4d8e8; }
.ubz-prowadzi-etykieta { font-weight: 800; letter-spacing: .04em; color: #fff; margin-right: 2px; }
.ubz-prowadzi a { display: inline-flex; align-items: center; gap: 8px; padding: 3px 13px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; font-weight: 700; font-size: 13.5px; }
.ubz-prowadzi a::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: color-mix(in srgb, var(--ubz-kolor) 55%, #fff); }
.ubz-prowadzi a:hover { background: var(--ubz-kolor); border-color: var(--ubz-kolor); color: #fff; }

.ubz-404 { padding: 70px 0 84px; }
.ubz-404-ramka { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ubz-404-numer { font-family: 'Roboto Slab', Georgia, serif; font-weight: 800; font-size: 150px; line-height: 1; color: var(--ubz-niebieski); margin: 0; letter-spacing: -.02em; }
.ubz-404-tytul { font-size: 34px; margin: 0; }
.ubz-404-opis { font-size: 17px; color: var(--ubz-szary); margin: 0 0 8px; max-width: 560px; }
.ubz-404 .ubz-szukaj { width: 100%; max-width: 560px; }
.ubz-404 .ubz-podpowiedzi { justify-content: center; margin: 14px 0 12px; }

.ubz-stopka { background: var(--ubz-granat-2); color: #a9c0d3; padding-top: 58px; }
.ubz-stopka-siatka { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; padding-bottom: 46px; }
.ubz-stopka-siatka-dwa { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.ubz-stopka-logo { display: inline-block; line-height: 0; margin-bottom: 18px; }
.ubz-stopka-logo img { height: 50px; width: auto; max-width: none; display: block; }
.ubz-stopka-o p { margin: 0; font-size: 14.5px; line-height: 1.75; color: #a9c0d3; max-width: 480px; }
.ubz-stopka-tytul { font-size: 19px; color: #fff !important; margin: 4px 0 16px; padding-bottom: 12px; position: relative; }
.ubz-stopka-tytul::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--ubz-pomarancz); }
.ubz-stopka-lista { list-style: none; margin: 0; padding: 0; }
.ubz-stopka-lista li { margin: 0; padding: 7px 0; list-style: none; font-size: 14.5px; line-height: 1.5; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #d5e3ee; }
.ubz-stopka-lista li:last-child { border-bottom: 0; }
.ubz-stopka-lista a { color: #d5e3ee !important; }
.ubz-stopka-lista a:hover { color: #ffb37a !important; }
.ubz-stopka-dol { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #8aa5bb; }

@media (max-width: 1199px) {
  .ubz-glowny-wnetrze { gap: 22px; }
  .ubz-nav a { padding: 0 11px; font-size: 13px; letter-spacing: .035em; }
  .ubz-nav a::after { left: 11px; right: 11px; }
  .ubz-czolowka-siatka { gap: 34px; }
  .ubz-lead-tytul { font-size: 31px; }
  .ubz-dwa-siatka { grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; }
  .ubz-wiersz { grid-template-columns: 200px minmax(0, 1fr); gap: 22px; }
  .ubz-para { gap: 38px; }
  .ubz-wpis-uklad { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 40px; }
  .ubz-strona-wnetrze { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 40px; }
  .ubz-d { padding-left: 18px; padding-right: 18px; }
  .ubz-d::before { left: 18px; }
  .ubz-d-nazwa { font-size: 19px; }
}
@media (max-width: 991px) {
      .ubz-glowny-wnetrze { height: 68px; gap: 14px; }
  .ubz-logo-obraz { height: 42px; }
  .ubz-ikonka-menu { display: inline-grid; }
  .ubz-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: #fff; border-top: 1px solid var(--ubz-linia); border-bottom: 4px solid var(--ubz-niebieski); box-shadow: 0 16px 28px rgba(10, 42, 67, .14); max-height: calc(100vh - 80px); overflow-y: auto; }
  body.ubz-menu-otwarte .ubz-nav { display: block; }
  .ubz-nav ul { flex-direction: column; gap: 0; padding: 6px 12px 8px; }
  .ubz-nav li { border-bottom: 1px solid var(--ubz-linia); }
  .ubz-nav li:last-child { border-bottom: 0; }
  .ubz-nav a { display: flex; align-items: center; gap: 14px; line-height: 54px; padding: 0 6px; font-size: 14px; }
  .ubz-nav a .ubz-svg { display: inline-block; width: 22px; height: 22px; color: var(--ubz-kolor); }
  .ubz-nav a::after { display: none; }
  .ubz-czolowka { padding: 28px 0 34px; }
  .ubz-czolowka-siatka { grid-template-columns: 1fr; gap: 34px; }
  .ubz-lead-tytul { font-size: 30px; }
  .ubz-dzialy-siatka { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ubz-d, .ubz-d:first-child, .ubz-d:last-child { padding: 28px 20px 26px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .13); }
  .ubz-d::before, .ubz-d:first-child::before { left: 20px; }
  .ubz-dwa-siatka { grid-template-columns: 1fr; gap: 44px; }
  .ubz-sciaga { padding: 24px 24px 12px; }
  .ubz-para, .ubz-para-szeroka { grid-template-columns: 1fr; gap: 46px; }
  .ubz-para-szeroka .ubz-blok-wnetrze { grid-template-columns: 1fr; gap: 12px; }
  .ubz-o-ramka { flex-wrap: wrap; padding: 28px 28px; gap: 22px; }
  .ubz-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 26px; }
  .ubz-dzial-tytul { font-size: 38px; }
  .ubz-wpis-tytul { font-size: 35px; }
  .ubz-wpis-uklad { grid-template-columns: 1fr; grid-template-areas: none; display: flex; flex-direction: column; align-items: stretch; }
  .ubz-wpis-glowna { order: 1; }
  .ubz-rail { display: contents; position: static; }
  .ubz-strona-wnetrze { grid-template-columns: 1fr; row-gap: 40px; }
  .ubz-spis { order: 2; margin-bottom: 30px; }
  .ubz-wpis-tekst { order: 3; }
  .ubz-bok { order: 4; margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ubz-stopka-siatka { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ubz-stopka-o { grid-column: 1 / -1; }
  .ubz-404-numer { font-size: 110px; }
  .ubz-stopka-siatka-dwa { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ubz-dzialy-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ubz-d-opis { display: none; }
  .ubz-bok { grid-template-columns: 1fr; }
  .ubz-sasiednie { grid-template-columns: 1fr; }
  .ubz-sasiedni-nast { grid-column: auto; }
}
@media (max-width: 575px) {
  body.ubz { font-size: 15.5px; }
  .ubz-glowny-wnetrze { height: 62px; gap: 10px; }
  .ubz-logo-obraz { height: 36px; }
  .ubz-ikonka { width: 42px; height: 42px; font-size: 19px; }
  .ubz-glowny-akcje { gap: 8px; }
  .ubz-do-gory { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .ubz-czolowka { padding: 22px 0 30px; }
  .ubz-lead-tytul { font-size: 26px; }
  .ubz-lead-zajawka { font-size: 16px; }
  .ubz-stos-wpis { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .ubz-stos-obraz img { width: 96px; height: 96px; }
  .ubz-stos-tytul { font-size: 17px; }
  .ubz-dzialy-siatka { grid-template-columns: 1fr; }
  .ubz-d, .ubz-d:first-child, .ubz-d:last-child { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 18px 4px; }
  .ubz-d::before, .ubz-d:first-child::before { display: none; }
  .ubz-d-ikona { font-size: 28px; margin: 0; width: 38px; text-align: center; }
  .ubz-d-nazwa { flex: 1; font-size: 18px; }
  .ubz-d-licznik { margin: 0; padding: 0; font-size: 12.5px; }
  .ubz-dwa { padding: 38px 0 14px; }
  .ubz-naglowek-sekcji h2 { font-size: 23px; }
  .ubz-wiersz { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .ubz-wiersz-zajawka { display: none; }
  .ubz-wiersz-tytul { font-size: 17px; }
  .ubz-wiersz .ubz-meta span + span, .ubz-stos .ubz-meta span + span { display: none; }
  .ubz-sciaga-tytul { font-size: 23px; }
  .ubz-blok-naglowek h2 { font-size: 21px; }
  .ubz-blok-ikona { width: 36px; height: 36px; font-size: 16px; }
  .ubz-wiodacy-tytul { font-size: 21px; }
  .ubz-mini { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .ubz-mini-obraz img, .ubz-para-szeroka .ubz-mini-obraz img { width: 80px; height: 80px; }
  .ubz-para-szeroka .ubz-mini { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .ubz-para-szeroka .ubz-mini-zajawka { display: none; }
  .ubz-para-szeroka .ubz-mini-tytul { font-size: 17px; }
  .ubz-o-ramka { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .ubz-o-tekst h2 { font-size: 22px; }
  .ubz-dzial-pas { padding: 18px 0 34px; }
  .ubz-dzial-wnetrze { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ubz-dzial-ikona { width: 68px; height: 68px; font-size: 30px; }
  .ubz-dzial-tytul { font-size: 31px; }
  .ubz-dzial-opis { font-size: 15.5px; }
  .ubz-dzial-lista { padding-top: 32px; padding-bottom: 40px; }
  .ubz-siatka { grid-template-columns: 1fr; gap: 34px; }
  .ubz-szukaj button span { display: none; }
  .ubz-szukaj button { padding: 0 18px; }
  .ubz-wpis-tytul { font-size: 28px; }
  .ubz-wpis-lead { font-size: 17px; }
  .ubz-tresc, .ubz-tresc p { font-size: 16.5px; }
  .ubz-tresc li { font-size: 16.5px; }
  .ubz-tresc h2 { font-size: 24px; }
  .ubz-tresc h3 { font-size: 20px; }
  .ubz-stopka { padding-top: 42px; }
  .ubz-autor { flex-direction: column; gap: 14px; padding: 22px 22px; }
  .ubz-autor-znak { width: 62px; height: 62px; font-size: 28px; }
  .ubz-dzial-inicjal { font-size: 34px; }
  .ubz-stopka-siatka { grid-template-columns: 1fr; gap: 30px; }
  .ubz-404 { padding: 44px 0 56px; }
  .ubz-404-numer { font-size: 88px; }
  .ubz-404-tytul { font-size: 27px; }
}
