/*
Theme Name: Szkoła Chodel
Theme URI: https://www.chodel.eu/
Author: Zespół Szkoły Podstawowej i Przedszkola Samorządowego w Chodlu
Description: Motyw WordPress szkoły podstawowej im. Ks. Jana Twardowskiego w Chodlu. Wiernie odtwarza wygląd statycznego projektu strony (baner, ogłoszenia, aktualności, sukcesy, partnerzy, menu dostępności). Treści stron głównej zarządzane są w panelu WordPress.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: szkola
*/

/* 01-baza */
/* Roboto hostowana lokalnie (licencja SIL OFL: assets/fonts/OFL.txt); zastępuje Google Fonts */
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/roboto-400-cyrillic.woff') format('woff');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/roboto-400-latin.woff') format('woff');unicode-range:U+0020-007E,U+00A0-00FF,U+0100-017F,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2010-2015,U+2018-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+20AC,U+2116,U+2122,U+2190-2193,U+2212}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/roboto-500-cyrillic.woff') format('woff');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/roboto-500-latin.woff') format('woff');unicode-range:U+0020-007E,U+00A0-00FF,U+0100-017F,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2010-2015,U+2018-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+20AC,U+2116,U+2122,U+2190-2193,U+2212}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/roboto-700-cyrillic.woff') format('woff');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/roboto-700-latin.woff') format('woff');unicode-range:U+0020-007E,U+00A0-00FF,U+0100-017F,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2010-2015,U+2018-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+20AC,U+2116,U+2122,U+2190-2193,U+2212}
@font-face{font-family:'Roboto';font-style:normal;font-weight:900;font-display:swap;src:url('assets/fonts/roboto-900-cyrillic.woff') format('woff');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Roboto';font-style:normal;font-weight:900;font-display:swap;src:url('assets/fonts/roboto-900-latin.woff') format('woff');unicode-range:U+0020-007E,U+00A0-00FF,U+0100-017F,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2010-2015,U+2018-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+20AC,U+2116,U+2122,U+2190-2193,U+2212}
:root {
  color-scheme: light;
  --bg: #fff;
  --bg2: #F3F7FB;
  --tx: #12355B;
  --ac: #F2A33A;
  --ln: #E3E9F0;
  --card: #fff;
  --rd: #0361A8;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);
}
html {
  height: auto;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: 'Roboto',system-ui,sans-serif;
  line-height: 1.5;
  background: #F5F8F2;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: 'Roboto','Roboto',sans-serif;
  margin: 0;
}
h2 {
  font-size: clamp(26px,4vw,36px);
  margin-bottom: 22px;
}
label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 10px 0 4px;
}
input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #9FB1C6;
  border-radius: 8px;
  font: 400 15px 'Roboto',sans-serif;
  background: var(--bg);
  color: var(--tx);
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
html,
body,
button,
input,
textarea,
select,
h1,
h2,
h3,
nav a {
  font-family: 'Roboto',Arial,sans-serif !important;
}
html,
body {
  overflow-x: clip;
}

/* Etap 4: rezerwacja miejsca na treść budowaną przez JS – stopka nie "skacze" (CLS) */
main#view:empty {
  min-height: 100vh;
}

/* 02-naglowek-menu */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--ln);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 20px;
  position: sticky;
  top: 0;
  z-index: 30;
  height: 78px;
  padding: 0 20px 0 200px;
  background: rgba(255,255,255,.74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.5);
  justify-content: flex-start;
  gap: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto',sans-serif;
  font-size: 17px;
  line-height: 1.1;
  max-width: 300px;
}
.logo img {
  height: 64px;
  width: auto;
  flex: none;
}
#lgo {
  cursor: pointer;
}
.logo i {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ac);
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.top {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.top li {
  position: relative;
}
nav a,
nav button.l {
  display: block;
  padding: 10px 10px;
  font: 700 15px 'Roboto',sans-serif;
  border: 0;
  background: none;
  color: inherit;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 9px;
  white-space: nowrap;
  color: #111;
}
nav a:hover,
nav button.l:hover {
  background: rgba(46,109,164,.15);
}
.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  padding: 6px;
  z-index: 5;
}
.sub .sub {
  top: 0;
  left: 100%;
}
@media (min-width: 1181px) {
  li:hover>.sub,
  li:focus-within>.sub {
    display: block;
    animation: pop .2s;
  }
  .sub {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .sub a,
  .sub button.l {
    border-radius: 0;
  }
}
#burger {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--ln);
  background: none;
  color: inherit;
  border-radius: 10px;
  font-size: 22px;
}
@media (max-width: 1180px) {
  #burger {
    display: block;
    margin-left: 6px;
  }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--ln);
    max-height: 80vh;
    overflow: auto;
    padding: 8px 16px;
  }
  nav.open {
    display: block;
  }
  .top {
    display: block;
  }
  .sub {
    position: static;
    box-shadow: none;
    padding: 0 0 0 14px;
    min-width: 0;
    background: none;
  }
  li.o>.sub {
    display: block;
  }
  .tgl {
    width: 48px;
  }
  li.h>.sub {
    width: 100%;
  }
  header {
    padding-left: 130px;
  }
}
li.h>.sub {
  top: 100%;
}
.logo {
  position: absolute;
  left: 12px;
  top: 0;
}
.logo img#lgo,
#lgo {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  border: 5px solid rgba(255,255,255,.65);
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
  opacity: .93;
  object-fit: contain;
}
nav {
  flex: 1;
}
.hr .gd {
  height: 44px;
  width: auto;
}
.ph {
  line-height: 1.2;
  white-space: nowrap;
}
.ph small {
  display: block;
  color: #666;
  font-size: 12px;
}
.bip {
  letter-spacing: -1px;
}
@media (max-width: 1180px) {
  .logo #lgo,
  #lgo {
    height: 104px;
    width: 104px;
  }
  .ph span {
    display: none;
  }
  .hr .gd {
    height: 36px;
  }
  .sub a:hover,
  .sub button.l:hover {
    border-radius: 0;
  }
}
#lgo,
.logo img#lgo {
  opacity: .78;
  background: rgba(255,255,255,.55);
  border-color: rgba(255,255,255,.5);
}
@media (min-width: 1181px) {
  .sub a:hover,
  .sub button.l:hover,
  .sub a:focus-visible,
  .sub button.l:focus-visible,
  .sub li:hover>a,
  .sub li:focus-within>a,
  .sub li:hover>button.l {
    border-radius: 0;
  }
}
@media (max-width: 1180px) {
  .sub a:hover,
  .sub button.l:hover {
    border-radius: 0;
  }
}

/* 03-baner */
.hero {
  position: relative;
  height: min(56vw,520px);
  min-height: 300px;
  background: #1B3350;
  overflow: hidden;
  height: calc(min(50vw,640px) + var(--hbh) - 10px);
  min-height: calc(560px + var(--hbh) - 10px);
  --hbh: 84px;
}
.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s;
}
.hero .bg.on {
  opacity: 1;
}
.hero .sl {
  position: absolute;
  left: clamp(20px,3.4vw,66px);
  bottom: calc(var(--hbh) + 80px);
  z-index: 2;
  max-width: min(760px,58%);
  padding: 0;
  background: none;
  color: #fff;
  font-size: clamp(20px,3.4vw,38px);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.hero .im {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}
.hero .bg.on .im {
  transform: scale(1);
}
.hero .hv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .mt {
  position: absolute;
  right: 18px;
  bottom: calc(var(--hbh) + 38px);
  z-index: 3;
  width: 46px;
  height: 46px;
  cursor: pointer;
}
.hero .mt:hover {
  background: rgba(0,0,0,.7);
}

/* slogan + tekst pod sloganem (efekty: wjazd z lewej, rozjaśnienie, rysowana linia) */
.hero .sl span {
  display: block;
}
.hero .s1 {
  font-size: clamp(26px,3.8vw,56px);
  line-height: 1.08;
  letter-spacing: -.01em;
  filter: blur(.4px);
}
.hero .s2 {
  position: relative;
  margin-top: 18px;
  padding-left: 18px;
  font-size: clamp(14px,1.3vw,19px);
  font-weight: 500;
  line-height: 1.4;
}
.hero .s2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  bottom: .12em;
  width: 2px;
  border-radius: 1px;
  background: var(--rd);
  transform-origin: top;
}
.hero .bg.on .s1 {
  animation: slIn 1s .25s cubic-bezier(.2,.7,.2,1) both;
}
.hero .bg.on .s2 {
  animation: slUp 1s .7s cubic-bezier(.2,.7,.2,1) both;
}
.hero .bg.on .s2::before {
  animation: slLine .9s .8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes slIn{from{opacity:0;transform:translateX(-60px);filter:blur(8px)}to{opacity:1;transform:none;filter:blur(.4px)}}
@keyframes slUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes slLine{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@media (prefers-reduced-motion: reduce) {
  .hero .bg.on .s1,
  .hero .bg.on .s2,
  .hero .bg.on .s2::before {
    animation: none;
  }
}
/* dolny pasek: 6 skrótów (statyczny, widoczny na każdym slajdzie) */
.hero .hbar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  z-index: 3;
  height: var(--hbh);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border-radius: 24px;
  background: rgba(255,255,255,.24);
  border: 1px solid rgba(255,255,255,.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,.14);
}
.hero .hbar > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 8px;
  color: #12355B;
  border-radius: 24px;
  transition: background .25s;
}
.hero .hbar > a:hover {
  background: rgba(255,255,255,.34);
}
.hero .hbar > a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(18,53,91,.3);
}
.hero .hbar > a > span:first-child {
  flex: none;
  display: inline-flex;
  opacity: 1;
}
.hero .hbar > a svg {
  width: 44px;
  height: 44px;
}
.hero .hbt strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}
.hero .hbt small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #2c3f57;
}
@media (max-width: 1280px) {
  .hero .hbt small {
    display: none;
  }
  .hero .hbt strong {
    font-size: 15px;
    white-space: nowrap;
  }
  .hero .hbar > a svg {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 1100px) {
  .hero .hbar > a svg {
    width: 30px;
    height: 30px;
  }
  .hero .hbt strong {
    font-size: 14px;
    white-space: normal;
  }
}
@media (max-width: 760px) {
  .hero {
    --hbh: 76px;
  }
  .hero .sl {
    max-width: 92%;
  }
  .hero .s2 {
    margin-top: 12px;
    padding-left: 12px;
  }
  .hero .hbar {
    left: 8px;
    right: 8px;
    bottom: 14px;
    border-radius: 18px;
  }
  .hero .hbar > a {
    flex-direction: column;
    gap: 2px;
    padding: 0 2px;
  }
  .hero .hbar > a svg {
    width: 26px;
    height: 26px;
  }
  .hero .hbt {
    text-align: center;
  }
  .hero .hbt strong {
    font-size: 10px;
    line-height: 1.15;
  }
}
/* rozmycie zdjęcia w lewym dolnym rejonie (czytelność sloganów; tekst nie jest rozmywany) */
.hero .bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 0% 100%,#000 45%,transparent 100%);
  mask-image: radial-gradient(ellipse 75% 90% at 0% 100%,#000 45%,transparent 100%);
  pointer-events: none;
}

/* 04-aktualnosci */
.nc {
  box-shadow: 0 2px 10px rgba(18,53,91,.08);
  box-shadow: 0 2px 26px rgba(0,0,0,.06);
  box-shadow: 0 6px 26px rgba(18,53,91,.10);
}
.nc:hover {
  box-shadow: 0 10px 28px rgba(18,53,91,.18);
  box-shadow: 0 18px 46px rgba(18,53,91,.18);
  box-shadow: 0 28px 58px rgba(18,53,91,.28);
}
.nci {
  overflow: hidden;
  aspect-ratio: 4/3;
  width: 36%;
  min-height: 250px;
  aspect-ratio: auto;
}
.nci img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s;
}
.nc:hover .nci img,
.nci:focus img {
  transform: scale(1.1);
}
.nc h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 18px 0 12px;
  line-height: 1.25;
  color: #12355B;
  font-size: 27px;
  margin: 0 0 10px;
}
.nc time {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #666;
  font-size: 15px;
  margin-bottom: 12px;
  margin-bottom: 14px;
}
.nc p {
  color: #333;
}
.nc .more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.rv .nci {
  overflow: hidden;
}
.rv .nci img {
  transform: scale(1.3);
}
.rv.in .nci img {
  transform: scale(1);
  transition: transform 1.5s cubic-bezier(.2,.7,.2,1);
  transition: transform 2.8s cubic-bezier(.22,.6,.2,1);
}
.rv.in:hover .nci img {
  transform: scale(1.1);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
  transform: scale(1.07);
}
@media (max-width: 760px) {
  .nci {
    width: 100%;
    min-height: 200px;
  }
}
.ngrid .nc {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(18,53,91,.08);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1),transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
.ngrid .nc.big {
  grid-column: span 2;
  grid-row: span 2;
}
.ngrid .nc.rv.in:hover,
.ngrid .nc.rv.in:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(18,53,91,.22);
  transform: translateY(-8px);
}
.ngrid .nci {
  flex: none;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  height: 210px;
  aspect-ratio: auto;
  overflow: hidden;
}
.ngrid .nc.big .nci {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  flex: none;
  height: 440px;
  min-height: 0;
  flex: 0 0 50%;
  width: 50%;
}
.ngrid .nc.rv .nci img,
.ngrid .nc.rv.in .nci img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.ngrid .nc.rv.in:hover .nci img,
.ngrid .nc.rv.in:focus-within .nci img {
  transform: scale(1.08);
}
.ngrid .nct {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ngrid .nc.big .nct {
  flex: none;
  height: 210px;
  padding: 22px 28px 18px;
}
.ngrid .nc time {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}
.ngrid .nc h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.ngrid .nc.big h3 {
  font-size: 26px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 26px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 28px;
  margin-bottom: 14px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.ngrid .nc h3 a {
  color: inherit;
}
.ngrid .nc p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.ngrid .nc.big p {
  font-size: 15px;
  flex: 1 1 auto;
  min-height: 0;
  font-size: 16px;
  line-height: 1.6;
  -webkit-line-clamp: 9;
  line-clamp: 9;
  flex: 0 1 auto;
  font-size: 16px;
  line-height: 1.65;
  -webkit-line-clamp: 8;
  line-clamp: 8;
}
.ngrid .nc .more {
  margin-top: auto;
  align-self: flex-end;
  font-weight: 700;
  font-size: 14px;
}
@media (max-width: 1100px) {
  .ngrid .nc.big {
    grid-column: span 2;
    grid-row: span 1;
  }
  .ngrid .nc.big .nct {
    height: 190px;
  }
}
@media (max-width: 640px) {
  .ngrid .nc.big {
    grid-column: auto;
  }
  .ngrid .nc,
  .ngrid .nc.big {
    flex-direction: column;
  }
  .ngrid .nci {
    height: 200px;
  }
  .ngrid .nc.big .nct {
    height: auto;
    flex: 1 1 auto;
  }
}
#aktualnosci h2.nh {
  margin-bottom: 10px;
}
#aktualnosci .nsub {
  font-size: 18px;
  color: #5b6b7d;
  margin: 0 0 28px;
  max-width: 760px;
}
@media (max-width: 640px) {
  #aktualnosci .nsub {
    font-size: 16px;
  }
}
.ngrid .nc.rv.in {
  opacity: 1;
  animation: nrev .9s cubic-bezier(.2,.7,.2,1) var(--d,0s) backwards;
}
@media (prefers-reduced-motion: reduce) {
  .ngrid .nc.rv.in {
    animation: none;
  }
}
.ngrid .nc.big .nct {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  padding: 22px 28px 18px;
  flex: 1 1 auto;
  min-width: 0;
}
@media (max-width: 1100px) {
  .ngrid .nc.big {
    grid-column: span 2;
    grid-row: auto;
  }
  .ngrid .nc.big .nci {
    height: 320px;
  }
  .ngrid .nc.big .nct {
    height: auto;
  }
}
@media (max-width: 640px) {
  .ngrid .nc.big {
    grid-column: auto;
  }
  .ngrid .nc.big .nci {
    height: 260px;
  }
}
.ngrid .nc.nofx,
.fcard.nofx {
  animation: none !important;
}
.ngrid .nc.big {
  grid-column: 1/-1;
  grid-row: span 1;
  flex-direction: row;
}
.ngrid .nc.big .nci {
  height: 100%;
  min-height: 0;
}
.ngrid .nc.big .nct {
  height: auto;
  padding: 32px 36px 24px;
  justify-content: flex-start;
}
.ngrid .nc.big time {
  margin-bottom: 14px;
}
.ngrid .nc.big .more {
  margin-top: auto;
}
@media (max-width: 1100px) {
  .ngrid .nc.big {
    grid-column: 1/-1;
    flex-direction: row;
    min-height: 400px;
  }
  .ngrid .nc.big .nci {
    height: auto;
  }
  .ngrid .nc.big .nct {
    height: auto;
    padding: 24px 26px 20px;
  }
  .ngrid .nc.big h3 {
    font-size: 24px;
  }
}
@media (max-width: 700px) {
  .ngrid .nc.big {
    flex-direction: column;
    min-height: 0;
  }
  .ngrid .nc.big .nci {
    flex: none;
    width: 100%;
    height: 260px;
  }
  .ngrid .nc.big .nct {
    flex: 1 1 auto;
  }
  .ngrid .nc.big h3 {
    font-size: 22px;
  }
}
@media (min-width: 701px) {
  .ngrid .nc.big .nci {
    flex: 0 0 calc(50% - 12px);
    width: calc(50% - 12px);
  }
}

/* 05-sekcje-glowne */
.fkk {
  letter-spacing: .08em;
  text-transform: none;
}
.fsec .ftt {
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.fsec .fsub {
  margin: 0 0 32px;
  max-width: 720px;
}
.fcard {
  box-shadow: 0 6px 22px rgba(6,30,52,.14);
  height: 440px;
}
.fcard .fim {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}
.fcard .fim img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.fcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,rgba(6,30,52,0) 0%,rgba(6,30,52,0) 28%,rgba(6,30,52,.78) 62%,#061e34 100%);
}
.fcard .ftx {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
}
.fcard .fk {
  letter-spacing: .04em;
  text-transform: none;
  margin-bottom: 12px;
}
.fcard .ft {
  line-height: 1.2;
  margin-bottom: 14px;
}
.fcard .fd {
  line-height: 1.6;
  margin-bottom: 18px;
}
.fcard.fy .fk,
.fcard.fy .fl {
  color: #F2A33A;
}
.fcard.rv.in:hover,
.fcard.rv.in:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(6,30,52,.34);
  transition-delay: 0s;
}
.fcard.rv.in:hover .fim img,
.fcard.rv.in:focus-visible .fim img {
  transform: scale(1.07);
}
.fcard.rv.in {
  opacity: 1;
  transition-delay: var(--d,0s);
}
.fkk.rv,
.fsec .ftt.rv,
.fsec .fsub.rv {
  transition: opacity 1s cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1);
}
.fsec .w {
  max-width: 1300px;
}
.fsec .ftt {
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 10px;
}
.fsec .fsub {
  margin: 0 0 22px;
}
.fcard .ft {
  margin-bottom: 10px;
}
.fcard .fd {
  line-height: 1.5;
  margin-bottom: 14px;
}
.fcard .fk {
  margin-bottom: 8px;
}
@media (max-width: 1100px) {
  .fcard {
    height: 440px;
  }
}
@media (max-width: 640px) {
  .fcard {
    height: 420px;
  }
}
.fgrid {
  width: 100%;
}
.fcard {
  height: auto;
  width: auto;
}
@media (max-width: 1100px) {
  .fcard {
    height: auto;
  }
}
@media (max-width: 640px) {
  .fcard {
    height: auto;
  }
}
.fsec .w {
  margin: 0 auto;
}
.ssec .w {
  max-width: 1300px;
  margin: 0 auto;
}
.ssec .sth {
  line-height: 1.2;
  margin: 0 0 10px;
}
.ssec .ssub {
  margin: 0 0 28px;
}
.st {
  will-change: transform;
}
.sc {
  box-shadow: 0 2px 10px rgba(18,53,91,.07);
}
.sc:hover,
.sc:focus-visible {
  box-shadow: 0 18px 40px rgba(18,53,91,.2);
}
.sci {
  height: 265px;
}
.sc:hover .sci img,
.sc:focus-visible .sci img {
  transform: scale(1.07);
}
.sct {
  text-transform: none;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ngrid .nc.rv {
  opacity: 0;
  transition: none;
}
.ngrid .nc.rv.up {
  transform: translateY(-40px);
}
.ngrid .nc.rv.in {
  transform: none;
  transition: transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
.fcard.rv.in {
  opacity: 1;
  animation: nrev .9s cubic-bezier(.2,.7,.2,1) var(--d,0s) backwards;
}
.ngrid .nc.rv.in,
.fcard.rv.in {
  animation: nrev 1s cubic-bezier(.2,.7,.2,1) var(--d,0s) backwards;
}
.swrap.rv.in .sc {
  animation: nrev 1s cubic-bezier(.2,.7,.2,1) backwards;
}
.swrap.rv.in .sc:nth-child(2) {
  animation-delay: .13s;
}
.swrap.rv.in .sc:nth-child(3) {
  animation-delay: .26s;
}
.swrap.rv.in .sc:nth-child(n+4) {
  animation-delay: .39s;
}
@media (prefers-reduced-motion: reduce) {
  .swrap.rv.in .sc,
  .ngrid .nc.rv.in,
  .fcard.rv.in {
    animation: none;
  }
}
.ngrid .nc.rv.in,
.fcard.rv.in {
  animation: nrev .9s cubic-bezier(.2,.7,.2,1) var(--d,0s) backwards;
}
.swrap.rv.in .sc,
.swrap.rv.in .sc:nth-child(n) {
  animation: none;
}
.qsec .w {
  max-width: 1300px;
  margin: 0 auto;
}
.qsec .qh {
  line-height: 1.2;
  margin: 0 0 10px;
}
.qsec .qsub {
  margin: 0 0 28px;
}
.qim {
  aspect-ratio: 1/1;
}
.qim img,
.qim .qic {
  align-items: center;
  justify-content: center;
}
.qic svg {
  width: 56%;
  height: 56%;
  position: relative;
  width: 50%;
  height: 50%;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.28));
}
.qt {
  text-align: center;
}
.qcard.rv.in {
  animation: nrev .9s cubic-bezier(.2,.7,.2,1) var(--d,0s) backwards;
}
.qcard.nofx {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .qcard.rv.in {
    animation: none;
  }
}
.rte-tb .tb.wide {
  padding: 0 10px;
  font-size: 13px;
}
.rte-ed.marks p::after,
.rte-ed.marks h2::after,
.rte-ed.marks h3::after,
.rte-ed.marks h4::after,
.rte-ed.marks h5::after,
.rte-ed.marks li::after,
.rte-ed.marks blockquote::after {
  content: " ¶";
  color: #7a9bb8;
}
.rte-ed.marks br::before {
  content: "↵";
  color: #7a9bb8;
}
.rte-pop .pl {
  gap: 4px;
}
.rte-pop .pc {
  gap: 8px;
}
.rte-pop .pc input {
  width: auto;
}
.qic::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%,rgba(255,255,255,.34),rgba(255,255,255,.10) 70%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.22);
}
.psec .w {
  max-width: 1300px;
}
.psec .psub {
  max-width: 860px;
}
.plph {
  letter-spacing: .04em;
}
.ptn {
  text-align: center;
}
#ogloszenia h2.nh {
  margin-bottom: 10px;
}
#ogloszenia .nsub {
  font-size: 18px;
  margin: 0 0 28px;
  max-width: 760px;
}
@media (max-width: 640px) {
  #ogloszenia .nsub {
    font-size: 16px;
  }
}
.ogc {
  aspect-ratio: 2/3;
}
a.ogc {
  cursor: pointer;
}
.ogc.rv.in {
  animation: nrev .9s cubic-bezier(.2,.7,.2,1) var(--d,0s) backwards;
}
.ogc.nofx {
  animation: none !important;
}
.ogc:hover img,
.ogc:focus-visible img {
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .ogc.rv.in {
    animation: none;
  }
}
.rte-pop .sw:hover {
  outline: 2px solid #e4e6e9;
  outline-offset: 1px;
}
.rte-pop .mi {
  text-align: left;
}
.rte-pop label.mc {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  display: block;
}
.rte-pop label.mc input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  padding: 0;
  border: 0;
}

/* 06-galeria */
.gal button {
  border: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
}
.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.gal button:hover img,
.gal button:focus img {
  transform: scale(1.1);
}
#lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#lbi {
  max-width: min(92vw,1400px);
  max-height: 80vh;
  object-fit: contain;
}
#lb button {
  position: absolute;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 0;
  width: 52px;
  height: 52px;
  font-size: 30px;
  cursor: pointer;
}
#lbx {
  top: 16px;
  right: 16px;
}
#lbp {
  left: 16px;
  top: 50%;
}
#lbn {
  right: 16px;
  top: 50%;
}
#lbc {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
}
.nci img {
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.sci img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.qim img,
.qim .qic {
  width: 100%;
  height: 100%;
  display: flex;
}
.qim img {
  object-fit: cover;
  display: block;
}
.pti img {
  object-fit: contain;
}
.ogc img {
  width: 100%;
  object-fit: contain;
}
.lb {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lb img {
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  border-radius: 6px;
}
.lb.on img {
  transform: none;
}

/* 07-stopka */
footer {
  background: #061e34;
  color: #fff;
  padding: 36px 20px;
  font-size: 14px;
}
.fg {
  max-width: 1280px;
  margin: 0 auto;
}
footer h3 {
  font-size: 16px;
  color: #6CB4F0;
  margin-bottom: 8px;
}
footer .fs div {
  font-size: 14px;
  margin: 0 0 4px;
}
footer .fs img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 10px;
}
footer a:hover {
  text-decoration: underline;
}
.logo {
  max-width: none;
}
.nci {
  max-width: 370px;
}
@media (max-width: 760px) {
  .nci {
    max-width: none;
  }
}

/* 08-widzety */
#adm {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom,0px));
  z-index: 30;
  display: none;
}
#side {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 240px;
  overflow: hidden;
  top: 150px;
}
#side a {
  display: block;
  background: rgba(0,0,0,.56);
  color: #fff;
  border: 0;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  transform: translateX(56px);
  transition: transform .25s,background .25s;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  text-align: center;
}
#side a:hover,
#side a:focus {
  transform: none;
  background: rgba(0,0,0,.7);
}
#side a small {
  display: block;
  font-weight: 400;
  font-size: 12px;
}
@media (max-width: 1180px) {
  #side {
    position: static;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
    overflow: visible;
    position: static;
  }
  #side a {
    transform: none;
    flex: 1 1 150px;
  }
}
#ck {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom,0px));
  z-index: 50;
  max-width: 560px;
  width: calc(100% - 32px);
  background: #E8E8E8;
  color: #222;
  border-radius: 16px;
  padding: 24px;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  left: auto;
  right: 16px;
  z-index: 80;
  max-width: 520px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 12px 34px rgba(18,53,91,.22);
}
#ck.on {
  display: block;
  animation: ckIn .85s cubic-bezier(.2,.7,.2,1) .6s backwards;
}
#ck .t {
  gap: 16px;
  align-items: flex-start;
  font-size: 18px;
}
#ck button.ok {
  margin-top: 18px;
  background: #222;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 17px;
  cursor: pointer;
  transition: background .2s,transform .2s;
}
#ck .x {
  position: absolute;
  right: 10px;
  top: 8px;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: #222;
}
#lb button:hover {
  background: rgba(255,255,255,.32);
}
#side {
  width: 80px;
  gap: 4px;
  overflow: visible;
}
#side a.ic {
  width: 80px;
  height: 80px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  box-shadow: none;
  transition: filter .2s,width .2s;
}
#side a.ic svg {
  width: 56px;
  height: 56px;
  display: block;
}
#side a.ic.fb {
  background: #0A22D6;
}
#side a.ic.vu {
  background: #330261;
}
#side a.ic:hover,
#side a.ic:focus {
  filter: brightness(1.3);
  transform: none;
}
@media (max-width: 1180px) {
  #side {
    width: auto;
    flex-direction: row;
    gap: 8px;
    padding: 16px 20px;
  }
  #side a.ic {
    width: 64px;
    height: 64px;
    flex: none;
  }
  #side a.ic svg {
    width: 44px;
    height: 44px;
  }
}
#adm .btn {
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
@media (max-width: 640px) {
  #ck {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    padding: 18px;
  }
  #ck .t {
    font-size: 16px;
  }
}
#ck.on.out {
  animation: ckOut .45s cubic-bezier(.4,0,1,1) forwards;
}
#ck button.ok:hover {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  #ck.on {
    animation: none;
  }
}
#side {
  width: 56px;
  gap: 4px;
}
#side a.ic {
  width: 56px;
  height: 56px;
}
#side a.ic svg {
  width: 50px;
  height: 50px;
}
@media (max-width: 1180px) {
  #side {
    width: auto;
  }
  #side a.ic {
    width: 56px;
    height: 56px;
  }
  #side a.ic svg {
    width: 50px;
    height: 50px;
  }
}
#side a.ic svg image {
  width: 100%;
  height: 100%;
}

/* 09-efekty */
.rv {
  opacity: 0;
  transform: translateY(54px) scale(.97);
}
.rv.in {
  opacity: 1;
}
.rv.in:hover {
  transform: translateY(-4px);
  transform: translateY(-10px);
}
.fcard.rv {
  opacity: 0;
  opacity: 0;
}
.fcard.rv.in {
  transform: none;
}
.fcard.rv.up {
  transform: translateY(-40px);
}
.ngrid .nc.rv {
  transform: translateY(56px);
}
.fcard.rv.up {
  transform: translateY(-40px);
}
.fcard.rv.in {
  transform: none;
}
.ngrid .nc.rv,
.ngrid .nc.rv.up,
.fcard.rv,
.fcard.rv.up {
  opacity: 0;
  opacity: 0;
}
.ngrid .nc.rv.in,
.fcard.rv.in {
  opacity: 1;
}
.lb {
  opacity: 0;
}

/* animacje */
@keyframes pop{from{opacity:0;transform:translateY(6px)}}
@keyframes nrev{from{opacity:0;transform:translateY(56px) scale(.96)}to{opacity:1;transform:none}}
@keyframes nrev{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:none}}
@keyframes nrev{from{opacity:0;transform:translateY(56px) scale(.96)}to{opacity:1;transform:none}}
@keyframes ckIn{from{opacity:0;transform:translateX(120%)}to{opacity:1;transform:none}}
@keyframes ckOut{from{opacity:1;transform:none}to{opacity:0;transform:translateX(120%)}}

/* 10-komponenty */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: #2E6DA4;
  color: #fff;
  font: 700 15px 'Roboto',sans-serif;
  cursor: pointer;
  transition: transform .2s;
}
.btn:hover {
  transform: translateY(-2px);
  background: #1F5A90;
}
.btn.s {
  background: var(--ln);
  color: var(--tx);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}
section.w {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
  gap: 22px;
}
.fg {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
  gap: 28px;
}
.pg {
  max-width: 820px;
}
.pg h1 {
  font-size: clamp(28px,5vw,44px);
  margin-bottom: 18px;
}
.pg p {
  font-size: 17px;
  margin: 0 0 14px;
}
.pg img {
  max-width: 100%;
}
li.h {
  display: flex;
}
li.h>a {
  flex: 1;
}
@media (max-width: 1180px) {
  .tgl {
    background: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
  }
  li.h {
    flex-wrap: wrap;
  }
}
.ngrid {
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  grid-template-columns: 1fr;
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-auto-rows: 440px;
}
.nc {
  background: #fff;
  transition: box-shadow .3s;
  transition: box-shadow .5s,transform .5s;
}
.nci {
  background: #DCE8F4;
}
.nc p {
  margin: 0 0 16px;
  font-size: 16px;
}
.nc .more {
  color: #1a73c9;
}
.gal {
  grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
}
.hero .im {
  transform: scale(1.14);
}
.sr {
  position: absolute;
  left: -9999px;
}
.ph {
  font-size: 16px;
}
.bip {
  color: #C8102E;
  font-weight: 900;
  font-size: 30px;
}
.rv {
  transition: opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1),box-shadow .5s;
  transition: opacity 1.9s cubic-bezier(.22,.6,.2,1),transform 1.9s cubic-bezier(.22,.6,.2,1),box-shadow .5s;
}
.rv.up {
  transform: translateY(-54px) scale(.97);
}
.rv.in {
  transform: none;
}
@media (max-width: 760px) {
  .bip {
    font-size: 24px;
  }
}
.hero .hv {
  background: #1B3350;
}
.hero .mt {
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 20px;
}
.nc {
  transition: transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s;
}
.ngrid .nc {
  padding: 0;
  border-radius: 0;
  background: #fff;
}
.ngrid .nci {
  background: #DCE8F4;
}
.ngrid .nct {
  padding: 18px 20px 16px;
}
@media (max-width: 1100px) {
  .ngrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  .ngrid {
    grid-template-columns: minmax(0,1fr);
  }
}
.fsec .w {
  padding-top: 56px;
  padding-bottom: 64px;
}
.fsec .ftt {
  font-size: clamp(32px,4.2vw,56px);
  font-weight: 800;
  color: #12355B;
}
.fsec .fsub {
  font-size: 18px;
  color: #5b6b7d;
}
.fcard {
  position: relative;
  transition: opacity 1s cubic-bezier(.2,.7,.2,1),transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s cubic-bezier(.2,.7,.2,1);
}
.fcard .ftx {
  padding: 26px 26px 28px;
}
.fcard .fk {
  font-size: 12px;
  font-weight: 700;
  color: #6CB4F0;
}
.fcard .ft {
  font-size: 30px;
  font-weight: 700;
}
.fcard .fd {
  font-size: 15px;
  color: rgba(255,255,255,.92);
}
.fcard .fl {
  font-size: 15px;
  font-weight: 700;
  color: #6CB4F0;
}
.fcard.rv {
  transform: translateY(60px);
}
@media (max-width: 640px) {
  .fcard .ft {
    font-size: 26px;
  }
}
.fsec .w {
  padding-top: 48px;
  padding-bottom: 48px;
}
.fsec .ftt {
  font-size: clamp(26px,4vw,36px);
  font-weight: 700;
}
.fsec .fsub {
  font-size: 16px;
}
.fcard .ftx {
  padding: 20px 20px 22px;
}
.fcard .ft {
  font-size: 22px;
}
.fcard .fd {
  font-size: 14px;
}
@media (max-width: 640px) {
  .fcard .ft {
    font-size: 22px;
  }
}
.fsec .w {
  padding: 48px 20px;
}
.ssec .w {
  padding: 48px 20px 56px;
}
.ssec .sth {
  font-size: clamp(26px,4vw,36px);
  font-weight: 700;
  color: #12355B;
}
.ssec .ssub {
  font-size: 18px;
  color: #5b6b7d;
}
.st {
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.sc {
  transition: transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .4s cubic-bezier(.2,.7,.2,1);
}
.sc:hover,
.sc:focus-visible {
  transform: translateY(-6px);
}
.sar {
  top: 132px;
  z-index: 3;
  width: 40px;
  height: 40px;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
  transition: background .2s,transform .2s;
}
.sar:hover {
  transform: scale(1.08);
}
.sp {
  left: 12px;
}
.sn {
  right: 12px;
}
.sdot {
  width: 8px;
  height: 8px;
  transition: background .3s,transform .3s;
}
.sdot.on {
  transform: scale(1.25);
}
@media (max-width: 640px) {
  .sci {
    height: 220px;
  }
  .sar {
    top: 100px;
  }
}
.sc,
.sc:hover,
.sc:focus-visible {
  box-shadow: none;
}
.ngrid .nc,
.fcard,
.sc {
  box-shadow: 0 4px 12px rgba(30,60,80,.08);
}
.ngrid .nc.rv.in,
.fcard.rv.in,
.sc {
  transition: box-shadow .3s ease,transform .3s ease;
}
.ngrid .nc.rv.in:hover,
.ngrid .nc.rv.in:focus-within,
.fcard.rv.in:hover,
.fcard.rv.in:focus-visible,
.sc:hover,
.sc:focus-visible {
  box-shadow: 0 12px 28px rgba(30,60,80,.18);
  transform: translateY(-3px);
  transition-delay: 0s;
}
.fcard.rv {
  transform: translateY(56px);
  transition: none;
}
.ngrid .nc.rv,
.ngrid .nc.rv.up,
.fcard.rv,
.fcard.rv.up {
  transform: scale(.8);
  transform-origin: center center;
}
.qsec .w {
  padding: 48px 20px 56px;
}
.qsec .qh {
  font-size: clamp(26px,4vw,36px);
  font-weight: 700;
  color: #12355B;
}
.qsec .qsub {
  font-size: 18px;
  color: #5b6b7d;
}
.qcard {
  box-shadow: none;
  transition: box-shadow .3s ease,transform .3s ease;
}
.qcard:hover,
.qcard:focus-visible {
  box-shadow: none;
}
.qim img,
.qim .qic {
  transition: transform .7s cubic-bezier(.2,.7,.2,1),filter .4s ease;
}
.rich {
  line-height: 1.75;
}
.rich>*:first-child {
  margin-top: 0;
}
.rich p {
  margin: 0 0 1em;
}
.rich h1,
.rich h2,
.rich h3,
.rich h4,
.rich h5,
.rich h6 {
  color: #12355B;
  line-height: 1.25;
}
.rich h3 {
  font-size: 1.35em;
}
.rich h4 {
  font-size: 1.15em;
}
.rich h5 {
  font-size: 1em;
}
.rich ul,
.rich ol {
  margin: 0 0 1em;
  padding-left: 1.6em;
}
.rich ul {
  list-style: disc;
}
.rich ol {
  list-style: decimal;
}
.rich blockquote {
  margin: 1em 0;
  padding: .6em 1em;
  border-left: 4px solid #2E6DA4;
  background: rgba(46,109,164,.08);
}
.rich pre {
  background: #f1f3f5;
  color: #1d2327;
  padding: 12px 14px;
  overflow: auto;
  font-size: .9em;
  margin: 0 0 1em;
  white-space: pre-wrap;
}
.rich code {
  font-family: Consolas,Menlo,monospace;
}
.rich table {
  border-collapse: collapse;
  max-width: 100%;
  margin: 0 0 1em;
  display: block;
  overflow-x: auto;
}
.rich td,
.rich th {
  border: 1px solid #cfd8e0;
  padding: 8px 10px;
  min-width: 40px;
  vertical-align: top;
}
.rich th {
  background: #eef3f8;
  text-align: left;
}
.rich img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 1em;
}
.rich hr {
  border: 0;
  border-top: 1px solid #cfd8e0;
  margin: 1.4em 0;
}
.rich video {
  max-width: 100%;
  display: block;
  margin: 0 0 1em;
}
.rich a {
  text-decoration: underline;
}
.pt {
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.pti {
  height: 150px;
}
.pti img {
  max-width: 86%;
  max-height: 100%;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.plph {
  height: 130px;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
@media (max-width: 640px) {
  .pti {
    height: 120px;
  }
  .plph {
    height: 100px;
  }
}
.ogc {
  transition: box-shadow .3s ease,transform .3s ease;
}
.ogc img {
  display: block;
  height: 100%;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.ogc.rv {
  transition: none;
}
.ogc.rv.in {
  transition: box-shadow .3s ease,transform .3s ease;
}
.ogc.rv.in:hover,
.ogc.rv.in:focus-visible {
  box-shadow: 0 12px 28px rgba(30,60,80,.18);
}
.lb {
  inset: 0;
  transition: opacity .25s ease;
}
.lb img {
  max-width: min(92vw,900px);
  max-height: 92vh;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.lbx,
.lbn {
  transition: background .2s,transform .2s;
}
.lbx {
  top: 16px;
  right: 16px;
  height: 44px;
}
.lbn {
  top: 50%;
  height: 44px;
}
.lbp {
  left: 16px;
}
.lbnx {
  right: 16px;
}
footer .cp {
  max-width: 1280px;
  text-align: center;
  color: #b8c4d0;
}

/* 11-panel-admina */
.box {
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}
.r {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 6px 0;
}
.r input {
  flex: 1;
  min-width: 140px;
}
.ind {
  margin-left: 22px;
  border-left: 2px solid var(--ln);
  padding-left: 10px;
}
.msg {
  font-weight: 700;
  min-height: 22px;
}
.tgl {
  display: none;
}
.pg {
  margin: 0 auto;
  padding: 40px 20px 64px;
}
@media (max-width: 1180px) {
  .tgl {
    display: block;
    border: 0;
  }
}
#lg {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(18,53,91,.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20,22,25,.6);
}
#lg.on {
  display: flex;
}
#lg form {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  background: #2b2e33;
  color: #e4e6e9;
  border: 1px solid #454a50;
}
.ngrid {
  display: grid;
  gap: 24px;
  align-items: start;
}
.nc {
  padding: 20px;
}
.nci {
  display: block;
}
.gal {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
#panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #F5F7FA;
  display: none;
  background: #2b2e33;
  color: #e4e6e9;
}
#psb {
  width: 240px;
  background: #12355B;
  color: #fff;
  padding: 24px;
  flex: none;
  overflow: auto;
  background: #1d1f23;
  color: #e4e6e9;
  border-right: 1px solid #383c42;
}
#psb h2 {
  font-size: 22px;
  margin-bottom: 24px;
  color: #fff;
}
#psb button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: #fff;
  padding: 10px 12px;
  font: 500 15px 'Roboto',sans-serif;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 4px;
  color: #d3d6da;
  text-decoration: none;
  border-radius: 6px;
  transition: background .2s,color .2s;
}
#psb button.on {
  background: #2E6DA4;
}
.pm {
  flex: 1;
  padding: 32px;
  overflow: auto;
}
.pm h2 {
  font-size: 26px;
  margin: 0 0 16px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .two {
    grid-template-columns: 1fr;
  }
  #panel.on {
    flex-direction: column;
  }
  #psb {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px;
  }
  #psb h2 {
    width: 100%;
    margin: 0 0 6px;
  }
  #psb button {
    width: auto;
  }
  .pm {
    padding: 16px;
  }
}
.row {
  margin: 0 0 8px;
}
.row input {
  flex: 1;
  min-width: 140px;
  border: 0;
  padding: 8px;
}
.row .nm {
  flex: 1;
}
.hr {
  margin-left: auto;
}
.ph {
  border-left: 1px solid rgba(0,0,0,.18);
}
.hero {
  margin-top: -78px;
}
.fkk {
  margin-bottom: 6px;
}
.fcard {
  overflow: hidden;
}
.fcard .ftx {
  flex-direction: column;
}
.swrap {
  position: relative;
}
.sv {
  overflow: hidden;
  margin: -6px -2px -14px;
}
.sc {
  overflow: hidden;
}
.sci {
  overflow: hidden;
}
.sct {
  overflow: hidden;
}
.sar {
  position: absolute;
}
.sd {
  margin-top: 22px;
}
.sv {
  margin: -10px -10px -44px;
}
.swrap.rv,
.swrap.rv.up {
  transform: none;
  opacity: 0;
}
.ngrid .nc.rv,
.ngrid .nc.rv.up,
.fcard.rv,
.fcard.rv.up {
  transform: translateY(56px);
}
.ngrid .nc.rv.in,
.fcard.rv.in {
  transform: none;
}
.swrap.rv,
.swrap.rv.up {
  transform: translateY(54px) scale(.97);
}
.swrap.rv.in {
  opacity: 1;
  transform: none;
}
.ngrid .nc.rv.in:hover,
.ngrid .nc.rv.in:focus-within,
.fcard.rv.in:hover,
.fcard.rv.in:focus-visible {
  transform: translateY(-3px);
}
#panel h1,
#panel h2,
#panel h3,
#panel label {
  color: #eceef0;
}
#panel a {
  color: #c3c8ce;
}
#psb h2 {
  color: #f2f3f5;
}
#psb button:hover {
  background: #2d3035;
  color: #fff;
}
#psb button.on {
  background: #484d54;
  color: #fff;
}
#panel .pm {
  background: #2b2e33;
}
#panel .box,
#panel .row {
  background: #34383d;
  border: 1px solid #454a50;
  color: #e4e6e9;
}
#panel .box {
  border-radius: 10px;
}
#panel input,
#panel textarea,
#panel select {
  background: #25282c;
  border: 1px solid #555b62;
  color: #eceef0;
}
#panel input::placeholder,
#panel textarea::placeholder {
  color: #8b9198;
}
#panel input:focus,
#panel textarea:focus,
#panel select:focus {
  outline: 2px solid #8d949c;
  outline-offset: 1px;
  border-color: #8d949c;
}
#panel .row input {
  background: transparent;
  border: 0;
  color: #eceef0;
}
#panel .btn {
  background: #5a6068;
  color: #fff;
}
#panel .btn:hover {
  background: #6c737b;
}
#panel .btn.s {
  background: #3f444a;
  color: #e4e6e9;
  border: 1px solid #50565d;
}
#panel .btn.s:hover {
  background: #4d535a;
}
#panel .msg {
  color: #d6d9dd;
}
#panel .tgl,
#panel .row button {
  color: #e4e6e9;
}
#panel hr {
  border-color: #454a50;
}
#panel ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
#panel ::-webkit-scrollbar-track {
  background: #25282c;
}
#panel ::-webkit-scrollbar-thumb {
  background: #555b62;
  border-radius: 6px;
}
#adm .btn {
  background: #3a3e44;
  color: #fff;
  border: 1px solid #555b62;
}
#adm .btn:hover {
  background: #4d535a;
}
#lg label,
#lg h2,
#lg h3 {
  color: #eceef0;
}
#lg input {
  background: #25282c;
  border: 1px solid #555b62;
  color: #eceef0;
}
#lg .btn {
  background: #5a6068;
  color: #fff;
}
#lg .btn:hover {
  background: #6c737b;
}
#lg .btn.s {
  background: #3f444a;
  color: #e4e6e9;
}
.qcard:hover,
.qcard:focus-visible {
  transform: translateY(-3px);
}
.qim {
  overflow: visible;
  position: relative;
}
.qim img,
.qim .qic {
  transform: scale(1);
}
.qcard:hover .qim img,
.qcard:hover .qim .qic,
.qcard:focus-visible .qim img,
.qcard:focus-visible .qim .qic {
  transform: scale(1.14);
  filter: drop-shadow(0 12px 14px rgba(30,60,80,.35));
}
.qt {
  margin-top: 12px;
}
.qcard.rv {
  opacity: 0;
  transform: translateY(56px);
}
.qcard.rv.up {
  opacity: 0;
  transform: translateY(56px);
}
.qcard.rv.in {
  opacity: 1;
  transform: none;
}
.qcard.rv.in:hover,
.qcard.rv.in:focus-visible {
  transform: translateY(-3px);
}
.rich {
  overflow-wrap: anywhere;
}
.rich h1,
.rich h2,
.rich h3,
.rich h4,
.rich h5,
.rich h6 {
  margin: 1.4em 0 .5em;
}
.rich h2 {
  font-size: 1.6em;
}
.rich .vid {
  position: relative;
  aspect-ratio: 16/9;
  margin: 0 0 1em;
}
.rich .vid iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.rte {
  position: relative;
  margin: 4px 0 14px;
}
.rte-tb .tlab {
  color: #c3c8ce;
  font-size: 13px;
  margin: 0 4px;
}
.rte-tb .tb {
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  min-width: 32px;
}
.rte-tb .tb.on {
  color: #14161a;
  border-color: #a9afb6;
}
.rte-tb .tb:disabled,
.rte-tb select:disabled,
.rte-tb input:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.rte-tb select.tsel {
  width: auto;
  height: 30px;
  padding: 0 6px;
  font-size: 13px;
  color: #eceef0;
  border: 1px solid #555b62;
  border-radius: 4px;
  height: 32px;
}
.rte-tb .sep {
  width: 1px;
  height: 22px;
  margin: 0 3px;
}
.rte-ed {
  max-height: 70vh;
  overflow: auto;
  outline: 0;
  resize: vertical;
}
.rte-ed:focus {
  box-shadow: 0 0 0 2px rgba(141,148,156,.5);
}
#panel .rte-ed h1,
#panel .rte-ed h2,
#panel .rte-ed h3,
#panel .rte-ed h4,
#panel .rte-ed h5 {
  color: #12355B;
}
#panel .rte-ed a {
  color: #1a73c9;
}
#panel .rte-ed p,
#panel .rte-ed li,
#panel .rte-ed td,
#panel .rte-ed th {
  color: inherit;
}
.rte-ed td,
.rte-ed th {
  border-style: dashed;
}
.rte-src {
  width: 100%;
  max-height: 70vh;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
  white-space: pre;
}
.rte-pop {
  position: absolute;
  z-index: 30;
  max-width: min(380px,96%);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.rte-pop .pl {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #e4e6e9;
}
.rte-pop .pc {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #e4e6e9;
}
.rte-grid {
  max-height: 220px;
  overflow: auto;
}
.rte-grid .gc {
  height: 34px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
@media (max-width: 700px) {
  .rte-tb select.tsel {
    max-width: 46%;
  }
}
.hero .sl {
  color: rgba(255,255,255,.8);
}
.qic {
  position: relative;
}
.psec .w {
  margin: 0 auto;
  padding: 48px 20px 56px;
}
.psec .pth {
  font-size: clamp(26px,4vw,36px);
  font-weight: 700;
  line-height: 1.2;
  color: #12355B;
  margin: 0 0 10px;
}
.psec .psub {
  font-size: 18px;
  line-height: 1.6;
  color: #5b6b7d;
  margin: 0 0 32px;
}
.pwrap .sv {
  padding: 6px 2px 10px;
  margin: -6px -2px -10px;
}
.pwrap .sar {
  top: 70px;
}
.pti {
  width: 100%;
  overflow: hidden;
}
.plph {
  width: 130px;
}
.ptn {
  margin-top: 14px;
  line-height: 1.3;
  max-width: 100%;
}
.pt:hover .pti img,
.pt:focus-visible .pti img,
.pt:hover .plph,
.pt:focus-visible .plph {
  transform: scale(1.1);
}
@media (max-width: 640px) {
  .plph {
    width: 100px;
  }
}
#ogloszenia .nsub {
  color: #5b6b7d;
}
.ogc {
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(30,60,80,.08);
}
.ogc img {
  transform: scale(1);
}
.ogc.rv {
  opacity: 0;
  transform: translateY(56px);
}
.ogc.rv.up {
  opacity: 0;
  transform: translateY(56px);
}
.ogc.rv.in {
  opacity: 1;
  transform: none;
}
.ogc.rv.in:hover,
.ogc.rv.in:focus-visible {
  transform: translateY(-3px);
}
.lb {
  position: fixed;
  z-index: 120;
}
.lb.on {
  opacity: 1;
}
.lb img {
  transform: scale(.94);
}
.lbx,
.lbn {
  position: absolute;
}
.lbx:hover,
.lbn:hover {
  transform: scale(1.08);
}
.lbx {
  width: 44px;
}
.lbn {
  margin-top: -22px;
  width: 44px;
}
.crov {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.crbox {
  max-width: min(96vw,940px);
  max-height: 96vh;
  overflow: auto;
}
.crc {
  max-width: 100%;
  height: auto;
  touch-action: none;
}
.crbox .btn.s {
  color: #e4e6e9;
}
.crbox .btn.s.on {
  color: #1d1f23;
}
.rte-tb .rbr {
  flex-basis: 100%;
  height: 0;
}
.rte-tb .tb {
  height: 32px;
  padding: 0 6px;
}
.rte-tb .tb svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rte-tb .tb .g {
  font-family: Calibri,Carlito,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
  line-height: 1;
}
.rte-tb .tb.g {
  font-family: Calibri,Carlito,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
}
.rte-tb .tb.sm {
  font-size: 14px;
}
.rte-tb .tb sub,
.rte-tb .tb sup {
  font-size: 11px;
  color: #7fb2e6;
}
.rte-tb .tb.on sub,
.rte-tb .tb.on sup {
  color: #14161a;
}
.rte-tb .cr {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 3px;
}
.rte-tb .spl {
  display: inline-flex;
}
.rte-tb .spl .tb:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  min-width: 30px;
}
.rte-tb .spl .carb {
  min-width: 16px;
  padding: 0 3px;
}
.rte-tb .spl .carb .cr {
  margin: 0;
}
.rte-pop .pt {
  font-size: 12px;
  color: #aab0b7;
}
.rte-pop .sw {
  width: 22px;
  height: 22px;
  padding: 0;
  cursor: pointer;
}
.rte-pop .mi {
  width: 100%;
}
footer .cp {
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.18);
}

/* 12-dostepnosc */
html.a-fx {
  filter: contrast(var(--c,1)) saturate(var(--s,1));
}
html.a-lnk a {
  background: #ff0 !important;
  color: #000 !important;
  text-decoration: underline !important;
}
html.a-big body {
  zoom: 1.2;
}
html.a-sp * {
  letter-spacing: .12em !important;
  word-spacing: .16em;
}
html.a-noanim * {
  animation: none !important;
  transition: none !important;
}
html.a-noimg .bg,
html.a-noimg .ph {
  background-image: none !important;
}
html.a-noimg img {
  visibility: hidden;
}
html.a-dys * {
  font-family: 'Comic Sans MS','Trebuchet MS',Verdana,sans-serif !important;
}
html.a-cur,
html.a-cur * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M4 2l26 14-11 3 7 14-5 3-7-14-8 8z' fill='black' stroke='white' stroke-width='2'/%3E%3C/svg%3E") 4 2,auto !important;
}
html.a-lh * {
  line-height: 2 !important;
}
html.a-al * {
  text-align: left !important;
}
#uw {
  position: fixed;
  left: 12px;
  top: 50%;
  z-index: 70;
  width: 56px;
  height: 56px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  left: auto;
  right: 0;
  top: 318px;
  width: 80px;
  height: 80px;
  background: #0B2A55;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 16;
  transition: filter .2s;
}
#uwp {
  position: fixed;
  left: 12px;
  top: 6vh;
  z-index: 71;
  width: 310px;
  max-height: 88vh;
  overflow: auto;
  background: #F1F3F6;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  display: none;
  color: #12355B;
  left: auto;
  right: 92px;
}
#uwp.on {
  display: block;
}
#uwp .uwh {
  position: static;
  background: #0B3A6E;
  color: #fff;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  border: 0;
}
#uwp .uwh button {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
}
.uwg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}
.uwb {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 14px 6px;
  cursor: pointer;
  font: 700 13px 'Roboto',sans-serif;
  color: #12355B;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 88px;
}
.uwb span {
  font-size: 24px;
  line-height: 1;
}
.uwb.on {
  border-color: #2E6DA4;
  background: #E6F1FB;
}
#tt {
  position: fixed;
  z-index: 90;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  pointer-events: none;
  display: none;
  max-width: 280px;
}
#ck .t {
  display: flex;
}
#lb.on {
  display: flex;
}
#panel.on {
  display: flex;
}
.row {
  background: #fff;
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.top {
  flex-wrap: nowrap;
}
.hr {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ph {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
}
.pg {
  padding-top: 130px;
}
.ngrid {
  gap: 36px;
  display: grid;
  gap: 24px;
  align-items: stretch;
}
.nc {
  display: flex;
  padding: 0;
  background: rgba(255,255,255,.6);
}
.nct {
  flex: 1;
  padding: 36px 44px;
}
.nci {
  flex: none;
}
html.a-noanim .rv {
  opacity: 1 !important;
  transform: none !important;
}
@media (max-width: 760px) {
  .nc {
    flex-direction: column-reverse;
  }
  .nct {
    padding: 22px;
  }
}
@media (max-width: 1180px) {
  #uw {
    top: auto;
    bottom: 16px;
    right: 12px;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    z-index: 70;
  }
  #uw svg {
    width: 44px;
    height: 44px;
  }
  #uwp {
    right: 12px;
    left: auto;
    top: 6vh;
  }
}
#uw:hover,
#uw:focus {
  filter: brightness(1.3);
}
html.a-noanim .ngrid .nc,
html.a-noanim .ngrid .nci img {
  transition: none !important;
}
.fsec {
  background: var(--bg2);
}
.fkk {
  font-size: 13px;
  font-weight: 700;
  color: #1E7C8C;
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 22px;
  gap: 24px;
}
.fcard {
  display: block;
  min-height: 580px;
  border-radius: 16px;
  color: #fff;
  background: #061e34;
}
@media (max-width: 1100px) {
  .fgrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .fcard {
    min-height: 500px;
  }
}
@media (max-width: 640px) {
  .fgrid {
    grid-template-columns: minmax(0,1fr);
  }
  .fcard {
    min-height: 460px;
  }
}
html.a-noanim .fcard,
html.a-noanim .fcard .fim img {
  transition: none !important;
}
html.a-noanim .fcard.rv {
  opacity: 1 !important;
  transform: none !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.fcard {
  min-height: 0;
}
@media (max-width: 1100px) {
  .fcard {
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .fcard {
    min-height: 0;
  }
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
}
.fcard {
  min-height: 580px;
}
@media (max-width: 1100px) {
  .fgrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .fcard {
    min-height: 500px;
  }
}
@media (max-width: 640px) {
  .fgrid {
    grid-template-columns: minmax(0,1fr);
  }
  .fcard {
    min-height: 460px;
  }
}
.fsec {
  background: #f4f7f2;
}
.ssec {
  background: #fff;
}
.sv {
  padding: 6px 2px 14px;
}
.st {
  display: flex;
}
.sc {
  flex: none;
  display: block;
  background: #fff;
  border: 1px solid #dfe8f0;
  border-radius: 12px;
  color: #12355B;
}
.sci {
  display: block;
  background: #DCE8F4;
}
.sct {
  display: block;
  padding: 22px 18px;
  font-size: 17px;
  font-weight: 700;
}
.sar {
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #12355B;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
}
.sar:hover {
  background: #fff;
}
.sd {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.sdot {
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d2db;
  cursor: pointer;
}
.sdot.on {
  background: #12355B;
}
html.a-noanim .st,
html.a-noanim .sc,
html.a-noanim .sci img {
  transition: none !important;
}
.ssec {
  background: #f4f7f2;
}
html.a-noanim .ngrid .nc.rv {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
@media (max-width: 1100px) {
  .ngrid {
    grid-auto-rows: minmax(440px,auto);
  }
}
.ngrid .nc,
.fcard,
.sc {
  border: 1px solid #dce5eb;
  border-radius: 20px;
  border-radius: 0;
}
.sv {
  padding: 10px 10px 44px;
}
html.a-noanim .swrap.rv .sc {
  animation: none !important;
}
.qgrid {
  display: grid;
  grid-template-columns: repeat(8,minmax(0,1fr));
  gap: 16px;
}
.qcard {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: 0 solid transparent;
  border-radius: 0;
  color: #12355B;
}
.qim {
  display: block;
  background: transparent;
}
.qic {
  color: #12355B;
  background: linear-gradient(145deg,#DCE8F4,#c4d7ea);
}
.qt {
  display: block;
  font-weight: 700;
  font-size: 15px;
}
html.a-noanim .qcard.rv {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
html.a-noanim .qcard,
html.a-noanim .qim img,
html.a-noanim .qim .qic {
  transition: none !important;
}
@media (max-width: 1100px) {
  .qgrid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  .qgrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }
}
.rich .vid {
  background: #000;
}
.rte-tb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding: 6px;
  background: #3a3e44;
  border: 1px solid #555b62;
  border-bottom: 0;
}
.rte-tb2 {
  background: #2f3338;
  border-top: 1px solid #555b62;
}
.rte-tb .tb {
  background: #4a4f56;
  border: 1px solid #5b6169;
  border-radius: 4px;
}
.rte-tb .tb:hover:not(:disabled) {
  background: #5d636b;
}
.rte-tb .tb.on {
  background: #8d949c;
}
.rte-tb select.tsel {
  background: #25282c;
}
.rte-tb .sep {
  background: #5b6169;
}
.rte-ed {
  min-height: 300px;
  padding: 16px 18px;
  background: #fff;
  color: #1d2327;
  border: 1px solid #555b62;
  font-size: 16px;
}
.rte-ed:focus {
  border-color: #8d949c;
}
.rte-src {
  display: block;
  min-height: 320px;
  padding: 14px;
  font-family: Consolas,Menlo,monospace;
  font-size: 13px;
  background: #1b1d20;
  color: #d9dde1;
  border: 1px solid #555b62;
}
.rte-st {
  padding: 5px 8px;
  font-size: 12px;
  color: #aab0b7;
  background: #34383d;
  border: 1px solid #555b62;
  border-top: 0;
}
.rte-pop {
  min-width: 240px;
  padding: 12px;
  background: #34383d;
  border: 1px solid #6a7078;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rte-grid {
  display: grid;
  grid-template-columns: repeat(8,1fr);
  gap: 4px;
}
.rte-grid .gc {
  background: #25282c;
  border: 1px solid #50565d;
}
.rte-grid .gc:hover {
  background: #5d636b;
}
#side a.ic.fb {
  background: rgba(10,34,214,.82);
}
#side a.ic.vu {
  background: rgba(51,2,97,.82);
}
#uw {
  background: rgba(11,42,85,.82);
  top: var(--uwt,330px);
  width: 56px;
  height: 56px;
}
#side a.ic,
#uw {
  transition: background-color .25s ease,filter .2s;
  border-radius: 12px;
  opacity: 1;
}
#side a.ic.fb:hover,
#side a.ic.fb:focus {
  background: rgba(10,34,214,1);
}
#side a.ic.vu:hover,
#side a.ic.vu:focus {
  background: rgba(51,2,97,1);
}
#uw:hover,
#uw:focus,
#uw[aria-expanded="true"] {
  background: rgba(11,42,85,1);
}
@media (min-width: 1181px) {
  .sub {
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(255,255,255,.5);
  }
  .sub a:hover,
  .sub button.l:hover,
  .sub a:focus-visible,
  .sub button.l:focus-visible,
  .sub li:hover>a,
  .sub li:focus-within>a,
  .sub li:hover>button.l {
    background: #f4f7f2;
  }
}
@media (max-width: 1180px) {
  .sub a:hover,
  .sub button.l:hover {
    background: #f4f7f2;
  }
}
.ngrid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-auto-rows: 440px;
}
@media (max-width: 1100px) {
  .ngrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-auto-rows: minmax(440px,auto);
  }
}
@media (max-width: 700px) {
  .ngrid {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (min-width: 1181px) {
  .sub a:hover,
  .sub button.l:hover,
  .sub a:focus-visible,
  .sub button.l:focus-visible,
  .sub li:hover>a,
  .sub li:focus-within>a,
  .sub li:hover>button.l {
    background: rgba(244,247,242,.72);
  }
}
@media (max-width: 1180px) {
  .sub a:hover,
  .sub button.l:hover {
    background: rgba(244,247,242,.72);
  }
  #uw {
    top: auto;
    bottom: 16px;
    right: 12px;
    width: 56px;
    height: 56px;
  }
}
.ngrid .nc,
.ngrid .nc.big {
  border-radius: 8px;
}
.fcard,
.sc,
.qcard {
  border-radius: 8px;
}
.hero .sl {
  background: none;
}
.qic {
  color: #fff;
  background: linear-gradient(145deg,#2E6DA4,#12355B);
}
.qic.c-book {
  background: linear-gradient(145deg,#3B8BD9,#12355B);
}
.qic.c-doc {
  background: linear-gradient(145deg,#FFB547,#E0701B);
}
.qic.c-scales {
  background: linear-gradient(145deg,#8B6BD6,#3F2B7A);
}
.qic.c-cal {
  background: linear-gradient(145deg,#2FC1AE,#0B6B63);
}
.qic.c-cup {
  background: linear-gradient(145deg,#FFC93C,#D4780B);
}
.qic.c-fb {
  background: linear-gradient(145deg,#4F74F0,#1B2F9E);
}
.qic.c-heart {
  background: linear-gradient(145deg,#FF6F95,#BE244D);
}
.qic.c-phone {
  background: linear-gradient(145deg,#46C98D,#1B7F55);
}
.ngrid .nc,
.ngrid .nc.big {
  background: #f5f8f3;
}
.ngrid .nct {
  background: transparent;
}
#side a.ic.fb {
  background: rgba(14,38,118,.84);
}
#side a.ic.fb:hover,
#side a.ic.fb:focus {
  background: rgba(14,38,118,1);
}
.psec {
  background: #fff;
}
.pt {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #12355B;
}
.pti {
  display: flex;
  align-items: center;
  justify-content: center;
}
.plph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  color: #12355B;
  background: linear-gradient(145deg,#DCE8F4,#c4d7ea);
}
.ptn {
  display: block;
  font-weight: 700;
  font-size: 15px;
}
html.a-noanim .pti img,
html.a-noanim .plph,
html.a-noanim .pt {
  transition: none !important;
}
@media (max-width: 640px) {
  .plph {
    font-size: 28px;
  }
}
.plph {
  font-size: 30px;
}
#ck {
  background: rgba(255,255,255,.74);
}
#ck button.ok:hover {
  background: #3a3e44;
}
html.a-noanim #ck.on {
  animation: none;
}
.ogrid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
}
.ogc {
  display: block;
  padding: 0;
  border: 1px solid #dce5eb;
  border-radius: 8px;
  background: #f5f8f3;
  cursor: zoom-in;
}
html.a-noanim .ogc.rv {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
html.a-noanim .ogc,
html.a-noanim .ogc img {
  transition: none !important;
}
@media (max-width: 1100px) {
  .ogrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  .ogrid {
    grid-template-columns: minmax(0,1fr);
  }
}
.lb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,30,52,.84);
  padding: 24px;
}
.lb img {
  background: #fff;
}
.lbx,
.lbn {
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #12355B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lbx:hover,
.lbn:hover {
  background: #fff;
}
.lbx {
  font-size: 20px;
}
.lbn {
  font-size: 30px;
  padding-bottom: 4px;
}
html.a-noanim .lb,
html.a-noanim .lb img {
  transition: none !important;
}
.psec {
  background: #f4f7f2;
}
#side a.ic.fb,
#side a.ic.fb:hover,
#side a.ic.fb:focus {
  background: #0135A3;
}
#side a.ic.vu,
#side a.ic.vu:hover,
#side a.ic.vu:focus {
  background: #4B0675;
}
#uw,
#uw:hover,
#uw:focus,
#uw[aria-expanded="true"] {
  background: #0B2A55;
}
#side a.ic svg,
#uw svg {
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  transform-origin: center;
}
#side a.ic:hover svg,
#side a.ic:focus-visible svg,
#uw:hover svg,
#uw:focus-visible svg {
  transform: scale(1.18);
}
.crov {
  background: rgba(10,12,16,.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.crbox {
  background: #2b2e33;
  color: #eceef0;
  border: 1px solid #454a50;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crh {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cri {
  font-size: 14px;
  color: #c3c8ce;
}
.crs {
  font-size: 13px;
  color: #aeb4bb;
}
.crw {
  display: flex;
  justify-content: center;
  background: #1d1f23;
  border-radius: 8px;
  padding: 8px;
}
.crc {
  display: block;
}
.crt,
.crf {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.crf {
  justify-content: flex-end;
}
.crbox .btn.s {
  background: #3f444a;
  border: 1px solid #50565d;
}
.crbox .btn.s.on {
  background: #e4e6e9;
}
.cre {
  color: #ffb4b4;
  min-height: 0;
}
.rte-tb .tb {
  background: transparent;
  border-color: transparent;
}
.rte-tb .cr {
  border: 3.5px solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
}
.rte-tb .spl .carb {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.rte-pal {
  display: grid;
  grid-template-columns: repeat(10,22px);
  gap: 3px;
}
.rte-pop .sw {
  border: 1px solid #6a7078;
}
#side a.ic {
  border-radius: 10px;
}
#uw {
  border-radius: 10px;
}
#uw svg {
  width: 38px;
  height: 38px;
}
#uwp {
  right: 68px;
}
@media (max-width: 1180px) {
  #uw svg {
    width: 38px;
    height: 38px;
  }
  #uwp {
    right: 12px;
  }
}
#side a.ic.zp {
  background: #001D55;
}
#side a.ic:hover svg,
#side a.ic:focus-visible svg {
  transform: scale(1.18);
}
footer .cp {
  font-size: 13px;
}

/* 13 – poprawki dostępności (WCAG 2.2 AA) */
.skip {
  position: absolute; left: 8px; top: -100px; z-index: 200;
  background: #12355B; color: #fff; padding: 12px 18px; border: 2px solid #fff;
  font: 700 16px Roboto, Arial, sans-serif; text-decoration: none; cursor: pointer;
}
.skip:focus { top: 8px; }
#view:focus { outline: none; }
html { scroll-padding-top: 96px; }
.more { min-height: 24px; }
.hp {
  position: absolute; left: 16px; top: 164px; z-index: 4; width: 44px; height: 44px;
  border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.hp:hover { background: rgba(0,0,0,.7); }
#nav li.esc > .sub { display: none !important; }

/* Poprawki po testach z 8.11.2026 (RAPORT_WCAG.md, F1) */
/* 1) Przycisk pauzy leżał pod logo (logo ma 150 px wysokości) – przesunięty pod logo (reguła .hp wyżej: top 164 px). */
/* 2) Kropki karuzel były przesłonięte przez .sv (ujemny margines dolny) – wyższa warstwa dla .sd. */
.sd { position: relative; z-index: 1; }
/* 3) Przy 320–380 px przycisk „Menu” wychodził poza ekran – ciaśniejszy nagłówek. */
@media (max-width: 380px) {
  header { padding-right: 6px; gap: 4px; }
  .hr { gap: 4px; }
  #burger { margin-left: 0; }
  .hr .gd { max-width: 38px; object-fit: contain; }
}


/* ===== Dodatki WordPress (nie występowały w statycznym projekcie) ===== */
.admin-bar header { top: 32px; }
@media (max-width: 782px) { .admin-bar header { top: 46px; } }
.screen-reader-text { position: absolute; left: -9999px; }
.screen-reader-text:focus { left: 8px; top: 8px; z-index: 200; background: #fff; padding: 8px 12px; }
.skip-link { display: none; }

/* treść edytowana w edytorze blokowym */
.rich .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.rich .alignright { float: right; margin: .3em 0 1em 1.4em; }
.rich .aligncenter { margin-left: auto; margin-right: auto; }
.rich::after { content: ""; display: table; clear: both; }
.rich figure { margin: 0 0 1em; }
.rich figcaption, .rich .wp-element-caption { font-size: 14px; color: #5b6b7d; }
.rich .wp-block-gallery img { margin: 0; }
.rich .wp-block-gallery a { text-decoration: none; }
.rich .wp-block-button__link { text-decoration: none; }
.pg small { display: block; color: #666; font-size: 14px; margin-bottom: 8px; }
.pg .btn { color: #fff; }
.pg .btn.s { color: var(--tx); }

/* lista aktualności (archiwum) i paginacja */
.pg.pg-wide { max-width: 1300px; }
.pg-wide .ngrid { margin-top: 24px; }
.pg-wide .ngrid .nc.rv { opacity: 1; transform: none; }
.navigation.pagination { margin-top: 32px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.navigation.pagination .page-numbers { display: inline-block; min-width: 44px; padding: 10px 14px; text-align: center; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(18,53,91,.1); font-weight: 700; }
.navigation.pagination .page-numbers.current { background: #2E6DA4; color: #fff; }
.navigation.pagination .screen-reader-text { position: absolute; left: -9999px; }
.pg-search { margin: 18px 0 28px; max-width: 480px; display: flex; gap: 8px; }
.pg-search input { flex: 1; }
