:root {
  --zsm-blue: #2457ff;
  --zsm-blue-dark: #173ee8;
  --zsm-text: #0f172a;
  --zsm-muted: #475569;
  --zsm-border: #e5eaf4;
  --zsm-soft: #eef3ff;
  --zsm-soft-2: #f6f8ff;
  --zsm-shadow: 0 24px 60px rgba(15,23,42,.13);
}

html,
body {
  overflow-x: hidden !important;
}

body .container-header,
body .container-header.full-width,
body header.header {
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}

body .zsm-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--zsm-border);
  position: relative;
  z-index: 100;
}

body .zsm-navbar {
  width: 100%;
  max-width: 1360px;
  min-height: 92px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* BRAND */

body .zsm-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--zsm-text) !important;
  text-decoration: none !important;
}









/* DESKTOP MENU */

body .zsm-menu {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .zsm-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}

body .zsm-menu > li > a,
body .zsm-menu > li > a:link,
body .zsm-menu > li > a:visited {
  min-height: 46px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  color: var(--zsm-text) !important;
  opacity: 1 !important;
  text-decoration: none !important;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
}

body .zsm-menu > li > a:hover,
body .zsm-menu > li:hover > a,
body .zsm-menu > li > a.active,
body .zsm-menu > li > a[aria-current="page"] {
  color: var(--zsm-blue) !important;
  background: var(--zsm-soft) !important;
}

body .zsm-menu > li > a.active,
body .zsm-menu > li > a[aria-current="page"] {
  padding: 0 16px;
}

body .has-mega > a::after {
  content: "⌄";
  margin-left: 6px;
  color: currentColor !important;
  font-size: 11px;
  opacity: .85 !important;
}

/* CTA */

body .zsm-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

body .zsm-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

body .btn-secondary {
  padding: 0 18px;
  color: var(--zsm-blue) !important;
  background: #fff !important;
  border: 1px solid #dbe3ff !important;
}

body .btn-primary {
  height: 46px;
  padding: 0 24px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--zsm-blue), var(--zsm-blue-dark)) !important;
  border: 0;
  box-shadow: 0 12px 28px rgba(36,87,255,.26);
}

/* MEGA MENU */

body .has-mega::after {
  content: "";
  position: absolute;
  left: -22px;
  right: -22px;
  top: 100%;
  height: 24px;
  display: block;
}

body .mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(860px, calc(100vw - 48px));
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  background: rgba(255,255,255,.98) !important;
  backdrop-filter: blur(16px);
  border: 1px solid var(--zsm-border);
  border-radius: 24px;
  box-shadow: var(--zsm-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index: 300;
}

body .has-mega:hover .mega-menu,
body .has-mega:focus-within .mega-menu,
body .has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

body .mega-wide {
  width: min(900px, calc(100vw - 48px));
}

body .mega-recruitment {
  width: min(940px, calc(100vw - 48px));
  grid-template-columns: 270px 1fr 1fr;
}

body .mega-contact {
  width: min(620px, calc(100vw - 48px));
}

body .mega-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

body .mega-title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 14px;
  color: #64748b !important;
  opacity: 1 !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body .mega-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--zsm-blue);
}

body .mega-item,
body .mega-item:link,
body .mega-item:visited {
  padding: 13px 14px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--zsm-text) !important;
  opacity: 1 !important;
  border-radius: 16px;
  text-decoration: none !important;
}

body .mega-item:hover,
body .mega-item:focus-visible {
  background: #f5f8ff;
  transform: translateX(4px);
}

body .mega-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--zsm-blue);
  background: #f1f5ff;
  border: 1px solid #dbe3ff;
  border-radius: 14px;
  font-size: 17px;
  line-height: 1;
}

body .mega-item strong {
  display: block;
  color: var(--zsm-text) !important;
  opacity: 1 !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

body .mega-item small {
  display: block;
  margin-top: 4px;
  color: var(--zsm-muted) !important;
  opacity: 1 !important;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
}

body .mega-feature {
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--zsm-blue), var(--zsm-blue-dark));
  box-shadow: 0 18px 40px rgba(36,87,255,.26);
}

body .mega-feature > span {
  display: block;
  margin-bottom: 14px;
  font-size: 28px;
}

body .mega-feature strong {
  display: block;
  color: #fff !important;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

body .mega-feature p {
  margin: 12px 0 20px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.55;
}

body .mega-feature a {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  color: var(--zsm-blue) !important;
  background: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 850;
  text-decoration: none !important;
}

/* MOBILE */



/* TABLET / MOBILE */

@media (max-width: 1120px) {
  

  body .zsm-navbar {
    min-height: 88px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  body .zsm-menu,
  body .zsm-actions {
    display: none !important;
  }

  body .zsm-brand {
    flex: 1 1 auto;
    max-width: calc(100% - 64px);
  }

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  
}

/* SMALL PHONES */

@media (max-width: 480px) {
  body .zsm-navbar {
    padding: 0 20px;
  }

  

  

  

  
}


/* blokada blaknięcia przez Cassiopeia / nadrzędne style */


/* brand */




/* menu desktop */
body .zsm-menu > li > a,
body .zsm-menu > li > a:link,
body .zsm-menu > li > a:visited {
  color: #0f172a !important;
  opacity: 1 !important;
  filter: none !important;
}

body .zsm-menu > li > a:hover,
body .zsm-menu > li:hover > a,
body .zsm-menu > li > a.active,
body .zsm-menu > li > a[aria-current="page"] {
  color: #2457ff !important;
  background: #eef3ff !important;
  opacity: 1 !important;
}

/* CTA */
body .btn-secondary {
  color: #2457ff !important;
  background: #fff !important;
  opacity: 1 !important;
}

body .btn-primary {
  color: #fff !important;
  opacity: 1 !important;
}

/* hamburger */


/* przycisk X */


/* mobile menu tekst */




/* godło bez deformacji */

/* ===== MOBILE MENU PEŁNA SZEROKOŚĆ ===== */




/* Desktop: menu mniej ciężkie, czytelniejsze */
@media (min-width: 1121px) {
  body .zsm-menu {
    gap: clamp(8px, 0.75vw, 13px) !important;
  }

  body .zsm-menu > li > a,
  body .zsm-menu > li > a:link,
  body .zsm-menu > li > a:visited {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
    letter-spacing: -0.01em !important;
  }

  body .zsm-actions {
    gap: 16px !important;
    margin-left: 12px !important;
  }

  body .btn-secondary {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Desktop poniżej 1500px: pilnuj, żeby E-dziennik nie dotykał Kontakt */
@media (min-width: 1121px) and (max-width: 1500px) {
  body .zsm-navbar {
    grid-template-columns: 215px minmax(0, 1fr) auto !important;
    gap: 18px !important;
  }

  body .zsm-menu {
    gap: 8px !important;
  }

  body .zsm-menu > li > a,
  body .zsm-menu > li > a:link,
  body .zsm-menu > li > a:visited {
    font-size: 14.5px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  body .zsm-actions {
    gap: 14px !important;
    margin-left: 14px !important;
  }
}

/* Tablet/mobile: większy herb i nazwa w górnym headerze */
@media (max-width: 1120px) {
  body .zsm-brand img {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    flex: 0 0 62px !important;
    object-fit: contain !important;
  }

  body .zsm-brand-text .school-line {
    font-size: 17px !important;
    line-height: 1.02 !important;
    font-weight: 850 !important;
  }

  body .zsm-brand-text small {
    font-size: 12.5px !important;
  }

  body .zsm-navbar {
    min-height: 96px !important;
  }
}

/* Mobile drawer: bez deformacji herbu, większy brand */


/* Bardzo małe telefony */



/* ---------- DESKTOP MENU ---------- */

@media (min-width: 1121px){

  .zsm-menu > li > a{
    font-size:15px !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
  }

  .zsm-menu{
    gap:14px !important;
  }

  .zsm-navbar{
    gap:24px !important;
  }

  .zsm-actions{
    gap:18px !important;
  }

  /* aktywna pozycja mniej agresywna */

  .zsm-menu > li.active > a,
  .zsm-menu > li:hover > a{
    background:#eef3ff !important;
  }
}


/* ---------- BRAND DESKTOP ---------- */

.zsm-brand{
  gap:14px !important;
}

.zsm-brand img{
  width:52px !important;
  height:52px !important;
  object-fit:contain !important;
}

.zsm-brand-text{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.zsm-brand-text .school-line{
  font-weight:800 !important;
  line-height:1.02 !important;
}

.zsm-brand-text small{
  margin-top:4px !important;
}


/* ---------- MOBILE + TABLET ---------- */

@media (max-width:1120px){

  .zsm-brand{
    gap:16px !important;
  }

  .zsm-brand img{
    width:58px !important;
    height:58px !important;
    min-width:58px !important;
    max-width:58px !important;
    object-fit:contain !important;
  }

  .zsm-brand-text .school-line{
    font-size:17px !important;
    font-weight:800 !important;
    line-height:1.05 !important;
  }

  .zsm-brand-text small{
    font-size:13px !important;
  }

}


/* ---------- MOBILE DRAWER ---------- */




/* 1. Desktop: menu lżejsze i bardziej nowoczesne */
@media (min-width: 1121px) {
  body .zsm-menu > li > a,
  body .zsm-menu > li > a:link,
  body .zsm-menu > li > a:visited {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
  }

  body .zsm-menu {
    gap: 14px !important;
  }
}

/* 2. Brand trochę czytelniejszy */
@media (min-width: 1121px) {
  body .zsm-brand-text .school-line {
    font-size: 18px !important;
    line-height: 1.03 !important;
    font-weight: 850 !important;
  }

  body .zsm-brand-text small {
    font-size: 13px !important;
  }
}

/* 3. Tablet/mobile: większy herb i nazwa szkoły */


/* 4. Mobile drawer: bardziej zwarty */


/* 5. Mobile drawer: pełniejsza szerokość, mniej szarego pasa */



/* ===== MOBILE SUBMENU: równe odstępy ===== */


/* ===== MOBILE MENU: równe odstępy głównych pozycji ===== */




/* 1. Logo + nazwa idealnie w osi */




/* 2. Większy odstęp dla "w Grudziądzu" */


/* 3. Większy hamburger na tablet/mobile */


/* 4. Czytelniejszy przycisk zamknięcia draweru */


/* 5. Mega menu trochę bardziej zwarte */
@media (min-width: 1121px) {
  body .mega-menu {
    width: min(820px, calc(100vw - 48px)) !important;
    padding: 28px !important;
    gap: 28px !important;
  }

  body .mega-wide {
    width: min(860px, calc(100vw - 48px)) !important;
  }

  body .mega-recruitment {
    width: min(900px, calc(100vw - 48px)) !important;
    grid-template-columns: 250px 1fr 1fr !important;
  }

  body .mega-contact {
    width: min(600px, calc(100vw - 48px)) !important;
  }
}

/* 6. Mobile/tablet: większy brand, bez deformacji herbu */


/* 7. Bardzo małe telefony */


/* 8. Mniejszy odstęp przed hero na mobile/tablet */
@media (max-width: 768px) {
  body .zsm-header + *,
  body .site-grid,
  body .container-component {
    margin-top: 0 !important;
  }

  body .zsm-hero,
  body .home-hero,
  body .hero {
    margin-top: 16px !important;
    padding-top: 24px !important;
  }
}
/* ===== FIX: mobile podmenu bez nachodzenia i z równymi odstępami ===== */




/* 1. Mobile drawer trochę szerszy */




/* 2. Podmenu mobile: lepsze wcięcie */


/* 3. Mega menu: lżejszy tekst pozycji */
@media (min-width: 1121px) {
  body .mega-item strong {
    font-weight: 700 !important;
  }

  body .mega-item small {
    font-weight: 450 !important;
  }
}

/* 4. Hero desktop: odrobinę mniejszy odstęp pod CTA */
@media (min-width: 1121px) {
  body .zsm-hero .zsm-hero-actions,
  body .home-hero .zsm-hero-actions,
  body .hero .zsm-hero-actions {
    margin-bottom: 24px !important;
  }
}


/* 1. Mobile drawer: pełna szerokość, bez pustego pasa */


/* 2. Mniejszy odstęp między nagłówkiem akordeonu a podmenu */


/* 3. Więcej oddechu między herbem a nazwą */



/* Większy oddech między "Mechanicznych" a "w Grudziądzu" */


/* Desktop: więcej miejsca między logo/nazwą a pierwszą pozycją menu */
@media (min-width: 1121px) {
  body .zsm-navbar {
    column-gap: 34px !important;
    gap: 34px !important;
  }

  body .zsm-menu {
    margin-left: 10px !important;
  }
}


/* 1. Zwarte / bardziej zwarte mega menu na desktopie */
@media (min-width: 1121px) {
  body .mega-menu {
    width: min(980px, 92vw) !important;
    max-width: 980px !important;
  }

  body .mega-wide {
    width: min(940px, 92vw) !important;
    max-width: 940px !important;
  }

  body .mega-recruitment {
    width: min(980px, 92vw) !important;
    max-width: 980px !important;
  }

  body .mega-contact {
    width: min(680px, 92vw) !important;
    max-width: 680px !important;
  }
}

/* 2. Minimalnie większy herb w menu mobilnym */

/* ===== ZSM MEGA MENU: dopasowane szerokości do liczby treści ===== */

@media (min-width: 1121px) {

  /* Domyślne mega menu: Szkoła / Uczniowie */
  body .mega-menu {
    width: min(820px, 92vw) !important;
    max-width: 820px !important;
  }

  /* Dokumenty: więcej pozycji, trochę szerzej */
  body .mega-wide {
    width: min(860px, 92vw) !important;
    max-width: 860px !important;
  }

  /* Rekrutacja: 3 kolumny, zostaje szerzej */
  body .mega-recruitment {
    width: min(980px, 92vw) !important;
    max-width: 980px !important;
    grid-template-columns: 250px 1fr 1fr !important;
  }

  /* Projekty: mało treści, wężej */
  body .zsm-menu > li:nth-child(6) .mega-menu {
    width: min(760px, 92vw) !important;
    max-width: 760px !important;
  }

  /* Kontakt: mało treści, wężej */
  body .mega-contact {
    width: min(680px, 92vw) !important;
    max-width: 680px !important;
  }

  /* Krótsze mega menu niech nie mają zbędnej wysokości */
  body .mega-menu {
    align-items: start !important;
  }

  body .mega-item {
    min-height: auto !important;
  }
}

/* ==========================================
   ZSM FIXED HEADER — WERSJA CZYSTA I STABILNA
   ========================================== */

body .container-header,
body .container-header.full-width,
body header.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06) !important;
  overflow: visible !important;
}

body .container-header .grid-child,
body header.header .grid-child,
body .grid-child.container-nav,
body .container-nav {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

body .zsm-header {
  position: relative !important;
  z-index: 100 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 92px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border-bottom: 1px solid var(--zsm-border) !important;
  overflow: visible !important;
}

body .zsm-navbar {
  min-height: 92px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
}

body {
  padding-top: 92px !important;
}

main,
main article,
main section,
.item-page,
.com-content-article,
.container-component {
  overflow: visible !important;
}

/* ==========================================
   ZSM COMPACT HEADER AFTER SCROLL
   ========================================== */

body .container-header,
body .container-header.full-width,
body header.header,
body .zsm-navbar,
body .zsm-brand img,
body .zsm-brand-text .school-line,
body .zsm-brand-text small,
body .zsm-menu > li > a,
body .zsm-actions a {
  transition:
    background .28s ease,
    box-shadow .28s ease,
    min-height .28s ease,
    height .28s ease,
    width .28s ease,
    min-width .28s ease,
    max-width .28s ease,
    font-size .28s ease,
    padding .28s ease,
    margin .28s ease;
}

body.zsm-header-scrolled .container-header,
body.zsm-header-scrolled .container-header.full-width,
body.zsm-header-scrolled header.header {
  background: rgba(255, 255, 255, .96) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}

body.zsm-header-scrolled {
  padding-top: 92px !important;
}

@media (min-width: 1121px) {
  body.zsm-header-scrolled .zsm-header {
    min-height: 64px !important;
  }

  body.zsm-header-scrolled .zsm-navbar {
    min-height: 64px !important;
  }

  body.zsm-header-scrolled .zsm-brand img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex-basis: 42px !important;
  }

  body.zsm-header-scrolled .zsm-brand-text .school-line {
    font-size: 15px !important;
    line-height: 1.02 !important;
  }

  body.zsm-header-scrolled .zsm-brand-text small {
    font-size: 11.5px !important;
    margin-top: 3px !important;
  }

  body.zsm-header-scrolled .zsm-menu > li > a {
    min-height: 38px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 14px !important;
  }

  body.zsm-header-scrolled .zsm-menu > li > a.active,
  body.zsm-header-scrolled .zsm-menu > li > a[aria-current="page"] {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }

  body.zsm-header-scrolled .zsm-actions a {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 13.5px !important;
  }

  body.zsm-header-scrolled .btn-secondary {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.zsm-header-scrolled .btn-primary {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ==========================================
   FIX: MEGA MENU — pełna czytelność
   ========================================== */

body .mega-menu,
body .mega-menu *,
body .mega-col,
body .mega-item,
body .mega-item *,
body .mega-title,
body .mega-icon {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  text-shadow: none !important;
}

body .mega-menu {
  background: #ffffff !important;
  color: #0f172a !important;
}

body .mega-title {
  color: #64748b !important;
}

body .mega-item,
body .mega-item:link,
body .mega-item:visited {
  color: #0f172a !important;
}

body .mega-item strong {
  color: #0f172a !important;
}

body .mega-item small {
  color: #475569 !important;
}

body .mega-icon {
  color: #2457ff !important;
  background: #f1f5ff !important;
  border-color: #dbe3ff !important;
}

body .mega-feature {
  background: linear-gradient(135deg, #2457ff, #173ee8) !important;
}

body .mega-feature,
body .mega-feature * {
  color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
}

body .mega-feature a {
  color: #2457ff !important;
  background: #ffffff !important;
}

/* ==========================================
   MOBILE HEADER — jedna wysokość, bez konfliktów
   ========================================== */

@media (max-width: 1120px) {
  body .container-header,
  body .container-header.full-width,
  body header.header,
  body .grid-child.container-nav {
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(15,23,42,.06) !important;
    overflow: visible !important;
  }

  body .zsm-header {
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  body .zsm-navbar {
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
  }

  

  body .zsm-brand img {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    flex: 0 0 52px !important;
    object-fit: contain !important;
  }

  body .zsm-brand-text .school-line {
    font-size: 16px !important;
    line-height: 1.03 !important;
    font-weight: 850 !important;
  }

  body .zsm-brand-text small {
    margin-top: 3px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
  }

  

  

  
  
  

  body,
  body.zsm-header-scrolled {
    padding-top: 72px !important;
  }

  body.zsm-header-scrolled .zsm-header,
  body.zsm-header-scrolled .zsm-navbar {
    height: 72px !important;
    min-height: 72px !important;
  }
}

@media (max-width: 480px) {
  body .zsm-navbar {
    padding: 0 14px !important;
  }

  body .zsm-brand img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    flex: 0 0 50px !important;
  }

  body .zsm-brand-text .school-line {
    font-size: 15.5px !important;
  }

  body .zsm-brand-text small {
    font-size: 11.8px !important;
  }

  
}



/* =========================================
   HEADER — USUNIĘCIE JEDNOPIKSELOWEGO USKOKU
========================================= */

body .zsm-header {
  border-bottom: 0 !important;
}

body .container-header,
body .container-header.full-width,
body header.header {
  border-bottom: 1px solid #e5eaf4 !important;
  transform: translateZ(0);
}


/* =========================================================
   REKRUTACJA — CAŁE NIEBIESKIE POLE KLIKALNE
========================================================= */

body .mega-feature-link,
body .mega-feature-link:link,
body .mega-feature-link:visited {
  display: block !important;
  align-self: start !important;
  color: inherit !important;
  text-decoration: none !important;
  border-radius: 24px;
}

body .mega-feature-link .mega-feature {
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Ikona rakiety */
body .mega-feature-link .mega-feature > span:first-child {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;

  color: #fff !important;
  background: transparent !important;

  font-size: 28px !important;
  line-height: 1 !important;
}

/* Wizualny przycisk */
body .mega-feature-link .mega-feature .mega-feature-btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  height: 42px !important;

  margin: 18px 0 0 !important;
  padding: 0 18px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  color: #2457ff !important;
  background: #fff !important;

  border: 0 !important;
  border-radius: 999px !important;

  font-size: 13.5px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body .mega-feature-link:hover .mega-feature {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(36, 87, 255, 0.28);
}

body .mega-feature-link:focus-visible {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  body .mega-feature-link .mega-feature {
    transition: none !important;
  }

  body .mega-feature-link:hover .mega-feature {
    transform: none !important;
  }
}


/* =========================================================
   MENU MOBILNE — OTWIERANIE Z GÓRY NA DÓŁ
   Wklej na samym końcu pliku CSS.
   ========================================================= */



/*
 * Ograniczenie animacji dla użytkowników,
 * którzy wyłączyli animacje systemowe.
 */

/* =========================================================
   MOBILE — MENU ROZWIJANE SPOD SZTYWNEGO NAVBARA
   ========================================================= */

:root {
  --zsm-mobile-navbar-height: 96px;
}

@media (max-width: 1120px) {
  /*
   * Sztywny navbar pozostaje cały czas widoczny.
   */
  body .zsm-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000000 !important;
  }

  body .zsm-navbar {
    position: relative;
    z-index: 2;
    background: #fff;
  }

  

  /*
   * Panel zaczyna się pod navbarem.
   */
  

  

  /*
   * Przyciemnienie tylko pod navbarem.
   */
  

  

  /*
   * Menu rozwija się pionowo spod navbara.
   */
  

  

  
}

/* =========================================================
   ZSM — CZYSTE MENU MOBILNE
   Menu rozwija się spod stałego navbara.
   ========================================================= */

:root {
  --zsm-mobile-navbar-height: 96px;
  --zsm-mobile-duration: 320ms;
  --zsm-mobile-ease: cubic-bezier(.22, 1, .36, 1);
}

body .zsm-mobile-toggle,
body .zsm-mobile-panel {
  display: none;
}

@media (max-width: 1120px) {
  html.zsm-mobile-open,
  body.zsm-mobile-open {
    overflow: hidden !important;
  }

  body .container-header,
  body .container-header.full-width,
  body header.header {
    z-index: 1000000 !important;
    overflow: visible !important;
  }

  body .zsm-header,
  body .zsm-navbar {
    position: relative !important;
    z-index: 2 !important;
    background: #fff !important;
  }

  body .zsm-navbar {
    min-height: 96px !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body .zsm-menu,
  body .zsm-actions {
    display: none !important;
  }

  body .zsm-brand {
    flex: 1 1 auto;
    max-width: calc(100% - 72px);
  }

  body .zsm-mobile-toggle {
    display: block !important;
    position: relative;
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px !important;
    padding: 0;
    border: 1px solid #d5def8 !important;
    border-radius: 16px !important;
    background: #fff !important;
    cursor: pointer;
    z-index: 3;
  }

  body .zsm-mobile-toggle::before,
  body .zsm-mobile-toggle::after,
  body .zsm-mobile-toggle span {
    content: "";
    position: absolute;
    left: 16px !important;
    width: 24px !important;
    height: 2px !important;
    border-radius: 999px;
    background: #0f172a !important;
    transform-origin: center;
    transition:
      top .24s ease,
      transform .24s ease,
      opacity .18s ease;
  }

  body .zsm-mobile-toggle::before { top: 19px !important; }
  body .zsm-mobile-toggle span { top: 27px !important; }
  body .zsm-mobile-toggle::after { top: 35px !important; }

  body .zsm-mobile-toggle.is-open::before {
    top: 27px !important;
    transform: rotate(45deg);
  }

  body .zsm-mobile-toggle.is-open span {
    opacity: 0 !important;
    transform: scaleX(0);
  }

  body .zsm-mobile-toggle.is-open::after {
    top: 27px !important;
    transform: rotate(-45deg);
  }

  body .zsm-mobile-panel {
    display: block !important;
    position: fixed !important;
    top: var(--zsm-mobile-navbar-height) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: calc(100dvh - var(--zsm-mobile-navbar-height)) !important;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    z-index: 999999 !important;
  }

  body .zsm-mobile-panel.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  body .zsm-mobile-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, .36);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }

  body .zsm-mobile-panel.is-open .zsm-mobile-overlay {
    opacity: 1;
    visibility: visible;
  }

  body .zsm-mobile-drawer {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    box-sizing: border-box;
    padding: 20px 28px 32px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .20);
    transform: translate3d(0, -100%, 0) !important;
    transition: transform var(--zsm-mobile-duration) var(--zsm-mobile-ease) !important;
    will-change: transform;
  }

  body .zsm-mobile-panel.is-open .zsm-mobile-drawer {
    transform: translate3d(0, 0, 0) !important;
  }

  body .zsm-mobile-actions {
    display: grid;
    gap: 12px;
    padding: 0 0 18px;
  }

  body .zsm-mobile-actions a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none !important;
  }

  body .zsm-mobile-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--zsm-blue), var(--zsm-blue-dark));
    box-shadow: 0 12px 28px rgba(36, 87, 255, .26);
  }

  body .zsm-mobile-secondary {
    color: var(--zsm-blue) !important;
    background: var(--zsm-soft-2);
    border: 1px solid #dbe3ff;
  }

  body .zsm-mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-bottom: 32px;
  }

  body .zsm-mobile-section {
    margin: 0 !important;
    padding: 0 !important;
  }

  body .zsm-mobile-link,
  body .zsm-accordion {
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box;
    border: 0;
    border-radius: 16px !important;
    background: #f6f8fc !important;
    color: #0f172a !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
  }

  body .zsm-accordion::after {
    content: "⌄";
    color: var(--zsm-blue);
    font-size: 17px;
    transition: transform .22s ease;
  }

  body .zsm-mobile-section.is-open .zsm-accordion {
    color: var(--zsm-blue) !important;
    background: #edf3ff !important;
  }

  body .zsm-mobile-section.is-open .zsm-accordion::after {
    transform: rotate(180deg);
  }

  body .zsm-accordion-panel {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    max-height: 0;
    margin: 4px 0 0 !important;
    padding: 0 0 0 20px !important;
    overflow: hidden !important;
    transition: max-height .28s ease;
  }

  body .zsm-mobile-section.is-open .zsm-accordion-panel {
    padding-top: 6px !important;
    padding-bottom: 8px !important;
  }

  body .zsm-accordion-panel a,
  body .zsm-accordion-panel a:link,
  body .zsm-accordion-panel a:visited {
    min-height: 34px !important;
    height: auto !important;
    padding: 7px 16px !important;
    display: flex !important;
    align-items: center !important;
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    border-radius: 12px !important;
  }

  body .zsm-accordion-panel a:hover,
  body .zsm-accordion-panel a:focus-visible {
    color: var(--zsm-blue) !important;
    background: #f5f8ff !important;
  }
}

@media (max-width: 480px) {
  body .zsm-navbar {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  body .zsm-mobile-drawer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .zsm-mobile-toggle::before,
  body .zsm-mobile-toggle::after,
  body .zsm-mobile-toggle span,
  body .zsm-mobile-drawer,
  body .zsm-mobile-overlay,
  body .zsm-accordion-panel,
  body .zsm-accordion::after {
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   KOREKTA BRANDU — pełna widoczność logo i tekstu
   ========================================================= */

body .zsm-header,
body .zsm-navbar,
body .zsm-brand,
body .zsm-brand-text,
body .zsm-brand-text .school-line,
body .zsm-brand-text small,
body .zsm-brand img {
  opacity: 1 !important;
  filter: none !important;
}

body .zsm-brand {
  color: #0f172a !important;
  text-decoration: none !important;
}

body .zsm-brand-text .school-line {
  display: block !important;
  color: #0f172a !important;
  font-weight: 850 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.035em !important;
  text-shadow: none !important;
}

body .zsm-brand-text small {
  display: block !important;
  margin-top: 6px !important;
  color: #475569 !important;
  font-weight: 550 !important;
  line-height: 1.15 !important;
  text-shadow: none !important;
}

body .zsm-brand img {
  display: block !important;
  object-fit: contain !important;
  aspect-ratio: 1 / 1 !important;
  mix-blend-mode: normal !important;
}

@media (min-width: 1121px) {
  body .zsm-brand img {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    flex: 0 0 52px !important;
  }

  body .zsm-brand-text .school-line {
    font-size: 18px !important;
  }

  body .zsm-brand-text small {
    font-size: 13px !important;
  }
}

@media (max-width: 1120px) {
  body .zsm-brand img {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    flex: 0 0 60px !important;
  }

  body .zsm-brand-text .school-line {
    font-size: 17px !important;
  }

  body .zsm-brand-text small {
    font-size: 12.5px !important;
  }
}

@media (max-width: 420px) {
  body .zsm-brand img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    flex-basis: 56px !important;
  }

  body .zsm-brand-text .school-line {
    font-size: 15.5px !important;
  }

  body .zsm-brand-text small {
    font-size: 12px !important;
  }
}




/* ==========================================================
   HAMBURGER — WERSJA OSTATECZNA
   Bez SVG, spanów i pseudoelementów
   ========================================================== */

@media (max-width: 1120px) {

  body .zsm-mobile-toggle {
    position: relative !important;

    display: block !important;

    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;

    margin-left: auto !important;
    padding: 0 !important;

    border: 1px solid #dbe3ff !important;
    border-radius: 17px !important;

    /*
     * Dwie kreski narysowane bezpośrednio
     * jako tło przycisku.
     */
    background-color: #ffffff !important;

    background-image:
      linear-gradient(#16213d, #16213d),
      linear-gradient(#16213d, #16213d) !important;

    background-repeat:
      no-repeat,
      no-repeat !important;

    background-size:
      22px 3px,
      22px 3px !important;

    background-position:
      center calc(50% - 5px),
      center calc(50% + 5px) !important;

    box-shadow:
      0 9px 24px rgba(37, 99, 235, .10),
      0 2px 8px rgba(15, 23, 42, .04);

    cursor: pointer;
    overflow: hidden;

    transition:
      transform .18s ease,
      border-color .25s ease,
      box-shadow .25s ease,
      background-color .25s ease;
  }

  /*
   * Całkowicie wyłączamy stare kreski.
   */
  body .zsm-mobile-toggle::before,
  body .zsm-mobile-toggle::after,
  body .zsm-mobile-toggle span,
  body .zsm-mobile-toggle svg {
    display: none !important;
    content: none !important;
  }

  body .zsm-mobile-toggle:hover {
    transform: translateY(-1px);

    border-color: #c9d8ff !important;

    box-shadow:
      0 14px 30px rgba(37, 99, 235, .14);
  }

  body .zsm-mobile-toggle:active {
    transform: scale(.96);
  }

  /*
   * Otwarte menu — białe X.
   */
  body .zsm-mobile-toggle.is-open {
    background-color: #2457ff !important;

    background-image:
      linear-gradient(
        45deg,
        transparent calc(50% - 1.5px),
        #ffffff calc(50% - 1.5px),
        #ffffff calc(50% + 1.5px),
        transparent calc(50% + 1.5px)
      ),
      linear-gradient(
        -45deg,
        transparent calc(50% - 1.5px),
        #ffffff calc(50% - 1.5px),
        #ffffff calc(50% + 1.5px),
        transparent calc(50% + 1.5px)
      ) !important;

    background-size:
      22px 22px,
      22px 22px !important;

    background-position:
      center,
      center !important;

    border-color: #2457ff !important;

    box-shadow:
      0 14px 34px rgba(37, 99, 235, .28);
  }

  body .zsm-mobile-toggle:focus-visible {
    outline: none !important;

    box-shadow:
      0 0 0 4px rgba(37, 99, 235, .16),
      0 14px 34px rgba(37, 99, 235, .18);
  }
}












.zsm-school-section,
.zsm-school-section * {
  box-sizing: border-box;
}

.zsm-school-section {
  --zsm-blue: #2348ff;
  --zsm-blue-dark: #1734dd;
  --zsm-navy: #071633;
  --zsm-text: #1c2940;
  --zsm-soft: #eef3ff;
  --zsm-border: #d9e4ff;

  padding: 20px;
  background: #f7faff;
  color: var(--zsm-text);
  overflow-x: hidden;
  text-wrap: pretty;
}

.zsm-school-section h1,
.zsm-school-section h2,
.zsm-school-section h3 {
  text-wrap: balance;
}

.zsm-school-section .zsm-mobile-break-line {
  display: none;
}

.zsm-school-section .zsm-school-card {
  max-width: 1440px;
  margin: 0 auto;
  padding: 52px 64px 46px;
  border: 1px solid var(--zsm-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 40, 90, 0.08);
  overflow: hidden;
}

/* HERO */

.zsm-school-section .zsm-life-hero {
  position: relative;
  min-height: 590px;
}

.zsm-school-section .zsm-life-copy {
  position: relative;
  z-index: 80;
  width: 49%;
  padding-top: 6px;
}

.zsm-school-section .zsm-kicker {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  padding-bottom: 14px;
  color: var(--zsm-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.zsm-school-section .zsm-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 99px;
  background: var(--zsm-blue);
}

.zsm-school-section .zsm-life-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--zsm-navy);
  font-size: clamp(42px, 3.35vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.zsm-school-section .zsm-life-copy p {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--zsm-text);
  font-size: 17px;
  line-height: 1.62;
}

/* CTA */

.zsm-school-section .zsm-actions {
  margin-top: 30px;
  position: relative;
  z-index: 90;
}

.zsm-school-section .zsm-btn {
  width: 285px;
  min-height: 54px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--zsm-blue);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 16px 32px rgba(35, 72, 255, 0.26);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.zsm-school-section .zsm-btn:hover {
  background: var(--zsm-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(35, 72, 255, 0.32);
}

.zsm-school-section .zsm-btn:focus,
.zsm-school-section .zsm-btn:focus-visible {
  outline: none !important;
}

/* ZDJĘCIA */

.zsm-school-section .zsm-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e8eef9;
  box-shadow: 0 16px 38px rgba(21, 42, 80, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zsm-school-section .zsm-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(21, 42, 80, 0.18);
}

.zsm-school-section .zsm-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.zsm-school-section .zsm-photo-main {
  left: 52%;
  top: 0;
  width: 40%;
  height: 335px;
  z-index: 2;
}

.zsm-school-section .zsm-photo-machine {
  right: 0;
  top: 175px;
  width: 25%;
  height: 235px;
  z-index: 5;
  border: 8px solid #fff;
  border-radius: 24px;
}

.zsm-school-section .zsm-photo-sport {
  left: 0;
  top: 420px;
  width: 31.5%;
  height: 220px;
  z-index: 3;
}

.zsm-school-section .zsm-photo-cad {
  left: 33.5%;
  top: 435px;
  width: 24%;
  height: 205px;
  z-index: 3;
}

.zsm-school-section .zsm-photo-trip {
  left: 59.5%;
  top: 435px;
  width: 22%;
  height: 205px;
  z-index: 3;
}

.zsm-school-section .zsm-photo-car {
  right: 0;
  top: 500px;
  width: 16%;
  height: 140px;
  z-index: 6;
}

/* PARTNERZY */

.zsm-school-section .zsm-partners {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 42px;
  align-items: center;
  margin-top: 44px;
  padding: 30px 38px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.zsm-school-section .zsm-partners-copy h2 {
  max-width: 390px;
  margin: 0;
  color: var(--zsm-navy);
  font-size: 30px;
  line-height: 1.13;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.zsm-school-section .zsm-partners-copy p {
  max-width: 410px;
  margin: 16px 0 0;
  color: var(--zsm-text);
  font-size: 15px;
  line-height: 1.58;
}

.zsm-school-section .zsm-partner-points {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.zsm-school-section .zsm-partner-points li {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--zsm-blue) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 20px rgba(20, 48, 100, 0.07) !important;
}

.zsm-school-section .zsm-partner-points li::before {
  content: "✓";
  color: var(--zsm-blue);
  font-weight: 900;
}

/* LOGOTYPY PARTNERÓW */

.zsm-school-section .zsm-partners-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.zsm-school-section .zsm-partner-logo {
  height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 228, 244, 0.9);
  overflow: hidden;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.zsm-school-section .zsm-partner-logo:hover {
  background: #fff;
  border-color: rgba(191, 207, 242, 1);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 40, 80, 0.1);
}

.zsm-school-section .zsm-partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 58px;
  object-fit: contain;
}

.zsm-school-section .partner-hydro {
  transform: scale(1.65);
}

.zsm-school-section .partner-unia {
  transform: scale(1.25);
}

.zsm-school-section .partner-venture {
  transform: scale(1.75);
}

.zsm-school-section .partner-opec {
  transform: scale(1.45);
}

.zsm-school-section .partner-mzk {
  transform: scale(1.45);
}

.zsm-school-section .partner-opel {
  transform: scale(1.7);
}

/* ŚREDNI DESKTOP */

@media (max-width: 1280px) and (min-width: 1101px) {
  .zsm-school-section .zsm-partners {
    grid-template-columns: 360px 1fr;
  }
}

/* TABLET */

@media (max-width: 1100px) {
  .zsm-school-section .zsm-school-card {
    padding: 44px 32px;
  }

  .zsm-school-section .zsm-life-hero {
    min-height: auto !important;
  }

  .zsm-school-section .zsm-life-copy {
    width: 100%;
    max-width: 760px;
  }

  .zsm-school-section .zsm-photo-main,
  .zsm-school-section .zsm-photo-machine,
  .zsm-school-section .zsm-photo-sport,
  .zsm-school-section .zsm-photo-cad,
  .zsm-school-section .zsm-photo-trip,
  .zsm-school-section .zsm-photo-car {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
  }

  .zsm-school-section .zsm-photo-main {
    margin-top: 40px;
    width: 66%;
    height: 300px;
  }

  .zsm-school-section .zsm-photo-machine {
    width: 34%;
    height: 235px;
    margin-left: auto;
    margin-top: -150px;
    border: 8px solid #fff;
  }

  .zsm-school-section .zsm-photo-sport,
  .zsm-school-section .zsm-photo-cad,
  .zsm-school-section .zsm-photo-trip {
    display: inline-block;
    vertical-align: top;
    width: calc((100% - 28px) / 3);
    height: 220px;
    margin-top: 24px;
  }

  .zsm-school-section .zsm-photo-cad,
  .zsm-school-section .zsm-photo-trip {
    margin-left: 10px;
  }

  .zsm-school-section .zsm-photo-car {
    display: none;
  }

  .zsm-school-section .zsm-partners {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .zsm-school-section .zsm-partners-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .zsm-school-section {
    padding: 0 !important;
  }

  .zsm-school-section .zsm-school-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 30px 22px 34px !important;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .zsm-school-section .zsm-life-hero {
    min-height: auto !important;
  }

  .zsm-school-section .zsm-life-copy {
    width: 100%;
    max-width: 100%;
  }

  .zsm-school-section .zsm-kicker {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 24px;
  }

  .zsm-school-section .zsm-life-copy h2 {
    font-size: clamp(29px, 8.2vw, 36px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.04em !important;
  }

  .zsm-school-section .zsm-life-copy p {
    font-size: 16px;
    line-height: 1.65;
  }

  .zsm-school-section .zsm-mobile-break-line {
    display: block;
  }

  .zsm-school-section .zsm-actions {
    width: 100% !important;
    margin-top: 28px;
  }

  .zsm-school-section .zsm-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px;
  }

  .zsm-school-section .zsm-photo-main,
  .zsm-school-section .zsm-photo-machine,
  .zsm-school-section .zsm-photo-sport,
  .zsm-school-section .zsm-photo-cad,
  .zsm-school-section .zsm-photo-trip,
  .zsm-school-section .zsm-photo-car {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
    border: 0;
    border-radius: 16px;
  }

  .zsm-school-section .zsm-photo-main {
    height: 190px !important;
    margin-top: 34px !important;
  }

  .zsm-school-section .zsm-photo-machine,
  .zsm-school-section .zsm-photo-sport {
    height: 158px !important;
  }

  .zsm-school-section .zsm-photo-cad,
  .zsm-school-section .zsm-photo-trip,
  .zsm-school-section .zsm-photo-car {
    display: none !important;
  }

  .zsm-school-section .zsm-partners {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 26px !important;
    padding: 20px 16px 20px !important;
    border-radius: 22px;
  }

  .zsm-school-section .zsm-partners-copy h2 {
    font-size: 25px !important;
    line-height: 1.12 !important;
  }

  .zsm-school-section .zsm-partners-copy p {
    margin-top: 14px !important;
    font-size: 15px;
    line-height: 1.55;
  }

  .zsm-school-section .zsm-partner-points {
    gap: 7px !important;
    margin-top: 14px !important;
  }

  .zsm-school-section .zsm-partner-points li {
    min-height: 30px !important;
    font-size: 12px !important;
  }

  .zsm-school-section .zsm-partners-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 4px !important;
  }

  .zsm-school-section .zsm-partner-logo {
    height: 64px !important;
    padding: 10px 14px !important;
    border-radius: 13px;
  }

  .zsm-school-section .zsm-partner-logo img {
    max-width: 82%;
    max-height: 46px;
  }

  .zsm-school-section .partner-hydro {
    transform: scale(1.45);
  }

  .zsm-school-section .partner-unia {
    transform: scale(1.12);
  }

  .zsm-school-section .partner-venture {
    transform: scale(1.5);
  }

  .zsm-school-section .partner-opec {
    transform: scale(1.26);
  }

  .zsm-school-section .partner-mzk {
    transform: scale(1.26);
  }

  .zsm-school-section .partner-opel {
    transform: scale(1.46);
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .zsm-school-section .zsm-photo,
  .zsm-school-section .zsm-partner-logo,
  .zsm-school-section .zsm-btn {
    transition: none !important;
    transform: none !important;
  }
}
.zsm-school-section .partner-hydro {
  transform: scale(1.8);
}

.zsm-school-section .partner-venture {
  transform: scale(1.9);
}





.zsm-school-section .zsm-partners{
    grid-template-columns:420px 1fr;
    gap:56px;
}

.zsm-school-section .zsm-partners-copy h2{
    font-size:34px;
}

/* Hydro-Vacuum */
.zsm-school-section .partner-hydro{
    transform:scale(1.90);
}

/* Unia */
.zsm-school-section .partner-unia{
    transform:scale(1.25);
}

/* Venture Industries */
.zsm-school-section .partner-venture{
    transform:scale(2.05);
}

/* OPEC */
.zsm-school-section .partner-opec{
    transform:scale(1.45);
}

/* MZK */
.zsm-school-section .partner-mzk{
    transform:scale(1.45);
}

/* Opel */
.zsm-school-section .partner-opel{
    transform:scale(1.85);
}

/* delikatniejszy hover */
.zsm-school-section .zsm-partner-logo{
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.zsm-school-section .zsm-partner-logo:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(16,42,90,.10);
}

/* tablet */
@media (max-width:1100px){

    .zsm-school-section .zsm-partners{
        grid-template-columns:1fr;
        gap:34px;
    }

}

/* telefon */
@media (max-width:640px){

    .zsm-school-section .zsm-partners{
        gap:24px;
    }

    .zsm-school-section .zsm-partners-copy h2{
        font-size:28px;
    }

    .zsm-school-section .partner-hydro{
        transform:scale(1.45);
    }

    .zsm-school-section .partner-unia{
        transform:scale(1.05);
    }

    .zsm-school-section .partner-venture{
        transform:scale(1.45);
    }

    .zsm-school-section .partner-opec{
        transform:scale(1.20);
    }

    .zsm-school-section .partner-mzk{
        transform:scale(1.20);
    }

    .zsm-school-section .partner-opel{
        transform:scale(1.45);
    }

}




@media (max-width:640px){

  .zsm-school-section .zsm-actions{
    display:flex !important;
    width:100% !important;
    margin:24px 0 10px !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .zsm-school-section .zsm-btn{
    display:flex !important;
    width:100% !important;
    min-height:56px !important;
    align-items:center !important;
    justify-content:center !important;
    position:relative !important;
    z-index:999 !important;
    visibility:visible !important;
    opacity:1 !important;
  }

}








/* =========================================================
   UPORZĄDKOWANY KOD — SEKCJE ODIZOLOWANE
   Zasada: style podsekcji są scope’owane przez główną klasę sekcji.
   Dzięki temu np. .direction-card działa tylko w .school-directions,
   a .premium-list-item tylko w .premium-news.
========================================================= */



.zsm-about-section,
.zsm-about-section * {
  box-sizing: border-box;
}

.zsm-about-section {
  --zsm-blue: #123cff;
  --zsm-blue-dark: #0828c9;
  --zsm-text: #020617;
  --zsm-muted: #1f2a3d;
  --zsm-card: rgba(255, 255, 255, 0.92);

  width: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;

  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    radial-gradient(circle at 86% 18%, rgba(18, 60, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

/* NO-WRAP */

.zsm-about-section .zsm-nowrap {
  white-space: nowrap;
}

/* BACKGROUND GRID */

.zsm-about-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(18, 60, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 60, 255, 0.022) 1px, transparent 1px);

  background-size: 42px 42px;

  mask-image:
    radial-gradient(circle at 82% 26%, black, transparent 52%);

  pointer-events: none;
  z-index: -2;
}

/* GLOW */

.zsm-about-section::after {
  content: "";

  position: absolute;
  right: -120px;
  bottom: -150px;

  width: 420px;
  height: 420px;

  border-radius: 999px;

  background: rgba(18, 60, 255, 0.05);

  filter: blur(76px);

  pointer-events: none;
  z-index: -1;
}

/* =========================================================
   CONTAINER
========================================================= */

.zsm-about-section .zsm-about-inner {
  width: 100%;
  max-width: 1240px;

  margin: 0 auto;

  padding: 56px 78px 74px;

  display: grid;

  grid-template-columns:
    minmax(650px, 760px)
    380px;

  gap: 72px;

  align-items: center;
  justify-content: center;
}

.zsm-about-section .zsm-about-left,
.zsm-about-section .zsm-about-right,
.zsm-about-section .zsm-about-features,
.zsm-about-section .zsm-about-feature,
.zsm-about-section .zsm-about-image-wrap,
.zsm-about-section .zsm-about-image-mask {
  min-width: 0;
}

.zsm-about-section .zsm-about-left {
  max-width: 760px;
}

/* =========================================================
   KICKER
========================================================= */

.zsm-about-section .zsm-about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 22px;

  color: var(--zsm-blue);

  font-size: 14px;
  line-height: 1;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.zsm-about-section .zsm-about-kicker::before {
  content: "";

  width: 40px;
  height: 3px;

  border-radius: 999px;

  background: currentColor;
}

/* =========================================================
   HEADLINE
========================================================= */

.zsm-about-section h1 {
  position: relative;

  max-width: 620px;

  margin: 0 0 34px;

  color: var(--zsm-text);

  font-size: clamp(40px, 3.8vw, 56px);

  line-height: 1.08;

  font-weight: 800;

  letter-spacing: -0.034em;
}

.zsm-about-section h1::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -16px;

  width: 210px;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--zsm-blue),
      rgba(18, 60, 255, 0)
    );
}

.zsm-about-section h1::before {
  content: "";

  position: absolute;

  left: 0;
  bottom: -25px;

  width: 72px;
  height: 2px;

  background: var(--zsm-blue);

  opacity: 0.7;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.zsm-about-section .zsm-about-desc {
  max-width: 620px;

  margin: 0 0 34px;

  color: var(--zsm-muted);

  font-size: 18px;
  line-height: 1.65;

  font-weight: 400;

  letter-spacing: -0.015em;
}

/* =========================================================
   CTA
========================================================= */

.zsm-about-section .zsm-about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px;

  margin-bottom: 42px;
}

.zsm-about-section .zsm-about-btn {
  min-height: 52px;

  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;

  text-decoration: none;

  font-size: 16px;
  line-height: 1;
  font-weight: 750;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

/* PRIMARY */

.zsm-about-section .zsm-about-btn-primary {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--zsm-blue) 0%,
      #315bff 100%
    );

  box-shadow:
    0 14px 32px rgba(18, 60, 255, 0.22);
}

.zsm-about-section .zsm-about-btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 42px rgba(18, 60, 255, 0.28);
}

/* SECONDARY */

.zsm-about-section .zsm-about-btn-secondary {
  color: var(--zsm-blue-dark);

  background: transparent;

  border:
    1px solid rgba(8, 40, 201, 0.26);
}

.zsm-about-section .zsm-about-btn-secondary:hover {
  transform: translateY(-2px);

  background:
    rgba(18, 60, 255, 0.04);
}

/* FOCUS */

.zsm-about-section .zsm-about-btn:focus-visible {
  outline:
    3px solid rgba(18, 60, 255, 0.42);

  outline-offset: 4px;
}

/* =========================================================
   FEATURES
========================================================= */

.zsm-about-section .zsm-about-features {
  max-width: 680px;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;
}

/* CARD */

.zsm-about-section .zsm-about-feature {
  min-height: 84px;

  padding: 16px;

  display: flex;
  align-items: center;

  gap: 16px;

  border-radius: 22px;

  background: var(--zsm-card);

  border:
    1px solid rgba(18, 60, 255, 0.08);

  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.045);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.zsm-about-section .zsm-about-feature:hover {
  transform: translateY(-3px);

  border-color:
    rgba(18, 60, 255, 0.18);

  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.075);
}

/* FEATURE HIGHLIGHT */

.zsm-about-section .zsm-about-feature-highlight {
  grid-column: 1 / -1;

  min-height: 108px;

  padding: 20px 22px;

  background:
    linear-gradient(
      135deg,
      rgba(18, 60, 255, 0.08),
      rgba(255, 255, 255, 0.95)
    );

  border-color:
    rgba(18, 60, 255, 0.24);

  box-shadow:
    0 18px 44px rgba(18, 60, 255, 0.1);
}

/* =========================================================
   ICONS
========================================================= */

.zsm-about-section .zsm-about-feature-icon {
  width: 56px;
  height: 56px;

  flex: 0 0 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(236, 241, 255, 0.96)
    );

  border:
    1px solid rgba(18, 60, 255, 0.08);

  overflow: hidden;
}

.zsm-about-section .zsm-about-feature-icon img {
  width: 34px;
  height: 34px;

  display: block;

  object-fit: contain;
  object-position: center;
}

.zsm-about-section .zsm-about-feature-highlight .zsm-about-feature-icon {
  width: 60px;
  height: 60px;

  flex-basis: 60px;
}

.zsm-about-section .zsm-about-feature-highlight .zsm-about-feature-icon img {
  width: 38px;
  height: 38px;
}

/* =========================================================
   FEATURE TEXT
========================================================= */

.zsm-about-section .zsm-about-feature p {
  margin: 0;

  color: #101827;

  font-size: 16px;
  line-height: 1.32;

  font-weight: 700;

  letter-spacing: -0.015em;
}

.zsm-about-section .zsm-about-feature-number {
  display: block;

  color: var(--zsm-blue);

  font-size: 52px;
  line-height: 0.92;

  font-weight: 850;

  letter-spacing: -0.05em;
}

.zsm-about-section .zsm-about-feature-highlight p {
  margin-top: 6px;
}

/* =========================================================
   IMAGE
========================================================= */

.zsm-about-section .zsm-about-right {
  width: 100%;
  max-width: 380px;

  justify-self: center;

  position: relative;
}

.zsm-about-section .zsm-about-right::after {
  content: "";

  position: absolute;

  inset: auto 9% -34px 9%;

  height: 120px;

  background:
    rgba(64, 110, 255, 0.16);

  filter: blur(58px);

  z-index: -1;

  pointer-events: none;
}

.zsm-about-section .zsm-about-image-wrap {
  position: relative;

  border-radius: 34px;
}

.zsm-about-section .zsm-about-image-wrap::before {
  content: "";

  position: absolute;

  inset: -14px;

  border-radius: 42px;

  background:
    linear-gradient(
      135deg,
      rgba(18, 60, 255, 0.12),
      rgba(255, 255, 255, 0)
    );

  z-index: -1;

  pointer-events: none;
}

.zsm-about-section .zsm-about-image-mask {
  width: 100%;
  height: 500px;

  position: relative;

  overflow: hidden;

  border-radius: 32px;

  background: #edf1fb;

  box-shadow:
    0 28px 72px rgba(17, 34, 68, 0.16);
}

.zsm-about-section .zsm-about-image-mask::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.02),
      rgba(2, 6, 23, 0.06)
    ),
    radial-gradient(
      circle at 72% 34%,
      rgba(18, 60, 255, 0.08),
      transparent 44%
    );

  pointer-events: none;
}

.zsm-about-section .zsm-about-main-img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transition: transform 0.7s ease;
}

.zsm-about-section .zsm-about-image-wrap:hover .zsm-about-main-img {
  transform: scale(1.03);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

  .zsm-about-section .zsm-about-inner {
    max-width: 920px;

    padding: 58px 40px 74px;

    grid-template-columns: 1fr;

    gap: 42px;
  }

  .zsm-about-section .zsm-about-left,
  .zsm-about-section .zsm-about-right,
  .zsm-about-section .zsm-about-features {
    max-width: 760px;
  }

  .zsm-about-section .zsm-about-left {
    order: 1;
  }

  .zsm-about-section .zsm-about-right {
    order: 2;

    justify-self: stretch;
  }

  .zsm-about-section .zsm-about-image-mask {
    height: 440px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .zsm-about-section {
    overflow-x: hidden;
  }

  .zsm-about-section .zsm-about-inner {
    width: 100%;
    max-width: 100%;

    padding: 30px 18px 40px;

    gap: 24px;

    grid-template-columns: 1fr;
  }

  .zsm-about-section .zsm-about-left {
    display: contents;
  }

  .zsm-about-section .zsm-about-kicker,
  .zsm-about-section h1,
  .zsm-about-section .zsm-about-desc,
  .zsm-about-section .zsm-about-actions,
  .zsm-about-section .zsm-about-right,
  .zsm-about-section .zsm-about-features {
    width: 100%;
  }

  /* KICKER */

  .zsm-about-section .zsm-about-kicker {
    order: 1;

    margin-bottom: -6px;

    font-size: 12px;

    letter-spacing: 0.13em;
  }

  .zsm-about-section .zsm-about-kicker::before {
    width: 30px;
    height: 2px;
  }

  /* HEADLINE */

  .zsm-about-section h1 {
    order: 2;

    max-width: 330px;

    margin: 0;

    font-size:
      clamp(29px, 8vw, 34px);

    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -0.028em;
  }

  .zsm-about-section h1::after {
    width: 150px;

    bottom: -14px;
  }

  .zsm-about-section h1::before {
    width: 56px;

    bottom: -22px;
  }

  /* DESCRIPTION */

  .zsm-about-section .zsm-about-desc {
    order: 3;

    max-width: 100%;

    margin: 14px 0 0;

    font-size: 15.8px;

    line-height: 1.62;

    letter-spacing: -0.02em;
  }

  .zsm-about-section .zsm-nowrap {
    white-space: nowrap;
  }

  /* CTA */

  .zsm-about-section .zsm-about-actions {
    order: 4;

    gap: 10px;

    margin-bottom: 0;
  }

  .zsm-about-section .zsm-about-btn {
    width: 100%;

    min-height: 50px;

    padding: 0 18px;

    font-size: 15px;

    border-radius: 15px;
  }

  .zsm-about-section .zsm-about-btn-primary {
    box-shadow:
      0 12px 28px rgba(18, 60, 255, 0.22);
  }

  /* IMAGE */

  .zsm-about-section .zsm-about-right {
    order: 5;

    max-width: 100%;

    justify-self: stretch;
  }

  .zsm-about-section .zsm-about-right::after,
  .zsm-about-section .zsm-about-image-wrap::before {
    display: none;
  }

  .zsm-about-section .zsm-about-image-wrap {
    border-radius: 24px;
  }

  .zsm-about-section .zsm-about-image-mask {
    height:
      clamp(250px, 68vw, 300px);

    border-radius: 24px;

    box-shadow:
      0 22px 48px rgba(15, 23, 42, 0.16);
  }

  .zsm-about-section .zsm-about-image-mask::after {
    opacity: 0.45;
  }

  .zsm-about-section .zsm-about-main-img {
    object-position: center 42%;

    filter: brightness(1.06);
  }

  /* FEATURES */

  .zsm-about-section .zsm-about-features {
    order: 6;

    max-width: 100%;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;
  }

  /* SMALL CARDS */

  .zsm-about-section .zsm-about-feature {
    min-height: 88px;

    padding: 12px;

    flex-direction: column;

    align-items: flex-start;
    justify-content: flex-start;

    gap: 9px;

    border-radius: 18px;
  }

  /* HIGHLIGHT */

  .zsm-about-section .zsm-about-feature-highlight {
    grid-column: 1 / -1;

    min-height: 88px;

    padding: 16px;

    flex-direction: row;

    align-items: center;
    justify-content: flex-start;

    gap: 16px;
  }

  /* ICONS */

  .zsm-about-section .zsm-about-feature-highlight .zsm-about-feature-icon {
    width: 50px;
    height: 50px;

    flex-basis: 50px;

    margin-top: 0;
  }

  .zsm-about-section .zsm-about-feature-icon {
    width: 40px;
    height: 40px;

    flex-basis: 40px;

    border-radius: 14px;
  }

  .zsm-about-section .zsm-about-feature-icon img {
    width: 24px;
    height: 24px;
  }

  .zsm-about-section .zsm-about-feature-highlight .zsm-about-feature-icon img {
    width: 31px;
    height: 31px;
  }

  /* TEXT */

  .zsm-about-section .zsm-about-feature p {
    font-size: 13.2px;

    line-height: 1.25;
  }

  .zsm-about-section .zsm-about-feature-highlight p {
    font-size: 15.5px;

    line-height: 1.32;
  }

  .zsm-about-section .zsm-about-feature-number {
    font-size: 42px;

    line-height: 0.95;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

  .zsm-about-section .zsm-about-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .zsm-about-section h1 {
    max-width: 300px;

    font-size: 28px;
  }

  .zsm-about-section .zsm-about-desc {
    font-size: 15.2px;
  }

  .zsm-about-section .zsm-about-image-mask {
    height: 240px;
  }

  .zsm-about-section .zsm-about-features {
    gap: 8px;
  }

  .zsm-about-section .zsm-about-feature {
    min-height: 84px;

    padding: 11px;
  }

  .zsm-about-section .zsm-about-feature p {
    font-size: 12.8px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .zsm-about-section .zsm-about-btn,
  .zsm-about-section .zsm-about-feature,
  .zsm-about-section .zsm-about-main-img {
    transition: none;
  }

  .zsm-about-section .zsm-about-btn-primary:hover,
  .zsm-about-section .zsm-about-btn-secondary:hover,
  .zsm-about-section .zsm-about-feature:hover,
  .zsm-about-section .zsm-about-image-wrap:hover .zsm-about-main-img {
    transform: none;
  }

}










  
/* =========================================================
     TYMCZASOWA KARTA 03 — PRACOWNIE

     Karta pozostaje informacyjna do czasu przygotowania
     podstrony pracowni.
  ========================================================= */

  .zsm-start-landing .zsm-card-static {
    cursor: default;
  }

  .zsm-start-landing .zsm-card-static:hover {
    transform: none !important;
  }

  .zsm-start-landing .zsm-card-static:focus {
    transform: none !important;
  }
 

}



/* ============================================================
   ZSM — PATCH 27.08.2026

   1. Przywraca kapsułki w karcie "Prawo jazdy"
   2. Wyłącza interaktywność karty "Pracownie"
   3. Karta 03 nie unosi się po najechaniu

   WAŻNE:
   TEN BLOK MUSI BYĆ NA SAMYM KOŃCU CSS.
============================================================ */


/* ============================================================
   01 — KAPSUŁKI PRAWA JAZDY
============================================================ */

.zsm-start-landing .zsm-card-featured .zsm-driving-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;

  gap: 8px !important;

  margin-top: 14px !important;
  margin-bottom: 16px !important;
}


.zsm-start-landing .zsm-card-featured .zsm-driving-tags > span {
  display: inline-flex !important;

  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;

  margin: 0 !important;

  padding: 6px 11px !important;

  background: #fff0e6 !important;

  border: 1px solid rgba(249, 115, 22, 0.14) !important;
  border-radius: 999px !important;

  color: #b93800 !important;

  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  white-space: nowrap !important;

  box-shadow: none !important;
}


/* ============================================================
   01 + 02 — KARTY KLIKALNE

   Te karty nadal zachowują interaktywność.
============================================================ */

.zsm-start-landing .zsm-card-clickable {
  cursor: pointer;
}


/* ============================================================
   03 — KARTA PRACOWNIE

   CAŁKOWICIE STATYCZNA.
============================================================ */

.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static {
  cursor: default !important;

  transform: translateY(0) scale(1) !important;
  translate: 0 0 !important;
}


/* ------------------------------------------------------------
   Blokujemy ruch we wszystkich stanach karty 03
------------------------------------------------------------ */

.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:hover,
.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:focus,
.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:focus-visible,
.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:focus-within,
.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:active {
  transform: translateY(0) scale(1) !important;
  translate: 0 0 !important;

  cursor: default !important;
}


/* ------------------------------------------------------------
   Jeśli stary CSS porusza zdjęciem przy hoverze,
   również to blokujemy.
------------------------------------------------------------ */

.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:hover .zsm-card-image,
.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:hover .zsm-card-image img,
.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:focus .zsm-card-image,
.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static:focus .zsm-card-image img {
  transform: none !important;
  translate: 0 0 !important;
}


/* ------------------------------------------------------------
   Jeżeli istniejący CSS dodaje animację całej karcie,
   statyczna karta nie potrzebuje animacji transformacji.
------------------------------------------------------------ */

.zsm-start-landing .zsm-grid .zsm-card.zsm-card-static {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease !important;
}


/* ============================================================
   MOBILE — KAPSUŁKI
============================================================ */

@media (max-width: 768px) {

  .zsm-start-landing .zsm-card-featured .zsm-driving-tags {
    gap: 6px !important;
  }

  .zsm-start-landing .zsm-card-featured .zsm-driving-tags > span {
    min-height: 28px !important;

    padding: 6px 9px !important;

    font-size: 11px !important;
  }

}




/* =========================================================
   SEKCJA „KIERUNKI KSZTAŁCENIA”
========================================================= */

.school-directions {
  padding: 76px 20px 92px;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .085), transparent 30%),
    linear-gradient(180deg, #f8fafe 0%, #eef3fb 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.school-directions__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
}

.school-directions__header {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.school-directions__eyebrow {
  margin: 0 0 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.school-directions__header h2 {
  margin: 0;
  color: #061f5f;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: .96;
  font-weight: 900;
  letter-spacing: -1.8px;
}

.school-directions__header p {
  max-width: 720px;
  margin: 22px auto 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.7;
}

.school-directions__compare {
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.school-directions__compare-item {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,35,86,.10);
  color: #334155;
  font-size: 14px;
  line-height: 1.3;
  box-shadow:
    0 10px 24px rgba(15,35,86,.05),
    inset 0 1px 0 rgba(255,255,255,.75);
}

.school-directions__compare-item::before {
  content: "✓";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
}

.school-directions__compare-item strong {
  color: #0b2a66;
  font-weight: 950;
}

/* PANEL */

.school-directions .directions-panel {
  position: relative;
  padding: 154px 34px 46px;
  margin-bottom: 54px;
  border-radius: 24px;
  border: 1px solid rgba(15, 35, 86, .08);
  box-shadow:
    0 20px 52px rgba(15, 35, 86, .055),
    inset 0 1px 0 rgba(255,255,255,.95);
  overflow: hidden;
}

.school-directions .directions-panel--blue {
  --panel-color: #2563EB;
  --panel-hover: #1D4ED8;
  --panel-soft: #EFF6FF;
  --panel-soft-2: #DBEAFE;
  --panel-dark: #0B2A66;
  --text-main: #0B2A66;
  --text-body: #334155;
  --badge-text: #0B2A66;

  background:
    radial-gradient(circle at 5% 10%, rgba(37, 99, 235, .085), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #F3F7FF 100%);
}

.school-directions .directions-panel--green {
  --panel-color: #16A34A;
  --panel-hover: #15803D;
  --panel-soft: #DCFCE7;
  --panel-soft-2: #BBF7D0;
  --panel-dark: #15803D;
  --text-main: #0B2A66;
  --text-body: #334155;
  --badge-text: #166534;

  background:
    radial-gradient(circle at 5% 10%, rgba(22, 163, 74, .055), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #F5FCF7 100%);
}

/* LINIA */

.school-directions .directions-panel__line {
  position: absolute;
  top: 30px;
  left: 34px;
  right: 34px;
  height: 90px;
  pointer-events: none;
  z-index: 1;
}

.school-directions .directions-panel__line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% - 285px);
  height: 54px;
  border-top: 3px solid var(--panel-color);
  border-right: 3px solid var(--panel-color);
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
}

.school-directions .directions-panel__line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 54px;
  width: 285px;
  height: 3px;
  background: var(--panel-color);
  border-radius: 999px;
}

.school-directions .directions-panel::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 79px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--panel-color);
  z-index: 2;
}

/* KROPKI */

.school-directions .directions-panel__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--panel-color);
}

.school-directions .directions-panel__dots::before,
.school-directions .directions-panel__dots::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: .075;
  background-image: radial-gradient(circle, currentColor 2px, transparent 2px);
  background-size: 22px 22px;
}

.school-directions .directions-panel__dots::before {
  left: 14px;
  top: 24px;
}

.school-directions .directions-panel__dots::after {
  right: 16px;
  bottom: 22px;
}

.school-directions .directions-panel--green .directions-panel__dots::before,
.school-directions .directions-panel--green .directions-panel__dots::after {
  opacity: .07;
}

/* HEADER PANELU */

.school-directions .directions-panel__header {
  position: absolute;
  top: 72px;
  left: 64px;
  right: 64px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
}

.school-directions .directions-panel__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  background: var(--panel-color);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--panel-color) 20%, transparent);
}

.school-directions .directions-panel__header h3 {
  margin: 0;
  color: var(--panel-dark);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.school-directions .directions-panel__header p {
  margin: 6px 0 0;
  color: #22314c;
  font-size: 16px;
  line-height: 1.45;
}

/* GRID */

.school-directions .directions-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* KARTA — CAŁA KLIKALNA */

.school-directions .direction-card {
  position: relative;
  min-height: 364px;
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,35,86,.07);
  text-align: center;
  box-shadow:
    0 14px 32px rgba(15,35,86,.05),
    inset 0 1px 0 rgba(255,255,255,.92);
  overflow: hidden;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.school-directions .direction-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--panel-color) 26%, transparent);
  box-shadow:
    0 22px 44px rgba(15,35,86,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
  text-decoration: none;
  color: inherit;
}

.school-directions .direction-card:focus-visible {
  outline: 3px solid var(--panel-color);
  outline-offset: 4px;
}

.school-directions .direction-card::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 72px;
  height: 72px;
  opacity: .09;
  background-image: radial-gradient(circle, var(--panel-color) 1.5px, transparent 1.5px);
  background-size: 11px 11px;
}

/* IKONY */

.school-directions .direction-card__icon {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  margin: 0 auto 22px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, var(--panel-soft) 100%);
  border: 1px solid var(--panel-soft-2);
  box-shadow:
    0 12px 26px color-mix(in srgb, var(--panel-color) 9%, transparent),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.school-directions .direction-card__icon img {
  display: block;
  width: 68px;
  height: 68px;
  max-width: 68px;
  max-height: 68px;
  object-fit: contain;
}

/* TEKST */

.school-directions .direction-card h4 {
  min-height: 52px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
}

.school-directions .direction-card p {
  min-height: 62px;
  max-width: 250px;
  margin: 0 auto 18px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.5;
}

/* BADGE */

.school-directions .direction-card ul {
  min-height: 34px;
  list-style: none;
  padding: 0;
  margin: auto 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.school-directions .direction-card li {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--badge-text);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

/* CTA — WYGLĄDA JAK PRZYCISK, ALE KARTA JEST LINKIEM */

.school-directions .direction-card__button {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-color) 5%, #fff);
  color: var(--panel-color);
  border: 1px solid color-mix(in srgb, var(--panel-color) 60%, transparent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
  pointer-events: none;
}

.school-directions .direction-card__button::after {
  content: "→";
  margin-left: 8px;
}

.school-directions .direction-card:hover .direction-card__button {
  background: var(--panel-color);
  color: #fff;
  border-color: var(--panel-color);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15,35,86,.08);
}

/* INFO */

.school-directions .direction-info {
  width: fit-content;
  max-width: 580px;
  margin: 36px auto 0;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid color-mix(in srgb, var(--panel-color) 22%, transparent);
  box-shadow:
    0 10px 30px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.65);
  position: relative;
  z-index: 3;
}

.school-directions .direction-info span {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 21px;
  background: var(--panel-color);
}

.school-directions .direction-info strong {
  display: block;
  margin-bottom: 3px;
  color: var(--panel-dark);
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.school-directions .direction-info p {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.42;
}

/* TABLET */

@media (max-width: 1200px) {
  .school-directions .directions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .school-directions .direction-card {
    min-height: 340px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .school-directions {
    padding: 48px 12px 64px;
  }

  .school-directions__container {
    padding: 0;
  }

  .school-directions__header {
    margin-bottom: 30px;
  }

  .school-directions__eyebrow {
    font-size: 12px;
    letter-spacing: .14em;
  }

  .school-directions__header h2 {
    font-size: clamp(36px, 11vw, 46px);
    line-height: 1.04;
    letter-spacing: -1.5px;
  }

  .school-directions__header p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
  }

  .school-directions__compare {
    margin-top: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .school-directions__compare-item {
    width: 100%;
    min-height: 54px;
    padding: 12px 16px;
    justify-content: flex-start;
    border-radius: 18px;
    font-size: 13.5px;
    text-align: left;
    flex-wrap: wrap;
  }

  .school-directions__compare-item::before {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .school-directions__compare-item strong,
  .school-directions__compare-item span {
    display: block;
  }

  .school-directions .directions-panel {
    padding: 152px 16px 32px;
    margin-bottom: 34px;
    border-radius: 22px;
  }

  .school-directions .directions-panel__line,
  .school-directions .directions-panel::after {
    display: none;
  }

  .school-directions .directions-panel__dots::before {
    left: 12px;
    top: 16px;
    opacity: .04;
  }

  .school-directions .directions-panel__dots::after {
    display: none;
  }

  .school-directions .directions-panel__header {
    top: 42px;
    left: 24px;
    right: 24px;
    gap: 12px;
    align-items: flex-start;
  }

  .school-directions .directions-panel__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    font-size: 19px;
  }

  .school-directions .directions-panel__header h3 {
    font-size: 20px;
    line-height: 1.08;
    letter-spacing: -.5px;
  }

  .school-directions .directions-panel__header p {
    max-width: 230px;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.4;
  }

  .school-directions .directions-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .school-directions .direction-card {
    min-height: auto;
    padding: 22px 18px 20px;
    border-radius: 22px;
  }

  .school-directions .direction-card:hover {
    transform: none;
  }

  .school-directions .direction-card__icon {
    width: 78px;
    height: 78px;
    min-width: 78px;
    min-height: 78px;
    margin-bottom: 16px;
    padding: 9px;
  }

  .school-directions .direction-card__icon img {
    width: 60px;
    height: 60px;
    max-width: 60px;
    max-height: 60px;
  }

  .school-directions .direction-card h4 {
    min-height: auto;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.3;
  }

  .school-directions .direction-card p {
    min-height: auto;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.48;
  }

  .school-directions .direction-card ul {
    min-height: auto;
    margin-bottom: 14px;
  }

  .school-directions .direction-card li {
    min-height: 30px;
    padding: 0 11px;
    font-size: 11px;
  }

  .school-directions .direction-card__button {
    width: 100%;
    min-height: 46px;
  }

  .school-directions .direction-info {
    width: 100%;
    max-width: none;
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 22px;
    align-items: flex-start;
  }

  .school-directions .direction-info span {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 18px;
  }

  .school-directions .direction-info strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .school-directions .direction-info p {
    font-size: 13.5px;
    line-height: 1.4;
  }
}

/* SMALL MOBILE */

@media (max-width: 420px) {
  .school-directions__header h2 {
    font-size: 34px;
  }

  .school-directions .directions-panel {
    padding: 158px 14px 30px;
  }

  .school-directions .directions-panel__header {
    left: 18px;
    right: 18px;
  }

  .school-directions .directions-panel__header h3 {
    font-size: 20px;
  }

  .school-directions .directions-panel__header p {
    max-width: 220px;
  }

  .school-directions .direction-card {
    padding: 22px 16px 20px;
  }

  .school-directions .direction-card p {
    font-size: 14px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .school-directions .direction-card,
  .school-directions .direction-card__button {
    transition: none;
  }

  .school-directions .direction-card:hover,
  .school-directions .direction-card:hover .direction-card__button {
    transform: none;
  }
}












/* =========================================================
   SEKCJA „HERO / START STRONY” — ZSM PREMIUM GRID
========================================================= */

#mod-custom178,
#mod-custom178 .zsm-start-landing {
  width: 100%;
}

.zsm-start-landing,
.zsm-start-landing * {
  box-sizing: border-box;
}

.zsm-start-landing {
  --zsm-blue: #155eef;
  --zsm-blue-dark: #0b3b91;
  --zsm-blue-soft: #eef5ff;
  --zsm-orange: #f97316;
  --zsm-orange-dark: #b93808;
  --zsm-orange-soft: #fff4ec;
  --zsm-text: #08111f;
  --zsm-muted: #2c3748;
  --zsm-border: rgba(15, 23, 42, .11);

  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 48px) 20px;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: var(--zsm-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(21, 94, 239, .13), transparent 31%),
    radial-gradient(circle at 88% 12%, rgba(99, 102, 241, .09), transparent 29%),
    radial-gradient(circle at 50% 108%, rgba(249, 115, 22, .08), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #f5f8ff 100%);
}

.zsm-start-landing .zsm-nowrap {
  white-space: nowrap;
}

.zsm-start-landing::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 34px;
  border: 1px solid rgba(21, 94, 239, .11);
  pointer-events: none;
}

.zsm-start-landing::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(780px, 80vw);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .82), transparent 68%);
  pointer-events: none;
}

.zsm-start-landing .zsm-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--zsm-container-width, 1180px);
  margin-inline: auto;
}

.zsm-start-landing .zsm-hero {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.zsm-start-landing .zsm-eyebrow,
.zsm-start-landing .zsm-driving-badge {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(21, 94, 239, .16);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.zsm-start-landing .zsm-eyebrow {
  margin-bottom: 14px;
  padding: 8px 16px;
  color: var(--zsm-blue);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.zsm-start-landing .zsm-driving-badge {
  margin-bottom: 18px;
  padding: 10px 18px;
  color: var(--zsm-blue-dark);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.zsm-start-landing h1 {
  max-width: 640px;
  margin: 0 auto;
  color: var(--zsm-text);
  font-size: clamp(42px, 5.1vw, 66px);
  line-height: .92;
  font-weight: 850;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.zsm-start-landing .zsm-lead {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--zsm-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.58;
  font-weight: 500;
  text-wrap: balance;
}

.zsm-start-landing .zsm-main-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.zsm-start-landing .zsm-primary-btn,
.zsm-start-landing .zsm-secondary-btn {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.zsm-start-landing .zsm-primary-btn {
  background: linear-gradient(135deg, #155eef 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(21, 94, 239, .26);
}

.zsm-start-landing .zsm-secondary-btn {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(21, 94, 239, .18);
  color: var(--zsm-text);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
}

.zsm-start-landing .zsm-primary-btn:hover,
.zsm-start-landing .zsm-secondary-btn:hover {
  transform: translateY(-2px);
}

.zsm-start-landing .zsm-primary-btn:hover {
  box-shadow: 0 22px 42px rgba(21, 94, 239, .32);
}

.zsm-start-landing .zsm-secondary-btn:hover {
  border-color: rgba(21, 94, 239, .34);
  background: var(--zsm-blue-soft);
}

/* PROOF PILLS */

.zsm-start-landing .zsm-proof-row {
  margin-top: 18px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.zsm-start-landing .zsm-proof-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .84) !important;
  border: 1px solid rgba(21, 94, 239, .16) !important;
  color: #172033 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .035) !important;
  white-space: nowrap !important;
}

.zsm-start-landing .zsm-proof-pill::before {
  content: "✓";
  margin-right: 7px;
  color: var(--zsm-blue);
  font-weight: 900;
}

/* CARDS */

.zsm-start-landing .zsm-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.zsm-start-landing .zsm-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid var(--zsm-border);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.zsm-start-landing .zsm-card:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 94, 239, .22);
  box-shadow: 0 32px 68px rgba(15, 23, 42, .11);
}

.zsm-start-landing .zsm-card-featured {
  border-color: rgba(249, 115, 22, .34);
  background:
    radial-gradient(circle at 14% 0%, rgba(249, 115, 22, .10), transparent 32%),
    linear-gradient(180deg, #fff 0%, var(--zsm-orange-soft) 100%);
}

.zsm-start-landing .zsm-card-featured::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--zsm-orange);
}

.zsm-start-landing .zsm-card-top {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.zsm-start-landing .zsm-number {
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--zsm-blue-soft);
  color: var(--zsm-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.zsm-start-landing .zsm-card-featured .zsm-number {
  background: rgba(249, 115, 22, .14);
  color: var(--zsm-orange-dark);
}

.zsm-start-landing .zsm-feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, .10);
  color: var(--zsm-orange-dark);
  font-size: 10.5px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* IMAGES */

.zsm-start-landing .zsm-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  background: #eaf1fb;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}

.zsm-start-landing .zsm-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 17, 31, .02) 0%, rgba(8, 17, 31, .12) 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .18), transparent 42%);
  pointer-events: none;
}

.zsm-start-landing .zsm-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  filter: saturate(.96) contrast(1.04) brightness(.99);
  transition: transform .42s ease, filter .42s ease;
}

.zsm-start-landing .zsm-card:hover .zsm-card-image img {
  transform: scale(1.04);
  filter: saturate(.98) contrast(1.05) brightness(1);
}

/* CARD CONTENT */

.zsm-start-landing .zsm-card-content {
  padding: 18px 4px 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.zsm-start-landing .zsm-card h2 {
  margin: 0 0 10px;
  color: var(--zsm-text);
  font-size: clamp(23px, 1.75vw, 28px);
  line-height: 1.08;
  font-weight: 820;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.zsm-start-landing .zsm-card p {
  max-width: 36ch;
  margin: 0;
  color: var(--zsm-muted);
  font-size: 15.5px;
  line-height: 1.62;
  font-weight: 500;
}

.zsm-start-landing .zsm-driving-tags {
  margin-top: 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.zsm-start-landing .zsm-driving-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(21, 94, 239, .09);
  border: 1px solid rgba(21, 94, 239, .18);
  color: var(--zsm-blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.zsm-start-landing .zsm-card-link {
  width: fit-content;
  min-height: 44px;
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  color: var(--zsm-blue);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
  text-decoration: none;
}

.zsm-start-landing .zsm-card-link::after,
.zsm-start-landing .zsm-mini-card a::after {
  content: " →";
}

.zsm-start-landing .zsm-card-link:hover,
.zsm-start-landing .zsm-mini-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zsm-start-landing .zsm-card-featured .zsm-card-link {
  color: var(--zsm-orange-dark);
}

/* DETAILS */

.zsm-start-landing .zsm-more {
  position: relative;
  margin-top: 30px;
  padding-top: 6px;
  text-align: center;
}

.zsm-start-landing .zsm-more::before {
  content: "";
  display: block;
  width: min(520px, 80%);
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, rgba(21, 94, 239, .18), transparent);
}

.zsm-start-landing .zsm-more-toggle {
  position: relative;
  z-index: 2;
  width: fit-content;
  min-height: 44px;
  margin: 0 auto;
  padding: 0 18px;
  border: 1px solid rgba(21, 94, 239, .16);
  border-radius: 999px;
  background: #fff;
  color: var(--zsm-blue-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 44px;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .045);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.zsm-start-landing .zsm-more-toggle:focus,
.zsm-start-landing .zsm-more-toggle:active,
.zsm-start-landing .zsm-more-toggle:focus-visible {
  border-color: rgba(21, 94, 239, .28) !important;
  outline: 3px solid rgba(21, 94, 239, .28) !important;
  outline-offset: 3px;
}

.zsm-start-landing .zsm-more-toggle::-webkit-details-marker {
  display: none;
}

.zsm-start-landing .zsm-more-toggle::marker {
  content: "";
}

.zsm-start-landing .zsm-more-toggle:hover {
  transform: translateY(-2px);
  background: var(--zsm-blue-soft);
  box-shadow: 0 16px 30px rgba(21, 94, 239, .09);
}

.zsm-start-landing .zsm-more-arrow {
  display: inline-block;
  margin-left: 7px;
  font-size: 15px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .28s ease;
}

.zsm-start-landing .zsm-more[open] .zsm-more-arrow {
  transform: translateY(-1px) rotate(180deg);
}

.zsm-start-landing .zsm-more-content {
  overflow: hidden;
}

.zsm-start-landing .zsm-more-inner {
  margin-top: 12px;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(245,248,255,.95) 100%);
  border: 1px solid rgba(21, 94, 239, .10);
  box-shadow: 0 20px 42px rgba(15, 23, 42, .055);
  text-align: left;
  animation: zsmMoreOpen .28s ease both;
}

@keyframes zsmMoreOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zsm-start-landing .zsm-more-head {
  margin-bottom: 28px;
}

.zsm-start-landing .zsm-more-head h2 {
  max-width: 620px;
  margin: 0;
  color: var(--zsm-text);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.zsm-start-landing .zsm-more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.zsm-start-landing .zsm-mini-card {
  position: relative;
  min-height: 165px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,251,255,.96) 100%);
  border: 1px solid rgba(15, 23, 42, .09);
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.zsm-start-landing .zsm-mini-card:nth-child(1) {
  border-top: 3px solid #155eef;
}

.zsm-start-landing .zsm-mini-card:nth-child(2) {
  border-top: 3px solid #7c3aed;
}

.zsm-start-landing .zsm-mini-card:nth-child(3) {
  border-top: 3px solid #f97316;
}

.zsm-start-landing .zsm-mini-card:nth-child(4) {
  border-top: 3px solid #14b8a6;
}

.zsm-start-landing .zsm-mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 94, 239, .24);
  box-shadow: 0 24px 50px rgba(15, 23, 42, .12);
}

.zsm-start-landing .zsm-mini-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #155eef 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(21,94,239,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zsm-start-landing .zsm-mini-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zsm-start-landing .zsm-mini-card h3 {
  margin: 0 0 8px;
  color: var(--zsm-text);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -.035em;
}

.zsm-start-landing .zsm-mini-card p {
  margin: 0;
  color: var(--zsm-muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.zsm-start-landing .zsm-mini-card a {
  min-height: 44px;
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--zsm-blue);
  font-size: 13.5px;
  font-weight: 850;
  text-decoration: none;
  transition: gap .2s ease;
}

.zsm-start-landing .zsm-mini-card a:hover {
  gap: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* WCAG */

.zsm-start-landing a:focus-visible,
.zsm-start-landing summary:focus-visible {
  outline: 3px solid var(--zsm-blue);
  outline-offset: 4px;
}

/* TABLET */

@media (max-width: 1100px) {
  .zsm-start-landing .zsm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zsm-start-landing .zsm-card-featured {
    grid-column: 1 / -1;
  }

  .zsm-start-landing .zsm-card {
    min-height: auto;
  }

  .zsm-start-landing .zsm-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .zsm-start-landing {
    padding: 16px 14px;
  }

  .zsm-start-landing::before {
    inset: 6px;
    border-radius: 26px;
  }

  .zsm-start-landing::after {
    width: 100%;
    height: 360px;
    top: 0;
  }

  .zsm-start-landing .zsm-container {
    width: 100%;
    max-width: 100%;
  }

  .zsm-start-landing .zsm-eyebrow {
    margin-bottom: 12px;
    padding: 7px 14px;
    font-size: 11px;
  }

  .zsm-start-landing .zsm-driving-badge {
    max-width: 320px;
    margin-bottom: 16px;
    padding: 9px 16px;
    font-size: 13px;
  }

  .zsm-start-landing h1 {
    max-width: 340px;
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1;
    letter-spacing: -.045em;
  }

  .zsm-start-landing .zsm-lead {
    max-width: 345px;
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.5;
  }

  .zsm-start-landing .zsm-main-actions {
    margin-top: 22px;
    flex-direction: column;
    gap: 10px;
  }

  .zsm-start-landing .zsm-primary-btn,
  .zsm-start-landing .zsm-secondary-btn {
    width: 100%;
    min-height: 50px;
    font-size: 14px;
  }

  .zsm-start-landing .zsm-proof-row {
    gap: 8px !important;
    margin-top: 18px !important;
  }

  .zsm-start-landing .zsm-proof-pill {
    width: 100% !important;
    max-width: 330px !important;
    min-height: 40px !important;
    font-size: 12.5px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .zsm-start-landing .zsm-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .zsm-start-landing .zsm-card,
  .zsm-start-landing .zsm-card-featured {
    display: flex;
    min-height: auto;
    padding: 13px;
    border-radius: 22px;
  }

  .zsm-start-landing .zsm-card:hover {
    transform: none;
  }

  .zsm-start-landing .zsm-card-top {
    min-height: 38px;
    margin-bottom: 12px;
  }

  .zsm-start-landing .zsm-number {
    min-width: 38px;
    height: 38px;
  }

  .zsm-start-landing .zsm-feature-badge {
    white-space: normal;
    text-align: left;
  }

  .zsm-start-landing .zsm-card-image {
    aspect-ratio: 16 / 8.9;
    height: auto !important;
    border-radius: 18px;
  }

  .zsm-start-landing .zsm-card-featured .zsm-card-image img {
    object-position: center center !important;
  }

  .zsm-start-landing .zsm-grid .zsm-card:nth-child(2) .zsm-card-image img {
    object-position: center 46% !important;
  }

  .zsm-start-landing .zsm-grid .zsm-card:nth-child(3) .zsm-card-image img {
    object-position: center 42% !important;
  }

  .zsm-start-landing .zsm-card-content {
    padding: 14px 2px 0;
  }

  .zsm-start-landing .zsm-card h2 {
    font-size: 22px;
    line-height: 1.08;
    margin-bottom: 10px;
    letter-spacing: -.04em;
  }

  .zsm-start-landing .zsm-card p {
    max-width: none;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .zsm-start-landing .zsm-driving-tags {
    gap: 6px;
    margin-top: 12px;
  }

  .zsm-start-landing .zsm-driving-tags span {
    min-height: 28px;
    font-size: 10.5px;
    padding: 6px 10px;
  }

  .zsm-start-landing .zsm-card-link {
    width: 100%;
    min-height: 46px;
    padding-top: 14px;
    font-size: 14px;
  }

  .zsm-start-landing .zsm-more {
    margin-top: 22px;
  }

  .zsm-start-landing .zsm-more::before {
    margin-bottom: 14px;
  }

  .zsm-start-landing .zsm-more-toggle {
    width: 100%;
    max-width: 340px;
    min-height: 44px;
    padding: 0 14px;
    font-size: 12.5px;
    line-height: 44px;
  }

  .zsm-start-landing .zsm-more-inner {
    margin-top: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .zsm-start-landing .zsm-more-head {
    margin-bottom: 18px;
  }

  .zsm-start-landing .zsm-more-head h2 {
    max-width: 300px;
    font-size: 28px;
    line-height: 1.05;
  }

  .zsm-start-landing .zsm-more-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .zsm-start-landing .zsm-mini-card {
    min-height: auto;
    padding: 14px;
    border-radius: 20px;
  }

  .zsm-start-landing .zsm-mini-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }

  .zsm-start-landing .zsm-mini-card h3 {
    font-size: 17px;
  }

  .zsm-start-landing .zsm-mini-card p {
    font-size: 13.8px;
  }

  .zsm-start-landing .zsm-mini-card a {
    padding-top: 10px;
  }
}

/* DESKTOP MICRO-TUNING */

@media (min-width: 1110px) {
  .zsm-start-landing .zsm-card {
    min-height: 405px;
  }

  .zsm-start-landing .zsm-card-image {
    aspect-ratio: 16 / 8.8;
  }

  .zsm-start-landing .zsm-grid {
    gap: 26px;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .zsm-start-landing {
    padding-inline: 12px;
  }

  .zsm-start-landing h1 {
    font-size: 33px;
  }
}

/* REDUCED MOTION */

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




/* =========================================================
   DLACZEGO ZSM — CAŁE KARTY KLIKALNE
========================================================= */

.zsm-start-landing .zsm-card-clickable {
  cursor: pointer;
}

.zsm-start-landing .zsm-card-clickable:focus-visible {
  outline: 3px solid var(--zsm-blue, #155eef) !important;
  outline-offset: 4px;
}

.zsm-start-landing .zsm-card-clickable:hover .zsm-card-link,
.zsm-start-landing .zsm-card-clickable:focus-visible .zsm-card-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}













/* =========================================================
   SEKCJA „AKTUALNOŚCI”
========================================================= */

.premium-news {
    --pn-primary: #2454ff;
    --pn-primary-hover: #1d49f2;
    --pn-primary-soft: #eef3ff;

    --pn-navy: #07152f;
    --pn-text: #07152f;
    --pn-muted: #334155;
    --pn-muted-soft: #475569;

    --pn-border: rgba(15, 23, 42, .09);
    --pn-border-hover: rgba(36, 84, 255, .22);

    --pn-radius-md: 14px;
    --pn-radius-lg: 18px;
    --pn-pill: 999px;

    --pn-shadow-soft:
        0 8px 22px rgba(15, 23, 42, .052),
        0 1px 3px rgba(15, 23, 42, .055);

    --pn-shadow-hover:
        0 14px 34px rgba(15, 23, 42, .095),
        0 4px 12px rgba(15, 23, 42, .065);

    --pn-ease: cubic-bezier(.2, .8, .2, 1);
    --pn-fast: .18s var(--pn-ease);
    --pn-base: .25s var(--pn-ease);
    --pn-slow: .38s var(--pn-ease);

    --pn-container: var(--zsm-container-width, 1280px);
    --pn-thumb-width: 148px;
    --pn-thumb-height: 82px;

    max-width: var(--pn-container);
    margin: 0 auto;
    padding: 28px 20px 60px;
    color: var(--pn-text);
    box-sizing: border-box;
}

.premium-news .premium-news-head {
    position: relative;
    text-align: center;
    margin-bottom: 34px;
}

.premium-news .premium-news-head::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(36, 84, 255, .075), transparent 68%);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
}

.premium-news .premium-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    margin-bottom: 10px;
    color: var(--pn-primary);
    background: var(--pn-primary-soft);
    border: 1px solid rgba(36, 84, 255, .12);
    border-radius: var(--pn-pill);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.premium-news .premium-news-head h1 {
    margin: 0 0 12px;
    color: var(--pn-navy);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.04;
    font-weight: 850;
    letter-spacing: -.038em;
}

.premium-news .premium-news-head p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--pn-muted);
    font-size: 16px;
    line-height: 1.65;
}

.premium-news .premium-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 24px;
    align-items: stretch;
}

.premium-news .premium-main-card,
.premium-news .premium-list-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid var(--pn-border);
    box-shadow: var(--pn-shadow-soft);
    overflow: hidden;
    border-radius: var(--pn-radius-lg);
}

.premium-news .premium-main-card,
.premium-news .premium-list-item,
.premium-news .premium-all-news a {
    color: inherit;
    text-decoration: none;
}

.premium-news .premium-main-card,
.premium-news .premium-list-item {
    cursor: pointer;
}

.premium-news .premium-main-card {
    display: flex;
    flex-direction: column;
    height: auto;
    transition:
        transform var(--pn-base),
        box-shadow var(--pn-base),
        border-color var(--pn-base),
        background var(--pn-base);
}

.premium-news .premium-main-card:hover {
    transform: translateY(-2px);
    border-color: var(--pn-border-hover);
    background: #ffffff;
    box-shadow: var(--pn-shadow-hover);
}

.premium-news .premium-main-card:focus-visible,
.premium-news .premium-list-item:focus-visible,
.premium-news .premium-all-news a:focus-visible {
    outline: 3px solid rgba(36, 84, 255, .68);
    outline-offset: 4px;
}

/* =========================================================
   GŁÓWNE ZDJĘCIE
========================================================= */

.premium-news .premium-main-image {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: none;
    overflow: hidden;
    background: #eef2f7;
}

.premium-news .premium-main-image::before,
.premium-news .premium-main-image::after {
    display: none;
}

.premium-news .premium-main-image img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: saturate(.96) contrast(1.04) brightness(.99);
    transition:
        transform var(--pn-slow),
        filter var(--pn-slow);
}

.premium-news .premium-main-card:hover .premium-main-image img {
    transform: scale(1.012);
    filter: saturate(1) contrast(1.05) brightness(1);
}

/* =========================================================
   TREŚĆ LEWEJ KARTY
========================================================= */

.premium-news .premium-main-content {
    height: auto;
    min-height: 0;
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
}

.premium-news .premium-main-content h2 {
    margin: 12px 0 10px;
    min-height: 0;
    color: var(--pn-navy);
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.18;
    font-weight: 850;
    letter-spacing: -.038em;
    display: block;
    overflow: visible;
}

.premium-news .premium-main-content p {
    margin: 0 0 18px;
    min-height: 0;
    max-width: 86%;
    color: var(--pn-muted);
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-news .premium-main-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 0;
    padding-top: 0;
    color: var(--pn-primary);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition:
        color var(--pn-fast),
        transform var(--pn-fast);
}

.premium-news .premium-main-card:hover .premium-main-link {
    color: var(--pn-primary-hover);
    transform: translateX(3px);
}

/* =========================================================
   META I KATEGORIE
========================================================= */

.premium-news .premium-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--pn-muted-soft);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 750;
}

.premium-news .premium-meta-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 5px 9px;
    border-radius: var(--pn-pill);
    background: rgba(36, 84, 255, .09);
    color: #1d49f2;
    font-size: 10px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.premium-news .category-aktualnosci,
.premium-news .category-wydarzenia,
.premium-news .category-szkola {
    background: rgba(36, 84, 255, .09);
    color: #1d49f2;
}

.premium-news .category-sukcesy {
    background: rgba(245, 158, 11, .14);
    color: #a16207;
}

.premium-news .category-rekrutacja {
    background: rgba(16, 185, 129, .12);
    color: #047857;
}

.premium-news .category-wazne {
    background: rgba(239, 68, 68, .12);
    color: #b91c1c;
}

.premium-news .category-projekty {
    background: rgba(139, 92, 246, .12);
    color: #6d28d9;
}

/* =========================================================
   PRAWA KOLUMNA
========================================================= */

.premium-news .premium-list-card {
    display: flex;
    flex-direction: column;
    height: auto;
}

.premium-news .premium-list-item {
    position: relative;
    display: grid;
    grid-template-columns: var(--pn-thumb-width) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 110px;
    padding: 12px 62px 12px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, .065);
    transition:
        background var(--pn-base),
        transform var(--pn-base);
}

.premium-news .premium-list-item:first-child {
    background: linear-gradient(90deg, rgba(238, 243, 255, .58), rgba(255, 255, 255, .92));
}

.premium-news .premium-list-item:last-child {
    border-bottom: none;
}

.premium-news .premium-list-item:hover {
    background: linear-gradient(90deg, rgba(238, 243, 255, .76), rgba(255, 255, 255, .94));
    transform: translateX(2px);
}

.premium-news .premium-list-item img {
    width: var(--pn-thumb-width);
    height: var(--pn-thumb-height);
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: var(--pn-radius-md);
    background: #eef2f7;
    filter: saturate(.96) contrast(1.04) brightness(.99);
    transition:
        transform var(--pn-slow),
        filter var(--pn-slow);
}

.premium-news .premium-list-item:hover img {
    transform: scale(1.016);
    filter: saturate(1) contrast(1.05) brightness(1);
}

.premium-news .premium-list-text {
    min-width: 0;
}

.premium-news .premium-list-item h3 {
    margin: 6px 0 4px;
    color: var(--pn-navy);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.012em;
    transition: color var(--pn-fast);
}

.premium-news .premium-list-item:hover h3 {
    color: var(--pn-primary);
}

.premium-news .premium-list-item p {
    margin: 0;
    color: var(--pn-muted);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-news .premium-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    width: 36px;
    height: 36px;
    border-radius: var(--pn-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pn-primary);
    background: rgba(36, 84, 255, .09);
    font-size: 17px;
    font-weight: 850;
    transform: translateY(-50%);
    transition:
        transform var(--pn-fast),
        background var(--pn-fast),
        color var(--pn-fast);
}

.premium-news .premium-list-item:hover .premium-arrow {
    color: #ffffff;
    background: var(--pn-primary);
    transform: translateY(-50%) translateX(3px);
}

/* =========================================================
   PRZYCISK I PAGINACJA
========================================================= */

.premium-news .premium-all-news {
    text-align: center;
    margin: 26px 0 18px;
}

.premium-news .premium-all-news a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 25px;
    border-radius: var(--pn-pill);
    border: 1px solid rgba(15, 23, 42, .1);
    color: var(--pn-navy);
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--pn-shadow-soft);
    transition:
        transform var(--pn-base),
        box-shadow var(--pn-base),
        border-color var(--pn-base),
        color var(--pn-base),
        background var(--pn-base);
}

.premium-news .premium-all-news a:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: var(--pn-primary);
    border-color: var(--pn-primary);
    box-shadow: var(--pn-shadow-hover);
}

.premium-news .premium-pagination {
    display: none;
}

/* =========================================================
   ARTYKUŁ PREMIUM — TYLKO Z KLASĄ .zsm-premium-news-article
========================================================= */

.zsm-premium-news-article {
    max-width: var(--zsm-container-width, 1280px);
    margin: 0 auto;
    padding: 36px 20px 72px;
    color: #07152f;
    box-sizing: border-box;
}

.zsm-premium-news-article .page-header {
    max-width: 980px;
    margin: 0 auto 18px;
}

.zsm-premium-news-article .page-header h1,
.zsm-premium-news-article .page-header h2 {
    margin: 0;
    color: #07152f;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.04;
    font-weight: 850;
    letter-spacing: -0.045em;
}

.zsm-premium-news-article .article-info,
.zsm-premium-news-article .com-content-article__info,
.zsm-premium-news-article .article-info-term,
.zsm-premium-news-article time {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 22px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 650;
}

/* Nowoczesne badge dla daty i kategorii — używane, jeśli dodasz je w PHP */
.zsm-premium-news-article .zsm-article-meta-badges {
    max-width: 980px;
    margin: 18px auto 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.zsm-premium-news-article .zsm-article-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.zsm-premium-news-article .zsm-article-badge--date {
    color: #07152f;
    background: #eef3ff;
    border: 1px solid rgba(36, 84, 255, .14);
}

.zsm-premium-news-article .zsm-article-badge--category {
    color: #1d49f2;
    background: rgba(36, 84, 255, .09);
    border: 1px solid rgba(36, 84, 255, .12);
}

.zsm-premium-news-article .zsm-article-badge--sukcesy {
    color: #a16207;
    background: rgba(245, 158, 11, .14);
    border-color: rgba(245, 158, 11, .22);
}

.zsm-premium-news-article .zsm-article-badge--rekrutacja {
    color: #047857;
    background: rgba(16, 185, 129, .12);
    border-color: rgba(16, 185, 129, .2);
}

.zsm-premium-news-article .zsm-article-badge--wazne {
    color: #b91c1c;
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .2);
}

.zsm-premium-news-article .zsm-article-badge--projekty {
    color: #6d28d9;
    background: rgba(139, 92, 246, .12);
    border-color: rgba(139, 92, 246, .2);
}

.zsm-premium-news-article .com-content-article__body {
    max-width: 760px;
    margin: 0 auto;
    color: #07152f;
    font-size: 17px;
    line-height: 1.78;
}

.zsm-premium-news-article .com-content-article__body p {
    margin: 0 0 24px;
}

.zsm-premium-news-article .com-content-article__body > p:first-of-type {
    max-width: 760px;
    font-size: clamp(20px, 2vw, 23px);
    line-height: 1.68;
    color: #334155;
    font-weight: 450;
    margin-bottom: 34px;
}

.zsm-premium-news-article .com-content-article__body a {
    color: #2454ff;
    font-weight: 700;
    text-underline-offset: 3px;
}

.zsm-premium-news-article .com-content-article__body img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   GALERIA ARTYKUŁU PREMIUM
========================================================= */

.zsm-premium-news-article .article-gallery-section {
    max-width: var(--zsm-container-width, 1280px);
    margin: 52px auto 0;
}

.zsm-premium-news-article .article-gallery-head {
    max-width: 760px;
    margin: 0 auto 22px;
}

.zsm-premium-news-article .article-gallery-head h2 {
    margin: 0 0 6px;
    color: #07152f;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.zsm-premium-news-article .article-gallery-head p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
}

.zsm-premium-news-article .article-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.zsm-premium-news-article .article-gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 18px;
    background: #eef2f7;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, .052),
        0 1px 3px rgba(15, 23, 42, .055);
}

.zsm-premium-news-article .article-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.zsm-premium-news-article .article-gallery__item img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    display: block;
    object-fit: cover;
    object-position: center;
    transition:
        transform .38s cubic-bezier(.2, .8, .2, 1),
        filter .38s cubic-bezier(.2, .8, .2, 1);
}

.zsm-premium-news-article .article-gallery__item--featured img {
    min-height: 480px;
}

.zsm-premium-news-article .article-gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 47, .24);
    opacity: 0;
    transition: opacity .25s cubic-bezier(.2, .8, .2, 1);
}

.zsm-premium-news-article .article-gallery__zoom {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #07152f;
    font-size: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .22);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.92);
    transition:
        opacity .25s cubic-bezier(.2, .8, .2, 1),
        transform .25s cubic-bezier(.2, .8, .2, 1);
}

.zsm-premium-news-article .article-gallery__item:hover img {
    transform: scale(1.035);
    filter: saturate(1.04) contrast(1.04);
}

.zsm-premium-news-article .article-gallery__item:hover::after,
.zsm-premium-news-article .article-gallery__item:hover .article-gallery__zoom {
    opacity: 1;
}

.zsm-premium-news-article .article-gallery__item:hover .article-gallery__zoom {
    transform: translate(-50%, -50%) scale(1);
}

/* =========================================================
   CTA POD ARTYKUŁEM PREMIUM
========================================================= */

.zsm-premium-news-article .article-footer-actions {
    max-width: 760px;
    margin: 48px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(15, 23, 42, .09);
}

.zsm-premium-news-article .article-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 14px 28px;
    border-radius: 999px;
    color: #07152f;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .1);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, .052),
        0 1px 3px rgba(15, 23, 42, .055);
    transition:
        transform .25s cubic-bezier(.2, .8, .2, 1),
        background .25s cubic-bezier(.2, .8, .2, 1),
        color .25s cubic-bezier(.2, .8, .2, 1),
        box-shadow .25s cubic-bezier(.2, .8, .2, 1);
}

.zsm-premium-news-article .article-back-link:hover {
    transform: translateY(-2px) scale(1.01);
    color: #ffffff;
    background: #2454ff;
    box-shadow:
        0 14px 34px rgba(15, 23, 42, .095),
        0 4px 12px rgba(15, 23, 42, .065);
}

.zsm-premium-news-article .com-content-article__body a:focus-visible,
.zsm-premium-news-article .article-gallery__item:focus-visible,
.zsm-premium-news-article .article-back-link:focus-visible {
    outline: 3px solid rgba(36, 84, 255, .68);
    outline-offset: 5px;
    border-radius: 12px;
}

/* =========================================================
   RESPONSYWNOŚĆ
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .premium-news *,
    .premium-news *::before,
    .premium-news *::after,
    .zsm-premium-news-article *,
    .zsm-premium-news-article *::before,
    .zsm-premium-news-article *::after {
        transition: none;
        scroll-behavior: auto;
    }

    .premium-news .premium-main-card:hover,
    .premium-news .premium-list-item:hover,
    .premium-news .premium-all-news a:hover,
    .premium-news .premium-main-card:hover img,
    .premium-news .premium-list-item:hover img,
    .premium-news .premium-list-item:hover .premium-arrow,
    .premium-news .premium-main-card:hover .premium-main-link,
    .zsm-premium-news-article .article-gallery__item:hover img,
    .zsm-premium-news-article .article-back-link:hover {
        transform: none;
    }
}

@media (max-width: 900px) {
    .premium-news {
        padding-inline: 16px;
    }

    .premium-news .premium-news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .premium-news .premium-main-card,
    .premium-news .premium-list-card {
        height: auto;
    }

    .premium-news .premium-main-content {
        height: auto;
    }

    .zsm-premium-news-article {
        padding: 30px 16px 64px;
    }

    .zsm-premium-news-article .article-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zsm-premium-news-article .article-gallery__item--featured {
        grid-column: span 2;
    }

    .zsm-premium-news-article .article-gallery__item--featured img {
        min-height: 420px;
    }
}

@media (max-width: 600px) {
    .premium-news {
        padding: 24px 14px 50px;
        --pn-thumb-width: 90px;
        --pn-thumb-height: 68px;
    }

    .premium-news .premium-news-head {
        margin-bottom: 28px;
    }

    .premium-news .premium-news-head::before {
        width: 120px;
        height: 120px;
        top: -8px;
    }

    .premium-news .premium-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .premium-news .premium-news-head h1 {
        font-size: 32px;
        line-height: 1.06;
        letter-spacing: -.034em;
    }

    .premium-news .premium-news-head p {
        max-width: 350px;
        font-size: 16px;
        line-height: 1.58;
    }

    .premium-news .premium-main-card,
    .premium-news .premium-list-card {
        border-radius: 20px;
    }

    .premium-news .premium-main-content {
        padding: 20px 20px 22px;
    }

    .premium-news .premium-main-content h2 {
        font-size: 26px;
        line-height: 1.16;
    }

    .premium-news .premium-main-content p {
        max-width: 100%;
    }

    .premium-news .premium-list-item {
        grid-template-columns: var(--pn-thumb-width) minmax(0, 1fr);
        gap: 13px;
        min-height: 100px;
        padding: 13px 46px 13px 13px;
    }

    .premium-news .premium-list-item img {
        border-radius: 13px;
    }

    .premium-news .premium-list-item h3 {
        margin: 5px 0 0;
        font-size: 16.5px;
        line-height: 1.3;
    }

    .premium-news .premium-list-item p {
        display: none;
    }

    .premium-news .premium-meta {
        gap: 6px;
        font-size: 12px;
        line-height: 1.18;
    }

    .premium-news .premium-list-item .premium-meta-category {
        min-height: 21px;
        padding: 5px 8px;
        font-size: 10px;
    }

    .premium-news .premium-arrow {
        right: 11px;
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .zsm-premium-news-article {
        padding: 24px 14px 56px;
    }

    .zsm-premium-news-article .page-header {
        margin-bottom: 16px;
    }

    .zsm-premium-news-article .page-header h1,
    .zsm-premium-news-article .page-header h2 {
        font-size: clamp(32px, 10vw, 42px);
        line-height: 1.08;
        letter-spacing: -0.038em;
    }

    .zsm-premium-news-article .zsm-article-meta-badges {
        margin: 16px auto 24px;
        gap: 8px;
    }

    .zsm-premium-news-article .zsm-article-badge {
        min-height: 32px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .zsm-premium-news-article .com-content-article__body {
        font-size: 16px;
        line-height: 1.72;
    }

    .zsm-premium-news-article .com-content-article__body > p:first-of-type {
        font-size: 18px;
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .zsm-premium-news-article .article-gallery-section {
        margin-top: 42px;
    }

    .zsm-premium-news-article .article-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .zsm-premium-news-article .article-gallery__item,
    .zsm-premium-news-article .article-gallery__item--featured {
        grid-column: auto;
        grid-row: auto;
    }

    .zsm-premium-news-article .article-gallery__item img,
    .zsm-premium-news-article .article-gallery__item--featured img {
        min-height: 250px;
        max-height: 420px;
    }

    .zsm-premium-news-article .article-gallery__zoom {
        opacity: 1;
        width: 42px;
        height: 42px;
        font-size: 17px;
        transform: translate(-50%, -50%) scale(1);
    }

    .zsm-premium-news-article .article-footer-actions {
        margin-top: 40px;
    }

    .zsm-premium-news-article .article-back-link {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .premium-news {
        padding-inline: 12px;
        --pn-thumb-width: 86px;
        --pn-thumb-height: 66px;
    }

    .premium-news .premium-list-item {
        min-height: 98px;
        padding: 13px 44px 13px 12px;
    }

    .premium-news .premium-list-item h3 {
        font-size: 16px;
    }

    .premium-news .premium-arrow {
        width: 32px;
        height: 32px;
        right: 10px;
    }
}
/* =========================================================
   MOBILE — LEPSZA HIERARCHIA KARTY GŁÓWNEJ AKTUALNOŚCI
   Kolejność: meta → tytuł → zdjęcie → opis → CTA
========================================================= */

@media (max-width: 600px) {
    .premium-news .premium-main-card {
        display: grid;
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .premium-news .premium-main-content {
        display: contents;
    }

    .premium-news .premium-main-content .premium-meta {
        order: 1;
        padding: 20px 20px 0;
    }

    .premium-news .premium-main-content h2 {
        order: 2;
        padding: 0 20px;
        margin: 10px 0 16px;
        font-size: 25px;
        line-height: 1.12;
    }

    .premium-news .premium-main-image {
        order: 3;
        border-radius: 0;
    }

    .premium-news .premium-main-content p {
        order: 4;
        padding: 18px 20px 0;
        margin: 0;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }

    .premium-news .premium-main-link {
        order: 5;
        margin: 0;
        padding: 18px 20px 22px;
    }
}

/* =========================================================
   POPRAWKI UX/WCAG + SEKCJA „ZOBACZ RÓWNIEŻ”
========================================================= */

/* wygodniejszy cel dotykowy i lepsza dostępność */
.premium-news .premium-arrow {
    width: 44px;
    height: 44px;
    right: 14px;
}

.premium-news .premium-list-item {
    padding-right: 70px;
}

.premium-news .premium-main-card:focus-visible,
.premium-news .premium-list-item:focus-visible,
.premium-news .premium-all-news a:focus-visible,
.zsm-premium-news-article .zsm-related-card:focus-visible,
.zsm-premium-news-article .article-back-link:focus-visible {
    outline: 3px solid rgba(36, 84, 255, .78);
    outline-offset: 5px;
}

/* sekcja powiązanych aktualności pod artykułem */
.zsm-premium-news-article .zsm-related-news {
    max-width: 980px;
    margin: 58px auto 0;
    padding-top: 36px;
    border-top: 1px solid rgba(15, 23, 42, .09);
}

.zsm-premium-news-article .zsm-related-eyebrow {
    margin: 0 0 8px;
    color: #2454ff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.zsm-premium-news-article .zsm-related-news h2 {
    margin: 0 0 8px;
    color: #07152f;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.zsm-premium-news-article .zsm-related-lead {
    max-width: 620px;
    margin: 0 0 24px;
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
}

.zsm-premium-news-article .zsm-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.zsm-premium-news-article .zsm-related-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: #07152f;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 18px;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, .052),
        0 1px 3px rgba(15, 23, 42, .055);
    transition:
        transform .25s cubic-bezier(.2, .8, .2, 1),
        box-shadow .25s cubic-bezier(.2, .8, .2, 1),
        border-color .25s cubic-bezier(.2, .8, .2, 1);
}

.zsm-premium-news-article .zsm-related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(36, 84, 255, .22);
    box-shadow:
        0 14px 34px rgba(15, 23, 42, .095),
        0 4px 12px rgba(15, 23, 42, .065);
}

.zsm-premium-news-article .zsm-related-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #eef2f7;
    transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}

.zsm-premium-news-article .zsm-related-card:hover img {
    transform: scale(1.018);
}

.zsm-premium-news-article .zsm-related-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px 18px 20px;
}

.zsm-premium-news-article .zsm-related-card time {
    display: block;
    max-width: none;
    margin: 0 0 8px;
    color: #475569;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 750;
}

.zsm-premium-news-article .zsm-related-card h3 {
    margin: 0 0 10px;
    color: #07152f;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -0.015em;
}

.zsm-premium-news-article .zsm-related-card p {
    margin: 0 0 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zsm-premium-news-article .zsm-related-card-link {
    margin-top: auto;
    color: #2454ff;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
}

/* po dodaniu „Zobacz również” przycisk powrotu może być bliżej, ale nadal czytelnie */
.zsm-premium-news-article .zsm-related-news + .article-footer-actions {
    margin-top: 42px;
}

@media (max-width: 900px) {
    .zsm-premium-news-article .zsm-related-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .zsm-premium-news-article .zsm-related-card {
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
        align-items: stretch;
    }

    .zsm-premium-news-article .zsm-related-card img {
        height: 100%;
        min-height: 150px;
        aspect-ratio: auto;
    }
}

@media (max-width: 600px) {
    .premium-news .premium-arrow {
        width: 44px;
        height: 44px;
        right: 8px;
    }

    .premium-news .premium-list-item {
        padding-right: 58px;
    }

    .zsm-premium-news-article .zsm-related-news {
        margin-top: 46px;
        padding-top: 30px;
    }

    .zsm-premium-news-article .zsm-related-news h2 {
        font-size: 28px;
    }

    .zsm-premium-news-article .zsm-related-lead {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .zsm-premium-news-article .zsm-related-card {
        display: flex;
    }

    .zsm-premium-news-article .zsm-related-card img {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .zsm-premium-news-article .zsm-related-card h3 {
        font-size: 18px;
    }

    .zsm-premium-news-article .zsm-related-card p {
        font-size: 14px;
    }

    .zsm-premium-news-article .zsm-related-card-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zsm-premium-news-article .zsm-related-card,
    .zsm-premium-news-article .zsm-related-card img,
    .zsm-premium-news-article .zsm-related-card:hover,
    .zsm-premium-news-article .zsm-related-card:hover img {
        transition: none;
        transform: none;
    }
}

/* Przywrócenie osobnych kolorów badge kategorii */

.premium-meta-category,
.zsm-news-archive .premium-meta-category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .28rem .62rem;
    border-radius: 999px;
    border: 0;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.category-aktualnosci {
    color: #2450ff !important;
    background: #edf2ff !important;
}

.category-sukcesy {
    color: #176844 !important;
    background: #edf8f2 !important;
}

.category-projekty {
    color: #614296 !important;
    background: #f3effa !important;
}

.category-rekrutacja {
    color: #9f2439 !important;
    background: #fbf0f2 !important;
}

.category-wazne {
    color: #94510d !important;
    background: #fff5e8 !important;
}

.category-nowi-uczniowie {
    color: #92400E !important;
    background: #FEF3C7 !important;
}











Archiwum



/* =========================================================
   ZSM — AKTUALNOŚCI / ARCHIWUM / CATEGORY
   Joomla 5 + Cassiopeia
   ========================================================= */

.zsm-news-archive {
    --archive-primary: #101b55;
    --archive-primary-dark: #091137;
    --archive-text: #20252d;
    --archive-muted: #737b88;
    --archive-body: #5e6674;
    --archive-border: #e2e6ed;
    --archive-surface: #fff;
    --archive-accent: #c8203c;
    --archive-focus: #ffbf47;

    width: min(calc(100% - 3rem), 1320px);
    margin-inline: auto;
    padding-block: clamp(3.25rem, 5.5vw, 5.5rem) 5rem;
}

.zsm-news-archive__header {
    max-width: 800px;
    margin: 0 auto clamp(2.5rem, 4vw, 3.35rem);
    text-align: center;
}

.zsm-news-archive__header .premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1rem;
    color: var(--archive-primary);
    font-size: .82rem;
    font-weight: 750;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.zsm-news-archive__header .premium-eyebrow::before,
.zsm-news-archive__header .premium-eyebrow::after {
    content: "";
    width: 24px;
    height: 1px;
    background: rgb(16 27 85 / .42);
}

.zsm-news-archive__header h1 {
    margin: 0;
    color: var(--archive-text);
    font-size: clamp(2.5rem, 4.4vw, 4rem);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.zsm-news-archive__header p,
.zsm-category-description {
    max-width: 700px;
    margin: 1.15rem auto 0;
    color: var(--archive-body);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.68;
    text-wrap: pretty;
}

.zsm-news-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.45rem, 2.1vw, 1.9rem);
    align-items: stretch;
}

.zsm-news-archive__card {
    min-width: 0;
    height: 100%;
    margin: 0;
    perspective: 1000px;
}

.zsm-news-archive__link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    background: var(--archive-surface);
    border: 1px solid var(--archive-border);
    border-radius: 1rem;
    box-shadow:
        0 2px 4px rgb(15 23 42 / .025),
        0 12px 28px rgb(15 23 42 / .06);
    text-decoration: none;
    transform: translateZ(0);
    transition:
        transform 260ms cubic-bezier(.2,.75,.2,1),
        box-shadow 260ms ease,
        border-color 220ms ease;
}

.zsm-news-archive__link::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset-inline: 1.35rem;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--archive-primary), var(--archive-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

.zsm-news-archive__image {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 8.7;
    overflow: hidden;
    background: #e9edf3;
}

.zsm-news-archive__image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 58%,
        rgb(8 14 38 / .08) 76%,
        rgb(8 14 38 / .22) 100%
    );
    opacity: .9;
    transition: opacity 220ms ease;
}

.zsm-news-archive__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    filter: brightness(.985) saturate(1);
    transform: scale(1);
    transition:
        transform 560ms cubic-bezier(.2,.75,.2,1),
        filter 280ms ease;
}

.zsm-news-archive__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-top: -.7rem;
    padding: 1.4rem clamp(1.3rem, 1.9vw, 1.65rem) clamp(1.3rem, 1.9vw, 1.65rem);
    background: var(--archive-surface);
    border-radius: .9rem .9rem 0 0;
    box-shadow: 0 -8px 22px rgb(15 23 42 / .035);
}

.zsm-news-archive .premium-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem .65rem;
    margin-bottom: .9rem;
    color: var(--archive-muted);
    font-size: .8rem;
    line-height: 1.35;
}

.zsm-news-archive .premium-meta time {
    color: #6b7280;
    font-weight: 500;
}

.zsm-news-archive .premium-meta-category {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 28px;
    padding: .38rem .72rem;
    color: var(--archive-primary);
    background: #eef2fb;
    border: 1px solid rgb(16 27 85 / .08);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .8);
    font-size: .71rem;
    font-weight: 620;
    line-height: 1;
    letter-spacing: .025em;
}

.zsm-news-archive .premium-meta-category::before {
    content: "";
    width: .42rem;
    height: .42rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px currentColor;
    opacity: .16;
}

.zsm-news-archive .category-sukcesy {
    color: #176844;
    background: #edf8f2;
}

.zsm-news-archive .category-projekty {
    color: #614296;
    background: #f3effa;
}

.zsm-news-archive .category-rekrutacja {
    color: #9f2439;
    background: #fbf0f2;
}

.zsm-news-archive .category-wazne {
    color: #94510d;
    background: #fff5e8;
}

.zsm-news-archive__content h2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.65em;
    margin: 0;
    color: var(--archive-text);
    font-size: clamp(1.22rem, 1.5vw, 1.44rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.015em;
    text-wrap: balance;
    transition: color 180ms ease, transform 220ms ease;
}

.zsm-news-archive__content > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: 4.75em;
    margin: .8rem 0 0;
    color: var(--archive-body);
    font-size: .95rem;
    line-height: 1.62;
}

.zsm-news-archive__readmore {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    width: fit-content;
    min-height: 44px;
    margin-top: auto;
    padding-top: 1.05rem;
    color: var(--archive-primary);
    font-size: .92rem;
    font-weight: 730;
    line-height: 1.2;
    transition: color 180ms ease, transform 220ms ease;
}

.zsm-news-archive__readmore::after {
    content: "→";
    display: inline-block;
    font-size: 1.05rem;
    transition: transform 180ms ease;
}

.zsm-news-archive__readmore::before {
    content: "";
    position: absolute;
    left: 0;
    right: 1.65rem;
    bottom: .32rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .zsm-news-archive__link:hover {
        transform: translateY(-8px) scale(1.003);
        border-color: rgb(16 27 85 / .2);
        box-shadow:
            0 10px 22px rgb(15 23 42 / .07),
            0 30px 58px rgb(15 23 42 / .13);
    }

    .zsm-news-archive__link:hover::after {
        transform: scaleX(1);
    }

    .zsm-news-archive__link:hover .zsm-news-archive__image img {
        transform: scale(1.045);
        filter: brightness(1.025) saturate(1.055) contrast(1.015);
    }

    .zsm-news-archive__link:hover .zsm-news-archive__image::after {
        opacity: .72;
    }

    .zsm-news-archive__link:hover h2 {
        color: var(--archive-primary);
        transform: translateY(-1px);
    }

    .zsm-news-archive__link:hover .zsm-news-archive__readmore {
        transform: translateX(2px);
    }

    .zsm-news-archive__link:hover .zsm-news-archive__readmore::after {
        transform: translateX(5px);
    }

    .zsm-news-archive__link:hover .zsm-news-archive__readmore::before {
        transform: scaleX(1);
    }
}

.zsm-news-archive__link:focus-visible,
.zsm-news-archive .pagination .page-link:focus-visible {
    outline: 3px solid var(--archive-focus);
    outline-offset: 4px;
}

.zsm-news-archive .premium-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.zsm-news-archive .pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    margin: 0;
    padding: .35rem;
    background: rgb(255 255 255 / .92);
    border: 1px solid var(--archive-border);
    border-radius: 999px;
    box-shadow:
        0 6px 18px rgb(15 23 42 / .055),
        inset 0 1px 0 rgb(255 255 255 / .9);
    backdrop-filter: blur(10px);
}

.zsm-news-archive .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: .5rem;
    color: var(--archive-primary);
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
}

.zsm-news-archive .pagination .page-link:hover {
    background: #eef2fb;
    transform: translateY(-1px);
}

.zsm-news-archive .pagination .active .page-link,
.zsm-news-archive .pagination .page-item.active .page-link,
.zsm-news-archive .pagination .page-item.active span.page-link {
    color: #fff;
    background: var(--archive-primary);
    box-shadow: 0 5px 14px rgb(16 27 85 / .22);
}

.zsm-news-archive .pagination .disabled .page-link {
    color: #a2a8b2;
    background: transparent;
}

.zsm-news-empty {
    max-width: 40rem;
    margin: 2rem auto;
    padding: 1rem 1.25rem;
    text-align: center;
    color: var(--archive-body, #5e6674);
    background: #f7f8fb;
    border-radius: .75rem;
}

@media (max-width: 991.98px) {
    .zsm-news-archive {
        width: min(calc(100% - 2rem), 920px);
    }

    .zsm-news-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .zsm-news-archive {
        width: min(calc(100% - 3rem), 520px);
        padding-block: 2.5rem 4.5rem;
    }

    .zsm-news-archive__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.35rem;
    }

    .zsm-news-archive__header h1 {
        max-width: 11ch;
        margin-inline: auto;
        font-size: clamp(2.05rem, 9.5vw, 2.6rem);
    }

    .zsm-news-archive__content {
        margin-top: -.55rem;
        padding: 1.25rem 1.2rem 1.2rem;
    }

    .zsm-news-archive__content h2 {
        min-height: 0;
        -webkit-line-clamp: 3;
    }

    .zsm-news-archive__content > p {
        min-height: 0;
    }

    .zsm-news-archive .pagination {
        max-width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .zsm-news-archive .pagination::-webkit-scrollbar {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zsm-news-archive *,
    .zsm-news-archive *::before,
    .zsm-news-archive *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   BADGE — taki sam styl jak w sekcji „Szkolne aktualności”
   ========================================================= */

.zsm-news-archive .premium-meta-category,
.zsm-category-view .premium-meta-category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .28rem .62rem;
    color: #2450ff !important;
    background: #edf2ff !important;
    border: 0 !important;
    border-radius: 999px;
    box-shadow: none !important;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.zsm-news-archive .premium-meta-category::before,
.zsm-category-view .premium-meta-category::before {
    display: none !important;
    content: none !important;
}



/* =========================================================
   NAPRAWA KOLORÓW BADGE KATEGORII
   Wklej TEN BLOK NA SAMYM KOŃCU user.css.
   Usuń wcześniejszy blok, który wymuszał jeden niebieski kolor
   na wszystkich .premium-meta-category.
   ========================================================= */

/* Wspólna geometria badge */
.premium-news .premium-meta-category,
.zsm-news-archive .premium-meta-category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .28rem .62rem;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .045em;
    text-transform: uppercase;
}

/* Bez dodatkowej kropki, jeżeli została dodana we wcześniejszych wersjach */
.premium-news .premium-meta-category::before,
.zsm-news-archive .premium-meta-category::before {
    content: none !important;
    display: none !important;
}

/* Aktualności — niebieski */
.premium-news .premium-meta-category.category-aktualnosci,
.zsm-news-archive .premium-meta-category.category-aktualnosci {
    color: #2450ff !important;
    background: #edf2ff !important;
}

/* Sukcesy — zielony */
.premium-news .premium-meta-category.category-sukcesy,
.zsm-news-archive .premium-meta-category.category-sukcesy {
    color: #176844 !important;
    background: #edf8f2 !important;
}

/* Projekty — fioletowy */
.premium-news .premium-meta-category.category-projekty,
.zsm-news-archive .premium-meta-category.category-projekty {
    color: #614296 !important;
    background: #f3effa !important;
}

/* Rekrutacja — czerwony */
.premium-news .premium-meta-category.category-rekrutacja,
.zsm-news-archive .premium-meta-category.category-rekrutacja {
    color: #9f2439 !important;
    background: #fbf0f2 !important;
}

/* Ważne — pomarańczowy */
.premium-news .premium-meta-category.category-wazne,
.zsm-news-archive .premium-meta-category.category-wazne {
    color: #94510d !important;
    background: #fff5e8 !important;
}

/* Nowi uczniowie — żółty */
.premium-news .premium-meta-category.category-nowi-uczniowie,
.zsm-news-archive .premium-meta-category.category-nowi-uczniowie {
    color: #92400E !important;
    background: #FEF3C7 !important;
}







/* 1. Odstępy i nagłówek */



/* 2. Większy oddech między kartami */



/* 3. Lżejsze, bardziej „floating” karty */

.zsm-news-archive__link {
    border-color: rgb(20 35 70 / 0.08);
    box-shadow:
        0 2px 5px rgb(15 23 42 / 0.025),
        0 12px 28px rgb(15 23 42 / 0.055);
    transition:
        transform 260ms cubic-bezier(.2, .75, .2, 1),
        box-shadow 260ms ease,
        border-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .zsm-news-archive__link:hover {
        transform: translateY(-7px) scale(1.006);
        border-color: rgb(24 57 130 / 0.16);
        box-shadow:
            0 10px 24px rgb(15 23 42 / 0.075),
            0 26px 52px rgb(15 23 42 / 0.11);
    }
}

/* 4. Nieco niższe zdjęcia i delikatny gradient */

.zsm-news-archive__image {
    aspect-ratio: 16 / 8.5;
}

.zsm-news-archive__image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 62%,
        rgb(5 12 32 / 0.04) 78%,
        rgb(5 12 32 / 0.15) 100%
    );
    opacity: 0.9;
    transition: opacity 220ms ease;
}

.zsm-news-archive__image img {
    filter: saturate(1.03) contrast(1.015) brightness(.995);
    transition:
        transform 540ms cubic-bezier(.2, .75, .2, 1),
        filter 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .zsm-news-archive__link:hover .zsm-news-archive__image img {
        transform: scale(1.045);
        filter: saturate(1.07) contrast(1.025) brightness(1.025);
    }

    .zsm-news-archive__link:hover .zsm-news-archive__image::after {
        opacity: 0.72;
    }
}

/* 5. Czytelniejsze treści bez zmiany PHP */

.zsm-news-archive__content h2 {
    font-weight: 700;
    line-height: 1.31;
}



/* 6. CTA — czytelniejsze i bardziej interaktywne */







@media (hover: hover) and (pointer: fine) {
    .zsm-news-archive__link:hover .zsm-news-archive__readmore::after,
    .premium-main-card:hover .premium-main-link::after {
        transform: translateX(6px);
    }

    .zsm-news-archive__link:hover .zsm-news-archive__readmore::before,
    .premium-main-card:hover .premium-main-link::before {
        transform: scaleX(1);
    }
}

/* 7. Paginacja — subtelniejsza i bardziej autorska */



.zsm-news-archive .pagination {
    gap: .2rem;
    padding: .32rem;
    border: 1px solid rgb(20 35 70 / 0.08);
    border-radius: 999px;
    background: rgb(255 255 255 / .92);
    box-shadow:
        0 7px 20px rgb(15 23 42 / .055),
        inset 0 1px 0 rgb(255 255 255 / .9);
    backdrop-filter: blur(10px);
}





.zsm-news-archive .pagination .active .page-link,
.zsm-news-archive .pagination .page-item.active .page-link,
.zsm-news-archive .pagination .page-item.active span.page-link {
    color: #fff;
    background: #101b55;
    box-shadow: 0 5px 14px rgb(16 27 85 / .22);
}

/* 8. Mobile */

@media (max-width: 575.98px) {
    .zsm-news-archive {
        width: min(calc(100% - 3rem), 520px);
    }

    .zsm-news-archive__header {
        margin-bottom: 2.3rem;
    }

    .zsm-news-archive__grid {
        gap: 1.4rem;
    }

    .zsm-news-archive__image {
        aspect-ratio: 16 / 9;
    }

    .zsm-news-archive__content > p {
        min-height: 0;
        -webkit-line-clamp: 3;
    }
}

/* 9. Redukcja ruchu */

@media (prefers-reduced-motion: reduce) {
    .zsm-news-archive *,
    .zsm-news-archive *::before,
    .zsm-news-archive *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* 1. Nagłówek i odstępy */

.zsm-news-archive {
    padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}



.zsm-news-archive__header h1 {
    letter-spacing: -0.035em;
}

.zsm-news-archive__header p {
    margin-top: 1.35rem;
}

/* 2. Większy oddech między kartami */

.zsm-news-archive__grid {
    gap: clamp(1.75rem, 2.6vw, 2.25rem);
}

/* 3. Lżejsze, bardziej eleganckie karty */

.zsm-news-archive__link {
    cursor: pointer;
    border-color: rgb(20 35 70 / 0.08);
    box-shadow:
        0 2px 5px rgb(15 23 42 / 0.025),
        0 12px 28px rgb(15 23 42 / 0.055);
    transition:
        transform 220ms cubic-bezier(.2, .75, .2, 1),
        box-shadow 220ms ease,
        border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .zsm-news-archive__link:hover {
        transform: translateY(-6px);
        border-color: rgb(24 57 130 / 0.16);
        box-shadow:
            0 10px 22px rgb(15 23 42 / 0.07),
            0 24px 46px rgb(15 23 42 / 0.10);
    }
}

/* 4. Zdjęcia — zachowujemy obecną wysokość i pełną ostrość */

.zsm-news-archive__image {
    /* Brak zmiany aspect-ratio — pozostaje wartość z głównego CSS */
    overflow: hidden;
}

.zsm-news-archive__image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 66%,
        rgb(5 12 32 / 0.035) 82%,
        rgb(5 12 32 / 0.10) 100%
    );
    opacity: 1;
}

/*
 * Bez filter, blur, brightness ani saturate na hover.
 * Dzięki temu zdjęcie nie traci ostrości nawet przez moment.
 */
.zsm-news-archive__image img {
    transform: none;
    filter: none;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transition: transform 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .zsm-news-archive__link:hover .zsm-news-archive__image img {
        transform: none;
        filter: none;
    }
}

/* 5. Typografia kart */

.zsm-news-archive__content h2 {
    font-weight: 700;
    line-height: 1.34;
    letter-spacing: -0.012em;
}

.zsm-news-archive__content > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: calc(3 * 1.62em);
}

/* 6. CTA — bez zmian w obrazie, tylko subtelna mikrointerakcja */

.zsm-news-archive__readmore,
.premium-main-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    width: fit-content;
    text-decoration: none;
}

.zsm-news-archive__readmore::after,
.premium-main-link::after {
    content: "→";
    display: inline-block;
    transition: transform 180ms ease;
}

.zsm-news-archive__readmore::before,
.premium-main-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 1.65rem;
    bottom: .18rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .zsm-news-archive__link:hover .zsm-news-archive__readmore::after,
    .premium-main-card:hover .premium-main-link::after {
        transform: translateX(5px);
    }

    .zsm-news-archive__link:hover .zsm-news-archive__readmore::before,
    .premium-main-card:hover .premium-main-link::before {
        transform: scaleX(1);
    }
}

/* 7. Paginacja */

.zsm-news-archive .premium-pagination {
    margin-top: clamp(3rem, 5vw, 4rem);
}

.zsm-news-archive .pagination {
    gap: .2rem;
    padding: .32rem;
    border: 1px solid rgb(20 35 70 / 0.08);
    border-radius: 999px;
    background: rgb(255 255 255 / .94);
    box-shadow:
        0 7px 20px rgb(15 23 42 / .055),
        inset 0 1px 0 rgb(255 255 255 / .9);
    backdrop-filter: blur(10px);
}

.zsm-news-archive .pagination .page-link {
    min-width: 42px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    transition:
        transform 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

.zsm-news-archive .pagination .page-link:hover {
    transform: translateY(-1px);
    background: #eef2fb;
}

.zsm-news-archive .pagination .active .page-link,
.zsm-news-archive .pagination .page-item.active .page-link,
.zsm-news-archive .pagination .page-item.active span.page-link {
    color: #fff;
    background: #101b55;
    box-shadow: 0 8px 20px rgb(16 27 85 / .24);
}

/* 8. Mobile */

@media (max-width: 575.98px) {
    .zsm-news-archive {
        width: min(calc(100% - 3rem), 520px);
    }

    .zsm-news-archive__header {
        margin-bottom: 2.3rem;
    }

    .zsm-news-archive__grid {
        gap: 1.4rem;
    }

    .zsm-news-archive__content > p {
        min-height: 0;
        -webkit-line-clamp: 3;
    }
}

/* 9. Redukcja ruchu */

@media (prefers-reduced-motion: reduce) {
    .zsm-news-archive *,
    .zsm-news-archive *::before,
    .zsm-news-archive *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.zsm-news-archive__header {
    margin-bottom: clamp(3rem, 4.6vw, 4rem);
}





.zsm-news-archive {
    padding: 4rem 0 6rem;
}

.zsm-news-archive__header {
    margin-bottom: clamp(2.4rem, 3vw, 2.8rem);
}
/* =========================================================
   MOBILE: WYŚRODKOWANE KARTY + TYTUŁ NAD ZDJĘCIEM + H1 44 PX
   Wklej na sam koniec user.css.
   ========================================================= */

/*
 * Nowy układ karty korzysta z CSS Grid:
 * desktop: zdjęcie -> meta -> tytuł -> opis -> CTA
 * mobile:  meta -> tytuł -> zdjęcie -> opis -> CTA
 */

.zsm-news-archive__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "image"
        "meta"
        "title"
        "excerpt"
        "readmore";
    align-content: start;
}

.zsm-news-archive__image {
    grid-area: image;
}

.zsm-news-archive__meta {
    grid-area: meta;
    margin: 0;
    padding:
        clamp(1.3rem, 1.9vw, 1.65rem)
        clamp(1.3rem, 1.9vw, 1.65rem)
        0;
}

.zsm-news-archive__title {
    grid-area: title;
    margin: 0;
    padding:
        .9rem
        clamp(1.3rem, 1.9vw, 1.65rem)
        0;
    color: var(--archive-text, #20252d);
    font-size: clamp(1.22rem, 1.5vw, 1.44rem);
    font-weight: 700;
    line-height: 1.34;
    letter-spacing: -.012em;
    text-wrap: balance;
}

.zsm-news-archive__excerpt {
    grid-area: excerpt;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: calc(3 * 1.62em);
    margin: 0;
    padding:
        .8rem
        clamp(1.3rem, 1.9vw, 1.65rem)
        0;
    color: var(--archive-body, #5e6674);
    font-size: .95rem;
    line-height: 1.62;
}

.zsm-news-archive__readmore {
    grid-area: readmore;
    align-self: end;
    margin:
        0
        clamp(1.3rem, 1.9vw, 1.65rem)
        clamp(1.3rem, 1.9vw, 1.65rem);
    padding-top: 1.05rem;
}

/* Usunięcie wpływu starego wrappera treści, jeśli jego reguły pozostały w CSS */
.zsm-news-archive__content {
    display: contents;
}

/* Mobile */

@media (max-width: 575.98px) {
    .zsm-news-archive {
        width: 100%;
        max-width: 100%;
        padding-inline: 1.25rem;
    }

    .zsm-news-archive__header h1 {
        max-width: 11ch;
        margin-inline: auto;
        font-size: 44px;
        line-height: 1.08;
        letter-spacing: -.03em;
        text-wrap: balance;
    }

    .zsm-news-archive__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        width: 100%;
        gap: 1.4rem;
    }

    .zsm-news-archive__card {
        width: 100%;
        max-width: 380px;
        margin-inline: auto;
    }

    .zsm-news-archive__link {
        width: 100%;
        margin-inline: auto;
        grid-template-areas:
            "meta"
            "title"
            "image"
            "excerpt"
            "readmore";
    }

    .zsm-news-archive__meta {
        padding: 1.2rem 1.2rem 0;
    }

    .zsm-news-archive__title {
        padding: .8rem 1.2rem 1rem;
        font-size: 1.28rem;
        line-height: 1.32;
        -webkit-line-clamp: 3;
    }

    .zsm-news-archive__image {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .zsm-news-archive__excerpt {
        min-height: 0;
        padding: 1rem 1.2rem 0;
        font-size: .94rem;
        line-height: 1.58;
        -webkit-line-clamp: 3;
    }

    .zsm-news-archive__readmore {
        min-height: 48px;
        margin: 0 1.2rem 1.2rem;
        padding-top: .9rem;
    }
}


/* Desktop i tablet pozostają bez zmian */

@media (max-width: 575.98px) {
    .zsm-news-archive {
        width: 100%;
        max-width: 100%;
        padding-inline: 1rem;
    }

    /* Mniej pustej przestrzeni w nagłówku */
    .zsm-news-archive__header {
        margin-bottom: 1.75rem;
        padding-bottom: 0;
    }

    /* Ukrycie małego napisu na mobile */
    .zsm-news-archive__header .premium-eyebrow {
        display: none;
    }

    /* Nagłówek 44 px */
    .zsm-news-archive__header h1 {
        max-width: 11ch;
        margin-inline: auto;
        font-size: 44px;
        line-height: 1.08;
        letter-spacing: -.03em;
        text-wrap: balance;
    }

    .zsm-news-archive__header p {
        max-width: 32ch;
        margin-top: 1rem;
        font-size: .98rem;
        line-height: 1.62;
    }

    /* Karty wyśrodkowane i lekko węższe */
    .zsm-news-archive__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        width: 100%;
        gap: 1.5rem;
    }

    .zsm-news-archive__card {
        width: calc(100% - 1.75rem);
        max-width: 370px;
        margin-inline: auto;
    }

    .zsm-news-archive__link {
        width: 100%;
        margin-inline: auto;

        /* Mobile: meta -> zdjęcie -> tytuł -> opis -> CTA */
        grid-template-areas:
            "meta"
            "image"
            "title"
            "excerpt"
            "readmore";
    }

    /* Metadane nad zdjęciem */
    .zsm-news-archive__meta {
        padding: 1.2rem 1.2rem .8rem;
    }

    /* Zdjęcie z przywróconym zaokrągleniem */
    .zsm-news-archive__image {
        width: calc(100% - 1rem);
        margin-inline: auto;
        border-radius: 1rem;
        overflow: hidden;
    }

    .zsm-news-archive__image img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        object-fit: cover;
        transform: none;
        filter: none;
    }

    /* Bez rozmycia i zoomu na hover */
    .zsm-news-archive__link:hover .zsm-news-archive__image img {
        transform: none;
        filter: none;
    }

    /* Tytuł pod zdjęciem */
    .zsm-news-archive__title {
        padding: 1rem 1.2rem 0;
        font-size: 1.28rem;
        line-height: 1.32;
        text-wrap: balance;
    }

    .zsm-news-archive__excerpt {
        min-height: 0;
        padding: .85rem 1.2rem 0;
        font-size: .94rem;
        line-height: 1.58;
        -webkit-line-clamp: 3;
    }

    .zsm-news-archive__readmore {
        min-height: 48px;
        margin: 0 1.2rem 1.2rem;
        padding-top: .9rem;
    }

    /* Paginacja z bezpiecznym marginesem */
    .zsm-news-archive .premium-pagination {
        margin-top: 2.25rem;
    }
}


@media (max-width:575.98px){

    /* Mniejszy nagłówek na telefonach */
    .zsm-news-archive__header h1{
        font-size:32px;
        line-height:1.12;
        letter-spacing:-0.02em;
        max-width:10ch;
        margin-inline:auto;
    }

    /* Zdjęcie z powrotem na pełną szerokość */
    .zsm-news-archive__image{
        width:100%;
        margin:0;
        border-radius:18px;
        overflow:hidden;
    }

    .zsm-news-archive__image img{
        width:100%;
        display:block;
        border-radius:18px;
        object-fit:cover;
    }

    /* Bez żadnego rozmycia i zoomu */
    .zsm-news-archive__link:hover .zsm-news-archive__image img{
        transform:none;
        filter:none;
    }

    /* Odrobina mniejszy tytuł karty */
    .zsm-news-archive__title{
        font-size:1.95rem;
        line-height:1.18;
    }

}
@media (max-width:575.98px){

    .zsm-news-archive__header{
        margin-bottom:1.25rem;
    }

}
/* =========================================================
   ZSM — OSTATECZNE DOPRACOWANIE MOBILE
   Wklej na sam koniec user.css.
   ========================================================= */

@media (max-width: 575.98px) {
    /* Nieco mniejszy i bardziej zwarty tytuł karty */
    .zsm-news-archive__title {
        font-size: 1.75rem;
        line-height: 1.20;
        letter-spacing: -0.02em;
    }

    /* Mniejszy odstęp między metadanymi a zdjęciem */
    .zsm-news-archive__meta {
        padding-bottom: 0.7rem;
    }
}
@media (max-width:575.98px){

    .zsm-news-archive__title{
        font-size:1.60rem;
        line-height:1.22;
        letter-spacing:-0.015em;
    }

}
@media (max-width:575.98px){

    .zsm-news-archive__excerpt{
        font-size:.98rem;
        line-height:1.65;
        color:#5d6674;
    }

}


@media (max-width: 575.98px) {
    /* Sekcja i nagłówek */
    .zsm-news-archive {
        width: 100%;
        max-width: 100%;
        padding-inline: 1rem;
    }

    .zsm-news-archive__header {
        margin-bottom: 1.25rem;
        padding-bottom: 0;
    }

    .zsm-news-archive__header .premium-eyebrow {
        display: none;
    }

    .zsm-news-archive__header h1 {
        max-width: 11ch;
        margin-inline: auto;
        font-size: 32px;
        line-height: 1.12;
        letter-spacing: -0.02em;
        text-wrap: balance;
    }

    .zsm-news-archive__header p {
        max-width: 32ch;
        margin-top: 1rem;
        font-size: 0.98rem;
        line-height: 1.62;
    }

    /* Wyśrodkowane karty */
    .zsm-news-archive__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        width: 100%;
        gap: 1.5rem;
    }

    .zsm-news-archive__card {
        width: calc(100% - 1.75rem);
        max-width: 370px;
        margin-inline: auto;
    }

    /*
     * Kolejność elementów:
     * 1. data + badge
     * 2. tytuł
     * 3. zdjęcie
     * 4. opis
     * 5. CTA
     */
    .zsm-news-archive__link {
        width: 100%;
        margin-inline: auto;
        grid-template-areas:
            "meta"
            "title"
            "image"
            "excerpt"
            "readmore";
    }

    /* Data + badge */
    .zsm-news-archive__meta {
        padding: 1.2rem 1.2rem 0;
    }

    /* Tytuł nad zdjęciem */
    .zsm-news-archive__title {
        padding: 0.8rem 1.2rem 1rem;
        font-size: 1.55rem;
        line-height: 1.20;
        letter-spacing: -0.015em;
        text-wrap: balance;
    }

    /* Zdjęcie na pełną szerokość karty, z zaokrągleniami */
    .zsm-news-archive__image {
        width: 100%;
        margin: 0;
        border-radius: 18px;
        overflow: hidden;
    }

    .zsm-news-archive__image img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        object-fit: cover;
        transform: none;
        filter: none;
    }

    /* Brak zoomu, rozmycia i utraty ostrości */
    .zsm-news-archive__link:hover .zsm-news-archive__image img {
        transform: none;
        filter: none;
    }

    /* Opis */
    .zsm-news-archive__excerpt {
        min-height: 0;
        padding: 0.85rem 1.2rem 0;
        color: #616b79;
        font-size: 0.96rem;
        line-height: 1.65;
        -webkit-line-clamp: 3;
    }

    /* CTA */
    .zsm-news-archive__readmore {
        min-height: 48px;
        margin: 0 1.2rem 1.2rem;
        padding-top: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .zsm-news-archive__readmore::after {
        transition: transform 0.25s ease;
    }

    .zsm-news-archive__link:hover .zsm-news-archive__readmore::after {
        transform: translateX(4px);
    }

    /* Paginacja */
    .zsm-news-archive .premium-pagination {
        margin-top: 2.25rem;
    }
}
/* =========================================================
   ZSM — OSTATECZNE POPRAWKI MOBILE
   Wklej na SAM KONIEC user.css.
   ========================================================= */

@media (max-width: 575.98px) {
    /* Mniejszy tytuł karty i stała wysokość bloku tytułu */
    .zsm-news-archive__title {
        font-size: 1.38rem;
        line-height: 1.18;
        letter-spacing: -0.015em;
        min-height: 3.6em;
        margin-bottom: 0.9rem;
    }

    /* Zdjęcia zawsze zaczynają się w tym samym miejscu */
    .zsm-news-archive__image {
        width: auto;
        margin: 0 1.2rem;
        border-radius: 18px;
        overflow: hidden;
    }

    .zsm-news-archive__image img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 18px;
        transform: none;
        filter: none;
    }

    /* Bez zoomu i bez utraty ostrości po najechaniu */
    .zsm-news-archive__link:hover .zsm-news-archive__image img {
        transform: none;
        filter: none;
    }

    /* Równy odstęp pod zdjęciem */
    .zsm-news-archive__excerpt {
        padding-top: 1rem;
    }
}
@media (max-width:575.98px){

    .zsm-news-archive__title{
        font-size:1.28rem;
        line-height:1.22;
        font-weight:800;
    }

}














.zsm-contact-section {
  --blue: #2454e8;
  --blue-2: #2f54ff;
  --blue-dark: #061a72;
  --ink: #050b2f;
  --text: #26364f;
  --muted: #64748b;
  --line: #dbe6ff;
  --soft: #f5f8ff;
  --focus: rgba(36, 84, 232, .45);

  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem clamp(2.5rem, 5vw, 4rem);
  color: var(--text);
}

.zsm-contact-section *,
.zsm-contact-section *::before,
.zsm-contact-section *::after {
  box-sizing: border-box;
}

.zsm-contact-section .school-contact__intro {
  max-width: 860px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.zsm-contact-section .school-contact__eyebrow {
  margin: 0 0 .625rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.zsm-contact-section .school-contact__intro h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.zsm-contact-section .school-contact__intro p {
  max-width: 720px;
  margin: 0 auto;
  color: #405174;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.zsm-contact-section .school-contact__quick-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.35fr 1fr 1.15fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.zsm-contact-section .school-contact-card {
  position: relative;
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  overflow: hidden;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    background .28s ease;
}

.zsm-contact-section .school-contact-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(36,84,232,.08), transparent 68%);
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
}

.zsm-contact-section .school-contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 84, 232, .28);
  box-shadow: 0 20px 46px rgba(15, 23, 42, .105);
}

.zsm-contact-section .school-contact-card:hover::after {
  opacity: 1;
  transform: scale(1.15);
}

.zsm-contact-section .school-contact-card--phone {
  transform: translateY(-2px);
  border-color: transparent;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 38%),
    linear-gradient(135deg, #061a72 0%, #2454e8 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(36, 84, 232, .22);
}

.zsm-contact-section .school-contact-card--phone:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 58px rgba(36, 84, 232, .34);
}

.zsm-contact-section .school-contact-card--delivery {
  overflow-wrap: anywhere;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .10), transparent 40%),
    #fff;
}

.zsm-contact-section .school-contact-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  transition:
    transform .28s ease,
    background .28s ease,
    color .28s ease;
}

.zsm-contact-section .school-contact-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zsm-contact-section .school-contact-card__icon--text {
  font-size: .95rem;
  font-weight: 900;
}

.zsm-contact-section .school-contact-card:hover .school-contact-card__icon {
  transform: translateY(-2px) scale(1.06);
  background: var(--blue);
  color: #fff;
}

.zsm-contact-section .school-contact-card--phone .school-contact-card__icon {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.zsm-contact-section .school-contact-card--phone:hover .school-contact-card__icon {
  background: #fff;
  color: var(--blue-dark);
}

.zsm-contact-section .school-contact-card__label {
  margin: 0 0 .55rem;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.zsm-contact-section .school-contact-card--phone .school-contact-card__label {
  color: rgba(255, 255, 255, .82);
}

.zsm-contact-section .school-contact-card h3 {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.zsm-contact-section .school-contact-card--phone h3 {
  color: #fff;
}

.zsm-contact-section .school-contact-card--delivery h3 {
  font-size: .95rem;
  line-height: 1.25;
  word-break: break-word;
}

.zsm-contact-section .school-contact-card p {
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.zsm-contact-section .school-contact-card--phone p {
  color: rgba(255, 255, 255, .92);
}

.zsm-contact-section .school-contact-card a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.zsm-contact-section .school-contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zsm-contact-section .school-contact-card--phone a {
  color: #fff;
}

.zsm-contact-section .school-contact-card__phones {
  display: grid;
  gap: .45rem;
  margin: .25rem 0 1.1rem;
}

.zsm-contact-section .school-contact-card__phones a {
  display: block;
  color: #fff;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.zsm-contact-section .school-contact-card__phone-cta,
.zsm-contact-section .school-contact-copy,
.zsm-contact-section .school-contact__map-header a,
.zsm-contact-section .school-contact-form__button,
.zsm-contact-section .school-contact__mobile-call {
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    background .24s ease,
    color .24s ease;
}

.zsm-contact-section .school-contact-card__phone-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark) !important;
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.zsm-contact-section .school-contact-card__phone-cta:hover {
  transform: translateY(-2px);
  background: #eef3ff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .2);
}

.zsm-contact-section .school-contact-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 900;
  cursor: pointer;
}

.zsm-contact-section .school-contact-copy:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 14px 26px rgba(36, 84, 232, .22);
}

.zsm-contact-section .school-contact__map-wrap {
  overflow: hidden;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}

.zsm-contact-section .school-contact__map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .10), transparent 36%),
    #fff;
}

.zsm-contact-section .school-contact__map-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
}

.zsm-contact-section .school-contact__map-address {
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.zsm-contact-section .school-contact__map-header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.zsm-contact-section .school-contact__map-header a:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(36, 84, 232, .22);
}

.zsm-contact-section .school-contact__map {
  width: 100%;
  height: clamp(320px, 34vw, 450px);
  background: #eef3fb;
  overflow: hidden;
}

.zsm-contact-section .school-contact__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.zsm-contact-section .school-contact__map-wrap:hover .school-contact__map img {
  transform: scale(1.025);
}

.zsm-contact-section .school-contact__form-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: start;
  margin-top: 28px;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #f5f8ff 100%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.zsm-contact-section .school-contact__form-info {
  max-width: 390px;
}

.zsm-contact-section .school-contact__form-info h3 {
  margin: 0 0 18px;
  color: #06112f;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 950;
}

.zsm-contact-section .school-contact__form-info > p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

.zsm-contact-section .school-contact__form-note {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.zsm-contact-section .school-contact__form-note h4 {
  margin: 0 0 14px;
  color: #06112f;
  font-size: 1.05rem;
  font-weight: 900;
}

.zsm-contact-section .school-contact__form-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zsm-contact-section .school-contact__form-note li {
  position: relative;
  padding-left: 26px;
  color: #475569;
  font-size: .95rem;
  line-height: 1.6;
}

.zsm-contact-section .school-contact__form-note li + li {
  margin-top: 10px;
}

.zsm-contact-section .school-contact__form-note li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-2);
  font-weight: 900;
}

.zsm-contact-section .school-contact-form {
  display: grid;
  gap: 16px;
  max-width: 680px;
  margin-left: auto;
  padding-top: 4px;
}

.zsm-contact-section .school-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.zsm-contact-section .school-contact-form__field {
  display: grid;
  gap: 8px;
}

.zsm-contact-section .school-contact-form__field label {
  color: #06112f;
  font-size: .95rem;
  font-weight: 850;
}

.zsm-contact-section .school-contact-form input,
.zsm-contact-section .school-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: #06112f;
  font: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.zsm-contact-section .school-contact-form input:hover,
.zsm-contact-section .school-contact-form textarea:hover {
  border-color: rgba(47, 84, 255, .45);
  background: #fbfcff;
}

.zsm-contact-section .school-contact-form input {
  height: 56px;
}

.zsm-contact-section .school-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.zsm-contact-section .school-contact-form input:focus,
.zsm-contact-section .school-contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(47, 84, 255, .13);
}

.zsm-contact-section .school-contact-form.was-validated input:invalid,
.zsm-contact-section .school-contact-form.was-validated textarea:invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .10);
}

.zsm-contact-section .school-contact-form.was-validated input:valid,
.zsm-contact-section .school-contact-form.was-validated textarea:valid {
  border-color: #16a34a;
}

.zsm-contact-section .school-contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 18px;
  color: #06112f;
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.5;
}

.zsm-contact-section .school-contact-form__consent input {
  width: 20px;
  height: 20px;
  min-height: auto;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--blue-2);
}

.zsm-contact-section .school-contact-form__button {
  justify-self: start;
  min-height: 56px;
  min-width: 230px;
  padding: 0 38px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-2);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(47, 84, 255, .28);
}

.zsm-contact-section .school-contact-form__button:hover {
  transform: translateY(-3px);
  background: #2447e8;
  box-shadow: 0 24px 54px rgba(47, 84, 255, .35);
}

.zsm-contact-section .school-contact__socials-wrap {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.zsm-contact-section .school-contact__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.zsm-contact-section .school-contact__socials a {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .055);
  transition:
    transform .24s ease,
    background .24s ease,
    color .24s ease,
    box-shadow .24s ease;
}

.zsm-contact-section .school-contact__socials a:hover {
  transform: translateY(-3px) scale(1.06);
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 16px 32px rgba(6, 26, 114, .22);
}

.zsm-contact-section .school-contact__mobile-call {
  display: none;
}

.zsm-contact-section .school-contact__toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 1000;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: .8rem 1rem;
  border-radius: 999px;
  background: rgba(5, 11, 47, .92);
  color: #fff;
  font-size: .9rem;
  font-weight: 850;
  box-shadow: 0 18px 44px rgba(5, 11, 47, .22);
  transition: opacity .28s ease, transform .28s ease;
}

.zsm-contact-section .school-contact__toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.zsm-contact-section a:focus-visible,
.zsm-contact-section button:focus-visible,
.zsm-contact-section input:focus-visible,
.zsm-contact-section textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .zsm-contact-section .school-contact__quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zsm-contact-section .school-contact-card {
    min-height: auto;
  }

  .zsm-contact-section .school-contact-card--phone {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .zsm-contact-section .school-contact__form-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px 22px;
  }

  .zsm-contact-section .school-contact__form-info {
    max-width: 100%;
  }

  .zsm-contact-section .school-contact-form {
    max-width: 100%;
    margin-left: 0;
  }

  .zsm-contact-section .school-contact-form__row {
    grid-template-columns: 1fr;
  }

  .zsm-contact-section .school-contact-form__button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .zsm-contact-section {
    padding: 1.75rem 1rem 5.5rem;
  }

  .zsm-contact-section .school-contact__intro {
    text-align: left;
    margin-bottom: 1.75rem;
  }

  .zsm-contact-section .school-contact__intro h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.08;
  }

  .zsm-contact-section .school-contact__intro p {
    font-size: 1rem;
  }

  .zsm-contact-section .school-contact__quick-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .zsm-contact-section .school-contact-card,
  .zsm-contact-section .school-contact-card--phone {
    grid-column: auto;
    width: 100%;
    padding: 1.25rem;
    border-radius: 1rem;
    transform: none;
  }

  .zsm-contact-section .school-contact-card:hover,
  .zsm-contact-section .school-contact-card--phone:hover {
    transform: none;
  }

  .zsm-contact-section .school-contact-card__phones a {
    font-size: 1.35rem;
  }

  .zsm-contact-section .school-contact-card__phone-cta,
  .zsm-contact-section .school-contact-copy {
    width: 100%;
  }

  .zsm-contact-section .school-contact__map-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }

  .zsm-contact-section .school-contact__map-header a {
    width: 100%;
  }

  .zsm-contact-section .school-contact__map {
    height: 280px;
  }

  .zsm-contact-section .school-contact__form-wrap {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .zsm-contact-section .school-contact__form-info h3 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .zsm-contact-section .school-contact__form-note {
    padding: 18px;
  }

  .zsm-contact-section .school-contact-form textarea {
    min-height: 145px;
  }

  .zsm-contact-section .school-contact__socials a {
    width: 52px;
    height: 52px;
  }

  .zsm-contact-section .school-contact__mobile-call {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 999;
    transform: translateX(-50%);
    min-width: 210px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.5rem;
    border-radius: 999px;
    background: var(--blue-dark);
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 950;
    box-shadow: 0 10px 30px rgba(6, 26, 114, .24);
  }

  .zsm-contact-section .school-contact__mobile-call:hover {
    background: var(--blue);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zsm-contact-section *,
  .zsm-contact-section *::before,
  .zsm-contact-section *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}







/* =========================================================
   KONTAKT — WSPÓLNY WYGLĄD DLA RÓŻNEJ HIERARCHII NAGŁÓWKÓW

   Strona główna:
   h2 — tytuł sekcji
   h3 — nagłówki kart

   Podstrona Kontakt:
   h1 — tytuł strony
   h2 — nagłówki kart
========================================================= */


/* Główny tytuł sekcji / strony */

.zsm-contact-section .school-contact__intro h1,
.zsm-contact-section .school-contact__intro h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.045em;
}


/* Nagłówki kart kontaktowych */

.zsm-contact-section .school-contact-card h2,
.zsm-contact-section .school-contact-card h3 {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}


/* Nagłówek w niebieskiej karcie telefonu */

.zsm-contact-section .school-contact-card--phone h2,
.zsm-contact-section .school-contact-card--phone h3 {
  color: #fff;
}


/* Długi nagłówek w karcie e-Doręczeń */

.zsm-contact-section .school-contact-card--delivery h2,
.zsm-contact-section .school-contact-card--delivery h3 {
  font-size: .95rem;
  line-height: 1.25;
  word-break: break-word;
}


/* Nagłówek mapy */

.zsm-contact-section .school-contact__map-header h2,
.zsm-contact-section .school-contact__map-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
}


/* Formularz:
   h2 na podstronie, h3 na stronie głównej */

.zsm-contact-section .school-contact__form-info h2,
.zsm-contact-section .school-contact__form-info h3 {
  margin: 0 0 18px;
  color: #06112f;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 950;
}


/* Nagłówek wewnętrznej notatki formularza:
   h3 na podstronie, h4 na stronie głównej */

.zsm-contact-section .school-contact__form-note h3,
.zsm-contact-section .school-contact__form-note h4 {
  margin: 0 0 14px;
  color: #06112f;
  font-size: 1.05rem;
  font-weight: 900;
}


/* Adres powinien wyglądać tak samo jak zwykły opis w karcie */

.zsm-contact-section .school-contact-card address {
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
  font-style: normal;
}


/* Adres pod mapą */

.zsm-contact-section address.school-contact__map-address {
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
  font-style: normal;
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 640px) {
  .zsm-contact-section .school-contact__intro h1,
  .zsm-contact-section .school-contact__intro h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.08;
  }

  .zsm-contact-section .school-contact__form-info h2,
  .zsm-contact-section .school-contact__form-info h3 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }
}







/* =====================================================
   IKONY SOCIAL — WYŁĄCZNIE SEKCJA KONTAKTOWA
   Nie wpływa na stopkę ani inne elementy strony
===================================================== */

.zsm-contact-section .school-contact__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.zsm-contact-section
.school-contact__socials
.school-contact-social {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;

  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--line);
  border-radius: 1rem;

  background: #ffffff;
  color: var(--blue-dark);

  text-decoration: none;
  font-size: 0;
  line-height: 1;

  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.055);

  transition:
    transform 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.zsm-contact-section
.school-contact__socials
.school-contact-social::before {
  content: "";

  width: 20px;
  height: 20px;

  display: block;

  background-color: var(--blue-dark);

  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  transition:
    background-color 0.24s ease,
    transform 0.24s ease;
}

/* Tekst zapasowy chroni linki przed usunięciem przez edytor */

.zsm-contact-section
.school-contact__socials
.school-contact-social__fallback {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);

  border: 0;
  white-space: nowrap;
}

/* Facebook */

.zsm-contact-section
.school-contact__socials
.school-contact-social--fb::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8.5h2V5h-2.6C10.7 5 9 6.6 9 9.2V11H7v3.4h2V21h3.7v-6.6h2.8L16 11h-3.3V9.6c0-.7.3-1.1 1.3-1.1Z'/%3E%3C/svg%3E");

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8.5h2V5h-2.6C10.7 5 9 6.6 9 9.2V11H7v3.4h2V21h3.7v-6.6h2.8L16 11h-3.3V9.6c0-.7.3-1.1 1.3-1.1Z'/%3E%3C/svg%3E");
}

/* Instagram */

.zsm-contact-section
.school-contact__socials
.school-contact-social--ig::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 4h7.6A4.2 4.2 0 0 1 20 8.2v7.6a4.2 4.2 0 0 1-4.2 4.2H8.2A4.2 4.2 0 0 1 4 15.8V8.2A4.2 4.2 0 0 1 8.2 4Zm0 2A2.2 2.2 0 0 0 6 8.2v7.6A2.2 2.2 0 0 0 8.2 18h7.6a2.2 2.2 0 0 0 2.2-2.2V8.2A2.2 2.2 0 0 0 15.8 6H8.2ZM12 8.7A3.3 3.3 0 1 1 12 15.3A3.3 3.3 0 0 1 12 8.7Zm0 2A1.3 1.3 0 1 0 12 13.3A1.3 1.3 0 0 0 12 10.7ZM16.1 7.6a.8.8 0 1 1 0 1.6a.8.8 0 0 1 0-1.6Z'/%3E%3C/svg%3E");

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 4h7.6A4.2 4.2 0 0 1 20 8.2v7.6a4.2 4.2 0 0 1-4.2 4.2H8.2A4.2 4.2 0 0 1 4 15.8V8.2A4.2 4.2 0 0 1 8.2 4Zm0 2A2.2 2.2 0 0 0 6 8.2v7.6A2.2 2.2 0 0 0 8.2 18h7.6a2.2 2.2 0 0 0 2.2-2.2V8.2A2.2 2.2 0 0 0 15.8 6H8.2ZM12 8.7A3.3 3.3 0 1 1 12 15.3A3.3 3.3 0 0 1 12 8.7Zm0 2A1.3 1.3 0 1 0 12 13.3A1.3 1.3 0 0 0 12 10.7ZM16.1 7.6a.8.8 0 1 1 0 1.6a.8.8 0 0 1 0-1.6Z'/%3E%3C/svg%3E");
}

/* TikTok */

.zsm-contact-section
.school-contact__socials
.school-contact-social--tk::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4h3c.2 1.7 1.2 3 3 3.6v3.1c-1.2 0-2.4-.4-3.4-1.1V15a5 5 0 1 1-5-5c.3 0 .6 0 .9.1v3.3a2 2 0 1 0 1.5 1.9V4Z'/%3E%3C/svg%3E");

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4h3c.2 1.7 1.2 3 3 3.6v3.1c-1.2 0-2.4-.4-3.4-1.1V15a5 5 0 1 1-5-5c.3 0 .6 0 .9.1v3.3a2 2 0 1 0 1.5 1.9V4Z'/%3E%3C/svg%3E");
}

/* YouTube */

.zsm-contact-section
.school-contact__socials
.school-contact-social--yt::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 8.2a3 3 0 0 0-2.1-2.1C17.1 5.6 12 5.6 12 5.6s-5.1 0-6.9.5A3 3 0 0 0 3 8.2A31 31 0 0 0 2.5 12A31 31 0 0 0 3 15.8a3 3 0 0 0 2.1 2.1c1.8.5 6.9.5 6.9.5s5.1 0 6.9-.5a3 3 0 0 0 2.1-2.1c.5-1.8.5-3.8.5-3.8s0-2-.5-3.8ZM10 15.2V8.8l5.5 3.2L10 15.2Z'/%3E%3C/svg%3E");

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 8.2a3 3 0 0 0-2.1-2.1C17.1 5.6 12 5.6 12 5.6s-5.1 0-6.9.5A3 3 0 0 0 3 8.2A31 31 0 0 0 2.5 12A31 31 0 0 0 3 15.8a3 3 0 0 0 2.1 2.1c1.8.5 6.9.5 6.9.5s5.1 0 6.9-.5a3 3 0 0 0 2.1-2.1c.5-1.8.5-3.8.5-3.8s0-2-.5-3.8ZM10 15.2V8.8l5.5 3.2L10 15.2Z'/%3E%3C/svg%3E");
}

/* Hover */

.zsm-contact-section
.school-contact__socials
.school-contact-social:hover,
.zsm-contact-section
.school-contact__socials
.school-contact-social:focus-visible {
  transform: translateY(-3px) scale(1.06);

  background: var(--blue-dark);
  border-color: var(--blue-dark);

  box-shadow: 0 16px 32px rgba(6, 26, 114, 0.22);
}

.zsm-contact-section
.school-contact__socials
.school-contact-social:hover::before,
.zsm-contact-section
.school-contact__socials
.school-contact-social:focus-visible::before {
  background-color: #ffffff;
}

/* Focus klawiatury */

.zsm-contact-section
.school-contact__socials
.school-contact-social:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Mobile */

@media (max-width: 640px) {
  .zsm-contact-section
  .school-contact__socials
  .school-contact-social {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .zsm-contact-section
  .school-contact__socials
  .school-contact-social::before {
    width: 21px;
    height: 21px;
  }
}




/* =========================================================
   FOOTER / KONTAKT — MOBILE
   mniejszy odstęp pod sekcją social po wyłączeniu IG/TikTok/YT
   ========================================================= */

@media (max-width: 768px) {

    .school-contact__socials-wrap {
        margin-bottom: 0 !important;
        padding-bottom: 24px !important;
    }

    .school-contact__socials {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .zsm-contact-section {
        padding-bottom: 24px !important;
    }

}








:root {
  --zsm-container-width: 1320px;
  --zsm-bg-1: #03101f;
  --zsm-bg-2: #061a31;
  --zsm-bg-3: #08213d;
  --zsm-text: #f5f9ff;
  --zsm-muted: #c9d8ea;
  --zsm-soft: #aebfd4;
  --zsm-blue: #2563eb;
  --zsm-blue-hover: #1d4ed8;
  --zsm-blue-soft: #4fb3ff;
  --zsm-focus: #93c5fd;
  --zsm-border: rgba(165, 195, 230, .18);
  --zsm-border-soft: rgba(165, 195, 230, .12);
}

/* Joomla / Cassiopeia reset */

.container-footer,
.footer {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.container-footer .grid-child {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.container-footer .moduletable,
.container-footer .mod-custom {
  width: 100% !important;
  margin: 0 !important;
}

/* Base */

.zsm-footer {
  width: 100%;
  padding: 38px 24px 18px;
  position: relative;
  overflow: hidden;
  color: var(--zsm-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 88% 0%, rgba(37, 99, 235, .15), transparent 34%),
    linear-gradient(135deg, var(--zsm-bg-1) 0%, var(--zsm-bg-2) 50%, var(--zsm-bg-3) 100%);
}

.zsm-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .35;
  pointer-events: none;
}

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

.zsm-footer__inner {
  max-width: var(--zsm-container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* CTA */

.zsm-footer__cta {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--zsm-border);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.032));
  box-shadow: 0 16px 44px rgba(0, 0, 0, .20);
}

.zsm-footer__cta-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.zsm-footer__cta-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(135deg, #2563eb, #178bd0);
}

.zsm-footer__eyebrow {
  margin: 0 0 7px;
  color: #a9d9ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.zsm-footer__cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -.032em;
}

.zsm-footer__cta p:not(.zsm-footer__eyebrow) {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--zsm-muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.zsm-footer__cta-button {
  min-width: 220px;
  min-height: 50px;
  padding: 20px 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  color: #fff;
  background: var(--zsm-blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(40, 85, 255, .22);
  transition:
    background-color .22s ease,
    color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.zsm-footer__cta-button:hover,
.zsm-footer__cta-button:focus-visible {
  color: #fff;
  background: var(--zsm-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(40, 85, 255, .28);
}

/* Layout */

.zsm-footer__main {
  margin-top: 30px;
  padding-bottom: 1.35rem;
  display: grid;
  grid-template-columns:
    minmax(320px, 1.15fr)
    minmax(170px, .7fr)
    minmax(230px, .9fr)
    minmax(250px, .9fr);
  column-gap: 56px;
  row-gap: 30px;
  align-items: start;
}

.zsm-footer__label {
  width: fit-content;
  margin: 0 0 15px;
  padding: 7px 12px;
  border: 1px solid rgba(96, 165, 250, .26);
  border-radius: 999px;
  color: #bee1ff;
  background: rgba(59, 130, 246, .10);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.zsm-footer h3 {
  margin: 0 0 21px;
  color: #fff;
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -.032em;
}

/* Contact */

.zsm-footer__contact {
  display: grid;
  gap: 9px;
  font-style: normal;
}

.zsm-footer__contact a {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--zsm-muted);
  text-decoration: none;
  font-size: 15.5px;
  line-height: 1.5;
  transition:
    color .18s ease,
    transform .18s ease;
}

.zsm-footer__contact a:hover {
  color: #fff;
  transform: translateX(2px);
}

.zsm-footer__contact strong,
.zsm-footer__meta strong {
  color: #fff;
  font-weight: 700;
}

/* Meta */

.zsm-footer__meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(165, 195, 230, .15);
}

.zsm-footer__meta,
.zsm-footer__meta *,
.zsm-footer__meta span {
  color: var(--zsm-muted);
  text-decoration: none !important;
}

.zsm-footer__meta strong {
  color: #fff !important;
}

.zsm-footer__meta p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.5;
}

/* Groups */

.zsm-footer__group {
  padding-top: 9px;
  margin-bottom: 0;
}

.zsm-footer__toggle {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: default;
}

.zsm-footer__toggle::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: -11px;
  border-radius: 999px;
  background: var(--zsm-blue-soft);
}

.zsm-footer__toggle span {
  display: none;
}

.zsm-footer__panel {
  display: block;
}

.zsm-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zsm-footer__panel ul {
  display: grid;
  gap: 20px;
}

.zsm-footer__panel a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--zsm-muted);
  text-decoration: none;
  font-size: 15.5px;
  line-height: 1.48;
  transition:
    color .18s ease,
    transform .18s ease;
}

.zsm-footer__panel a:hover {
  color: #79a9ff;
  transform: translateX(2px);
}

/* BIP + Support */

.zsm-footer__bip-link,
.zsm-footer__support-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.zsm-footer__bip-link img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
  display: block;
  opacity: .92;
}

.zsm-footer__support-icon {
  width: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Aside */

.zsm-footer__aside p {
  margin: 0 0 15px;
  color: var(--zsm-muted);
  font-size: 15.5px;
  line-height: 1.58;
}

/* WCAG */

.zsm-footer__wcag {
  width: 100%;
  max-width: 230px;
  margin-top: 20px;
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}

.zsm-footer__wcag > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #052916;
  background: #7cf2bf;
  font-size: 14px;
  font-weight: 900;
}

.zsm-footer__wcag strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  line-height: 1.25;
  font-weight: 700;
}

.zsm-footer__wcag small {
  display: block;
  color: var(--zsm-soft);
  font-size: 13px;
  line-height: 1.35;
}

/* Social */

.zsm-footer__social {
  margin-top: 28px;
}

.zsm-footer__social p {
  margin: 0 0 14px;
  color: #e3eefc;
  font-weight: 700;
}

.zsm-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zsm-social {
  width: 44px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255,255,255,.06);
  text-decoration: none !important;
  font-size: 0 !important;
  line-height: 1;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.zsm-social::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background-color: #ffffff;
  opacity: .95;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.zsm-social:hover,
.zsm-social:focus-visible {
  background: var(--zsm-blue);
  border-color: rgba(147,197,253,.55);
  transform: translateY(-2px);
}

.zsm-social:hover::before,
.zsm-social:focus-visible::before {
  background-color: #fff;
}

.zsm-social--fb::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8.5h2V5h-2.6C10.7 5 9 6.6 9 9.2V11H7v3.4h2V21h3.7v-6.6h2.8L16 11h-3.3V9.6c0-.7.3-1.1 1.3-1.1Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8.5h2V5h-2.6C10.7 5 9 6.6 9 9.2V11H7v3.4h2V21h3.7v-6.6h2.8L16 11h-3.3V9.6c0-.7.3-1.1 1.3-1.1Z'/%3E%3C/svg%3E");
}

.zsm-social--ig::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 4h7.6A4.2 4.2 0 0 1 20 8.2v7.6a4.2 4.2 0 0 1-4.2 4.2H8.2A4.2 4.2 0 0 1 4 15.8V8.2A4.2 4.2 0 0 1 8.2 4Zm0 2A2.2 2.2 0 0 0 6 8.2v7.6A2.2 2.2 0 0 0 8.2 18h7.6a2.2 2.2 0 0 0 2.2-2.2V8.2A2.2 2.2 0 0 0 15.8 6H8.2ZM12 8.7A3.3 3.3 0 1 1 12 15.3A3.3 3.3 0 0 1 12 8.7Zm0 2A1.3 1.3 0 1 0 12 13.3A1.3 1.3 0 0 0 12 10.7ZM16.1 7.6a.8.8 0 1 1 0 1.6a.8.8 0 0 1 0-1.6Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 4h7.6A4.2 4.2 0 0 1 20 8.2v7.6a4.2 4.2 0 0 1-4.2 4.2H8.2A4.2 4.2 0 0 1 4 15.8V8.2A4.2 4.2 0 0 1 8.2 4Zm0 2A2.2 2.2 0 0 0 6 8.2v7.6A2.2 2.2 0 0 0 8.2 18h7.6a2.2 2.2 0 0 0 2.2-2.2V8.2A2.2 2.2 0 0 0 15.8 6H8.2ZM12 8.7A3.3 3.3 0 1 1 12 15.3A3.3 3.3 0 0 1 12 8.7Zm0 2A1.3 1.3 0 1 0 12 13.3A1.3 1.3 0 0 0 12 10.7ZM16.1 7.6a.8.8 0 1 1 0 1.6a.8.8 0 0 1 0-1.6Z'/%3E%3C/svg%3E");
}

.zsm-social--tk::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4h3c.2 1.7 1.2 3 3 3.6v3.1c-1.2 0-2.4-.4-3.4-1.1V15a5 5 0 1 1-5-5c.3 0 .6 0 .9.1v3.3a2 2 0 1 0 1.5 1.9V4Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4h3c.2 1.7 1.2 3 3 3.6v3.1c-1.2 0-2.4-.4-3.4-1.1V15a5 5 0 1 1-5-5c.3 0 .6 0 .9.1v3.3a2 2 0 1 0 1.5 1.9V4Z'/%3E%3C/svg%3E");
}

.zsm-social--yt::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 8.2a3 3 0 0 0-2.1-2.1C17.1 5.6 12 5.6 12 5.6s-5.1 0-6.9.5A3 3 0 0 0 3 8.2A31 31 0 0 0 2.5 12A31 31 0 0 0 3 15.8a3 3 0 0 0 2.1 2.1c1.8.5 6.9.5 6.9.5s5.1 0 6.9-.5a3 3 0 0 0 2.1-2.1c.5-1.8.5-3.8.5-3.8s0-2-.5-3.8ZM10 15.2V8.8l5.5 3.2L10 15.2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 8.2a3 3 0 0 0-2.1-2.1C17.1 5.6 12 5.6 12 5.6s-5.1 0-6.9.5A3 3 0 0 0 3 8.2A31 31 0 0 0 2.5 12A31 31 0 0 0 3 15.8a3 3 0 0 0 2.1 2.1c1.8.5 6.9.5 6.9.5s5.1 0 6.9-.5a3 3 0 0 0 2.1-2.1c.5-1.8.5-3.8.5-3.8s0-2-.5-3.8ZM10 15.2V8.8l5.5 3.2L10 15.2Z'/%3E%3C/svg%3E");
}

/* Bottom */

.zsm-footer__bottom {
  margin-top: 18px;
  padding-top: 18px;
  padding-bottom: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(165, 195, 230, .15);
}

.zsm-footer__bottom p {
  margin: 0;
  color: var(--zsm-soft);
  font-size: 14px;
  line-height: 1.5;
}

.zsm-footer__credits {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.zsm-footer__credits span {
  color: rgba(255,255,255,.70);
}

.zsm-footer__credits strong {
  color: #ffffff;
  font-weight: 600;
}

/* Focus / WCAG */

.zsm-footer a:focus-visible,
.zsm-footer button:focus-visible {
  outline: 3px solid var(--zsm-focus);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Tablet */

@media (max-width: 1100px) {
  .zsm-footer__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .zsm-footer__main {
    grid-template-columns: 1.15fr 1fr;
    column-gap: 42px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .zsm-footer {
    padding: 20px 16px 16px;
  }

  .zsm-footer::before {
    display: none;
  }

  .zsm-footer__cta {
    padding: 14px;
    border-radius: 18px;
    gap: 15px;
  }

  .zsm-footer__cta-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .zsm-footer__cta-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
    font-size: 18px;
  }

  .zsm-footer__eyebrow {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .zsm-footer__cta h2 {
    font-size: 21px;
    line-height: 1.16;
  }

  .zsm-footer__cta p:not(.zsm-footer__eyebrow) {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.48;
  }

  .zsm-footer__cta-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 11px 18px;
    font-size: 14.5px;
    border-radius: 999px;
  }

  .zsm-footer__main {
    margin-top: 22px;
    padding-bottom: 1.1rem;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .zsm-footer__brand {
    padding-bottom: 18px;
  }

  .zsm-footer__label {
    margin-bottom: 14px;
  }

  .zsm-footer h3 {
    margin-bottom: 16px;
    font-size: 21px;
    line-height: 1.17;
  }

  .zsm-footer__contact {
    gap: 6px;
  }

  .zsm-footer__contact a {
    width: 100%;
    min-height: 38px;
    font-size: 14.5px;
    line-height: 1.45;
  }

  .zsm-footer__meta {
    margin-top: 14px;
    padding-top: 14px;
  }

  .zsm-footer__meta p {
    font-size: 14.5px;
  }

  .zsm-footer__group {
    padding: 0;
    border-top: 1px solid var(--zsm-border-soft);
  }

  .zsm-footer__toggle {
    min-height: 48px;
    margin: 0;
    cursor: pointer;
    font-size: 15.5px;
  }

  .zsm-footer__toggle::after {
    display: none;
  }

  .zsm-footer__toggle span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #bfe4ff;
    font-size: 0;
    line-height: 1;
  }

  .zsm-footer__toggle span::before {
    content: "+";
    font-size: 18px;
    line-height: 1;
  }

  .zsm-footer__toggle[aria-expanded="true"] span::before {
    content: "−";
  }

  .zsm-footer__panel {
    padding: 0 0 14px;
  }

  .zsm-footer__panel[hidden] {
    display: none;
  }

  .zsm-footer__panel ul {
    gap: 16px;
  }

  .zsm-footer__panel a {
    width: 100%;
    min-height: 32px;
    font-size: 14.5px;
    line-height: 1.42;
  }

  .zsm-footer__bip-link img {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .zsm-footer__support-icon {
    width: 32px;
    flex-basis: 32px;
  }

  .zsm-footer__aside p {
    margin-bottom: 13px;
    font-size: 14.5px;
    line-height: 1.5;
  }

  .zsm-footer__wcag {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
  }

  .zsm-footer__social {
    margin-top: 24px;
  }

  .zsm-footer__social p {
    margin-bottom: 10px;
    font-size: 14.5px;
  }

  .zsm-footer__social-list {
    gap: 8px;
    margin-bottom: 2px;
  }

  .zsm-social {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex: 0 0 38px;
  }

  .zsm-social::before {
    width: 18px;
    height: 18px;
  }

  .zsm-footer__bottom {
    margin-top: 0;
    padding-top: 15px;
    flex-direction: column;
    gap: 8px;
  }

  .zsm-footer__bottom p {
    font-size: 13.5px;
  }

  .zsm-footer__credits {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 0;
    font-size: 13px;
    flex-wrap: wrap;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .zsm-footer *,
  .zsm-footer *::before,
  .zsm-footer *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
/* FIX mobile footer bottom vs floating call button */

@media (max-width: 768px) {
  .zsm-footer {
    padding-bottom: 92px;
  }

  .zsm-footer__bottom {
    padding-bottom: 18px;
  }

  .zsm-footer__credits {
    display: block;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.45;
  }

  .zsm-footer__credits strong {
    display: inline;
    font-weight: 600;
  }
}





@media (max-width: 768px) {

  /* Więcej miejsca nad pływającym przyciskiem */
  .zsm-footer{
    padding-bottom:110px;
  }

  .zsm-footer__bottom{
    padding-top:18px;
    padding-bottom:24px;
    row-gap:8px;
  }

  .zsm-footer__credits{
    display:block;
    margin-top:4px;
    font-size:13px;
    line-height:1.45;
  }

  .zsm-footer__credits strong{
    font-weight:600;
  }
}

/* =====================================================
   Wyrównanie logo BIP z tekstem
===================================================== */

.zsm-footer__bip-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
}

.zsm-footer__bip-link img{
    width:38px;
    height:38px;
    object-fit:contain;
    flex-shrink:0;
    vertical-align:-2px;
}
/* ==========================================
   Stopka – subtelniejszy podpis autora
========================================== */



.zsm-footer__credits strong{
    color:#ffffff;
    font-weight:500;
}
/* Delikatniejszy podpis autora */

.zsm-footer__credits{
    color:#9fb4d8;
    font-size:15px;
    font-weight:400;
    line-height:1.5;
}

.zsm-footer__credits strong{
    color:#ffffff;
    font-weight:400;
}




patch do usunięcia po poprawce

/* ============================================================
   ZSM FOOTER — TYMCZASOWA DEKLARACJA DOSTĘPNOŚCI

   Nieklikalny <span> otrzymuje dokładnie taki sam układ
   i wysokość jak pozostałe linki w panelu stopki.

   Wklej ten blok NA SAMYM KOŃCU user.css.
============================================================ */

.zsm-footer .zsm-footer__disabled-link {
  min-height: 38px;

  display: inline-flex;
  align-items: center;

  color: var(--zsm-muted);

  font-size: 15.5px;
  line-height: 1.48;

  text-decoration: none;

  cursor: default;
}


/* ============================================================
   MOBILE
   Dopasowanie 1:1 do parametrów linków mobilnych stopki
============================================================ */

@media (max-width: 768px) {

  .zsm-footer .zsm-footer__disabled-link {
    width: 100%;
    min-height: 32px;

    font-size: 14.5px;
    line-height: 1.42;
  }

}










/* PODRĘCZNIKI */

.school-books {
  --primary: #12395b;
  --primary-2: #1f5f8b;
  --blue: #1d4ed8;
  --green: #15803d;
  --accent: #d9a31a;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #d8e1ea;
  --shadow: 0 6px 18px rgba(18, 57, 91, .06);

  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}









































@media (max-width: 992px) {
  .book-card {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .book-links,
  .book-links--3 {
    grid-template-columns: repeat(3, 1fr);
    justify-content: stretch;
  }
}

@media (max-width: 768px) {
  .school-books {
    padding: .85rem;
    margin-bottom: 42px;
  }

  .school-books__hero {
    padding: 1.15rem;
    border-radius: .9rem;
  }

  .school-books__hero h1 {
    font-size: 1.8rem;
  }

  .books-section {
    margin-bottom: 1.75rem;
  }

  .book-card {
    padding: 1rem .95rem 1rem 1.2rem;
    border-radius: .9rem;
    gap: .75rem;
  }

  .book-card__title {
    font-size: 1rem;
  }

  .book-links,
  .book-links--3 {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .book-links a {
    min-height: 52px;
  }
}


















/* KADRA */

.zsm-kadra-v2 {
  --primary: #12395b;
  --primary-2: #1f5f8b;
  --accent: #d9a31a;
  --accent-soft: #fff3cc;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #374151;
  --border: #d8e1ea;
  --soft: #eaf1f7;
  --shadow: 0 6px 18px rgba(18, 57, 91, .06);

  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zsm-kadra-v2 *,
.zsm-kadra-v2 *::before,
.zsm-kadra-v2 *::after {
  box-sizing: border-box;
}

.zsm-kadra-v2__hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 1rem;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 1rem;
}

.zsm-kadra-v2__hero h1 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.1;
}

.zsm-kadra-v2__hero p {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
}

.zsm-kadra-v2__toolbar {
  display: grid;
  gap: .75rem;
  background: rgba(245, 247, 250, .96);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: .85rem;
  margin-bottom: 1.15rem;
}

.zsm-kadra-v2__search {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--border);
  border-radius: .85rem;
  padding: .75rem 1rem .75rem 2.65rem;
  font-size: 1rem;
  color: var(--text);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 21L15.8 15.8M18 10.5C18 14.6421 14.6421 18 10.5 18C6.35786 18 3 14.6421 3 10.5C3 6.35786 6.35786 3 10.5 3C14.6421 3 18 6.35786 18 10.5Z' stroke='%2312395b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: .9rem center;
  background-size: 1.1rem;
}

.zsm-kadra-v2__search::placeholder {
  color: #6b7280;
}

.zsm-kadra-v2__search:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--primary);
}

.zsm-kadra-v2__quick {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.zsm-kadra-v2__quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

.zsm-kadra-v2__quick-link:hover {
  background: var(--soft);
  color: var(--primary);
}

.zsm-kadra-v2__quick-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.zsm-kadra-v2__section {
  margin-bottom: 1rem;
  scroll-margin-top: 90px;
}

/*
 * Nagłówek sekcji pozostaje prawdziwym H2.
 * Interakcję rozwijania obsługuje znajdujący się w nim button.
 */
.zsm-kadra-v2__summary {
  margin: 0;
  background: var(--primary);
  color: #fff;
  border-radius: .8rem;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  line-height: 1.25;
  font-weight: 800;
}

.zsm-kadra-v2__section-toggle {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: .75rem .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.zsm-kadra-v2__section-toggle::after {
  content: "＋";
  flex: 0 0 auto;
  color: #fff;
  font-weight: 700;
  transition: transform .2s ease;
}

.zsm-kadra-v2__section-toggle[aria-expanded="true"]::after {
  content: "−";
}

.zsm-kadra-v2__section-toggle:hover {
  background: rgba(255, 255, 255, .08);
}

.zsm-kadra-v2__section-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.zsm-kadra-v2__body {
  padding-top: .65rem;
}

.zsm-kadra-v2__body[hidden] {
  display: none !important;
}

.zsm-kadra-v2__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

.zsm-kadra-v2__card,
.zsm-kadra-v2__person {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .85rem;
  padding: .75rem .9rem;
  box-shadow: var(--shadow);
  color: var(--text);
}

.zsm-kadra-v2__card--director {
  border-top: 4px solid var(--accent);
}

.zsm-kadra-v2__person {
  border-left: 4px solid var(--primary);
}

.zsm-kadra-v2__name {
  margin: 0 0 .25rem;
  color: var(--primary);
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 800;
}

.zsm-kadra-v2__role {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: .93rem;
}

.zsm-kadra-v2__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .55rem;
}

.zsm-kadra-v2__room,
.zsm-kadra-v2__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: .28rem .62rem;
  font-size: .80rem;
  line-height: 1.25;
  font-weight: 800;
}

.zsm-kadra-v2__room {
  background: var(--soft);
  color: var(--primary);
}

.zsm-kadra-v2__badge {
  background: var(--accent-soft);
  color: #5f4300;
}

.zsm-kadra-v2__callout {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: .85rem;
  padding: .8rem;
  margin-top: .7rem;
  color: var(--text);
}

.zsm-kadra-v2__callout h4 {
  margin: 0 0 .6rem;
  color: var(--primary);
  font-size: .98rem;
  line-height: 1.3;
}

.zsm-kadra-v2__hours {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .45rem;
  margin: 0;
}

.zsm-kadra-v2__hours th,
.zsm-kadra-v2__hours td {
  background: var(--bg);
  padding: .55rem .7rem;
  line-height: 1.4;
}

.zsm-kadra-v2__hours th {
  width: 38%;
  color: var(--primary);
  font-weight: 800;
  text-align: left;
  border-radius: .6rem 0 0 .6rem;
  white-space: nowrap;
}

.zsm-kadra-v2__hours td {
  color: var(--text);
  text-align: right;
  border-radius: 0 .6rem .6rem 0;
}

.zsm-kadra-v2__empty {
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: .85rem;
  padding: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.zsm-kadra-v2__empty[hidden] {
  display: none !important;
}

/* Uniwersalny, widoczny fokus wewnątrz komponentu */
.zsm-kadra-v2 :where(
  a,
  button,
  input,
  select,
  textarea,
  summary,
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .zsm-kadra-v2__toolbar {
    grid-template-columns: 340px 1fr;
    align-items: center;
  }

  .zsm-kadra-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .zsm-kadra-v2__hours th {
    width: 26%;
  }

  .zsm-kadra-v2__hours td {
    width: 74%;
    white-space: nowrap;
    font-size: .88rem;
  }
}

@media (min-width: 1024px) {
  .zsm-kadra-v2__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .zsm-kadra-v2 {
    padding: .85rem;
  }

  .zsm-kadra-v2__hero {
    padding: 1.15rem;
    border-radius: .9rem;
  }

  .zsm-kadra-v2__hero h1 {
    font-size: 1.8rem;
  }

  .zsm-kadra-v2__quick-link {
    width: 100%;
  }

  .zsm-kadra-v2__hours th,
  .zsm-kadra-v2__hours td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .zsm-kadra-v2__hours th {
    border-radius: .6rem .6rem 0 0;
    padding-bottom: .2rem;
  }

  .zsm-kadra-v2__hours td {
    border-radius: 0 0 .6rem .6rem;
    padding-top: .2rem;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zsm-kadra-v2 *,
  .zsm-kadra-v2 *::before,
  .zsm-kadra-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}









/* POMOC PSYCHOLOGICZNO-PEDAGOGICZNA */

.zsm-pomoc-v1 {
  --primary: #12395b;
  --primary-2: #1f5f8b;
  --accent: #d9a31a;
  --accent-soft: #fff3cc;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #374151;
  --border: #d8e1ea;
  --soft: #eaf1f7;
  --shadow: 0 6px 18px rgba(18, 57, 91, .08);

  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zsm-pomoc-v1 *,
.zsm-pomoc-v1 *::before,
.zsm-pomoc-v1 *::after {
  box-sizing: border-box;
}

.zsm-pomoc-v1__hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 1rem;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 1rem;
}

.zsm-pomoc-v1__hero h1 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.1;
}

.zsm-pomoc-v1__hero p {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
}

.zsm-pomoc-v1__notice {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: .9rem;
  padding: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
  box-shadow: var(--shadow);
  line-height: 1.55;
}

.zsm-pomoc-v1__section-title {
  background: var(--primary);
  color: #fff;
  border-radius: .8rem;
  padding: .75rem .95rem;
  margin: 1rem 0 .75rem;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  line-height: 1.25;
  font-weight: 800;
}

.zsm-pomoc-v1__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-bottom: 1rem;
}

.zsm-pomoc-v1__card,
.zsm-pomoc-v1__person {
  display: block;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: .85rem !important;
  padding: .85rem 1rem !important;
  box-shadow: var(--shadow) !important;
  color: var(--text);
}

.zsm-pomoc-v1__card {
  border-top: 4px solid var(--accent) !important;
}

.zsm-pomoc-v1__person {
  border-left: 4px solid var(--primary) !important;
}

.zsm-pomoc-v1__name {
  margin: 0 0 .25rem !important;
  color: var(--primary) !important;
  font-size: 1.02rem !important;
  line-height: 1.3;
  font-weight: 800 !important;
}

.zsm-pomoc-v1__role {
  margin: 0 !important;
  color: var(--muted) !important;
  line-height: 1.45;
  font-size: .93rem;
}

.zsm-pomoc-v1__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .55rem;
}

.zsm-pomoc-v1__room,
.zsm-pomoc-v1__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: .28rem .62rem;
  font-size: .80rem;
  line-height: 1.25;
  font-weight: 800;
}

.zsm-pomoc-v1__room {
  background: var(--soft);
  color: var(--primary);
}

.zsm-pomoc-v1__badge {
  background: var(--accent-soft);
  color: #5f4300;
}

.zsm-pomoc-v1__callout {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: .85rem;
  padding: .8rem;
  margin-top: .7rem;
  color: var(--text);
}

.zsm-pomoc-v1__callout h3 {
  margin: 0 0 .6rem !important;
  color: var(--primary) !important;
  font-size: .98rem !important;
  line-height: 1.3;
}

.zsm-pomoc-v1__hours {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .45rem;
  margin: 0;
}

.zsm-pomoc-v1__hours th,
.zsm-pomoc-v1__hours td {
  background: var(--bg) !important;
  padding: .55rem .7rem !important;
  line-height: 1.4;
}

.zsm-pomoc-v1__hours th {
  width: 38%;
  color: var(--primary);
  font-weight: 800;
  text-align: left;
  border-radius: .6rem 0 0 .6rem;
  white-space: nowrap;
}

.zsm-pomoc-v1__hours td {
  color: var(--text);
  text-align: right;
  border-radius: 0 .6rem .6rem 0;
}

@media (min-width: 700px) {
  .zsm-pomoc-v1__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .zsm-pomoc-v1__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .zsm-pomoc-v1__hours th {
    width: 26%;
  }

  .zsm-pomoc-v1__hours td {
    width: 74%;
    white-space: nowrap;
    font-size: .88rem;
  }
}

@media (max-width: 699px) {
  .zsm-pomoc-v1 {
    padding: .85rem;
  }

  .zsm-pomoc-v1__hero {
    padding: 1.15rem;
    border-radius: .9rem;
  }

  .zsm-pomoc-v1__hero h1 {
    font-size: 1.8rem;
  }

  .zsm-pomoc-v1__hours th,
  .zsm-pomoc-v1__hours td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .zsm-pomoc-v1__hours th {
    border-radius: .6rem .6rem 0 0;
    padding-bottom: .2rem;
  }

  .zsm-pomoc-v1__hours td {
    border-radius: 0 0 .6rem .6rem;
    padding-top: .2rem;
    white-space: normal;
  }
}

.zsm-pomoc-v1__grid--three {
    align-items: stretch;
}

.zsm-pomoc-v1__card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.zsm-pomoc-v1__callout {
    margin-top: auto;
}

/* ładniejsze odstępy w godzinach pracy */
.zsm-pomoc-v1__hours {
    margin-top: .5rem;
}

.zsm-pomoc-v1__hours th {
    width: 42%;
    white-space: nowrap;
}

.zsm-pomoc-v1__hours td {
    white-space: nowrap;
}

/* rewalidacja - karta nie na pełną szerokość */
.zsm-pomoc-v1__person {
    max-width: 520px;
}

/* lepsze wyrównanie sali i wychowawcy */
.zsm-pomoc-v1__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

/* delikatnie bardziej eleganckie godziny pracy */
.zsm-pomoc-v1__callout {
    border-top-width: 3px;
}

/* poprawa wyglądu na telefonach */
@media (max-width: 768px) {

    .zsm-pomoc-v1__person {
        max-width: 100%;
    }

    .zsm-pomoc-v1__hours th,
    .zsm-pomoc-v1__hours td {
        white-space: normal;
    }
}
.zsm-pomoc-v1__card {
    display: block !important;
}


  /* Rewalidacja - finalne ustawienie */



/* Finalne uporządkowanie podstrony Pomoc */
.zsm-pomoc-v1__card {
  display: block !important;
  height: auto !important;
}

.zsm-pomoc-v1__callout {
  margin-top: 20px !important;
}

.zsm-pomoc-v1__person {
  width: 100% !important;
  max-width: 620px !important;
}
.zsm-pomoc-v1__person{
    width:620px !important;
    max-width:100% !important;}
.zsm-pomoc-v1__person {
    width: 550px !important;
    max-width: 100% !important;
}









/* GABINET PIELĘGNIARKI */

.zsm-pielegniarka-v1 {
  --primary: #12395b;
  --primary-2: #1f5f8b;
  --accent: #d9a31a;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #374151;
  --border: #d8e1ea;
  --soft: #eaf1f7;
  --shadow: 0 6px 18px rgba(18, 57, 91, .08);

  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zsm-pielegniarka-v1 *,
.zsm-pielegniarka-v1 *::before,
.zsm-pielegniarka-v1 *::after {
  box-sizing: border-box;
}

.zsm-pielegniarka-v1__hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 1rem;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 1rem;
}

.zsm-pielegniarka-v1__hero h1 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.1;
}

.zsm-pielegniarka-v1__hero p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
}

.zsm-pielegniarka-v1__notice {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: .9rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  line-height: 1.55;
}

.zsm-pielegniarka-v1__section-title {
  background: var(--primary);
  color: #fff;
  border-radius: .8rem;
  padding: .75rem .95rem;
  margin: 1rem 0 .75rem;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  line-height: 1.25;
  font-weight: 800;
}

.zsm-pielegniarka-v1__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: .85rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.zsm-pielegniarka-v1__name {
  margin: 0 0 .25rem;
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 800;
}

.zsm-pielegniarka-v1__role {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.zsm-pielegniarka-v1__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .65rem;
}

.zsm-pielegniarka-v1__room {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: .28rem .62rem;
  background: var(--soft);
  color: var(--primary);
  font-size: .84rem;
  font-weight: 800;
}

.zsm-pielegniarka-v1__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: 1rem;
}

.zsm-pielegniarka-v1__callout {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: .85rem;
  padding: .8rem;
}

.zsm-pielegniarka-v1__callout h3 {
  margin: 0 0 .6rem;
  color: var(--primary);
  font-size: .98rem;
  line-height: 1.3;
}

.zsm-pielegniarka-v1__hours {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .45rem;
  margin: 0;
}

.zsm-pielegniarka-v1__hours th,
.zsm-pielegniarka-v1__hours td {
  background: var(--bg);
  padding: .55rem .7rem;
  line-height: 1.4;
}

.zsm-pielegniarka-v1__hours th {
  width: 42%;
  color: var(--primary);
  font-weight: 800;
  text-align: left;
  border-radius: .6rem 0 0 .6rem;
  white-space: nowrap;
}

.zsm-pielegniarka-v1__hours td {
  color: var(--text);
  text-align: right;
  border-radius: 0 .6rem .6rem 0;
  white-space: nowrap;
}

@media (min-width: 700px) {
  .zsm-pielegniarka-v1__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .zsm-pielegniarka-v1 {
    padding: .85rem;
  }

  .zsm-pielegniarka-v1__hero {
    padding: 1.15rem;
    border-radius: .9rem;
  }

  .zsm-pielegniarka-v1__hero h1 {
    font-size: 1.8rem;
  }

  .zsm-pielegniarka-v1__hours th,
  .zsm-pielegniarka-v1__hours td {
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  .zsm-pielegniarka-v1__hours th {
    border-radius: .6rem .6rem 0 0;
    padding-bottom: .2rem;
  }

  .zsm-pielegniarka-v1__hours td {
    border-radius: 0 0 .6rem .6rem;
    padding-top: .2rem;
  }
}
/* Gabinet pielęgniarki - finalne zagęszczenie godzin */
.zsm-pielegniarka-v1__callout {
  min-height: auto !important;
}



.zsm-pielegniarka-v1__card {
  padding-bottom: 1rem !important;
}
/* Gabinet pielęgniarki - kompaktowy układ */

.zsm-pielegniarka-v1__card {
    display: inline-block !important;
    width: 100% !important;
}

.zsm-pielegniarka-v1__grid {
    align-items: start !important;
}

.zsm-pielegniarka-v1__callout {
    height: auto !important;
    min-height: unset !important;
}
.zsm-pielegniarka-v1__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    align-items: stretch;
}

.zsm-pielegniarka-v1__callout {
    height: 100%;
}
.zsm-pielegniarka-v1__card{
    padding: 20px 20px 12px;
}
.zsm-pielegniarka-v1__grid{
    margin-top: 14px;
}






/* SZKOLNE PLANY NAUCZANIA */

.school-books {
  --primary: #12395b;
  --primary-2: #1f5f8b;
  --blue: #2563eb;
  --green: #16834a;
  --accent: #d9a31a;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #d8e1ea;
  --shadow: 0 6px 18px rgba(18, 57, 91, .06);

  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.school-books__hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 1rem;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 1.2rem;
}

.school-books__hero h1 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.1;
  font-weight: 900;
}

.school-books__hero p {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
}

.books-section {
  margin-bottom: 2rem;
}

.books-heading {
  margin-bottom: .75rem;
}

.books-heading h2 {
  background: var(--primary);
  color: #fff;
  border-radius: .8rem;
  padding: .75rem .95rem;
  margin: 0;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  line-height: 1.25;
  font-weight: 800;
}

.books-section--green .books-heading h2 {
  background: var(--primary);
}

.book-card {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border-radius: .9rem;
  margin-bottom: .75rem;
  padding: .8rem 1rem .8rem 1.35rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .10);
}

.book-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--blue);
  transition: width .18s ease;
}

.book-card:hover::before {
  width: 8px;
}

.books-section--green .book-card::before {
  background: var(--green);
}

.book-card__title {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text);
}

.book-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 150px));
  justify-content: end;
  align-items: center;
  gap: .55rem;
}

.book-links--3 {
  grid-template-columns: repeat(3, minmax(112px, 150px));
}

.book-links--6 {
  grid-template-columns: repeat(3, minmax(112px, 150px));
}

.book-links a {
  min-height: 46px;
  padding: .45rem .65rem;
  border-radius: .7rem;
  border: 1px solid #e2e8f0;
  background: var(--bg);
  color: var(--blue);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 850;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.12;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.books-section--green .book-links a {
  color: var(--green);
}

.book-links a small {
  margin-top: 2px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #94a3b8;
}

.book-links a:hover {
  background: #fff;
  border-color: currentColor;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
  text-decoration: none;
}

.book-links a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 992px) {
  .book-card {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .book-links,
  .book-links--3,
  .book-links--6 {
    grid-template-columns: repeat(3, 1fr);
    justify-content: stretch;
  }
}

@media (max-width: 768px) {
  .school-books {
    padding: .85rem;
    margin-bottom: 42px;
  }

  .school-books__hero {
    padding: 1.15rem;
    border-radius: .9rem;
  }

  .school-books__hero h1 {
    font-size: 1.8rem;
  }

  .books-section {
    margin-bottom: 1.75rem;
  }

  .book-card {
    padding: 1rem .95rem 1rem 1.2rem;
    border-radius: .9rem;
    gap: .75rem;
  }

  .book-card__title {
    font-size: 1rem;
  }

  .book-links,
  .book-links--3,
  .book-links--6 {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .book-links a {
    min-height: 52px;
  }
}











/Rada rodziców/
.support-section {
  padding: 48px 20px 80px;
  background: #ffffff;
  color: #111827;
}

.support-container {
  max-width: 1040px;
  margin: 0 auto;
}

.support-header {
  max-width: 560px;
  margin-bottom: 24px;
}

.support-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.support-header h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 2.2vw, 2.45rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.support-header p {
  max-width: 560px;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #374151;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 16px;
  padding: 7px 12px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
  margin-top: 22px;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
  padding: 22px 24px 24px;
  background: #ffffff;
  border: 1px solid #dbe5f0;
  border-top: 3px solid #123f63;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: #c7d6e6;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.09);
}

.support-card-accent {
  border-top-color: #123f63;
}

.support-card h3 {
  margin: 0 0 18px;
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.support-highlight {
  width: 100%;
  margin-bottom: 16px;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
}

.support-card-accent .support-highlight {
  background: #f8fafc;
}

.support-highlight strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1;
  font-weight: 900;
  color: #f97316;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.support-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #4b5563;
}

.support-data {
  width: 100%;
  margin-bottom: 16px;
}

.support-number {
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  background: #172033;
  color: #ffffff;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.support-note {
  width: 100%;
  margin-bottom: 14px;
  padding: 14px 18px;
  background: #f8fafc;
  border-left: 3px solid #f97316;
  border-radius: 12px;
  line-height: 1.55;
}

.support-note strong,
.support-note span {
  display: block;
}

.support-note strong {
  margin-bottom: 3px;
  font-weight: 850;
}

.support-small {
  margin: 0 0 12px;
  color: #374151;
  line-height: 1.65;
}

.support-trust {
  width: 100%;
  min-height: auto;
  margin: 0 0 16px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  color: #374151;
  line-height: 1.55;
}

.support-trust strong,
.support-trust span {
  display: block;
}

.support-trust strong {
  margin-bottom: 4px;
  color: #111827;
  font-weight: 850;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: #2454e6;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.18);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.support-button:hover {
  background: #1e40af;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(29, 78, 216, 0.26);
}

.support-button:active {
  transform: translateY(0);
}

.support-button:focus-visible {
  outline: 3px solid #123f63;
  outline-offset: 4px;
}

.support-button.is-copied {
  background: #166534;
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(22, 101, 52, 0.2);
}

@media (max-width: 900px) {
  .support-section {
    padding: 48px 20px 72px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .support-header {
    margin-bottom: 22px;
  }
}

@media (max-width: 600px) {
  .support-section {
    padding: 40px 16px 64px;
  }

  .support-header {
    margin-bottom: 22px;
  }

  .support-eyebrow {
    font-size: 0.8rem;
  }

  .support-header h2 {
    font-size: clamp(1.85rem, 8vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  .support-header p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .support-badge {
    margin-top: 16px;
    border-radius: 18px;
    font-size: 0.875rem;
  }

  .support-card {
    padding: 18px;
    border-radius: 18px;
  }

  .support-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
  }

  .support-highlight {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .support-highlight strong {
    font-size: 2rem;
  }

  .support-number {
    padding: 13px 16px;
    font-size: 0.9rem;
    line-height: 1.45;
    letter-spacing: 0;
  }

  .support-note,
  .support-trust {
    padding: 13px 16px;
    border-radius: 12px;
  }

  .support-small {
    line-height: 1.6;
  }

  .support-button {
    width: 100%;
    min-height: 52px;
  }
}

@media (max-width: 420px) {
  .support-section {
    padding: 36px 12px 56px;
  }

  .support-container {
    max-width: 100%;
  }

  .support-card {
    padding: 16px;
    border-radius: 17px;
  }

  .support-highlight,
  .support-note,
  .support-trust {
    padding: 13px 14px;
  }

  .support-number {
    padding: 13px 14px;
    font-size: 0.86rem;
  }

  .support-highlight strong {
    font-size: 1.9rem;
  }
}


















/Samorząd/
.student-council {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 24px 72px;
  color: #0f172a;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.student-council__header {
  max-width: 820px;
  margin-bottom: 28px;
}

.student-council__eyebrow {
  margin: 0 0 12px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-council__header h1 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.student-council__lead {
  max-width: 760px;
  margin: 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.7;
}

.student-council__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.student-council__meta li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
}

.student-council__card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 104px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-council__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.student-council__card--leader {
  position: relative;
  overflow: hidden;
  align-items: center;
  min-height: 160px;
  padding: 28px;
  margin-top: 0;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 72%);
  border: 2px solid #2563eb;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.13);
}

.student-council__card--leader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(37, 99, 235, 0.08),
    transparent 45%
  );
  pointer-events: none;
}

.student-council__card--leader > * {
  position: relative;
  z-index: 1;
}

.student-council__card--leader .student-council__content {
  max-width: 620px;
}

.student-council__card--featured {
  border-left: 5px solid #2563eb;
}

.student-council__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  row-gap: 18px;
  column-gap: 16px;
}

.student-council__grid .student-council__card {
  grid-column: span 2;
}

.student-council__grid .student-council__card:nth-child(4) {
  grid-column: 2 / span 2;
}

.student-council__grid .student-council__card:nth-child(5) {
  grid-column: 4 / span 2;
}

.student-council__photo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  object-fit: cover;
  background: #e0ecff;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1px #bfdbfe;
}

.student-council__photo--leader {
  width: 128px;
  height: 128px;
}

.student-council__content {
  min-width: 0;
}

.student-council__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.student-council__name {
  margin: 0;
  color: #020617;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.student-council__card--leader .student-council__name {
  font-size: 32px;
}

.student-council__role {
  max-width: 640px;
  margin: 10px 0 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
}

.student-council__role--small {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.student-council__activities {
  margin-top: 40px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.student-council__activities h2 {
  margin: 0 0 16px;
  color: #020617;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.student-council__activities ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.student-council__activities li {
  position: relative;
  padding: 16px 16px 16px 44px;
  background: #f8fafc;
  border-radius: 14px;
  color: #334155;
  font-size: 15px;
  line-height: 1.55;
}

.student-council__activities li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 16px;
  color: #2563eb;
  font-weight: 900;
}

.student-council__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 28px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
}

.student-council__cta h2 {
  margin: 0 0 6px;
  color: #020617;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.student-council__cta p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.5;
}

.student-council__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.student-council__button:hover,
.student-council__button:focus-visible {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.student-council__button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

/* Tablet */
@media (max-width: 900px) {
  .student-council {
    padding: 28px 20px 64px;
  }

  .student-council__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-council__grid .student-council__card,
  .student-council__grid .student-council__card:nth-child(4),
  .student-council__grid .student-council__card:nth-child(5) {
    grid-column: auto;
  }

  .student-council__activities ul {
    grid-template-columns: 1fr;
  }

  .student-council__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-council__button {
    min-width: 240px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .student-council {
    padding: 24px 16px 56px;
  }

  .student-council__header {
    margin-bottom: 28px;
  }

  .student-council__header h1 {
    font-size: 32px;
  }

  .student-council__lead {
    font-size: 16px;
  }

  .student-council__meta li {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .student-council__card,
  .student-council__card--leader {
    min-height: auto;
    padding: 16px;
    border-radius: 16px;
  }

  .student-council__card--leader {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-council__card--leader .student-council__content {
    max-width: none;
  }

  .student-council__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .student-council__grid .student-council__card,
  .student-council__grid .student-council__card:nth-child(4),
  .student-council__grid .student-council__card:nth-child(5) {
    grid-column: auto;
  }

  .student-council__photo {
    width: 68px;
    height: 68px;
  }

  .student-council__photo--leader {
    width: 96px;
    height: 96px;
  }

  .student-council__label {
    font-size: 13px;
    white-space: normal;
  }

  .student-council__name {
    font-size: 17px;
  }

  .student-council__card--leader .student-council__name {
    font-size: 24px;
  }

  .student-council__role {
    font-size: 15px;
  }

  .student-council__activities,
  .student-council__cta {
    margin-top: 22px;
    padding: 18px;
  }

  .student-council__activities h2,
  .student-council__cta h2 {
    font-size: 20px;
  }

  .student-council__button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 16px;
  }
}





/Organizacja roku szkolnego/
.zsm-rokszkolny,
.zsm-rokszkolny * {
  box-sizing: border-box;
}

.zsm-rokszkolny {
  width: 100%;
  margin: 0;
  padding: 36px 0 64px;
  background: #ffffff;
  color: #111827;
  font-family: inherit;
}

.zsm-rokszkolny__header {
  max-width: 720px;
  margin: 0 0 40px;
}

.zsm-rokszkolny__eyebrow {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.zsm-rokszkolny__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
}

.zsm-rokszkolny__lead {
  margin: 0;
  max-width: 70ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #374151;
}

.zsm-rokszkolny__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 420px));
  gap: 20px;
  max-width: 880px;
}

.zsm-rokszkolny__card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  min-height: 180px;
  padding: 24px 26px;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 5px solid #1d4ed8;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.zsm-rokszkolny__card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.11);
}

.zsm-rokszkolny__card:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
}

.zsm-rokszkolny__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.zsm-rokszkolny__card-title {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
  transition: color .2s ease;
}

.zsm-rokszkolny__card-desc {
  max-width: 34ch;
  margin-bottom: auto;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5563;
}

.zsm-rokszkolny__file-info {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  min-height: 28px;
  margin-top: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.zsm-rokszkolny__arrow {
  flex-shrink: 0;
  margin-left: 24px;
  color: #1d4ed8;
  font-size: 1.35rem;
  transition: transform .2s ease;
}

.zsm-rokszkolny__card:hover .zsm-rokszkolny__card-title {
  color: #1d4ed8;
}

.zsm-rokszkolny__card:hover .zsm-rokszkolny__arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .zsm-rokszkolny {
    padding: 28px 0 56px;
  }

  .zsm-rokszkolny__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .zsm-rokszkolny__card {
    min-height: 172px;
  }
}

@media (max-width: 560px) {
  .zsm-rokszkolny {
    padding: 24px 0 44px;
  }

  .zsm-rokszkolny__title {
    font-size: 1.85rem;
  }

  .zsm-rokszkolny__lead {
    max-width: none;
    font-size: 1rem;
    line-height: 1.6;
  }

  .zsm-rokszkolny__card {
    min-height: 170px;
    padding: 20px;
  }

  .zsm-rokszkolny__card-title {
    font-size: 1.05rem;
  }

  .zsm-rokszkolny__card-desc {
    max-width: none;
    font-size: 0.95rem;
  }

  .zsm-rokszkolny__arrow {
    display: none;
  }
}







/Matura/

.zsm-matura {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  color: #07152f;
}

.zsm-matura__header {
  max-width: 820px;
  margin-bottom: 1.75rem;
}

.zsm-matura__label,
.zsm-matura-summary__label {
  margin: 0 0 .4rem;
  font-size: .82rem;
  font-weight: 800;
  color: #2454e6;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.zsm-matura__header h1 {
  margin: 0 0 .65rem;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.1;
  color: #07152f;
}

.zsm-matura__header p,
.zsm-matura-summary__header p,
.zsm-matura-summary__note {
  margin: 0;
  color: #3f4b5f;
  line-height: 1.65;
}

.zsm-matura__header p {
  max-width: 700px;
  font-size: 1.06rem;
}

.zsm-matura-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.3rem;
}

.zsm-matura-stat {
  min-width: 150px;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: #f8faff;
  border: 1px solid #e5eaf5;
}

.zsm-matura-stat strong {
  display: block;
  margin-bottom: .15rem;
  font-size: 1.3rem;
  line-height: 1.1;
  color: #07152f;
}

.zsm-matura-stat span {
  display: block;
  color: #4b5563;
  font-size: .92rem;
  line-height: 1.35;
}

.zsm-matura-summary {
  margin: 0 0 2rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: #f8faff;
  border: 1px solid #e5eaf5;
}

.zsm-matura-summary__header {
  max-width: 780px;
  margin-bottom: 1.25rem;
}

.zsm-matura-summary__header h2 {
  margin: 0 0 .5rem;
  color: #07152f;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.zsm-matura-summary__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .9rem;
}

.zsm-info-box {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  color: #07152f;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .045);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.zsm-info-box:hover,
.zsm-info-box:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  color: #07152f;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.zsm-info-box:focus-visible {
  outline: 3px solid rgba(36, 84, 230, .32);
  outline-offset: 3px;
}

.zsm-info-box__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: .8rem;
  border-radius: 13px;
  background: #eef3ff;
  font-size: 1.25rem;
}

.zsm-info-box__content {
  display: grid;
  gap: .35rem;
}

.zsm-info-box__content strong {
  color: #07152f;
  font-size: 1rem;
  line-height: 1.3;
}

.zsm-info-box__content span {
  color: #4b5563;
  font-size: .94rem;
  line-height: 1.5;
}

.zsm-info-box__content em {
  margin-top: .15rem;
  color: #2454e6;
  font-size: .9rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.zsm-matura-summary__note {
  margin-top: 1rem;
  font-size: .9rem;
}

.zsm-matura__notice {
  margin: 0;
  padding: 1.35rem 1.5rem .9rem;
  border: 1px solid #dbe5ff;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: #f8faff;
  color: #07152f;
  line-height: 1.5;
}

.zsm-matura__notice strong {
  display: block;
  font-size: .82rem;
  font-weight: 800;
  color: #173fc0;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.zsm-matura__notice strong + * {
  margin-top: .25rem;
}

.zsm-matura__grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: .35rem 1.5rem 1.5rem;
  background: #f8faff;
  border: 1px solid #dbe5ff;
  border-top: 0;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 8px 26px rgba(30, 64, 175, .04);
}

.zsm-matura-card {
  scroll-margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid #e5eaf5;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
  color: #07152f;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zsm-matura-card:link,
.zsm-matura-card:visited,
.zsm-matura-card:hover,
.zsm-matura-card:focus-visible {
  color: #07152f;
  text-decoration: none;
}

.zsm-matura-card:hover {
  transform: translateY(-2px);
  border-color: #2454e6;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.zsm-matura-card--featured {
  border-color: #e5eaf5;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

#harmonogram {
  border-width: 1px;
}

.zsm-matura-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef3ff;
  font-size: 1.35rem;
}

.zsm-matura-card__body {
  min-width: 0;
}

.zsm-matura-card h2 {
  margin: 0 0 .3rem;
  color: #07152f;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.3;
  text-decoration: none;
}

.zsm-matura-card:hover h2,
.zsm-matura-card:focus-visible h2 {
  color: #07152f;
  text-decoration: none;
}

.zsm-matura-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.55;
}

.zsm-matura-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .72rem 1.15rem;
  border-radius: 999px;
  background: #2454e6;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(36, 84, 230, .18);
}

.zsm-matura-card__button:hover,
.zsm-matura-card__button:focus-visible {
  background: #173fc0;
  color: #fff;
  text-decoration: none;
}

.zsm-matura-card:focus {
  outline: none;
}

.zsm-matura-card:focus:not(:focus-visible) {
  outline: none;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.zsm-matura-card:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

@media (max-width: 992px) {
  .zsm-matura-summary__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .zsm-matura__notice {
    padding: 1.1rem 1.15rem .75rem;
    border-radius: 18px 18px 0 0;
  }

  .zsm-matura__grid {
    padding: .3rem 1.15rem 1.15rem;
    border-radius: 0 0 18px 18px;
  }

  .zsm-matura {
    padding: 1.5rem 1rem 2.5rem;
  }

  .zsm-matura__header {
    margin-bottom: 1.4rem;
  }

  .zsm-matura-stats {
    gap: .6rem;
  }

  .zsm-matura-stat {
    flex: 1 1 100%;
  }

  .zsm-matura-summary {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .zsm-matura-card {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border-radius: 16px;
  }

  .zsm-matura-card__button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: .25rem;
  }
}

@media (max-width: 560px) {
  .zsm-matura-summary__grid {
    grid-template-columns: 1fr;
  }

  .zsm-matura__header h1 {
    font-size: 1.8rem;
  }

  .zsm-info-box {
    flex-direction: row;
    gap: .85rem;
  }

  .zsm-info-box__icon {
    flex: 0 0 42px;
    margin-bottom: 0;
  }

  .zsm-matura-card__icon {
    width: 44px;
    height: 44px;
  }

  .zsm-matura-card h2 {
    font-size: 1.05rem;
  }

  .zsm-matura-card p {
    font-size: .95rem;
  }
}








/Egzaminy zawodowe/

.exam-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: #001b3f;
}

.exam-header {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.exam-eyebrow,
.exam-label {
  margin: 0 0 .35rem;
  color: #24385f;
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.exam-header h1 {
  margin: 0 0 .65rem;
  color: #07152f;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
}

.exam-header p {
  max-width: 680px;
  margin: 0;
  color: #2d3c5c;
  font-size: 1.05rem;
  line-height: 1.7;
}

.exam-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.45rem;
}

.exam-stats div {
  min-width: 168px;
  padding: .7rem .9rem;
  border: 1px solid #dfe7f7;
  border-radius: 16px;
  background: #f7f9fe;
}

.exam-stats strong {
  display: block;
  color: #001b3f;
  font-size: 1.3rem;
  line-height: 1.1;
}

.exam-stats span {
  display: block;
  margin-top: .3rem;
  color: #001b3f;
  font-size: .95rem;
}

.exam-docs-section {
  padding: 1.5rem;
  border: 1px solid #dfe7f7;
  border-radius: 24px;
  background: #f7f9fe;
}

.exam-section-heading {
  margin-bottom: 1.1rem;
}

.exam-documents {
  display: grid;
  gap: .85rem;
}

.exam-document {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  padding: .9rem 1.25rem;
  border: 1px solid #dfe7f7;
  border-radius: 18px;
  background: #ffffff;
  color: #001b3f;
  text-decoration: none;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
  scroll-margin-top: 110px;
}

.exam-document:hover,
.exam-document:focus-visible {
  transform: translateY(-2px);
  border-color: #2454f4;
  box-shadow: 0 18px 44px rgba(37, 84, 244, .12);
  text-decoration: none;
}

.exam-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #edf3ff;
  font-size: 1rem;
  line-height: 1;
}

.exam-document-content {
  min-width: 0;
  flex: 1;
}

.exam-document-content strong {
  display: block;
  margin-bottom: .25rem;
  color: #001b3f;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.32;
}

.exam-document-content small {
  display: block;
  color: #2d3c5c;
  font-size: .98rem;
  line-height: 1.45;
}

.exam-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  background: #2454f4;
  color: #ffffff;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(37, 84, 244, .28);
}

.exam-document:focus-visible {
  outline: 3px solid rgba(37, 84, 244, .4);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

  .exam-section {
    padding: 1.25rem 1rem 2.5rem;
  }

  .exam-header h1 {
    font-size: 1.8rem;
  }

  .exam-header p {
    font-size: 1rem;
  }

  .exam-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .exam-stats div {
    min-width: 0;
    padding: .7rem .9rem;
  }

  .exam-docs-section {
    padding: 1rem;
    border-radius: 20px;
  }

  .exam-section-heading {
    margin-bottom: .85rem;
  }

  .exam-documents {
    gap: .7rem;
  }

  .exam-document {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    min-height: auto;
    padding: .75rem;
    border-radius: 16px;
  }

  .exam-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
    font-size: .85rem;
  }

  .exam-document-content {
    width: 100%;
  }

  .exam-document-content strong {
    margin: 0;
    font-size: .95rem;
    line-height: 1.22;
  }

  .exam-document-content small {
    display: none;
  }

  .exam-button {
    width: 100%;
    min-height: 38px;
    margin-top: .1rem;
    padding: .55rem .8rem;
    font-size: .82rem;
  }
}



.zsm-cooperation {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem clamp(2.5rem, 5vw, 4rem);
  color: #0f172a;
}

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

.zsm-cooperation__header {
  max-width: 920px;
  margin-bottom: 2.5rem;
}

.zsm-cooperation__eyebrow,
.zsm-partner-type {
  margin: 0 0 .625rem;
  color: #2454e8;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.zsm-cooperation h2 {
  max-width: 920px;
  margin: 0 0 1rem;
  color: #0b1220;
  font-size: clamp(2.25rem, 4vw, 3.15rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.zsm-cooperation__lead {
  max-width: 880px;
  margin: 0;
  color: #26364f;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.zsm-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.zsm-partner-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.65rem;
  border: 1px solid #e3eaf8;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.zsm-partner-card:hover {
  transform: translateY(-3px);
  border-color: #c9d7ff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.zsm-partner-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 120px;
  margin-bottom: 1.25rem;
}

.zsm-partner-logo img {
  display: block;
  max-width: 220px;
  max-height: 105px;
  object-fit: contain;
}

.zsm-partner-logo--hydro img {
  max-width: 240px;
  max-height: 110px;
}

.zsm-partner-content {
  flex: 1;
}

.zsm-partner-card h3 {
  margin: 0 0 .75rem;
  color: #0b1220;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.zsm-partner-card p {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.zsm-partner-benefits {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.zsm-partner-benefits li {
  position: relative;
  padding-left: 1.85rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.45;
}

.zsm-partner-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #2454e8;
  font-size: .8rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zsm-partner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  margin-top: 1.5rem;
  padding: .8rem 1.2rem;
  border: 1px solid #c9d7ff;
  border-radius: 999px;
  background: #ffffff;
  color: #2454e8;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background-color .18s ease,
    border-color .18s ease;
}

.zsm-partner-button:hover,
.zsm-partner-button:focus-visible {
  border-color: #2454e8;
  background: #eef3ff;
  color: #183fc4;
  transform: translateY(-2px);
  text-decoration: none;
}

.zsm-partner-button:focus-visible {
  outline: 3px solid #9db7ff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .zsm-partner-card,
  .zsm-partner-button {
    transition: none;
  }

  .zsm-partner-card:hover,
  .zsm-partner-button:hover,
  .zsm-partner-button:focus-visible {
    transform: none;
  }
}

@media (max-width: 992px) {
  .zsm-partner-grid {
    grid-template-columns: 1fr;
  }

  .zsm-partner-logo {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .zsm-cooperation {
    padding: 1.75rem 1rem 3rem;
  }

  .zsm-cooperation__header {
    margin-bottom: 1.75rem;
  }

  .zsm-cooperation h2 {
    font-size: 1.8rem;
    letter-spacing: -.03em;
  }

  .zsm-cooperation__lead {
    font-size: 1rem;
  }

  .zsm-partner-grid {
    gap: 1rem;
  }

  .zsm-partner-card {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .zsm-partner-logo img {
    max-width: 200px;
    max-height: 95px;
  }

  .zsm-partner-button {
    width: 100%;
  }
}




/Epuap/

.zsm-epuap-section,
.zsm-epuap-section * {
  box-sizing: border-box;
}

.zsm-epuap-section {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
  overflow-x: hidden;
}

.zsm-epuap-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.zsm-epuap-hero-content {
  max-width: 780px;
  min-width: 0;
}

.zsm-eyebrow {
  margin: 0 0 .5rem;
  color: #2454e6;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.zsm-epuap-hero h1 {
  margin: 0 0 1rem;
  color: #07152f;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  font-weight: 800;
}

.zsm-lead {
  margin: 0;
  color: #26364f;
  font-size: 1.1rem;
  line-height: 1.7;
}

.zsm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 48px;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  background: #2454e6;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(36, 84, 230, .22);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.zsm-btn-primary:hover,
.zsm-btn-primary:focus {
  background: #163fc4;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(36, 84, 230, .3);
}

.zsm-btn-primary:focus-visible,
.zsm-copy-btn:focus-visible {
  outline: 3px solid rgba(36, 84, 230, .35);
  outline-offset: 4px;
}

.zsm-info-box {
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #dbe4ff;
  border-left: 5px solid #2454e6;
  border-radius: 18px;
  background: #f5f8ff;
  color: #26364f;
  font-size: 1rem;
  line-height: 1.6;
}

.zsm-info-box p {
  margin: 0;
}

.zsm-info-box strong {
  color: #07152f;
  font-weight: 800;
}

.zsm-inline-address {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.zsm-epuap-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.zsm-card {
  min-width: 0;
  height: 100%;
  border: 1px solid #dbe4ff;
  border-radius: 24px;
  background: #fff;
  padding: 1.6rem;
  box-shadow: 0 18px 45px rgba(7, 21, 47, .07);
}

.zsm-address-card {
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.zsm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #eef3ff;
  color: #2454e6;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.zsm-card h2 {
  margin: .75rem 0 1rem;
  color: #07152f;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
}

.zsm-copy-group {
  display: grid;
  gap: .75rem;
  margin-bottom: 0;
}

.zsm-address {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #07152f;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(.95rem, 1.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.zsm-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  padding: .75rem 1rem;
  border: 1px solid #2454e6;
  border-radius: 999px;
  background: #fff;
  color: #2454e6;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.zsm-copy-btn:hover,
.zsm-copy-btn:focus,
.zsm-copy-btn.is-copied {
  background: #2454e6;
  color: #fff;
  transform: translateY(-1px);
}

.zsm-copy-status {
  min-height: 1.3em;
  margin: 0;
  color: #2454e6;
  font-size: .92rem;
  font-weight: 800;
}

.zsm-copy-status:empty {
  display: none;
}

.zsm-steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.zsm-steps li {
  position: relative;
  padding-left: 2rem;
  color: #26364f;
  line-height: 1.65;
}

.zsm-steps li::before {
  counter-increment: step;
  content: counter(step) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #2454e6;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 800;
}

.zsm-steps strong {
  color: #07152f;
  font-weight: 800;
}

@media (max-width: 900px) {
  .zsm-epuap-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .zsm-btn-primary {
    width: 100%;
  }

  .zsm-epuap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .zsm-epuap-section {
    max-width: 320px;
    margin-inline: auto;
    padding: 1.5rem 0 3rem;
  }

  .zsm-epuap-hero {
    gap: 1.5rem;
  }

  .zsm-epuap-hero h1 {
    font-size: 2.25rem;
    line-height: 1.12;
  }

  .zsm-lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .zsm-btn-primary {
    min-height: 54px;
  }

  .zsm-info-box {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 16px;
    font-size: .96rem;
  }

  .zsm-card {
    padding: 1.15rem;
    border-radius: 20px;
  }

  .zsm-icon {
    width: 50px;
    height: 50px;
    margin-bottom: .65rem;
  }

  .zsm-card h2 {
    margin-top: .65rem;
  }

  .zsm-address {
    padding: 1rem .75rem;
    font-size: .95rem;
    line-height: 1.4;
    text-align: center;
    letter-spacing: -.035em;
  }

  .zsm-copy-btn {
    width: 100%;
    min-height: 50px;
    font-size: .95rem;
  }

  .zsm-copy-group {
    margin-bottom: 0;
  }

  .zsm-steps {
    gap: 1.1rem;
  }

  .zsm-steps li {
    padding-left: 2rem;
    font-size: .98rem;
    line-height: 1.6;
  }

  .zsm-steps li::before {
    font-size: 1.2rem;
  }
}

@media (max-width: 380px) {
  .zsm-epuap-section {
    max-width: 300px;
  }

  .zsm-epuap-hero h1 {
    font-size: 2.15rem;
  }

  .zsm-address {
    font-size: .9rem;
  }

  .zsm-steps li {
    padding-left: 1.85rem;
  }

  .zsm-steps li::before {
    font-size: 1.15rem;
  }
}





historia szkoły

html {
  scroll-behavior: smooth;
}

.zsm-history {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 1rem;
  color: #0f172a !important;
}

.zsm-history,
.zsm-history * {
  opacity: 1 !important;
  filter: none !important;
  box-sizing: border-box;
}

.zsm-history-hero {
  max-width: 860px;
  margin-bottom: 2.25rem;
}

.zsm-history-label {
  display: inline-flex;
  margin-bottom: .85rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #1f4df5 !important;
  -webkit-text-fill-color: #1f4df5 !important;
  font-size: .875rem;
  font-weight: 800;
}

.zsm-history-hero h1 {
  margin: 0 0 1rem;
  max-width: 780px;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.zsm-history-hero p {
  max-width: 760px;
  margin: 0;
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.zsm-history-mini-cta,
.zsm-history-gallery-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin: 0 0 3rem;
  padding: 1.5rem;
  border: 1px solid #dbe7ff;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #f8fbff, #eef3ff);
}

.zsm-history-gallery-panel {
  margin: 3rem 0;
  background: #f8fbff;
}

.zsm-history-mini-cta h2,
.zsm-history-gallery-panel h2 {
  margin: 0 0 .35rem;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: 1.35rem;
  line-height: 1.25;
}

.zsm-history-mini-cta p,
.zsm-history-gallery-panel p {
  margin: 0;
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  line-height: 1.6;
}

.zsm-history-gallery-panel span {
  display: inline-flex;
  margin-bottom: .5rem;
  color: #1f4df5 !important;
  -webkit-text-fill-color: #1f4df5 !important;
  font-size: .85rem;
  font-weight: 900;
}

.zsm-history-mini-cta a,
.zsm-history-gallery-panel a {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: #1f4df5;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  transition: transform .25s ease, background .25s ease;
}

.zsm-history-mini-cta a:hover,
.zsm-history-gallery-panel a:hover {
  background: #1234b8;
  transform: translateY(-1px);
}

.zsm-history-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.zsm-history-aside {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .75rem;
  border: 1px solid #e5eaf3;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
}

.zsm-history-aside a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: .65rem .8rem;
  border-radius: .75rem;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  transition: background .25s ease, color .25s ease;
}

.zsm-history-aside a:hover,
.zsm-history-aside a:focus-visible {
  background: #eef3ff;
  color: #1f4df5 !important;
  -webkit-text-fill-color: #1f4df5 !important;
  outline: 2px solid #1f4df5;
  outline-offset: 2px;
}

.zsm-history-main {
  min-width: 0;
}

.zsm-history-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.zsm-history-item::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 2.6rem;
  bottom: -2rem;
  width: 2px;
  background: #e5eaf3;
}

.zsm-history-year {
  position: relative;
  z-index: 1;
  align-self: start;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: #1f4df5;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: .9rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 20px rgba(31, 77, 245, .22);
}

.zsm-history-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 330px);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #e5eaf3;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.zsm-history-card:hover {
  border-color: #d5e0f3;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}

.zsm-history-text h2,
.zsm-history-fact h2,
.zsm-history-calendar h2,
.zsm-history-cta h2 {
  margin: 0 0 .85rem;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.zsm-history-text p,
.zsm-history-details p,
.zsm-calendar-row p,
.zsm-history-fact p {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  font-size: 1.05rem;
  line-height: 1.75;
}

.zsm-history-text p {
  max-width: 68ch;
  margin: 0 0 1rem;
}

.zsm-history-details {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5eaf3;
}

.zsm-history-details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #1f4df5 !important;
  -webkit-text-fill-color: #1f4df5 !important;
  font-weight: 900;
  line-height: 1.4;
}

.zsm-history-details summary:focus {
  outline: none;
}

.zsm-history-details summary:focus-visible {
  outline: 2px solid #1f4df5;
  outline-offset: 4px;
  border-radius: .5rem;
}

.zsm-mobile-link {
  display: none;
}

.zsm-history-photo {
  margin: 0;
}

.zsm-history-photo a {
  display: block;
  border-radius: 1rem;
}

.zsm-history-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
  border-radius: 1rem;
  background: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.zsm-history-photo a:hover img,
.zsm-history-photo a:focus-visible img {
  transform: scale(1.025);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .13);
}

.zsm-history-photo figcaption {
  margin-top: .65rem;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: .9rem;
  line-height: 1.45;
}

.zsm-history-fact {
  margin: 3rem 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-left: 5px solid #1f4df5;
  border-radius: 1.25rem;
  background: #eef5ff;
}

.zsm-history-fact p {
  max-width: 760px;
  margin: 0;
}

.zsm-history-calendar {
  margin-top: 3rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #e5eaf3;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .04);
}

.zsm-calendar-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid #e5eaf3;
}

.zsm-calendar-row:first-of-type {
  border-top: 0;
}

.zsm-calendar-row time {
  color: #1f4df5 !important;
  -webkit-text-fill-color: #1f4df5 !important;
  font-weight: 900;
}

.zsm-calendar-row p {
  margin: 0;
  line-height: 1.65;
}

.zsm-history-calendar-mobile-toggle {
  display: none;
}

.zsm-history-calendar-mobile {
  margin-top: 1rem;
}

.zsm-history-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #1f4df5, #1234b8);
  color: #fff !important;
}

.zsm-history-cta h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.zsm-history-cta p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.92) !important;
  -webkit-text-fill-color: rgba(255,255,255,.92) !important;
  font-size: 1.1rem;
  line-height: 1.6;
}

.zsm-history-button {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: #1f4df5 !important;
  -webkit-text-fill-color: #1f4df5 !important;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.zsm-history-button:hover,
.zsm-history-button:focus-visible {
  color: #1234b8 !important;
  -webkit-text-fill-color: #1234b8 !important;
  text-decoration: none;
  outline: 3px solid rgba(255,255,255,.65);
  outline-offset: 3px;
}

@media (min-width: 641px) {
  .zsm-history-calendar-desktop {
    display: block !important;
  }

  .zsm-history-calendar-mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .zsm-history-mini-cta,
  .zsm-history-gallery-panel,
  .zsm-history-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .zsm-history-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .zsm-history-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .zsm-history-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body .zsm-history {
    max-width: 100% !important;
    padding: 2rem .75rem 3rem !important;
  }

  body .zsm-history-hero h1 {
    font-size: 2.2rem;
    line-height: 1.08;
  }

  body .zsm-history-hero p {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  body .zsm-history-mini-cta,
  body .zsm-history-gallery-panel {
    flex-direction: column;
    align-items: stretch;
  }

  body .zsm-history-mini-cta a,
  body .zsm-history-gallery-panel a,
  body .zsm-history-button {
    width: 100%;
  }

  body .zsm-history-aside {
    display: none !important;
  }

  body .zsm-history-item {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 2rem;
  }

  body .zsm-history-item::before {
    display: none;
  }

  body .zsm-history-year {
    width: fit-content;
    text-align: left;
  }

  body .zsm-history-card {
    grid-template-columns: 1fr;
    width: 100% !important;
    padding: 24px !important;
    gap: 1rem !important;
    border-radius: 1.15rem;
  }

  body .zsm-history-text h2 {
    font-size: 1.55rem;
  }

  body .zsm-history-text p,
  body .zsm-history-details p,
  body .zsm-calendar-row p {
    max-width: none !important;
    font-size: 1rem;
    line-height: 1.7;
  }

  body .zsm-desktop-link {
    display: none;
  }

  body .zsm-mobile-link {
    display: inline;
  }

  body .zsm-history-photo img {
    border-radius: .9rem;
  }

  body .zsm-history-photo figcaption {
    font-size: .85rem;
    line-height: 1.4;
  }

  body .zsm-history-calendar-desktop {
    display: none !important;
  }

  body .zsm-history-calendar-mobile-toggle {
    display: block !important;
    margin-top: 3rem;
  }

  body .zsm-history-calendar-mobile-toggle > summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 1.25rem;
    border: 1px solid #e5eaf3;
    border-radius: 1.15rem;
    background: #fff;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 1.55rem;
    font-weight: 900;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .04);
  }

  body .zsm-history-calendar-mobile-toggle > summary::-webkit-details-marker {
    display: none;
  }

  body .zsm-history-calendar-mobile-toggle > summary::after {
    content: "Pokaż";
    margin-left: auto;
    padding: .4rem .7rem;
    border-radius: 999px;
    background: #eef3ff;
    color: #1f4df5 !important;
    -webkit-text-fill-color: #1f4df5 !important;
    font-size: .85rem;
    font-weight: 900;
  }

  body .zsm-history-calendar-mobile-toggle[open] > summary::after {
    content: "Ukryj";
  }

  body .zsm-history-calendar {
    padding: 1.25rem;
  }

  body .zsm-history-calendar h2 {
    display: none;
  }

  body .zsm-calendar-row {
    grid-template-columns: 1fr;
    gap: .35rem;
    padding: 1rem 0;
  }

  body .zsm-history-cta {
    padding: 1.5rem;
  }
}
@media (max-width:640px){

  .zsm-history-fact{
    width:100% !important;
    max-width:350px !important;
    margin-inline:auto !important;
  }

}
@media (max-width:640px){

  .zsm-history-calendar-mobile-toggle{
    width:100% !important;
    max-width:350px !important;
    margin-inline:auto !important;
  }

}

/* ==========================================================
   HARDENING: obrazy historii i stabilny układ
   ========================================================== */

/* Karta nie może rozciągać kolumny przez uszkodzony obraz. */
.zsm-history-card > * {
  min-width: 0;
}

.zsm-history-photo {
  min-width: 0;
  align-self: start;
}

/* Link/figure nie rezerwuje sztucznej wysokości. */
.zsm-history-photo a {
  min-height: 0;
  overflow: hidden;
}

/* Pusty src nie tworzy dużego, pustego prostokąta. */
.zsm-history-photo img:not([src]),
.zsm-history-photo img[src=""],
.zsm-history-photo img.is-image-error {
  display: none !important;
}

/* Jeżeli obraz się nie załaduje, usuń również podpis i całą kolumnę. */
.zsm-history-photo.is-image-error,
.zsm-history-photo:has(img.is-image-error),
.zsm-history-photo:has(img:not([src])),
.zsm-history-photo:has(img[src=""]) {
  display: none !important;
}

/* Po ukryciu zdjęcia tekst zajmuje całą szerokość karty. */
.zsm-history-card:has(.zsm-history-photo.is-image-error),
.zsm-history-card:has(.zsm-history-photo img.is-image-error),
.zsm-history-card:has(.zsm-history-photo img:not([src])),
.zsm-history-card:has(.zsm-history-photo img[src=""]) {
  grid-template-columns: minmax(0, 1fr);
}

/* Rozsądny fallback dla starszych przeglądarek bez :has(). */
.zsm-history-card.no-history-image {
  grid-template-columns: minmax(0, 1fr) !important;
}

.zsm-history-card.no-history-image .zsm-history-photo {
  display: none !important;
}

/* Obraz ma naturalną wysokość na wąskich ekranach. */
@media (max-width: 991px) {
  .zsm-history-photo img {
    height: auto;
    aspect-ratio: auto;
    max-height: 520px;
  }
}

/* Użytkownicy ograniczający animacje nie dostają zoomu i przesunięć. */
@media (prefers-reduced-motion: reduce) {
  .zsm-history *,
  .zsm-history *::before,
  .zsm-history *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}






/Biblioteka

.library-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  color: #111827;
}

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

.library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.library-hero-content {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(255, 255, 255, 0.96)),
    #ffffff;
  border: 1px solid #e5e7eb;
}

.library-eyebrow,
.library-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 700;
}

.library-hero h1 {
  max-width: 760px;
  margin: 0 0 1rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.library-hero p {
  max-width: 720px;
  margin: 0;
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.75;
}

.library-hours-card,
.library-card,
.library-stat,
.library-events,
.library-intro,
.library-special,
.library-content-block,
.library-cta {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.library-hours-card {
  padding: 1.5rem;
  border-top: 5px solid #1d4ed8;
}

.library-hours-card h2,
.library-card h2,
.library-content-block h2,
.library-special h2,
.library-events h2,
.library-gallery-section h2,
.library-cta h2 {
  margin: 0 0 1rem;
  color: #0f172a;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.library-hours-card ul,
.library-card ul,
.library-event-list {
  margin: 0;
  padding-left: 1.15rem;
}

.library-hours-card li,
.library-card li,
.library-event-list li {
  margin-bottom: 0.5rem;
  color: #374151;
  line-height: 1.65;
}

.library-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.library-stat {
  padding: 1.4rem;
  text-align: center;
}

.library-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #1d4ed8;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
  font-weight: 800;
}

.library-stat span {
  display: block;
  color: #111827;
  font-size: 1rem;
  line-height: 1.4;
}

.library-intro {
  margin: 2rem 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #f8fafc;
}

.library-intro blockquote {
  max-width: 1050px;
  margin: 0;
  color: #1f2937;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  font-style: italic;
}

.library-intro cite {
  display: block;
  margin-top: 1rem;
  color: #4b5563;
  font-size: 1rem;
  text-align: right;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.library-card {
  min-height: 245px;
  padding: 1.5rem;
}

.library-card h2 {
  font-size: 1.25rem;
}

.library-card p,
.library-content-block p,
.library-special p,
.library-events p,
.library-cta p {
  margin: 0 0 0.9rem;
  color: #374151;
  line-height: 1.75;
}

.library-card p:last-child,
.library-content-block p:last-child,
.library-special p:last-child,
.library-events p:last-child,
.library-cta p:last-child {
  margin-bottom: 0;
}

.library-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 1.6rem;
  line-height: 1;
}

.library-content-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.library-content-block > div {
  max-width: 620px;
}

.library-content-block-reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

.library-content-block-reverse > div {
  order: 2;
}

.library-content-block-reverse > figure {
  order: 1;
}

.library-image,
.library-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.library-image img,
.library-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.library-special {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.library-special-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.library-events {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.library-event-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 0;
  list-style: none;
}

.library-event-list li {
  position: relative;
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.library-event-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  color: #1d4ed8;
  font-weight: 800;
}

.library-gallery-section {
  margin-top: 2rem;
}

.library-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
  align-items: stretch;
}

.library-gallery figure {
  min-height: auto;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.library-gallery img {
  height: 100%;
}

.library-gallery-collage img {
  object-fit: cover;
}

.library-cta {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(255, 255, 255, 1)),
    #ffffff;
}

.library-cta > div {
  max-width: 720px;
}

@media (max-width: 991px) {
  .library-hero,
  .library-content-block,
  .library-content-block-reverse,
  .library-special,
  .library-events {
    grid-template-columns: 1fr;
  }

  .library-content-block-reverse > div,
  .library-content-block-reverse > figure {
    order: initial;
  }

  .library-content-block > div {
    max-width: none;
  }

  .library-stats,
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .library-section {
    padding: 1.25rem 1rem 3rem;
  }

  .library-hero {
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .library-hero-content,
  .library-hours-card,
  .library-card,
  .library-intro,
  .library-special,
  .library-events,
  .library-content-block,
  .library-cta {
    border-radius: 18px;
    padding: 1.25rem;
  }

  .library-hero p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .library-stats,
  .library-grid,
  .library-special-gallery,
  .library-gallery {
    grid-template-columns: 1fr;
  }

  .library-stats,
  .library-grid,
  .library-intro,
  .library-content-block,
  .library-special,
  .library-events,
  .library-gallery-section,
  .library-cta {
    margin: 1.25rem 0;
  }

  .library-card {
    min-height: auto;
  }

  .library-stat {
    padding: 1.2rem;
  }

  .library-gallery img {
    height: auto;
  }
}

















/prawo jazdy/

.zsm-driving {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem clamp(2.5rem, 5vw, 4rem);
  color: #0f172a;
}

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

.zsm-driving__hero {
  margin-bottom: 2.25rem;
}

.zsm-driving__content {
  max-width: 900px;
}

.zsm-driving__eyebrow {
  margin: 0 0 .625rem;
  color: #2454e8;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.zsm-driving h2 {
  max-width: 960px;
  margin: 0 0 1rem;
  color: #0b1220;
  font-size: clamp(2.25rem, 4vw, 3.15rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.zsm-driving__lead {
  max-width: 880px;
  margin: 0;
  color: #26364f;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.zsm-driving__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.zsm-driving-card,
.zsm-benefits,
.zsm-driving-panel,
.zsm-driving-aside {
  border: 1px solid #e3eaf8;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.zsm-driving-card {
  padding: 1.65rem;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.zsm-driving-card:hover {
  transform: translateY(-3px);
  border-color: #c9d7ff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.zsm-driving-card--important {
  border-color: #bcd0ff;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .12), transparent 42%),
    linear-gradient(145deg, #f5f8ff 0%, #ffffff 72%);
}

.zsm-driving-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  margin-bottom: 1.15rem;
  padding-inline: .75rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #2454e8;
  font-size: .95rem;
  font-weight: 900;
}

.zsm-driving-card h3,
.zsm-benefits h3,
.zsm-driving-panel h3,
.zsm-driving-aside h3 {
  margin: 0 0 .75rem;
  color: #0b1220;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.zsm-driving-card p,
.zsm-driving-aside p {
  max-width: 34rem;
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.zsm-benefits {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .10), transparent 36%),
    #ffffff;
}

.zsm-benefits__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zsm-benefits__list li {
  position: relative;
  padding-left: 1.85rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.5;
}

.zsm-benefits__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #2454e8;
  font-size: .8rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zsm-driving__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, .95fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.zsm-driving-panel,
.zsm-driving-aside {
  padding: 2rem;
}

.zsm-driving-panel {
  overflow: visible;
}

.zsm-driving-aside {
  position: static;
  border-color: #dbe6ff;
  background: linear-gradient(145deg, #f4f7ff 0%, #ffffff 72%);
}

.zsm-driving-aside__highlight {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 5px solid #2454e8;
  border-radius: .9rem;
  background: #eef3ff;
  color: #1e293b;
  line-height: 1.55;
}

.zsm-driving-aside__highlight strong {
  color: #0b1220;
}

.zsm-driving-steps {
  counter-reset: zsm-step;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.zsm-driving-steps li {
  position: relative;
  min-height: 3rem;
  margin-bottom: 1.65rem;
  padding-left: 4rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.zsm-driving-steps li:last-child {
  margin-bottom: 0;
}

.zsm-driving-steps li::before {
  counter-increment: zsm-step;
  content: counter(zsm-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: #2454e8;
  color: #ffffff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(36, 84, 232, .28);
}

.zsm-driving-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 3.15rem;
  width: 2px;
  height: calc(100% - 1.4rem);
  background: #dbe5ff;
}

.zsm-driving-steps strong {
  display: block;
  margin-bottom: .25rem;
  color: #0b1220;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
}

.zsm-driving-steps span {
  display: block;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.zsm-driving-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 2.25rem;
}

.zsm-driving-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background-color .18s ease,
    border-color .18s ease;
}

.zsm-driving-btn--primary {
  background: #2454e8;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(36, 84, 232, .28);
}

.zsm-driving-btn--primary:hover,
.zsm-driving-btn--primary:focus-visible {
  background: #183fc4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(36, 84, 232, .35);
}

.zsm-driving-btn--secondary {
  border: 1px solid #c9d7ff;
  background: #ffffff;
  color: #2454e8;
}

.zsm-driving-btn--secondary:hover,
.zsm-driving-btn--secondary:focus-visible {
  border-color: #2454e8;
  background: #eef3ff;
  color: #183fc4;
  transform: translateY(-2px);
}

.zsm-driving-btn:focus-visible {
  outline: 3px solid #9db7ff;
  outline-offset: 3px;
}

.zsm-driving-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.zsm-driving-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #f1f5f9;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}

.zsm-driving-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .25s ease;
}

.zsm-driving-gallery figure:hover img {
  transform: scale(1.035);
}

.zsm-driving-gallery__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: #2454e8;
  color: #ffffff;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(36, 84, 232, .28);
}

.zsm-driving-gallery figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .76);
  color: #ffffff;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .22);
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .zsm-driving-card,
  .zsm-driving-btn,
  .zsm-driving-gallery img {
    transition: none;
  }

  .zsm-driving-card:hover,
  .zsm-driving-btn:hover,
  .zsm-driving-btn:focus-visible,
  .zsm-driving-gallery figure:hover img {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .zsm-benefits {
    grid-template-columns: 1fr;
  }

  .zsm-benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .zsm-driving__cards,
  .zsm-driving__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .zsm-benefits__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .zsm-driving {
    padding: 1.75rem 1rem 3rem;
  }

  .zsm-driving h2 {
    font-size: 1.8rem;
    letter-spacing: -.03em;
  }

  .zsm-driving__hero {
    margin-bottom: 1.75rem;
  }

  .zsm-driving__lead {
    font-size: 1rem;
  }

  .zsm-driving__cards {
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .zsm-driving-card,
  .zsm-benefits,
  .zsm-driving-panel,
  .zsm-driving-aside {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .zsm-benefits,
  .zsm-driving-panel,
  .zsm-driving-aside {
    margin-bottom: 1.75rem;
  }

  .zsm-driving-steps li {
    padding-left: 3.35rem;
  }

  .zsm-driving-steps li::before {
    width: 2.35rem;
    height: 2.35rem;
  }

  .zsm-driving-steps li:not(:last-child)::after {
    left: 1.15rem;
    top: 2.75rem;
  }

  .zsm-driving-actions {
    flex-direction: column;
  }

  .zsm-driving-btn {
    width: 100%;
  }

  .zsm-driving-gallery {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .zsm-driving-gallery img {
    aspect-ratio: 4 / 3;
  }

  .zsm-driving-gallery__badge {
    top: .85rem;
    left: .85rem;
  }

  .zsm-driving-gallery figcaption {
    position: static;
    display: block;
    width: 100%;
    max-width: none;
    border-radius: 0;
    background: #0f172a;
    color: #ffffff;
    backdrop-filter: none;
  }
}





Zobacz inne kierunki


.career-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1rem;
  color: #111827;
}

.career-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.career-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #0b3b82;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.career-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  color: #082f6f;
}

.career-hero p {
  max-width: 680px;
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #374151;
}

.career-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.career-badges li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 95, 168, 0.08);
  border: 1px solid rgba(31, 95, 168, 0.14);
  color: #082f6f;
  font-size: 0.9rem;
  font-weight: 800;
}

.career-cta,
.career-final-cta a,
.related-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.25rem;
  border-radius: 0.8rem;
  background: var(--cassiopeia-color-primary, #1f5fa8);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.career-cta:hover,
.career-cta:focus,
.career-final-cta a:hover,
.career-final-cta a:focus,
.related-card:hover .related-card__button,
.related-card:focus .related-card__button {
  background: #164a82;
  color: #fff;
  text-decoration: none;
}

.career-hero__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.career-section {
  margin-bottom: 3rem;
}

.career-section h2,
.related-directions h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: #082f6f;
}

.career-section p,
.related-directions__header p {
  max-width: 850px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
}

.career-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.career-card,
.career-feature,
.career-highlight {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.career-card h3,
.career-feature h3 {
  margin: 0 0 1rem;
  color: #082f6f;
  font-size: 1.35rem;
}

.career-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.career-card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #374151;
}

.qualification-list {
  display: grid;
  gap: 1rem;
}

.qualification-list div {
  padding: 1rem;
  border-radius: 0.85rem;
  background: rgba(31, 95, 168, 0.06);
}

.qualification-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #082f6f;
  font-size: 1.1rem;
}

.qualification-list p {
  margin: 0;
}

.career-feature p {
  margin: 0;
  line-height: 1.65;
  color: #374151;
}

.career-faq-section {
  margin-top: 1rem;
}

.career-faq-list {
  display: grid;
  gap: 0.9rem;
}

.career-faq {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.career-faq summary {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 1.1rem 3.2rem 1.1rem 1.25rem;
  font-weight: 800;
  color: #082f6f;
  list-style: none;
}

.career-faq summary::-webkit-details-marker {
  display: none;
}

.career-faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(31, 95, 168, 0.08);
  color: #082f6f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.career-faq[open] summary::after {
  content: "–";
}

.career-faq summary:hover {
  background: #f8fbff;
}

.career-faq p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  max-width: 850px;
  line-height: 1.7;
  color: #374151;
}

.career-final-cta {
  margin-top: 4rem;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 1.25rem;
  background: #eef5fd;
  border: 1px solid rgba(31, 95, 168, 0.24);
  text-align: center;
}

.career-final-cta h2 {
  margin: 0 0 0.75rem;
  color: #082f6f;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.career-final-cta p {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  color: #374151;
}

.related-directions {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

.related-directions__header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.related-directions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.related-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.related-card:hover,
.related-card:focus {
  text-decoration: none;
  color: inherit;
}

.related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-card div {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-card h3 {
  margin: 0 0 0.65rem;
  color: #082f6f;
  font-size: 1.25rem;
  line-height: 1.25;
}

.related-card p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: #374151;
}

.related-card__button {
  min-height: 40px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  margin-top: auto;
  pointer-events: none;
}

.career-cta:focus-visible,
.career-final-cta a:focus-visible,
.related-card:focus-visible,
.career-faq summary:focus-visible {
  outline: 3px solid #d9a31a;
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .career-page {
    padding: 4rem 1.5rem;
  }

  .career-hero {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-grid--three,
  .related-directions__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .career-page {
    padding: 2rem 0.85rem;
  }

  .career-hero {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .career-eyebrow {
    font-size: 0.875rem;
  }

  .career-hero h1 {
    font-size: 2.15rem;
    line-height: 1.12;
  }

  .career-hero p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .career-badges {
    gap: 0.45rem;
    margin-bottom: 1.25rem;
  }

  .career-badges li {
    font-size: 0.875rem;
    padding: 0.35rem 0.6rem;
    min-height: 32px;
  }

  .career-hero__image img {
    border-radius: 1rem;
    aspect-ratio: 4 / 3;
  }

  .career-section {
    margin-bottom: 2.25rem;
  }

  .career-section h2,
  .career-final-cta h2,
  .related-directions h2 {
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .career-section p,
  .related-directions__header p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .career-grid {
    gap: 1rem;
    margin-bottom: 2.25rem;
  }

  .career-card,
  .career-feature,
  .career-highlight {
    padding: 1.15rem;
    border-radius: 0.9rem;
  }

  .career-card h3,
  .career-feature h3 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .career-card li {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .qualification-list div {
    padding: 0.9rem;
  }

  .career-faq summary {
    font-size: 1rem;
    line-height: 1.45;
    padding: 1rem 3rem 1rem 1rem;
  }

  .career-faq p {
    padding: 0 1rem 1rem;
  }

  .career-cta,
  .career-final-cta a {
    width: 100%;
  }

  .career-final-cta {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
    padding: 1.25rem;
    border-radius: 1rem;
    text-align: left;
  }

  .related-directions {
    margin-top: 3rem;
    padding-top: 2.25rem;
  }

  .related-card div {
    padding: 1.1rem;
  }

  .related-card__button {
    width: 100%;
  }
}

/* Premium microinteractions */

.career-cta,
.career-final-cta a,
.related-card__button {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.career-cta:hover,
.career-final-cta a:hover,
.related-card:hover .related-card__button {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.career-card,
.career-feature,
.career-highlight,
.related-card,
.career-faq {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.career-card:hover,
.career-feature:hover,
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 95, 168, 0.28);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.career-hero__image {
  overflow: hidden;
  border-radius: 1.25rem;
}

.career-hero__image img,
.related-card img {
  transition: transform 0.45s ease;
}

.career-hero__image:hover img,
.related-card:hover img {
  transform: scale(1.035);
}

.career-badges li {
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.career-badges li:hover {
  transform: translateY(-2px);
  background: rgba(31, 95, 168, 0.12);
  border-color: rgba(31, 95, 168, 0.28);
}

.career-faq[open] {
  background: #f8fbff;
  border-color: rgba(31, 95, 168, 0.22);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.career-faq summary::after {
  transition:
    transform 0.22s ease,
    background-color 0.22s ease;
}

.career-faq[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  background: rgba(31, 95, 168, 0.14);
}

.career-faq p {
}


/* Accessibility: reduce motion */

@media (prefers-reduced-motion: reduce) {
  .career-cta,
  .career-final-cta a,
  .related-card__button,
  .career-card,
  .career-feature,
  .career-highlight,
  .related-card,
  .career-faq,
  .career-hero__image img,
  .related-card img,
  .career-badges li,
  .career-faq summary::after,
  .career-faq p,
  .career-feature span::before {
    transition: none;
    animation: none;
  }

  .career-cta:hover,
  .career-final-cta a:hover,
  .related-card:hover .related-card__button,
  .career-card:hover,
  .career-feature:hover,
  .related-card:hover,
  .career-hero__image:hover img,
  .related-card:hover img,
  .career-badges li:hover {
    transform: none;
  }
}

.career-feature span {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .45rem;
  font-size: .9rem;
  font-weight: 700;
  color: #35507a;
  letter-spacing: .08em;
}

.career-feature span::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #4b6da5;
  transition:
    width 0.22s ease,
    background-color 0.22s ease;
}

.career-feature {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.career-feature:hover span {
  color: #0b3b82;
}

.career-feature:hover span::before {
  width: 34px;
  background: #0b3b82;
}










.zsm-rodo {
  --blue: #2454e8;
  --blue-dark: #061a72;
  --ink: #050b2f;
  --text: #26364f;
  --muted: #64748b;
  --line: #dbe6ff;

  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem clamp(2.5rem, 5vw, 4rem);
  color: var(--text);
}

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

.zsm-rodo__hero {
  margin-bottom: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .12), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.zsm-rodo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #eef3ff;
  font-size: 1.35rem;
}

.zsm-rodo__eyebrow {
  margin: 0 0 .625rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.zsm-rodo__hero h1 {
  max-width: 820px;
  margin: 0 auto 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.zsm-rodo__hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #405174;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.zsm-rodo__content {
  display: grid;
  gap: 1rem;
}

.zsm-rodo__card,
.zsm-rodo__monitoring {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.zsm-rodo__card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.zsm-rodo__card:hover {
  border-color: #c9d7ff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
  transform: translateY(-2px);
}

.zsm-rodo__card--lead {
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .08), transparent 36%),
    #ffffff;
}

.zsm-rodo__card--lead p {
  font-size: 1.05rem;
}

.zsm-rodo__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-weight: 950;
}

.zsm-rodo__card h2,
.zsm-rodo__monitoring h2 {
  margin: 0 0 .75rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.zsm-rodo__card p,
.zsm-rodo__monitoring p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

.zsm-rodo__card p:last-child {
  margin-bottom: 0;
}

.zsm-rodo__contact {
  display: grid;
  gap: .35rem;
  margin-top: 1rem;
  padding: 1rem;
  border-left: 5px solid var(--blue);
  border-radius: .9rem;
  background: #eef3ff;
  color: var(--text);
  line-height: 1.6;
  overflow-wrap: normal;
  word-break: normal;
}

.zsm-rodo__contact strong {
  color: var(--ink);
}

.zsm-rodo__contact span {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
}

.zsm-rodo a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: normal;
}

.zsm-rodo a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zsm-rodo__contact a[href^="mailto:"] {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.zsm-rodo__list,
.zsm-rodo__rights {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.zsm-rodo__list li,
.zsm-rodo__rights li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.zsm-rodo__list li::before,
.zsm-rodo__rights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 950;
}

.zsm-rodo__card--rights {
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .10), transparent 38%),
    #ffffff;
}

.zsm-rodo__monitoring {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: .5rem;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .14), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.zsm-rodo__monitoring p {
  margin-bottom: 0;
}

.zsm-rodo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(6, 26, 114, .22);
}

.zsm-rodo__button:hover,
.zsm-rodo__button:focus-visible {
  background: var(--blue);
}

.zsm-rodo a:focus-visible {
  outline: 3px solid rgba(36, 84, 232, .45);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .zsm-rodo {
    padding: 1.75rem 1rem 3rem;
  }

  .zsm-rodo__hero {
    text-align: left;
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .zsm-rodo__hero h1 {
    font-size: 2rem;
    letter-spacing: -.03em;
  }

  .zsm-rodo__hero p,
  .zsm-rodo__card p,
  .zsm-rodo__monitoring p {
    font-size: 1rem;
  }

  .zsm-rodo__card,
  .zsm-rodo__monitoring {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .zsm-rodo__number {
    width: 2.15rem;
    height: 2.15rem;
  }

  .zsm-rodo__card {
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
  }

  .zsm-rodo__monitoring {
    flex-direction: column;
    align-items: flex-start;
  }

  .zsm-rodo__button {
    width: 100%;
  }
}
/* Cofnięcie problemu z rozjechaniem na mobile */

.zsm-rodo,
.zsm-rodo * {
  min-width: 0;
}

.zsm-rodo__contact,
.zsm-rodo__contact span,
.zsm-rodo__contact a {
  max-width: 100%;
}

.zsm-rodo__contact {
  overflow: hidden;
}

.zsm-rodo__contact span {
  overflow-wrap: break-word;
  word-break: normal;
}

.zsm-rodo__contact a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 640px) {
  .zsm-rodo {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
  }

  .zsm-rodo__hero,
  .zsm-rodo__card,
  .zsm-rodo__monitoring {
    width: 100%;
    max-width: 100%;
  }
}











raport o stanie dostępnosci

.zsm-accessibility-reports {
  --blue: #2454e8;
  --blue-dark: #061a72;
  --ink: #050b2f;
  --text: #26364f;
  --muted: #64748b;
  --line: #dbe6ff;

  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem clamp(2.5rem, 5vw, 4rem);
  color: var(--text);
}

.zsm-accessibility-reports *,
.zsm-accessibility-reports *::before,
.zsm-accessibility-reports *::after {
  box-sizing: border-box;
}

.zsm-accessibility-reports__header {
  margin-bottom: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .12), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.zsm-accessibility-reports__eyebrow {
  margin: 0 0 .625rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.zsm-accessibility-reports__header h1 {
  max-width: 820px;
  margin: 0 auto 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.zsm-accessibility-reports__header p {
  max-width: 720px;
  margin: 0 auto;
  color: #405174;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.zsm-accessibility-reports__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.zsm-accessibility-report-card {
  position: relative;
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: .75rem;
  padding: 1.5rem 5rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.zsm-accessibility-report-card:hover,
.zsm-accessibility-report-card:focus-visible {
  border-color: #c9d7ff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
  transform: translateY(-2px);
  text-decoration: none;
}

.zsm-accessibility-report-card__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 3.25rem;
  height: 2.35rem;
  padding-inline: .85rem;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-weight: 950;
}

.zsm-accessibility-report-card__icon {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3ff;
  font-size: 1.2rem;
}

.zsm-accessibility-report-card strong {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.zsm-accessibility-report-card__action {
  margin-top: .25rem;
  color: var(--blue);
  font-weight: 900;
}

.zsm-accessibility-report-card:focus-visible {
  outline: 3px solid rgba(36, 84, 232, .45);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .zsm-accessibility-reports {
    padding: 1.75rem 1rem 3rem;
  }

  .zsm-accessibility-reports__header {
    text-align: left;
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .zsm-accessibility-reports__header h1 {
    font-size: 2rem;
    letter-spacing: -.03em;
  }

  .zsm-accessibility-reports__header p {
    font-size: 1rem;
  }

  .zsm-accessibility-reports__grid {
    grid-template-columns: 1fr;
  }

  .zsm-accessibility-report-card {
    min-height: 150px;
    padding: 1.25rem 4.5rem 1.25rem 1.25rem;
    border-radius: 1rem;
  }

  .zsm-accessibility-report-card__icon {
    right: 1.25rem;
    top: 1.25rem;
  }
}
.zsm-accessibility-report-card__icon {
  color: #2454e8;
  background: #eef3ff;
  opacity: 1;
}
.zsm-accessibility-report-card__icon{
    color:#2454e8;
    background:#eef3ff;
    opacity:1;
}

font-size:1.35rem;









Rekrutacja

.zsm-recruitment {
  --blue: #2454e8;
  --blue-dark: #061a72;
  --ink: #050b2f;
  --text: #26364f;
  --muted: #64748b;
  --line: #dbe6ff;
  --soft: #f5f8ff;

  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem clamp(2.5rem, 5vw, 4rem);
  color: var(--text);
}

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

.zsm-recruitment__hero {
  padding: clamp(2.2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .14), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}

.zsm-recruitment__eyebrow {
  margin: 0 0 .7rem;
  color: var(--blue);
  font-size: .88rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.zsm-recruitment__hero h1 {
  max-width: 900px;
  margin: 0 auto 1rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.zsm-recruitment__hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #405174;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.zsm-recruitment__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.6rem;
}

.zsm-recruitment__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.3rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.zsm-recruitment__btn--primary {
  background: var(--blue);
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(36, 84, 232, .28);
}

.zsm-recruitment__btn--primary:hover {
  background: #163fc4;
  transform: translateY(-2px);
  text-decoration: none;
}

.zsm-recruitment__btn--secondary {
  border: 1px solid #c7d5ff;
  background: #ffffff;
  color: var(--blue) !important;
}

.zsm-recruitment__btn--secondary:hover {
  background: #f5f8ff;
  transform: translateY(-2px);
  text-decoration: none;
}

.zsm-recruitment__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.zsm-recruitment__steps article {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.zsm-recruitment__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: .9rem;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-weight: 950;
}

.zsm-recruitment__steps h2 {
  margin: 0 0 .5rem;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 900;
}

.zsm-recruitment__steps p {
  margin: 0;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.6;
}

.zsm-recruitment__section {
  margin-top: 1.5rem;
}

.zsm-recruitment__section-header {
  margin-bottom: 1rem;
}

.zsm-recruitment__section-header h2,
.zsm-recruitment__why h2,
.zsm-recruitment__cta h2 {
  margin: 0 0 .7rem;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -.035em;
}

.zsm-recruitment__section-header p,
.zsm-recruitment__why p,
.zsm-recruitment__cta p {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.zsm-recruitment__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.zsm-recruitment-card {
  display: grid;
  gap: .65rem;
  min-height: 160px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.zsm-recruitment-card:hover,
.zsm-recruitment-card:focus-visible {
  border-color: #c9d7ff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
  transform: translateY(-2px);
  text-decoration: none;
}

.zsm-recruitment-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: #eef3ff;
  font-size: 1.15rem;
}

.zsm-recruitment-card strong {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.zsm-recruitment-card small {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

.zsm-recruitment__why {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .12), transparent 38%),
    #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.zsm-recruitment__why ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zsm-recruitment__why li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
  line-height: 1.55;
}

.zsm-recruitment__why li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .08rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 950;
}

.zsm-recruitment__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(36, 84, 232, .16), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.zsm-recruitment__cta p {
  margin-bottom: 0;
}

.zsm-recruitment a:focus-visible {
  outline: 3px solid rgba(36, 84, 232, .45);
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .zsm-recruitment__steps,
  .zsm-recruitment__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zsm-recruitment__why {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .zsm-recruitment {
    padding: 1.75rem 1rem 3rem;
  }

  .zsm-recruitment__hero {
    text-align: left;
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .zsm-recruitment__hero h1 {
    font-size: 2.05rem;
    letter-spacing: -.03em;
  }

  .zsm-recruitment__hero p {
    font-size: 1rem;
  }

  .zsm-recruitment__actions {
    justify-content: stretch;
  }

  .zsm-recruitment__btn {
    width: 100%;
  }

  .zsm-recruitment__steps,
  .zsm-recruitment__cards,
  .zsm-recruitment__why ul {
    grid-template-columns: 1fr;
  }

  .zsm-recruitment__steps article,
  .zsm-recruitment-card,
  .zsm-recruitment__why,
  .zsm-recruitment__cta {
    border-radius: 1rem;
  }

  .zsm-recruitment__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}











/* =========================================================
   GALERIA HISTORYCZNA — GŁÓWNA SEKCJA
========================================================= */

.history-gallery {
  padding: 40px 0 80px;
  background: #ffffff;
}


/* =========================================================
   GALERIA HISTORYCZNA — KONTENER
========================================================= */

.history-gallery__container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}


/* =========================================================
   GALERIA HISTORYCZNA — NAGŁÓWEK
========================================================= */

.history-gallery__header {
  max-width: 720px;
  margin-bottom: 34px;
}

.history-gallery__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #1740bd;
}

.history-gallery__header h1 {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.035em;
  color: #07142f;
}

.history-gallery__header p {
  max-width: 680px;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #374151;
}


/* =========================================================
   GALERIA HISTORYCZNA — SIATKA DESKTOP
========================================================= */

.history-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 22px;
  align-items: stretch;
}


/* =========================================================
   GALERIA HISTORYCZNA — KARTA
========================================================= */

.history-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #eef2f7;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(7, 20, 47, 0.08);
  isolation: isolate;
  aspect-ratio: auto;
}


/* =========================================================
   GALERIA HISTORYCZNA — KARTA WYRÓŻNIONA
========================================================= */

.history-card--hero {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 0;
}


/* =========================================================
   GALERIA HISTORYCZNA — OBRAZ
========================================================= */

.history-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(8%) contrast(1.02);
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}


/* =========================================================
   GALERIA HISTORYCZNA — STAŁY GRADIENT KONTRASTOWY
========================================================= */

.history-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 20, 47, 0.08) 0%,
    rgba(7, 20, 47, 0.24) 42%,
    rgba(7, 20, 47, 0.92) 100%
  );
}


/* =========================================================
   GALERIA HISTORYCZNA — TREŚĆ NA KARCIE
========================================================= */

.history-card__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: #ffffff;
}


/* =========================================================
   GALERIA HISTORYCZNA — ETYKIETA DATY
========================================================= */

.history-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #07142f;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition:
    transform 0.35s ease,
    background-color 0.35s ease;
}


/* =========================================================
   GALERIA HISTORYCZNA — TYTUŁ KARTY
========================================================= */

.history-card__title {
  display: inline-block;
  max-width: 95%;
  padding: 6px 9px;
  border-radius: 8px;
  background: #07142f;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #ffffff;
}


/* =========================================================
   GALERIA HISTORYCZNA — TREŚĆ KARTY WYRÓŻNIONEJ
========================================================= */

.history-card--hero .history-card__overlay {
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.history-card--hero .history-card__title {
  max-width: 82%;
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
}


/* =========================================================
   GALERIA HISTORYCZNA — HOVER
========================================================= */

.history-card:hover img,
.history-card:focus-visible img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.04);
}

.history-card:hover .history-card__badge,
.history-card:focus-visible .history-card__badge {
  transform: translateY(-2px);
  background: #0f2a59;
}


/* =========================================================
   GALERIA HISTORYCZNA — FOCUS
========================================================= */

.history-card:focus-visible {
  outline: 4px solid #d9a31a;
  outline-offset: 5px;
}


/* =========================================================
   GLIGHTBOX — WYGLĄD
========================================================= */

.glightbox-clean .gslide-title {
  font-weight: 800;
  color: #07142f;
}

.glightbox-clean .gslide-desc {
  color: #374151;
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  min-width: 44px;
  min-height: 44px;
}


/* =========================================================
   TABLET — DO 1024 PX
========================================================= */

@media (max-width: 1024px) {
  .history-gallery {
    padding: 36px 0 64px;
  }

  .history-gallery__container {
    width: min(1180px, calc(100% - 40px));
  }

  .history-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
    gap: 18px;
  }

  .history-card--hero {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 0;
  }
}


/* =========================================================
   TELEFON — DO 640 PX
========================================================= */

@media (max-width: 640px) {
  .history-gallery {
    padding: 32px 0 56px;
  }

  .history-gallery__container {
    width: min(100% - 28px, 1180px);
  }

  .history-gallery__header {
    margin-bottom: 24px;
  }

  .history-gallery__header h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .history-gallery__header p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .history-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }

  .history-card,
  .history-card--hero {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .history-card__overlay,
  .history-card--hero .history-card__overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .history-card__title,
  .history-card--hero .history-card__title {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .history-card__badge {
    padding: 7px 11px;
    font-size: 0.875rem;
  }
}


/* =========================================================
   OGRANICZENIE ANIMACJI
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .history-card img,
  .history-card__badge {
    transition: none;
  }

  .history-card:hover img,
  .history-card:focus-visible img,
  .history-card:hover .history-card__badge,
  .history-card:focus-visible .history-card__badge {
    transform: none;
  }
}










.school-life-gallery {
  padding: 96px 20px;
  background: #fff;
}

.school-life-gallery__container {
  max-width: 1180px;
  margin: 0 auto;
}

.school-life-gallery__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.school-life-gallery__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #2f54ff;
  font-size: 0.875rem;
  font-weight: 800;
}

.school-life-gallery__header h1 {
  margin: 0 0 18px;
  color: #06112f;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.school-life-gallery__header p {
  margin: 0;
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.75;
}

.school-life-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 24px;
}

.school-life-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  padding: 0;
  background: #111827;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.school-life-card--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.school-life-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.04);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.school-life-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 7, 18, 0.76),
    rgba(3, 7, 18, 0.18) 58%,
    rgba(3, 7, 18, 0)
  );
}

.school-life-card strong {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.school-life-card--hero strong {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.school-life-card:hover img,
.school-life-card:focus-visible img {
  transform: scale(1.06);
  filter: contrast(1.1) saturate(1.08) brightness(1.05);
}

.school-life-card:focus-visible,
.school-life-lightbox button:focus-visible {
  outline: 4px solid #ffbf47;
  outline-offset: 4px;
}

/* LIGHTBOX */

.school-life-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(10px);
}

.school-life-lightbox[hidden] {
  display: none;
}

.school-life-lightbox__image {
  max-width: min(1120px, 88vw);
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.school-life-lightbox__close,
.school-life-lightbox__prev,
.school-life-lightbox__next {
  position: fixed;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #06112f;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.school-life-lightbox__close {
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  font-size: 36px;
}

.school-life-lightbox__prev,
.school-life-lightbox__next {
  top: 50%;
  width: 58px;
  height: 58px;
  font-size: 42px;
  transform: translateY(-50%);
}

.school-life-lightbox__prev {
  left: 24px;
}

.school-life-lightbox__next {
  right: 24px;
}

/* TABLET */

@media (max-width: 1024px) {
  .school-life-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .school-life-card--hero {
    grid-column: span 2;
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .school-life-gallery {
    padding: 64px 16px;
  }

  .school-life-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    gap: 18px;
  }

  .school-life-card,
  .school-life-card--hero {
    grid-column: auto;
    grid-row: auto;
  }

  .school-life-card strong,
  .school-life-card--hero strong {
    left: 18px;
    right: 18px;
    bottom: 20px;
    font-size: 1.15rem;
  }

  .school-life-lightbox {
    padding: 18px;
  }

  .school-life-lightbox__image {
    max-width: 100%;
    max-height: 72vh;
    border-radius: 18px;
  }

  .school-life-lightbox__prev,
  .school-life-lightbox__next {
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .school-life-lightbox__prev {
    left: 24px;
  }

  .school-life-lightbox__next {
    right: 24px;
  }

  .school-life-lightbox__close {
    top: 18px;
    right: 18px;
  }
}























.zsm-history {
  --zsm-primary: #12355b;
  --zsm-primary-dark: #0b243f;
  --zsm-accent: #d9a331;
  --zsm-bg: #f3f6fa;
  --zsm-card: #ffffff;
  --zsm-text: #162033;
  --zsm-muted: #4b5565;
  --zsm-border: #d6e0eb;
  --zsm-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);

  background:
    linear-gradient(90deg, #f3f6fa 0%, #f3f6fa 74%, #ffffff 74%, #ffffff 100%);
  color: var(--zsm-text);
  padding: clamp(1rem, 3vw, 3rem);
  isolation: isolate;
}

.zsm-history,
.zsm-history * {
  box-sizing: border-box;
}

.zsm-history :where(h1, h2, h3, p, figure) {
  margin-top: 0;
}

.zsm-history__hero,
.zsm-history__stats,
.zsm-history__layout {
  max-width: 1200px;
  margin-inline: auto;
}

.zsm-history__hero {
  display: grid;
  grid-template-columns: 560px 400px;
  justify-content: space-between;
  gap: 42px;
  align-items: start;
  min-height: auto;
  padding: 46px 64px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 163, 49, 0.18), transparent 28%),
    linear-gradient(135deg, #173d66 0%, #0f2e4e 100%);
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.zsm-history__hero-text {
  max-width: 560px;
}

.zsm-history__label {
  margin: 0 0 0.85rem;
  color: #ffe2a3;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.zsm-history__hero h1 {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 3.5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.zsm-history__lead {
  max-width: 500px;
  margin: 1.4rem 0 0;
  color: #edf4fb;
  font-size: 1.08rem;
  line-height: 1.75;
}

.zsm-history__hero-image {
  width: 400px;
  max-width: 400px;
  justify-self: center;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 55px 0 0;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.zsm-history__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.zsm-history__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 2rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  background: var(--zsm-accent);
  color: #111827;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.2;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.zsm-history__cta:hover,
.zsm-history__cta:focus-visible {
  background: #f2bd4d;
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.zsm-history__cta--dark {
  background: var(--zsm-primary);
  color: #ffffff;
}

.zsm-history__cta--dark:hover,
.zsm-history__cta--dark:focus-visible {
  background: var(--zsm-primary-dark);
  color: #ffffff;
}

.zsm-history a:focus-visible,
.zsm-history [tabindex]:focus-visible {
  outline: 3px solid #f2bd4d;
  outline-offset: 4px;
}

.zsm-history__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.zsm-history__stats div {
  min-height: 118px;
  padding: 1.25rem;
  border: 1px solid var(--zsm-border);
  border-radius: 20px;
  background: var(--zsm-card);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zsm-history__stats div:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 45, 80, 0.1);
}

.zsm-history__stats strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--zsm-primary);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.zsm-history__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.zsm-history__nav {
  position: sticky;
  top: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--zsm-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
}

.zsm-history__nav h2 {
  margin: 0 0 0.9rem;
  color: var(--zsm-primary);
  font-size: 1.05rem;
  line-height: 1.25;
}

.zsm-history__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: transparent;
  color: var(--zsm-text);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.25;
}

.zsm-history__nav a:hover,
.zsm-history__nav a:focus-visible {
  background: #eef4fa;
  color: var(--zsm-primary);
}

.zsm-history__content {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
}

.zsm-history__card {
  position: relative;
  max-width: 900px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--zsm-border);
  border-radius: 24px;
  background: var(--zsm-card);
  box-shadow: var(--zsm-shadow);
}

.zsm-history__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 5px;
  border-radius: 999px;
  background: var(--zsm-accent);
}

.zsm-history__card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.zsm-history__card h2,
.zsm-history__gallery h2 {
  margin: 0 0 1rem;
  color: var(--zsm-primary);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.zsm-history__card p {
  max-width: 760px;
  margin: 0;
  color: var(--zsm-text);
  font-size: 1.04rem;
  line-height: 1.8;
}

.zsm-history__card p + p,
.zsm-history__photo + p {
  margin-top: 1rem;
}

.zsm-history__photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: min(100%, 760px);
  margin: 1.4rem auto;
  padding: 14px;
  border: 1px solid #e5ebf2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.zsm-history__photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.zsm-history__photo figcaption {
  width: 100%;
  margin-top: 0.65rem;
  padding: 0;
  background: transparent;
  color: var(--zsm-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.zsm-history__photo--wide {
  max-width: min(100%, 760px);
}

.zsm-history__table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--zsm-border);
  border-radius: 16px;
  background: #ffffff;
}

.zsm-history__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.zsm-history__table th,
.zsm-history__table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--zsm-border);
  text-align: left;
  vertical-align: top;
  color: var(--zsm-text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.zsm-history__table th {
  background: #eef4fa;
  color: var(--zsm-primary);
  font-weight: 900;
}

.zsm-history__table tr:last-child td {
  border-bottom: 0;
}

.zsm-history__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  max-width: 900px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18, 53, 91, 0.96), rgba(11, 36, 63, 0.96));
  color: #ffffff;
  box-shadow: var(--zsm-shadow);
}

.zsm-history__gallery h2 {
  color: #ffffff;
}

.zsm-history__gallery p:not(.zsm-history__label) {
  max-width: 650px;
  margin: 0;
  color: #edf4fb;
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (max-width: 1200px) {
  .zsm-history__hero {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 38px;
    padding: 46px 56px;
  }

  .zsm-history__hero-text {
    max-width: 560px;
  }

  .zsm-history__hero h1 {
    max-width: 560px;
    font-size: clamp(2.35rem, 3.6vw, 3.3rem);
  }

  .zsm-history__hero-image {
    width: 370px;
    max-width: 370px;
    margin-top: 50px;
  }
}

@media (max-width: 1100px) {
  .zsm-history__hero {
    grid-template-columns: 1fr;
  }

  .zsm-history__hero-image {
    width: 100%;
    max-width: 520px;
    justify-self: start;
    margin-top: 1.5rem;
  }

  .zsm-history__content,
  .zsm-history__card,
  .zsm-history__gallery {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .zsm-history__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .zsm-history__layout {
    grid-template-columns: 1fr;
  }

  .zsm-history__nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .zsm-history__nav h2 {
    flex-basis: 100%;
  }

  .zsm-history__nav a {
    border: 1px solid var(--zsm-border);
    background: #ffffff;
  }

  .zsm-history__gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .zsm-history {
    padding: 1rem;
    background: #f3f6fa;
  }

  .zsm-history__hero {
    min-height: auto;
    padding: 1.35rem;
    border-radius: 20px;
  }

  .zsm-history__hero h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .zsm-history__lead {
    max-width: none;
    font-size: 1rem;
    line-height: 1.65;
  }

  .zsm-history__hero-image {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 16px;
  }

  .zsm-history__cta {
    width: 100%;
    min-height: 50px;
    text-align: center;
  }

  .zsm-history__stats {
    grid-template-columns: 1fr;
  }

  .zsm-history__stats div {
    min-height: auto;
  }

  .zsm-history__card {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .zsm-history__card::before {
    top: 1.25rem;
    bottom: 1.25rem;
    width: 4px;
  }

  .zsm-history__card h2,
  .zsm-history__gallery h2 {
    font-size: 1.5rem;
  }

  .zsm-history__card p {
    max-width: none;
    font-size: 1rem;
    line-height: 1.72;
  }

  .zsm-history__photo {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 16px;
  }

  .zsm-history__photo img {
    width: 100%;
  }

  .zsm-history__table {
    min-width: 480px;
  }

  .zsm-history__table th,
  .zsm-history__table td {
    font-size: 0.95rem;
    padding: 0.85rem;
  }
}
.zsm-history-card--without-photo {
  grid-template-columns: minmax(0, 1fr) !important;
}










Sukcesy

.school-success-gallery {
  padding: 96px 20px;
  background: #fff;
}

.school-success-gallery__container {
  max-width: 1180px;
  margin: 0 auto;
}

.school-success-gallery__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.school-success-gallery__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #2f54ff;
  font-size: 0.875rem;
  font-weight: 800;
}

.school-success-gallery__header h1 {
  margin: 0 0 18px;
  color: #06112f;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.school-success-gallery__header p {
  margin: 0;
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.75;
}

.school-success-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 24px;
}

.school-success-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #111827;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.school-success-card--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.school-success-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.04);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.school-success-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 7, 18, 0.76),
    rgba(3, 7, 18, 0.18) 58%,
    rgba(3, 7, 18, 0)
  );
}

.school-success-card strong {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.school-success-card--hero strong {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.school-success-card:hover img,
.school-success-card:focus-visible img {
  transform: scale(1.06);
  filter: contrast(1.1) saturate(1.08) brightness(1.05);
}

.school-success-card:focus-visible,
.school-success-lightbox button:focus-visible {
  outline: 4px solid #ffbf47;
  outline-offset: 4px;
}

/* LIGHTBOX */

.school-success-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(10px);
}

.school-success-lightbox[hidden] {
  display: none;
}

.school-success-lightbox__content {
  width: min(1120px, 88vw);
  margin: 0;
  display: grid;
  gap: 16px;
}

.school-success-lightbox__image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.school-success-lightbox__caption {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.school-success-lightbox__close,
.school-success-lightbox__prev,
.school-success-lightbox__next {
  position: fixed;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #06112f;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.school-success-lightbox__close {
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  font-size: 36px;
}

.school-success-lightbox__prev,
.school-success-lightbox__next {
  top: 50%;
  width: 58px;
  height: 58px;
  font-size: 42px;
  transform: translateY(-50%);
}

.school-success-lightbox__prev {
  left: 24px;
}

.school-success-lightbox__next {
  right: 24px;
}

@media (max-width: 1024px) {
  .school-success-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .school-success-card--hero {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .school-success-gallery {
    padding: 64px 16px;
  }

  .school-success-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    gap: 18px;
  }

  .school-success-card,
  .school-success-card--hero {
    grid-column: auto;
    grid-row: auto;
  }

  .school-success-card strong,
  .school-success-card--hero strong {
    left: 18px;
    right: 18px;
    bottom: 20px;
    font-size: 1.15rem;
  }

  .school-success-lightbox {
    padding: 18px;
  }

  .school-success-lightbox__content {
    width: 100%;
  }

  .school-success-lightbox__image {
    max-height: 72vh;
    border-radius: 18px;
  }

  .school-success-lightbox__prev,
  .school-success-lightbox__next {
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .school-success-lightbox__close {
    top: 18px;
    right: 18px;
  }
}










Miejsca praktyk

.practice-places {
  padding: 96px 20px 72px;
  background: #fff;
}

.practice-places__container {
  max-width: 1180px;
  margin: 0 auto;
}

.practice-places__header {
  max-width: 820px;
  margin-bottom: 42px;
}

.practice-places__eyebrow,
.practice-benefits__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #2f54ff;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.practice-places__header h1 {
  margin: 0 0 18px;
  color: #06112f;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.practice-places__header p,
.practice-benefits__header p,
.practice-cta p {
  margin: 0;
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.75;
}

.practice-places__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 24px;
}

.practice-place-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #111827;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.practice-place-card--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.practice-place-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.04);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.practice-place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 7, 18, 0.78),
    rgba(3, 7, 18, 0.2) 58%,
    rgba(3, 7, 18, 0)
  );
}

.practice-place-card strong {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.practice-place-card--hero strong {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.practice-place-card:hover img,
.practice-place-card:focus-visible img {
  transform: scale(1.06);
  filter: contrast(1.1) saturate(1.08) brightness(1.05);
}

.practice-place-card:focus-visible,
.practice-cta__button:focus-visible {
  outline: 4px solid #ffbf47;
  outline-offset: 4px;
}

/* BENEFITS */

.practice-benefits {
  padding: 96px 20px;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.practice-benefits__container {
  max-width: 1180px;
  margin: 0 auto;
}

.practice-benefits__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.practice-benefits__header h2 {
  margin: 0 0 16px;
  color: #06112f;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.practice-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.practice-benefit {
  padding: 34px;
  border: 1px solid rgba(47, 84, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.practice-benefit__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: #eef3ff;
  font-size: 1.8rem;
}

.practice-benefit h3 {
  margin: 0 0 12px;
  color: #06112f;
  font-size: 1.25rem;
  line-height: 1.2;
}

.practice-benefit p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

/* CTA */

.practice-cta {
  margin-top: 72px;
  padding: 56px 28px;
  border: 1px solid rgba(47, 84, 255, 0.16);
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.practice-cta h2 {
  max-width: 760px;
  margin: 0 auto 16px;
  color: #06112f;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.practice-cta p {
  max-width: 620px;
  margin: 0 auto 28px;
}

.practice-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #2f54ff;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(47, 84, 255, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.practice-cta__button:hover {
  transform: translateY(-3px);
  background: #2145e8;
  box-shadow: 0 24px 52px rgba(47, 84, 255, 0.34);
}

/* TABLET */

@media (max-width: 1024px) {
  .practice-places__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .practice-place-card--hero {
    grid-column: span 2;
  }

  .practice-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .practice-places,
  .practice-benefits {
    padding: 64px 16px;
  }

  .practice-places__header,
  .practice-benefits__header {
    margin-bottom: 32px;
  }

  .practice-places__header h1 {
    font-size: clamp(2.25rem, 13vw, 3.2rem);
    letter-spacing: -0.05em;
  }

  .practice-places__header p,
  .practice-benefits__header p,
  .practice-cta p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .practice-places__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    gap: 18px;
  }

  .practice-place-card,
  .practice-place-card--hero {
    grid-column: auto;
    grid-row: auto;
  }

  .practice-place-card strong,
  .practice-place-card--hero strong {
    left: 18px;
    right: 18px;
    bottom: 20px;
    font-size: 1.15rem;
  }

  .practice-benefits__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .practice-benefit {
    padding: 28px;
  }

  .practice-cta {
    margin-top: 48px;
    padding: 40px 22px;
    border-radius: 24px;
  }

  .practice-cta__button {
    width: 100%;
  }
}
.practice-places {
  padding: 96px 20px 48px;
  background: #fff;
}

.practice-benefits {
  padding: 72px 20px 96px;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

@media (max-width: 640px) {
  .practice-places {
    padding: 64px 16px 44px;
  }

  .practice-benefits {
    padding: 56px 16px 64px;
  }

  .practice-places__header h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
    line-height: 1.08;
  }

  .practice-places__header {
    margin-bottom: 34px;
  }

  .practice-places__header p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .practice-cta__button {
    width: 100%;
    min-height: 56px;
  }
}
.practice-benefits {
  padding: 72px 20px 88px;
}

.practice-benefits__header {
  max-width: 760px;
  margin-bottom: 48px;
}

.practice-benefits__grid {
  margin-top: 0;
}

.practice-benefit {
  min-height: 290px;
}

@media (max-width: 640px) {
  .practice-places__header h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .practice-benefit {
    min-height: auto;
  }

  .practice-cta h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }
}
.practice-places{
    padding:40px 20px 56px;
}

.practice-places__header{
    margin-bottom:32px;
}

.practice-places__header h1{
    margin-bottom:20px;
}

.practice-places__header p{
    max-width:620px;
}







polityka prywatności

:root {
  --privacy-primary: #1f55f2;
  --privacy-primary-dark: #163fc0;
  --privacy-bg: #f6f8fc;
  --privacy-card: #ffffff;
  --privacy-text: #111827;
  --privacy-muted: #5b6472;
  --privacy-border: #dfe5ef;
  --privacy-soft: #eef3ff;
  --privacy-radius: 18px;
  --privacy-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}

.privacy-page {
  color: var(--privacy-text);
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  scroll-behavior: smooth;
}

.privacy-page * {
  box-sizing: border-box;
}

.privacy-hero {
  background: linear-gradient(135deg, #f4f7ff 0%, #ffffff 70%);
  border: 1px solid var(--privacy-border);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 64px);
  margin-bottom: 32px;
}

.privacy-eyebrow {
  color: var(--privacy-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.privacy-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}

.privacy-lead {
  max-width: 820px;
  color: var(--privacy-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  margin-bottom: 16px;
}

.privacy-date {
  font-size: 1rem;
  margin-bottom: 28px;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.privacy-btn {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.privacy-btn:focus-visible,
.privacy-toc a:focus-visible,
.privacy-contact-box:focus-visible,
.privacy-accordion-btn:focus-visible,
.privacy-back-top:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.privacy-btn:hover {
  transform: translateY(-1px);
}

.privacy-btn-primary {
  background: var(--privacy-primary);
  color: #ffffff;
}

.privacy-btn-primary:hover {
  background: var(--privacy-primary-dark);
  color: #ffffff;
}

.privacy-btn-secondary {
  background: #ffffff;
  color: var(--privacy-primary);
  border: 1px solid #c9d6ff;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: 96px;
  background: var(--privacy-card);
  border: 1px solid var(--privacy-border);
  border-radius: var(--privacy-radius);
  padding: 22px;
  box-shadow: var(--privacy-shadow);
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.privacy-toc h2 {
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.privacy-toc nav {
  display: grid;
  gap: 4px;
}

.privacy-toc a {
  color: var(--privacy-muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.privacy-toc a:hover,
.privacy-toc a.is-active {
  background: var(--privacy-soft);
  color: var(--privacy-primary);
}

.privacy-content {
  display: grid;
  gap: 18px;
}

.privacy-card,
.privacy-section,
.privacy-contact {
  background: var(--privacy-card);
  border: 1px solid var(--privacy-border);
  border-radius: var(--privacy-radius);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.privacy-card {
  padding: clamp(22px, 3vw, 32px);
}

.privacy-highlight {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
}

.privacy-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--privacy-soft);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.privacy-card h2,
.privacy-contact h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.privacy-card p,
.privacy-section p,
.privacy-contact p {
  line-height: 1.7;
  margin: 0 0 14px;
}

.privacy-section {
  overflow: hidden;
  scroll-margin-top: 110px;
}

.privacy-accordion-btn {
  width: 100%;
  min-height: 64px;
  border: 0;
  background: #ffffff;
  color: var(--privacy-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.privacy-toggle {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--privacy-soft);
  color: var(--privacy-primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.privacy-panel {
  padding: 0 24px 24px;
}

.privacy-panel ul {
  margin: 12px 0 18px;
  padding-left: 1.2rem;
}

.privacy-panel li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.privacy-note {
  background: #fff8e6;
  border-left: 5px solid #f2b705;
  border-radius: 12px;
  padding: 16px;
  font-weight: 600;
}

.privacy-contact {
  padding: clamp(24px, 4vw, 40px);
  margin-top: 10px;
  scroll-margin-top: 110px;
}

.privacy-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.privacy-contact-box {
  min-height: 112px;
  border: 1px solid var(--privacy-border);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  color: var(--privacy-text);
  background: var(--privacy-bg);
  display: grid;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.privacy-contact-box:hover {
  transform: translateY(-2px);
  border-color: #b7c7ff;
  background: #ffffff;
}

.privacy-contact-box span {
  font-size: 1.6rem;
}

.privacy-contact-box small {
  color: var(--privacy-primary);
  overflow-wrap: anywhere;
}

.privacy-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--privacy-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: var(--privacy-shadow);
  z-index: 20;
}

.privacy-back-top:hover {
  background: var(--privacy-primary-dark);
  color: #ffffff;
}

.privacy-page a {
  text-underline-offset: 0.18em;
}

/* Tablet */
@media (max-width: 1024px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-toc {
    position: relative;
    top: auto;
    max-height: none;
  }

  .privacy-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 640px) {
  .privacy-page {
    padding: 18px 14px 72px;
  }

  .privacy-hero {
    border-radius: 22px;
    padding: 28px 20px;
  }

  .privacy-actions {
    flex-direction: column;
  }

  .privacy-btn {
    width: 100%;
  }

  .privacy-toc {
    padding: 18px;
  }

  .privacy-toc nav {
    grid-template-columns: 1fr;
  }

  .privacy-highlight {
    grid-template-columns: 1fr;
  }

  .privacy-icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .privacy-accordion-btn {
    min-height: 60px;
    padding: 18px;
    font-size: 1.08rem;
  }

  .privacy-panel {
    padding: 0 18px 20px;
  }

  .privacy-panel p,
  .privacy-panel li {
    font-size: 1rem;
  }

  .privacy-contact-grid {
    grid-template-columns: 1fr;
  }

  .privacy-back-top {
    right: 16px;
    bottom: 16px;
  }
}

/* Accordion mobile behavior */
@media (max-width: 768px) {
  .privacy-section .privacy-panel {
    display: none;
  }

  .privacy-section.is-open .privacy-panel {
    display: block;
  }

  .privacy-section.is-open .privacy-toggle {
    transform: rotate(45deg);
  }
}

/* Desktop: wszystkie sekcje rozwinięte */
@media (min-width: 769px) {
  .privacy-section .privacy-panel {
    display: block !important;
  }

  .privacy-accordion-btn {
    cursor: default;
  }

  .privacy-toggle {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .privacy-btn,
  .privacy-contact-box,
  .privacy-toggle {
    transition: none;
  }
}
.privacy-btn-primary {
  background: #1f55f2 !important;
  color: #ffffff !important;
  border: 1px solid #1f55f2;
}

.privacy-btn-primary:hover {
  background: #163fc0 !important;
  color: #ffffff !important;
}

.privacy-btn-secondary {
  background: #ffffff;
  color: #111827 !important;
  border: 1px solid #c9d6ff;
}

.privacy-card,
.privacy-section,
.privacy-contact {
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.055);
}

.privacy-highlight {
  align-items: flex-start;
  padding: 32px 40px;
}

.privacy-icon {
  background: #eef3ff;
  color: #1f55f2;
  font-size: 1.35rem;
}

.privacy-section {
  padding: 0;
  margin-bottom: 16px;
}

.privacy-accordion-btn {
  padding: 24px 28px;
  border-bottom: 1px solid #eef2f7;
}

.privacy-panel {
  padding: 0 28px 28px;
}

.privacy-panel p {
  max-width: 880px;
}

.privacy-panel li {
  margin-bottom: 10px;
}

.privacy-toc {
  scrollbar-width: thin;
  scrollbar-color: #c7cfdb transparent;
}

.privacy-toc::-webkit-scrollbar {
  width: 6px;
}

.privacy-toc::-webkit-scrollbar-thumb {
  background: #c7cfdb;
  border-radius: 999px;
}

.privacy-toc::-webkit-scrollbar-track {
  background: transparent;
}

.privacy-contact-box {
  background: #f7f9fd;
  border: 1px solid #e1e7f0;
}

.privacy-contact-box:hover {
  background: #ffffff;
  border-color: #1f55f2;
}









.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0 20px;
}

.article-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
  cursor: zoom-in;
}

.article-gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.article-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}

.article-gallery__item:hover img {
  transform: scale(1.045);
  filter: brightness(.94);
}

@media (max-width: 900px) {
  .article-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .article-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-gallery__item,
  .article-gallery__item--featured {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}


Tabelka

.zsm-wazne-table {
  width: 100%;
  max-width: 900px;
  margin: 2.25rem auto;
  border-radius: 16px;
}

.zsm-wazne-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.55;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,23,42,.07);
  table-layout: fixed;
}

.zsm-wazne-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.zsm-wazne-table th,
.zsm-wazne-table td {
  padding: 1.05rem 1.25rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #edf2f7;
}

.zsm-wazne-table thead th {
  background: #f8fafc;
  font-weight: 800;
  border-bottom: 2px solid #e2e8f0;
}

.zsm-wazne-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.zsm-wazne-table tbody th {
  width: 20%;
  font-weight: 800;
  background: rgba(37,99,235,.045);
}

.zsm-wazne-table tbody td:nth-child(2) {
  width: 60%;
}

.zsm-wazne-table tbody td:last-child {
  width: 20%;
  font-weight: 800;
}

@media (max-width: 640px) {
  .zsm-wazne-table table,
  .zsm-wazne-table thead,
  .zsm-wazne-table tbody,
  .zsm-wazne-table tr,
  .zsm-wazne-table th,
  .zsm-wazne-table td {
    display: block;
    width: 100%;
  }

  .zsm-wazne-table table {
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .zsm-wazne-table thead {
    display: none;
  }

  .zsm-wazne-table tbody tr {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15,23,42,.06);
  }

  .zsm-wazne-table tbody tr:nth-child(even) {
    background: #fff;
  }

  .zsm-wazne-table th,
  .zsm-wazne-table td {
    padding: .45rem 0;
    border: 0;
    text-align: left;
  }

  .zsm-wazne-table tbody th {
    background: transparent;
    color: #1d4ed8;
    font-size: .95rem;
  }

  .zsm-wazne-table tbody th::before {
    content: "Klasa: ";
    color: #64748b;
    font-weight: 600;
  }

  .zsm-wazne-table tbody td:nth-child(2)::before {
    content: "Wychowawca: ";
    display: block;
    color: #64748b;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .15rem;
  }

  .zsm-wazne-table tbody td:last-child {
    margin-top: .5rem;
    display: inline-flex;
    width: auto;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e40af;
    font-weight: 800;
  }

  .zsm-wazne-table tbody td:last-child::before {
    content: "Sala ";
    margin-right: .25rem;
    font-weight: 700;
  }
}
@media (max-width: 640px) {
  .article-body p,
  .com-content-article p {
    text-align: left !important;
  }
}
@media (max-width: 640px) {
  .zsm-wazne-table tbody tr {
    padding: 1.15rem 1.1rem;
    margin-bottom: 1.05rem;
  }

  .zsm-wazne-table tbody td:nth-child(2) {
    line-height: 1.45;
  }

  .zsm-wazne-table tbody td:last-child {
    margin-top: .75rem;
  }
}








/* ==========================================
   SCROLL TO TOP
========================================== */

html{
    scroll-behavior:smooth;
}

#scrollTopBtn{

    position:fixed;

    right:28px;
    bottom:28px;

    width:56px;
    height:56px;

    border:none;
    border-radius:50%;

    background:#2457ff;
    color:#fff;

    font-size:24px;
    font-weight:700;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:
        0 12px 32px rgba(36,87,255,.28);

    opacity:0;
    visibility:hidden;

    transform:translateY(18px);

    transition:
        opacity .25s,
        transform .25s,
        visibility .25s,
        background .2s;

    z-index:9999;
}

#scrollTopBtn:hover{

    background:#1b45dd;

    transform:
        translateY(-3px);

}

#scrollTopBtn.show{

    opacity:1;
    visibility:visible;

    transform:translateY(0);

}

@media(max-width:768px){

    #scrollTopBtn{

        right:18px;
        bottom:18px;

        width:50px;
        height:50px;

        font-size:22px;

    }

}













@media (max-width:1120px){

  body .container-header,
  body .container-header.full-width,
  body header.header,
  body .grid-child.container-nav,
  body #mod-custom185,
  body #mod-custom185.mod-custom,
  body .zsm-header{
    padding:0 !important;
    margin:0 !important;
  }

  body .zsm-navbar{
    height:72px !important;
    min-height:72px !important;
    padding:0 16px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  body .zsm-brand{
    gap:12px !important;
    display:flex !important;
    align-items:center !important;
    transform:none !important;
  }

  body .zsm-brand img{
    width:52px !important;
    height:52px !important;
    min-width:52px !important;
    max-width:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    flex:0 0 52px !important;
  }

  body .zsm-brand-text .school-line{
    font-size:16px !important;
    line-height:1.02 !important;
  }

  body .zsm-brand-text small{
    font-size:12px !important;
    margin-top:3px !important;
  }

  body .zsm-mobile-toggle{
    width:46px !important;
    height:46px !important;
    flex:0 0 46px !important;
    transform:none !important;
  }

  body .zsm-about-section{
    margin-top:12px !important;
  }
}
@media (max-width:1120px){

  body #mod-custom182 .zsm-about-section{
    margin-top:4px !important;
  }

}



margin-top:0 !important;







/* =========================================================
   WCAG 2.1 AA – poprawki kontrastu i fokusu
========================================================= */

/* Etykiety „PDF” w kafelkach podręczników i planów nauczania */
.school-books .book-links a small {
  color: #475569 !important;
}

/* Ważne wartości w sekcji Rady Rodziców: 50 zł i numer KRS */
.support-highlight strong {
  color: #c2410c !important;
}

/* Zwykłe linki tekstowe w Polityce prywatności */
.privacy-page a:not(.privacy-btn):not(.privacy-contact-box):not(.privacy-back-top) {
  color: #1746a2 !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.privacy-page a:not(.privacy-btn):not(.privacy-contact-box):not(.privacy-back-top):visited {
  color: #1746a2 !important;
}

/* Wyraźny fokus klawiatury */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #0b57d0 !important;
  outline-offset: 3px !important;
}

/* Ciemniejsze tło pod dekoracyjną ikoną klucza */
.directions-panel--green .directions-panel__icon,
.directions-panel--green .direction-info > span[aria-hidden="true"] {
  background: #166534 !important;
}



/* Usuń dodatkowy przycisk „Wróć na górę” z Polityki prywatności */
.privacy-back-top {
  display: none !important;
}



/* WCAG — etykiety PDF w podręcznikach i planach nauczania */
#podreczniki .book-links a small,
#szkolne-plany-nauczania .book-links a small {
  color: #334155 !important;
  opacity: 1 !important;
}


/* =========================================================
   99. DOSTĘPNOŚĆ — WCAG 2.1 AA
========================================================= */

.zsm-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body :where(
  a,
  button,
  input,
  select,
  textarea,
  summary,
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 3px !important;
}

body .zsm-mobile-toggle:focus-visible,
body .zsm-mobile-close:focus-visible,
body .zsm-mobile-panel a:focus-visible,
body .zsm-mobile-panel button:focus-visible,
body .contact-copy-card:focus-visible,
body .support-button:focus-visible,
body .zsm-copy-btn:focus-visible,
body .school-contact-copy:focus-visible,
body #scrollTopBtn:focus-visible,
body .zsm-school-section .zsm-btn:focus-visible {
  box-shadow: 0 0 0 2px #0f172a !important;
}

body .zsm-mobile-toggle,
body .zsm-mobile-close,
body .support-button,
body .zsm-copy-btn,
body .school-contact-copy,
body #scrollTopBtn {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 1120px) {
  body .zsm-mobile-link,
  body .zsm-accordion {
    height: auto !important;
    min-height: 52px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: left;
  }

  body .zsm-accordion-panel a {
    height: auto !important;
    white-space: normal !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  body :where(
    a,
    button,
    input,
    select,
    textarea,
    summary,
    [tabindex]:not([tabindex="-1"])
  ):focus-visible {
    outline: 2px solid Highlight !important;
    box-shadow: none !important;
  }

  body .zsm-mobile-toggle,
  body .zsm-mobile-close,
  body .zsm-mobile-panel a,
  body .zsm-mobile-panel button,
  body .contact-copy-card,
  body .support-button,
  body .zsm-copy-btn,
  body .school-contact-copy,
  body #scrollTopBtn {
    border: 1px solid ButtonText !important;
    forced-color-adjust: auto;
  }
}



Staże uczniowskie

/* ==========================================================
   STAŻE UCZNIOWSKIE 2026
   Joomla 5 / Cassiopeia
   ========================================================== */


/* ==========================================================
   ZMIENNE
   ========================================================== */

:root {
  --internship-primary: #123b6d;
  --internship-primary-dark: #082846;
  --internship-primary-light: #eaf2f9;

  --internship-accent: #f4bd31;
  --internship-accent-hover: #ffd568;

  --internship-text: #17212b;
  --internship-muted: #43566a;

  --internship-border: #d1dee9;
  --internship-border-strong: #7698b8;

  --internship-surface: #f4f8fc;
  --internship-white: #ffffff;

  --internship-warning-bg: #fff7d6;
  --internship-warning-border: #dfb82d;
  --internship-warning-text: #473700;

  --internship-pdf-bg: #f9e3e5;
  --internship-pdf-text: #81252b;

  --internship-deadline-bg: #fffafa;
  --internship-deadline-border: #e7aeb2;

  --internship-radius-sm: 0.55rem;
  --internship-radius-md: 0.85rem;
  --internship-radius-lg: 1.25rem;

  --internship-shadow-sm:
    0 6px 20px rgba(16, 46, 75, 0.07);

  --internship-shadow-md:
    0 14px 40px rgba(16, 46, 75, 0.11);

  --internship-focus:
    0 0 0 4px rgba(244, 189, 49, 0.38);
}


/* ==========================================================
   KONTENER I LOKALNY RESET
   ========================================================== */

.internship-page {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;

  color: var(--internship-text);
  font-size: 1rem;
  line-height: 1.65;
}

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

.internship-page h1,
.internship-page h2,
.internship-page h3,
.internship-page p,
.internship-page ul {
  margin-top: 0;
}

.internship-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.internship-page a {
  text-underline-offset: 0.18em;
}

.internship-page strong {
  font-weight: 750;
}


/* ==========================================================
   ELEMENT UKRYTY WIZUALNIE
   ========================================================== */

.internship-visually-hidden {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;

  white-space: nowrap !important;

  border: 0 !important;
}


/* ==========================================================
   HERO
   ========================================================== */

.internship-hero {
  position: relative;

  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(240px, 0.5fr);

  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;

  min-height: 400px;

  padding:
    clamp(2.5rem, 4vw, 3.25rem)
    clamp(2rem, 5vw, 4.5rem);

  margin-bottom: clamp(1.5rem, 4vw, 3rem);

  overflow: hidden;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(255, 255, 255, 0.17),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      var(--internship-primary-dark),
      var(--internship-primary)
    );

  border-radius: var(--internship-radius-lg);
  box-shadow: var(--internship-shadow-md);
}

.internship-hero::after {
  content: "";

  position: absolute;
  right: -8rem;
  bottom: -12rem;

  width: 30rem;
  height: 30rem;

  pointer-events: none;

  background: rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.internship-hero__content {
  position: relative;
  z-index: 2;

  min-width: 0;
}

.internship-eyebrow,
.internship-section-label {
  margin-bottom: 0.75rem;

  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.internship-eyebrow {
  color: #ffdc77;
}

.internship-title {
  max-width: 760px;

  margin-bottom: 1.25rem;

  color: #ffffff;

  font-size: clamp(2.75rem, 4.6vw, 4.25rem);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.internship-lead {
  max-width: 670px;

  margin-bottom: 1.75rem;

  color: rgba(255, 255, 255, 0.92);

  font-size: clamp(1.0625rem, 1.55vw, 1.2rem);
  line-height: 1.65;
}

.internship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.internship-hero__visual {
  position: relative;
  z-index: 2;

  display: grid;

  min-height: 250px;

  align-content: center;
  justify-items: center;

  padding: 2rem;

  text-align: center;

  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 1.1rem;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.internship-hero__visual::before {
  content: "";

  position: absolute;
  inset: 1rem;

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.8rem;
}

.internship-hero__number {
  position: relative;

  color: #ffffff;

  font-size: clamp(3.8rem, 7vw, 6.4rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.065em;
}

.internship-hero__caption {
  position: relative;

  margin-top: 0.8rem;

  color: rgba(255, 255, 255, 0.92);

  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ==========================================================
   PRZYCISKI
   ========================================================== */

.internship-button {
  display: inline-flex;

  min-height: 48px;

  align-items: center;
  justify-content: center;

  gap: 0.5rem;

  padding: 0.8rem 1.25rem;

  color: #ffffff;

  font-size: 0.975rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;

  background: var(--internship-primary);
  border: 2px solid transparent;
  border-radius: 0.65rem;

  cursor: pointer;

  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.internship-button:hover {
  color: #ffffff;
  text-decoration: none;

  background: var(--internship-primary-dark);

  transform: translateY(-1px);
}

.internship-button:focus {
  outline: none;
}

.internship-button:focus-visible {
  outline: 3px solid var(--internship-accent);
  outline-offset: 3px;

  box-shadow: var(--internship-focus);
}

.internship-button--primary {
  color: var(--internship-primary-dark);

  background: var(--internship-accent);
}

.internship-button--primary:hover {
  color: var(--internship-primary-dark);

  background: var(--internship-accent-hover);
}

.internship-button--light {
  flex-shrink: 0;

  color: var(--internship-primary-dark);

  background: #ffffff;
  border-color: #ffffff;
}

.internship-button--light:hover {
  color: #ffffff;

  background: var(--internship-primary);
  border-color: #ffffff;
}


/* ==========================================================
   KARTY INFORMACYJNE
   ========================================================== */

.internship-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 1rem;

  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.internship-stat {
  display: flex;

  min-width: 0;
  min-height: 106px;

  gap: 1rem;
  align-items: center;

  padding: 1.25rem;

  background: var(--internship-white);
  border: 1px solid var(--internship-border);
  border-radius: var(--internship-radius-md);

  box-shadow: var(--internship-shadow-sm);
}

.internship-stat__value {
  display: inline-grid;

  flex: 0 0 auto;

  width: 3.4rem;
  height: 3.4rem;

  place-items: center;

  color: var(--internship-primary-dark);

  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;

  background: var(--internship-primary-light);
  border-radius: 50%;
}

.internship-stat__content {
  min-width: 0;
}

.internship-stat h3 {
  margin-bottom: 0.25rem;

  color: var(--internship-text);

  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.internship-stat p {
  margin-bottom: 0;

  color: var(--internship-muted);

  font-size: 0.92rem;
  line-height: 1.45;
}

.internship-stat--deadline {
  background: var(--internship-deadline-bg);
  border-color: var(--internship-deadline-border);
}

.internship-stat--deadline .internship-stat__value {
  color: #7f1d26;
  background: #f8dde0;
}


/* ==========================================================
   GŁÓWNA TREŚĆ
   ========================================================== */

.internship-content {
  min-width: 0;
}

.internship-section {
  margin-bottom: clamp(3rem, 6vw, 5rem);

  scroll-margin-top: 6rem;
}

.internship-section h2,
.internship-final-cta h2 {
  margin-bottom: 1rem;

  color: var(--internship-primary-dark);

  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.internship-section > p {
  max-width: 65ch;
}

.internship-section-label {
  color: var(--internship-primary);
}


/* ==========================================================
   LISTA ZAWODÓW
   ========================================================== */

.internship-professions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1rem;

  padding: 0;
  margin: 1.5rem 0 0;

  list-style: none;
}

.internship-professions li {
  display: flex;

  min-width: 0;
  min-height: 68px;

  gap: 0.75rem;
  align-items: flex-start;

  padding: 0.85rem 1rem;

  color: var(--internship-text);

  font-weight: 750;
  line-height: 1.4;

  background: var(--internship-surface);
  border: 1px solid var(--internship-border);
  border-radius: var(--internship-radius-md);
}

.internship-check {
  display: inline-grid;

  flex: 0 0 1.75rem;

  width: 1.75rem;
  height: 1.75rem;

  margin-top: 0.1rem;

  place-items: center;

  color: #ffffff;

  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1;

  background: var(--internship-primary);
  border-radius: 50%;
}


/* ==========================================================
   TERMIN REALIZACJI
   ========================================================== */

.internship-date-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 350px);

  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.internship-date-content {
  min-width: 0;
}

.internship-date-content > p {
  max-width: 65ch;
}

.internship-highlight {
  padding: 1.05rem 1.25rem;

  color: var(--internship-primary-dark);

  background: var(--internship-primary-light);
  border-inline-start: 5px solid var(--internship-primary);
  border-radius:
    0
    var(--internship-radius-sm)
    var(--internship-radius-sm)
    0;
}


/* ==========================================================
   WAŻNY TERMIN
   ========================================================== */

.internship-notice {
  padding: 1.5rem;

  color: var(--internship-warning-text);

  background: var(--internship-warning-bg);
  border: 1px solid var(--internship-warning-border);
  border-radius: var(--internship-radius-md);
}

.internship-notice h2 {
  margin-bottom: 0.55rem;

  color: inherit;

  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.internship-notice p {
  margin-bottom: 0;
}


/* ==========================================================
   DOKUMENTY
   ========================================================== */

.internship-documents {
  margin-bottom: 2.5rem;
}

.internship-section-heading {
  margin-bottom: 1.5rem;
}

.internship-section-heading h2 {
  margin-bottom: 0.65rem;
}

.internship-documents-intro {
  max-width: 65ch;
  margin-bottom: 0;

  color: var(--internship-muted);
}

.internship-document-list {
  display: grid;

  gap: 0.75rem;

  max-width: 960px;

  padding: 0;
  margin: 0;

  list-style: none;
}

.internship-document-list li {
  margin: 0;
}

.internship-document-list a {
  display: grid;
  grid-template-columns:
    3rem
    minmax(0, 1fr)
    auto;

  gap: 1rem;
  align-items: center;

  min-height: 76px;

  padding: 0.85rem 1rem;

  color: var(--internship-text);
  text-decoration: none;

  background: var(--internship-white);
  border: 1px solid var(--internship-border);
  border-radius: var(--internship-radius-md);

  cursor: pointer;

  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.internship-document-list a:hover {
  color: var(--internship-primary-dark);
  text-decoration: none;

  background: #f4f8fc;
  border-color: var(--internship-border-strong);

  box-shadow: var(--internship-shadow-sm);

  transform: translateY(-1px);
}

.internship-document-list a:focus {
  outline: none;
}

.internship-document-list a:focus-visible {
  outline: 3px solid var(--internship-accent);
  outline-offset: 3px;

  box-shadow: var(--internship-focus);
}

.document-icon {
  display: inline-grid;

  width: 3rem;
  height: 3rem;

  place-items: center;

  color: var(--internship-pdf-text);

  font-size: 0.69rem;
  font-weight: 850;
  line-height: 1;

  background: var(--internship-pdf-bg);
  border-radius: var(--internship-radius-sm);
}

.document-content {
  min-width: 0;
}

.document-content strong {
  display: block;

  color: inherit;

  font-size: 0.975rem;
  line-height: 1.42;

  overflow-wrap: anywhere;
}

.document-content small {
  display: block;

  margin-top: 0.2rem;

  color: var(--internship-muted);

  font-size: 0.8125rem;
  line-height: 1.4;
}

.document-action {
  display: inline-flex;

  min-height: 40px;

  align-items: center;
  justify-content: center;

  padding: 0.55rem 0.85rem;

  color: var(--internship-primary-dark);

  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.2;

  background: var(--internship-primary-light);
  border-radius: 0.45rem;

  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.internship-document-list a:hover .document-action {
  color: #ffffff;

  background: var(--internship-primary);
}


/* ==========================================================
   KOŃCOWE CTA
   ========================================================== */

.internship-final-cta {
  display: flex;

  gap: 2rem;
  align-items: center;
  justify-content: space-between;

  padding: clamp(1.75rem, 3vw, 2.5rem);
  margin-top: 0;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--internship-primary-dark),
      var(--internship-primary)
    );

  border-radius: var(--internship-radius-lg);
  box-shadow: var(--internship-shadow-md);
}

.internship-final-cta__content {
  min-width: 0;
}

.internship-final-cta h2 {
  margin-bottom: 0.6rem;

  color: #ffffff;
}

.internship-final-cta p {
  max-width: 680px;
}

.internship-final-cta p:last-child {
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.9);
}

.internship-final-cta .internship-section-label {
  color: #ffdc77;
}

.internship-final-cta .internship-button {
  max-width: 100%;
  white-space: normal;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991.98px) {

  .internship-hero {
    grid-template-columns: minmax(0, 1fr);

    min-height: auto;
  }

  .internship-hero__visual {
    min-height: 185px;
  }

  .internship-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internship-professions {
    grid-template-columns: minmax(0, 1fr);
  }

  .internship-date-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .internship-notice {
    max-width: 620px;
  }

}


/* ==========================================================
   MAŁY TABLET
   ========================================================== */

@media (max-width: 767.98px) {

  .internship-title {
    font-size: clamp(2.35rem, 8vw, 3.5rem);
  }

  .internship-final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);

    align-items: start;
  }

  .internship-final-cta .internship-button {
    width: 100%;
  }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 575.98px) {

  .internship-page {
    padding-bottom: 2rem;

    font-size: 1rem;
    line-height: 1.65;
  }

  .internship-hero {
    grid-template-columns: minmax(0, 1fr);

    gap: 1.4rem;

    padding: 1.4rem;

    border-radius: 0.9rem;
  }

  .internship-eyebrow {
    font-size: 0.75rem;
  }

  .internship-title {
    margin-bottom: 1rem;

    font-size: clamp(2.05rem, 11vw, 2.75rem);
    line-height: 1.06;
  }

  .internship-lead {
    margin-bottom: 1.25rem;

    font-size: 1.0625rem;
  }

  .internship-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .internship-button {
    width: 100%;
    min-height: 50px;
  }

  .internship-hero__visual {
    min-height: 120px;

    padding: 1.1rem;
  }

  .internship-hero__visual::before {
    inset: 0.75rem;
  }

  .internship-hero__number {
    font-size: clamp(3.2rem, 18vw, 4.4rem);
  }

  .internship-hero__caption {
    margin-top: 0.45rem;

    font-size: 0.75rem;
  }

  .internship-summary {
    grid-template-columns: minmax(0, 1fr);

    gap: 0.75rem;

    margin-bottom: 3rem;
  }

  .internship-stat {
    min-height: 88px;

    padding: 1rem;
  }

  .internship-section {
    margin-bottom: 3.5rem;
  }

  .internship-section h2,
  .internship-final-cta h2 {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  .internship-professions {
    gap: 0.75rem;
  }

  .internship-professions li {
    min-height: 68px;

    padding: 0.9rem 1rem;
  }

  .internship-date-layout {
    gap: 1.5rem;
  }

  .internship-notice {
    padding: 1.25rem;
  }

  .internship-documents.internship-section {
    margin-bottom: 2rem;
  }

  .internship-documents h2 {
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .internship-document-list {
    max-width: none;
  }

  .internship-document-list a {
    grid-template-columns:
      2.75rem
      minmax(0, 1fr);

    gap: 0.75rem;
    align-items: start;

    min-height: 74px;

    padding: 0.75rem;
  }

  .document-icon {
    width: 2.75rem;
    height: 2.75rem;

    margin-top: 0.1rem;
  }

  .document-action {
    display: none;
  }

  .document-content strong {
    font-size: 0.925rem;
    line-height: 1.35;
  }

  .document-content small {
    font-size: 0.78rem;
  }

  .internship-final-cta {
    padding: 1.5rem 1.5rem 2rem;
    margin-bottom: 1rem;

    border-radius: 0.9rem;
  }

  .internship-final-cta .internship-button {
    min-height: 54px;

    padding-inline: 1rem;

    line-height: 1.3;
  }

}


/* ==========================================================
   BARDZO WĄSKIE EKRANY
   ========================================================== */

@media (max-width: 359.98px) {

  .internship-hero,
  .internship-notice,
  .internship-final-cta {
    padding: 1.1rem;
  }

  .internship-stat {
    padding: 0.9rem;
  }

  .internship-stat__value {
    width: 3rem;
    height: 3rem;
  }

  .internship-title {
    overflow-wrap: anywhere;
  }

}


/* ==========================================================
   REDUKCJA ANIMACJI
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  .internship-page *,
  .internship-page *::before,
  .internship-page *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}


/* ==========================================================
   WYSOKI KONTRAST SYSTEMOWY
   ========================================================== */

@media (forced-colors: active) {

  .internship-button,
  .internship-stat,
  .internship-professions li,
  .internship-document-list a,
  .internship-notice,
  .internship-final-cta {
    border: 2px solid CanvasText;
  }

  .internship-check,
  .internship-stat__value,
  .document-icon {
    border: 1px solid CanvasText;
  }

}


/* ==========================================================
   DRUKOWANIE
   ========================================================== */

@media print {

  .internship-page {
    max-width: none;

    color: #000000;
  }

  .internship-hero,
  .internship-final-cta {
    color: #000000;

    background: #ffffff;
    border: 1px solid #000000;
    box-shadow: none;
  }

  .internship-title,
  .internship-final-cta h2 {
    color: #000000;
  }

  .internship-eyebrow,
  .internship-lead,
  .internship-final-cta p {
    color: #000000;
  }

  .internship-button {
    color: #000000;

    background: #ffffff;
    border: 1px solid #000000;
  }

  .internship-document-list a {
    box-shadow: none;
  }

}
/* ==========================================================
   NAPRAWA ZMIENNYCH I KRYTYCZNYCH STYLÓW
   Wklej na SAMYM KOŃCU user.css
   ========================================================== */

.internship-page {
  --internship-primary: #123b6d;
  --internship-primary-dark: #082846;
  --internship-primary-light: #eaf2f9;

  --internship-accent: #f4bd31;
  --internship-accent-hover: #ffd568;

  --internship-text: #17212b;
  --internship-muted: #43566a;

  --internship-border: #d1dee9;
  --internship-border-strong: #7698b8;

  --internship-surface: #f4f8fc;
  --internship-white: #ffffff;

  --internship-warning-bg: #fff7d6;
  --internship-warning-border: #dfb82d;
  --internship-warning-text: #473700;

  --internship-pdf-bg: #f9e3e5;
  --internship-pdf-text: #81252b;

  --internship-deadline-bg: #fffafa;
  --internship-deadline-border: #e7aeb2;

  --internship-radius-sm: 0.55rem;
  --internship-radius-md: 0.85rem;
  --internship-radius-lg: 1.25rem;

  --internship-shadow-sm:
    0 6px 20px rgba(16, 46, 75, 0.07);

  --internship-shadow-md:
    0 14px 40px rgba(16, 46, 75, 0.11);

  --internship-focus:
    0 0 0 4px rgba(244, 189, 49, 0.38);

  color: #17212b;
}


/* HERO — wartości awaryjne bez zależności od :root */

.internship-page .internship-hero {
  color: #ffffff;

  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(255, 255, 255, 0.17),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #082846,
      #123b6d
    );
}

.internship-page .internship-title {
  color: #ffffff;
}

.internship-page .internship-lead {
  color: rgba(255, 255, 255, 0.92);
}

.internship-page .internship-eyebrow {
  color: #ffdc77;
}


/* PRZYCISK HERO */

.internship-page .internship-button--primary {
  color: #082846;
  background: #f4bd31;
}

.internship-page .internship-button--primary:hover {
  color: #082846;
  background: #ffd568;
}


/* KARTY INFORMACYJNE */

.internship-page .internship-stat {
  background: #ffffff;
  border: 1px solid #d1dee9;
  border-radius: 0.85rem;
  box-shadow: 0 6px 20px rgba(16, 46, 75, 0.07);
}

.internship-page .internship-stat__value {
  color: #082846;
  background: #eaf2f9;
}

.internship-page .internship-stat h3 {
  color: #17212b;
}

.internship-page .internship-stat p {
  color: #43566a;
}

.internship-page .internship-stat--deadline {
  background: #fffafa;
  border-color: #e7aeb2;
}

.internship-page
.internship-stat--deadline
.internship-stat__value {
  color: #7f1d26;
  background: #f8dde0;
}


/* LISTA ZAWODÓW */

.internship-page .internship-professions li {
  color: #17212b;
  background: #f4f8fc;
  border: 1px solid #d1dee9;
  border-radius: 0.85rem;
}

.internship-page .internship-check {
  color: #ffffff;
  background: #123b6d;
}


/* TERMIN */

.internship-page .internship-highlight {
  color: #082846;
  background: #eaf2f9;
  border-inline-start-color: #123b6d;
}

.internship-page .internship-notice {
  color: #473700;
  background: #fff7d6;
  border: 1px solid #dfb82d;
}


/* DOKUMENTY */

.internship-page .internship-document-list a {
  color: #17212b;
  background: #ffffff;
  border: 1px solid #d1dee9;
  border-radius: 0.85rem;
}

.internship-page .internship-document-list a:hover {
  color: #082846;
  background: #f4f8fc;
  border-color: #7698b8;
}

.internship-page .document-icon {
  color: #81252b;
  background: #f9e3e5;
  border-radius: 0.55rem;
}

.internship-page .document-content small {
  color: #43566a;
}

.internship-page .document-action {
  color: #082846;
  background: #eaf2f9;
}

.internship-page
.internship-document-list a:hover
.document-action {
  color: #ffffff;
  background: #123b6d;
}


/* KOŃCOWE CTA */

.internship-page .internship-final-cta {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #082846,
      #123b6d
    );
}

.internship-page .internship-final-cta h2 {
  color: #ffffff;
}

.internship-page .internship-final-cta p:last-child {
  color: rgba(255, 255, 255, 0.9);
}

.internship-page
.internship-final-cta
.internship-section-label {
  color: #ffdc77;
}

.internship-page .internship-button--light {
  color: #082846;
  background: #ffffff;
  border-color: #ffffff;
}
/* Finalne dopracowanie */

@media (max-width: 575.98px) {
  .internship-page {
    padding-bottom: 4rem;
  }

  .internship-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
    line-height: 1.05;
  }

  .internship-date-layout {
    gap: 1.25rem;
  }

  .internship-date-section {
    margin-bottom: 3rem;
  }

  .internship-final-cta {
    margin-bottom: 1rem;
  }
}
/* ==========================================================
   FINALNE DOPRACOWANIE MOBILE
   ========================================================== */

.internship-final-cta {
  width: 100%;
  margin-inline: 0;
}

@media (max-width: 575.98px) {
  .internship-page {
    padding-bottom: 4rem;
  }

  .internship-section {
    margin-bottom: 2.75rem;
  }

  .internship-date-section {
    margin-bottom: 2.75rem;
  }

  .internship-date-layout {
    gap: 1.25rem;
  }

  .internship-document-list {
    gap: 0.65rem;
  }

  .internship-document-list a {
    padding: 0.7rem;
  }
}

@media (max-width: 420px) {
  .internship-section h2,
  .internship-final-cta h2 {
    font-size: 1.8rem;
    line-height: 1.12;
  }

  .internship-documents h2 {
    font-size: 1.7rem;
  }
}








Atrakcyjne

/* =========================================================
   Projekt edukacyjny – Joomla 5 / Cassiopeia
   ========================================================= */

.project-page {
  --project-primary: #073b70;
  --project-primary-dark: #052c54;
  --project-accent: #f2b705;
  --project-text: #172033;
  --project-muted: #586174;
  --project-border: #d9e0e8;
  --project-background: #ffffff;
  --project-background-soft: #f4f7fa;
  --project-focus: #ffbf47;
  --project-radius: 1rem;
  --project-shadow: 0 0.75rem 2.5rem rgb(20 42 72 / 10%);

  width: 100%;
  color: var(--project-text);
  font-size: 1rem;
  line-height: 1.65;
}

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

.project-page h1,
.project-page h2,
.project-page h3 {
  color: var(--project-text);
  font-weight: 750;
  line-height: 1.15;
  text-wrap: balance;
}

.project-page h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: -0.035em;
}

.project-page h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}

.project-page h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.project-page p {
  margin-block: 0 1rem;
}

.project-page a {
  text-underline-offset: 0.18em;
}


/* Główny nagłówek */

.project-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--project-radius);
  background:
    linear-gradient(
      120deg,
      rgb(5 44 84 / 98%),
      rgb(7 59 112 / 90%)
    );
  color: #fff;
}

.project-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 28rem;
  height: 28rem;
  border: 4rem solid rgb(255 255 255 / 7%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.project-hero__content {
  position: relative;
  z-index: 1;
  max-width: 60rem;
}

.project-hero h1,
.project-hero .project-eyebrow {
  color: #fff;
}

.project-lead {
  max-width: 58ch;
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.0625rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}


/* Mały nagłówek nad tytułem */

.project-eyebrow {
  margin-bottom: 0.65rem;
  color: var(--project-primary);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}


/* Przyciski */

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.project-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.project-button--primary {
  background: var(--project-accent);
  color: #1a2433;
}

.project-button--primary:hover {
  background: #ffd044;
  color: #111827;
  transform: translateY(-1px);
}

.project-button--secondary {
  border-color: rgb(255 255 255 / 70%);
  background: transparent;
  color: #fff;
}

.project-button--secondary:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 12%);
  color: #fff;
}

.project-button--light {
  flex: 0 0 auto;
  background: #fff;
  color: var(--project-primary-dark);
}

.project-button--light:hover {
  background: #f2f5f8;
  color: var(--project-primary-dark);
}


/* Widoczny focus klawiatury – WCAG */

.project-page a:focus-visible,
.project-page button:focus-visible {
  outline: 3px solid var(--project-focus);
  outline-offset: 4px;
}


/* Logotypy */

.project-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--project-border);
  border-radius: var(--project-radius);
  background: #fff;
}

.project-logos img {
  display: block;
  width: auto;
  max-width: min(15rem, 100%);
  height: auto;
  max-height: 4.5rem;
  object-fit: contain;
}


/* Sekcje */

.project-section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.project-section--soft {
  margin-inline: calc(50% - 50vw);
  padding-inline: max(
    1rem,
    calc((100vw - 82rem) / 2)
  );
  background: var(--project-background-soft);
}

.project-section__heading {
  max-width: 50rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.project-text-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.project-prose {
  max-width: 68ch;
  color: var(--project-muted);
  font-size: 1.0625rem;
}

.project-prose > :last-child {
  margin-bottom: 0;
}


/* Statystyki */

.project-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-stat {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--project-border);
  border-radius: var(--project-radius);
  background: #fff;
  box-shadow: 0 0.35rem 1.5rem rgb(20 42 72 / 6%);
}

.project-stat__value {
  display: block;
  color: var(--project-primary);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.project-stat__label {
  display: block;
  margin-top: 0.7rem;
  color: var(--project-muted);
  line-height: 1.45;
}


/* Dane projektu */

.project-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 1rem 0 0;
  border: 1px solid var(--project-border);
  border-radius: var(--project-radius);
  background: var(--project-border);
}

.project-details > div {
  padding: 1.25rem;
  background: #fff;
}

.project-details dt {
  margin-bottom: 0.4rem;
  color: var(--project-muted);
  font-size: 0.875rem;
  font-weight: 650;
}

.project-details dd {
  margin: 0;
  color: var(--project-text);
  font-weight: 700;
}


/* Karty działań */

.project-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr);
  gap: 1.25rem;
  align-items: stretch;
}

.project-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--project-border);
  border-radius: var(--project-radius);
  background: #fff;
  box-shadow: var(--project-shadow);
}

.project-card__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: var(--project-primary);
  color: #fff;
  font-weight: 800;
}

.project-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.project-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--project-muted);
}

.project-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--project-accent);
  content: "";
}


/* Dolne CTA */

.project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-block: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-radius: var(--project-radius);
  background: var(--project-primary-dark);
  color: #fff;
}

.project-cta h2,
.project-cta .project-eyebrow {
  color: #fff;
}

.project-cta p:not(.project-eyebrow) {
  max-width: 58ch;
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
}


/* Tablet */

@media (max-width: 991.98px) {
  .project-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-text-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-card-grid {
    grid-template-columns: 1fr;
  }

  .project-details {
    grid-template-columns: 1fr;
  }
}


/* Mobile */

@media (max-width: 575.98px) {
  .project-page {
    font-size: 1rem;
    line-height: 1.65;
  }

  .project-hero {
    padding: 1.5rem;
    border-radius: 0.75rem;
  }

  .project-hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .project-lead {
    font-size: 1.0625rem;
  }

  .project-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-button {
    width: 100%;
    min-height: 3.25rem;
  }

  .project-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .project-logos img {
    max-width: 100%;
    max-height: 3.75rem;
    margin-inline: auto;
  }

  .project-section {
    padding-block: 3rem;
  }

  .project-stats {
    grid-template-columns: 1fr;
  }

  .project-stat {
    padding: 1.25rem;
  }

  .project-card {
    padding: 1.25rem;
  }

  .project-cta {
    display: grid;
    align-items: start;
    padding: 1.5rem;
  }

  .project-cta .project-button {
    width: 100%;
  }
}


/* Bardzo małe ekrany */

@media (max-width: 360px) {
  .project-logos {
    grid-template-columns: 1fr;
  }
}


/* Ograniczenie animacji dla użytkowników, którzy tego wymagają */

@media (prefers-reduced-motion: reduce) {
  .project-page *,
  .project-page *::before,
  .project-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* Tryb wysokiego kontrastu Windows */

@media (forced-colors: active) {
  .project-button,
  .project-card,
  .project-stat,
  .project-logos {
    border: 1px solid ButtonText;
  }
}










logowanie 

/* ==========================================================
   PIERWSZE LOGOWANIE DO E-DZIENNIKA
   Desktop: pełny panel boczny
   Tablet: uproszczony panel pod instrukcją
   Mobile: bez panelu, informacje kontekstowe w krokach
   ========================================================== */

.zsm-first-login-v1,
.zsm-first-login-v1 *,
.zsm-first-login-v1 *::before,
.zsm-first-login-v1 *::after {
  box-sizing: border-box;
}

.zsm-first-login-v1 {
  --zsm-fl-primary: #2457f5;
  --zsm-fl-primary-hover: #1745d1;
  --zsm-fl-primary-dark: #1238ae;
  --zsm-fl-primary-soft: #eef3ff;
  --zsm-fl-text: #111827;
  --zsm-fl-text-secondary: #374151;
  --zsm-fl-surface: #ffffff;
  --zsm-fl-info-surface: #eef3ff;
  --zsm-fl-border: #d7deeb;
  --zsm-fl-border-primary: #bfd0ff;
  --zsm-fl-focus: #ffbf47;
  --zsm-fl-note-text: #1238ae;
  --zsm-fl-note-surface: #f4f7ff;
  --zsm-fl-note-border: #c9d6ff;
  --zsm-fl-warning-text: #713f00;
  --zsm-fl-warning-accent: #d97706;
  --zsm-fl-warning-surface: #fff8eb;
  --zsm-fl-warning-border: #efc876;
  --zsm-fl-radius-small: 8px;
  --zsm-fl-radius-medium: 18px;
  --zsm-fl-shadow-number: 0 8px 20px rgba(36, 87, 245, 0.18);
  --zsm-fl-shadow-button: 0 12px 28px rgba(36, 87, 245, 0.24);

  width: 100%;
  margin: 0;
  padding: 0 0 60px;
  color: var(--zsm-fl-text);
  background: var(--zsm-fl-surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.zsm-first-login-v1__container {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.zsm-first-login-v1__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.zsm-first-login-v1__instruction,
.zsm-first-login-v1__sidebar {
  min-width: 0;
}

.zsm-first-login-v1__section-title {
  margin: 0 0 28px;
  color: #050505;
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.zsm-first-login-v1__steps {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zsm-first-login-v1__step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0 0 22px;
}

.zsm-first-login-v1__step:last-child {
  padding-bottom: 0;
}

.zsm-first-login-v1__step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 52px;
  bottom: 0;
  left: 25px;
  width: 1px;
  background: var(--zsm-fl-border-primary);
}

.zsm-first-login-v1__step-number {
  position: relative;
  z-index: 2;
  display: flex !important;
  width: 52px !important;
  min-width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  background: var(--zsm-fl-primary) !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 5px var(--zsm-fl-surface), var(--zsm-fl-shadow-number);
  font: 800 17px/1 inherit !important;
  text-align: center !important;
}

.zsm-first-login-v1__step-content {
  min-width: 0;
  padding-top: 1px;
}

.zsm-first-login-v1__step-title {
  margin: 0 0 6px;
  color: #050505;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.zsm-first-login-v1__step-description {
  max-width: 64ch;
  margin: 0;
  color: var(--zsm-fl-text-secondary);
  font-size: 16px;
  line-height: 1.62;
}

.zsm-first-login-v1__step-description strong {
  color: var(--zsm-fl-text);
  font-weight: 700;
}

.zsm-first-login-v1__step-note {
  display: block;
  width: fit-content;
  max-width: min(100%, 520px);
  margin: 10px 0 0;
  padding: 9px 13px;
  color: var(--zsm-fl-note-text);
  background: var(--zsm-fl-note-surface);
  border: 1px solid var(--zsm-fl-note-border);
  border-left: 3px solid var(--zsm-fl-primary);
  border-radius: var(--zsm-fl-radius-small);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.zsm-first-login-v1__step-note--warning {
  color: var(--zsm-fl-warning-text);
  background: var(--zsm-fl-warning-surface);
  border-color: var(--zsm-fl-warning-border);
  border-left-color: var(--zsm-fl-warning-accent);
}

/* Informacje przeniesione do kroków są widoczne wyłącznie na mobile. */
.zsm-first-login-v1__context-note {
  display: none;
}

.zsm-first-login-v1__actions {
  display: flex;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--zsm-fl-border);
}

.zsm-first-login-v1__button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 260px;
  min-height: 52px;
  margin: 0 !important;
  padding: 13px 25px !important;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #ffffff !important;
  background: var(--zsm-fl-primary) !important;
  border: 2px solid var(--zsm-fl-primary) !important;
  border-radius: 999px !important;
  box-shadow: var(--zsm-fl-shadow-button);
  font: 700 16px/1.2 inherit !important;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

.zsm-first-login-v1__button::before,
.zsm-first-login-v1__button::after {
  display: none !important;
  content: none !important;
}

.zsm-first-login-v1__button span {
  color: #ffffff !important;
}

.zsm-first-login-v1__button:hover {
  color: #ffffff !important;
  background: var(--zsm-fl-primary-hover) !important;
  border-color: var(--zsm-fl-primary-hover) !important;
  box-shadow: 0 14px 30px rgba(36, 87, 245, 0.3);
  text-decoration: none !important;
}

.zsm-first-login-v1__button-arrow {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: transform 180ms ease;
}

/* Pełny panel na desktopie. */
.zsm-first-login-v1__sidebar {
  position: sticky;
  top: 112px;
  align-self: start;
  padding-top: 4px;
}

.zsm-first-login-v1__info {
  padding: 24px;
  background: var(--zsm-fl-info-surface);
  border: 1px solid var(--zsm-fl-border-primary);
  border-radius: var(--zsm-fl-radius-medium);
}

.zsm-first-login-v1__info-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.zsm-first-login-v1__info-icon {
  display: flex !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  background: var(--zsm-fl-primary) !important;
  border: 0 !important;
  border-radius: 50% !important;
  font: 800 20px/1 inherit !important;
}

.zsm-first-login-v1__info-label {
  margin: 0 0 2px;
  color: var(--zsm-fl-primary-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.zsm-first-login-v1__info-title {
  margin: 0;
  color: #050505;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.zsm-first-login-v1__info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--zsm-fl-text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.zsm-first-login-v1__info-list li {
  margin: 0;
  padding-left: 4px;
}

.zsm-first-login-v1__info-list li::marker {
  color: var(--zsm-fl-primary);
}

.zsm-first-login-v1__info-list strong {
  color: var(--zsm-fl-text);
  font-weight: 700;
}

.zsm-first-login-v1__button:focus-visible {
  outline: 3px solid var(--zsm-fl-focus) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 5px rgba(255, 191, 71, 0.32), var(--zsm-fl-shadow-button) !important;
}

@media (hover: hover) and (pointer: fine) {
  .zsm-first-login-v1__button:hover {
    transform: translateY(-2px);
  }

  .zsm-first-login-v1__button:hover .zsm-first-login-v1__button-arrow {
    transform: translateX(4px);
  }
}

/* TABLET: panel przechodzi pod instrukcję i pokazuje tylko dwa kluczowe punkty. */
@media (min-width: 701px) and (max-width: 1023px) {
  .zsm-first-login-v1 {
    padding-bottom: 56px;
  }

  .zsm-first-login-v1__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .zsm-first-login-v1__sidebar {
    position: static;
    width: 100%;
    padding-top: 0;
  }

  .zsm-first-login-v1__info {
    max-width: 760px;
    padding: 20px 22px;
  }

  .zsm-first-login-v1__info-header {
    margin-bottom: 12px;
  }

  .zsm-first-login-v1__info-item--desktop-only {
    display: none;
  }
}

/* MOBILE: panel jest usunięty, a ważne informacje pojawiają się przy krokach. */
@media (max-width: 700px) {
  .zsm-first-login-v1 {
    padding-bottom: 44px;
  }

  .zsm-first-login-v1__container {
    padding-inline: 18px;
  }

  .zsm-first-login-v1__layout {
    display: block;
  }

  .zsm-first-login-v1__sidebar {
    display: none;
  }

  .zsm-first-login-v1__section-title {
    margin-bottom: 24px;
    font-size: clamp(24px, 6.5vw, 28px);
  }

  .zsm-first-login-v1__step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 24px;
  }

  .zsm-first-login-v1__step-number {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    font-size: 16px !important;
  }

  .zsm-first-login-v1__step:not(:last-child)::after {
    top: 44px;
    left: 21px;
  }

  .zsm-first-login-v1__step-title {
    margin-bottom: 5px;
    font-size: 17px;
    line-height: 1.35;
  }

  .zsm-first-login-v1__step-description {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .zsm-first-login-v1__step-note {
    width: 100%;
    max-width: none;
    padding: 9px 11px;
    font-size: 13.5px;
  }

  .zsm-first-login-v1__context-note--mobile {
    display: block;
    margin: 9px 0 0;
    color: var(--zsm-fl-text-secondary);
    font-size: 14px;
    line-height: 1.5;
  }

  .zsm-first-login-v1__context-note--mobile::before {
    content: "Ważne: ";
    color: var(--zsm-fl-text);
    font-weight: 700;
  }

  .zsm-first-login-v1__actions {
    margin-top: 26px;
    padding-top: 24px;
  }

  .zsm-first-login-v1__button {
    width: 100% !important;
    min-width: 0;
    min-height: 54px;
    padding-inline: 18px !important;
  }
}

@media (max-width: 380px) {
  .zsm-first-login-v1__container {
    padding-inline: 15px;
  }

  .zsm-first-login-v1__step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .zsm-first-login-v1__step-number {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  .zsm-first-login-v1__step:not(:last-child)::after {
    top: 42px;
    left: 20px;
  }

  .zsm-first-login-v1__step-title {
    font-size: 16px;
  }

  .zsm-first-login-v1__step-description {
    font-size: 15px;
  }
}

@media (forced-colors: active) {
  .zsm-first-login-v1__step-number,
  .zsm-first-login-v1__info-icon {
    border: 1px solid ButtonText !important;
  }

  .zsm-first-login-v1__button {
    border: 2px solid ButtonText !important;
  }

  .zsm-first-login-v1__step-note {
    border: 1px solid CanvasText;
    border-left-width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zsm-first-login-v1 *,
  .zsm-first-login-v1 *::before,
  .zsm-first-login-v1 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .zsm-first-login-v1__button:hover,
  .zsm-first-login-v1__button-arrow {
    transform: none !important;
  }
}

/* Opcjonalna korekta osadzenia w artykule Joomla. */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article
.com-content-article__body:has(> .zsm-first-login-v1) {
  margin-top: 28px !important;
}

@media (max-width: 700px) {
  body:has(#zsm-premium-news-marker)
  .zsm-premium-news-article
  .com-content-article__body:has(> .zsm-first-login-v1) {
    margin-top: 22px !important;
  }
}










Kliknięcie e-dziennik

/* ==========================================================
   E-DZIENNIK — HUB
   Wszystkie reguły są izolowane przez .zsm-edziennik-hub
   ========================================================== */

.zsm-edziennik-hub,
.zsm-edziennik-hub *,
.zsm-edziennik-hub *::before,
.zsm-edziennik-hub *::after {
  box-sizing: border-box;
}

.zsm-edziennik-hub {
  --zsm-hub-primary: #2457f5;
  --zsm-hub-primary-hover: #1745d1;
  --zsm-hub-primary-active: #1238ae;
  --zsm-hub-primary-soft: #eef4ff;

  --zsm-hub-text: #111827;
  --zsm-hub-text-secondary: #374151;
  --zsm-hub-text-muted: #536078;

  --zsm-hub-surface: #ffffff;
  --zsm-hub-help-surface: #eef4ff;

  --zsm-hub-border: #d8e0ec;
  --zsm-hub-border-hover: #b9c9f8;
  --zsm-hub-border-primary: #bfd0ff;

  --zsm-hub-focus: #ffbf47;

  --zsm-hub-radius-medium: 18px;
  --zsm-hub-radius-large: 24px;

  --zsm-hub-shadow-card:
    0 14px 36px rgba(30, 48, 80, 0.08);

  --zsm-hub-shadow-card-hover:
    0 22px 52px rgba(30, 48, 80, 0.13);

  --zsm-hub-shadow-primary:
    0 18px 44px rgba(36, 87, 245, 0.15);

  --zsm-hub-shadow-primary-hover:
    0 24px 58px rgba(36, 87, 245, 0.2);

  --zsm-hub-shadow-button:
    0 12px 28px rgba(36, 87, 245, 0.24);

  width: 100%;
  margin: 0;
  padding: 68px 24px 76px;
  color: var(--zsm-hub-text);
  background: var(--zsm-hub-surface);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.zsm-edziennik-hub__container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
}

/* ==========================================================
   Nagłówek
   ========================================================== */

.zsm-edziennik-hub__header {
  max-width: 780px;
  margin: 0 0 58px;
}

.zsm-edziennik-hub__eyebrow {
  margin: 0 0 10px;
  padding: 0;
  color: var(--zsm-hub-primary-active);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zsm-edziennik-hub__title {
  margin: 0;
  padding: 0;
  color: #050505;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.zsm-edziennik-hub__lead {
  max-width: 720px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--zsm-hub-text-secondary);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.68;
}

/* ==========================================================
   Siatka
   ========================================================== */

.zsm-edziennik-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

/* ==========================================================
   Link obejmujący całą kartę
   ========================================================== */

.zsm-edziennik-hub__card-link {
  display: block;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  color: inherit !important;
  text-decoration: none !important;
  border-radius: var(--zsm-hub-radius-large);
}

.zsm-edziennik-hub__card-link:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.zsm-edziennik-hub__card-link:focus-visible {
  outline: 3px solid var(--zsm-hub-focus) !important;
  outline-offset: 5px !important;
}

/* ==========================================================
   Karta
   ========================================================== */

.zsm-edziennik-hub__card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 300px;
  height: 100%;
  flex-direction: column;
  padding: 30px;
  color: var(--zsm-hub-text);
  background: var(--zsm-hub-surface);
  border: 1px solid var(--zsm-hub-border);
  border-radius: var(--zsm-hub-radius-large);
  box-shadow: var(--zsm-hub-shadow-card);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.zsm-edziennik-hub__card--primary {
  background:
    linear-gradient(
      180deg,
      #eef4ff 0%,
      #f8faff 35%,
      #ffffff 74%
    );
  border-color: var(--zsm-hub-border-primary);
  box-shadow: var(--zsm-hub-shadow-primary);
}

.zsm-edziennik-hub__card-link:hover
.zsm-edziennik-hub__card {
  border-color: var(--zsm-hub-border-hover);
  box-shadow: var(--zsm-hub-shadow-card-hover);
  transform: translateY(-4px);
}

.zsm-edziennik-hub__card-link--primary:hover
.zsm-edziennik-hub__card {
  border-color: #93abfb;
  box-shadow: var(--zsm-hub-shadow-primary-hover);
}

.zsm-edziennik-hub__card-link:focus-visible
.zsm-edziennik-hub__card {
  border-color: var(--zsm-hub-primary);
}

/* ==========================================================
   Treść karty
   ========================================================== */

.zsm-edziennik-hub__card-content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.zsm-edziennik-hub__card-title {
  margin: 0 0 10px;
  padding: 0;
  color: #050505;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.zsm-edziennik-hub__card-description {
  max-width: 520px;
  margin: 0;
  padding: 0;
  color: var(--zsm-hub-text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.zsm-edziennik-hub__card-footer {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 30px;
}

/* ==========================================================
   Wizualne CTA wewnątrz klikanej karty
   Nie jest osobnym linkiem ani przyciskiem
   ========================================================== */

.zsm-edziennik-hub__card-cta {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--zsm-hub-primary-active);
  background: #ffffff;
  border: 2px solid #bdcbf8;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.zsm-edziennik-hub__card-cta--primary {
  color: #ffffff;
  background: var(--zsm-hub-primary);
  border-color: var(--zsm-hub-primary);
  box-shadow: var(--zsm-hub-shadow-button);
}

.zsm-edziennik-hub__card-link:hover
.zsm-edziennik-hub__card-cta {
  color: var(--zsm-hub-primary-active);
  background: var(--zsm-hub-primary-soft);
  border-color: var(--zsm-hub-primary);
}

.zsm-edziennik-hub__card-link--primary:hover
.zsm-edziennik-hub__card-cta--primary {
  color: #ffffff;
  background: var(--zsm-hub-primary-hover);
  border-color: var(--zsm-hub-primary-hover);
}

.zsm-edziennik-hub__card-link:active
.zsm-edziennik-hub__card-cta--primary {
  background: var(--zsm-hub-primary-active);
  border-color: var(--zsm-hub-primary-active);
}

.zsm-edziennik-hub__external-note {
  min-height: 20px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--zsm-hub-text-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================
   Strzałki
   ========================================================== */

.zsm-edziennik-hub__arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms ease;
}

.zsm-edziennik-hub__card-link:hover
.zsm-edziennik-hub__arrow,
.zsm-edziennik-hub__help-link:hover
.zsm-edziennik-hub__arrow {
  transform: translateX(3px);
}

/* ==========================================================
   Panel pomocy
   ========================================================== */

.zsm-edziennik-hub__help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 24px;
  padding: 24px 26px;
  background:
    linear-gradient(
      90deg,
      #eef4ff 0%,
      #f4f7ff 100%
    );
  border: 1px solid var(--zsm-hub-border-primary);
  border-radius: var(--zsm-hub-radius-large);
}

.zsm-edziennik-hub__help-main {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 18px;
}

.zsm-edziennik-hub__help-icon {
  display: flex !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--zsm-hub-primary-active) !important;
  background: #ffffff !important;
  border: 1px solid #dfe6f3 !important;
  border-radius: 14px !important;
  font-family: inherit !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.zsm-edziennik-hub__help-content {
  min-width: 0;
}

.zsm-edziennik-hub__help-title {
  margin: 0 0 5px;
  padding: 0;
  color: var(--zsm-hub-text);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.zsm-edziennik-hub__help-description {
  max-width: 720px;
  margin: 0;
  padding: 0;
  color: var(--zsm-hub-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================
   Link pomocy
   ========================================================== */

.zsm-edziennik-hub__help-link {
  display: inline-flex !important;
  min-height: 54px;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 14px 22px !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--zsm-hub-primary-active) !important;
  background: #ffffff !important;
  border: 2px solid var(--zsm-hub-border-primary) !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.zsm-edziennik-hub__help-link::before,
.zsm-edziennik-hub__help-link::after {
  display: none !important;
  content: none !important;
}

.zsm-edziennik-hub__help-link:hover {
  color: var(--zsm-hub-primary-active) !important;
  background: var(--zsm-hub-primary-soft) !important;
  border-color: var(--zsm-hub-primary) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.zsm-edziennik-hub__help-link:focus-visible {
  outline: 3px solid var(--zsm-hub-focus) !important;
  outline-offset: 4px !important;
}

/* ==========================================================
   Duże ekrany
   ========================================================== */

@media (min-width: 1400px) {
  .zsm-edziennik-hub {
    padding-top: 76px;
    padding-bottom: 84px;
  }

  .zsm-edziennik-hub__container {
    max-width: 1280px;
  }

  .zsm-edziennik-hub__grid {
    gap: 28px;
  }

  .zsm-edziennik-hub__card {
    padding: 34px;
  }
}

/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 900px) {
  .zsm-edziennik-hub {
    padding: 56px 28px 64px;
  }

  .zsm-edziennik-hub__header {
    margin-bottom: 42px;
  }

  .zsm-edziennik-hub__grid {
    gap: 20px;
  }

  .zsm-edziennik-hub__card {
    min-height: 320px;
    padding: 26px;
  }

  .zsm-edziennik-hub__help {
    align-items: flex-start;
  }
}

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 700px) {
  .zsm-edziennik-hub {
    padding: 46px 20px 54px;
  }

  .zsm-edziennik-hub__header {
    margin-bottom: 32px;
  }

  .zsm-edziennik-hub__eyebrow {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .zsm-edziennik-hub__title {
    font-size: clamp(40px, 13vw, 54px);
    line-height: 1.05;
  }

  .zsm-edziennik-hub__lead {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.62;
  }

  .zsm-edziennik-hub__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .zsm-edziennik-hub__card-link {
    border-radius: var(--zsm-hub-radius-medium);
  }

  .zsm-edziennik-hub__card {
    min-height: 0;
    padding: 24px 18px 22px;
    border-radius: var(--zsm-hub-radius-medium);
  }

  .zsm-edziennik-hub__card-link:hover
  .zsm-edziennik-hub__card {
    transform: none;
  }

  .zsm-edziennik-hub__card-title {
    font-size: 21px;
  }

  .zsm-edziennik-hub__card-description {
    font-size: 16px;
    line-height: 1.62;
  }

  .zsm-edziennik-hub__card-footer {
    margin-top: 0;
    padding-top: 22px;
  }

  .zsm-edziennik-hub__card-cta {
    min-height: 54px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .zsm-edziennik-hub__external-note {
    min-height: 0;
    margin-top: 10px;
    text-align: left;
  }

  .zsm-edziennik-hub__help {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 18px;
    padding: 18px 16px;
    border-radius: var(--zsm-hub-radius-medium);
  }

  .zsm-edziennik-hub__help-main {
    gap: 14px;
  }

  .zsm-edziennik-hub__help-icon {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  .zsm-edziennik-hub__help-title {
    font-size: 19px;
  }

  .zsm-edziennik-hub__help-description {
    font-size: 15px;
    line-height: 1.55;
  }

  .zsm-edziennik-hub__help-link {
    width: 100% !important;
    min-height: 54px;
    padding-right: 18px !important;
    padding-left: 18px !important;
  }
}

/* ==========================================================
   Bardzo małe telefony
   ========================================================== */

@media (max-width: 380px) {
  .zsm-edziennik-hub {
    padding-right: 15px;
    padding-left: 15px;
  }

  .zsm-edziennik-hub__title {
    font-size: 39px;
  }

  .zsm-edziennik-hub__card {
    padding-right: 16px;
    padding-left: 16px;
  }

  .zsm-edziennik-hub__help {
    padding-right: 16px;
    padding-left: 16px;
  }

  .zsm-edziennik-hub__help-main {
    flex-direction: column;
  }
}

/* ==========================================================
   Wysoki kontrast systemowy
   ========================================================== */

@media (forced-colors: active) {
  .zsm-edziennik-hub__card,
  .zsm-edziennik-hub__card-cta,
  .zsm-edziennik-hub__help,
  .zsm-edziennik-hub__help-icon,
  .zsm-edziennik-hub__help-link {
    border: 1px solid CanvasText !important;
    box-shadow: none !important;
  }
}

/* ==========================================================
   Ograniczenie animacji
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .zsm-edziennik-hub *,
  .zsm-edziennik-hub *::before,
  .zsm-edziennik-hub *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .zsm-edziennik-hub__card-link:hover
  .zsm-edziennik-hub__card,
  .zsm-edziennik-hub__help-link:hover,
  .zsm-edziennik-hub__arrow {
    transform: none !important;
  }
}
















Artykuły wyróżnione

/*
 * Joomla 5 / Cassiopeia
 * Szablon aktualności wyróżnionej
 *
 * Założenia:
 * - szerokość całego artykułu odpowiada szerokości kontenera menu,
 * - tekst artykułu ma maksymalnie 900 px,
 * - galeria zachowuje swój wcześniejszy, oryginalny układ,
 * - galeria nadal może zajmować 100% szerokości kontenera,
 * - sekcja „Zobacz również” pozostaje pełnej szerokości.
 *
 * Wklej ten blok na końcu pliku:
 * media/templates/site/cassiopeia/css/user.css
 *
 * Usuń wcześniejsze eksperymentalne reguły dotyczące:
 * - .site-grid,
 * - .container-component,
 * - transform/left dla nagłówków i badge,
 * - własnego display:grid dla .gallery-grid,
 * - aspect-ratio, height:100% i object-fit:cover dla galerii.
 */

:root {
    --zsm-content-width: 1280px;
    --zsm-content-padding: 24px;
    --zsm-reading-width: 900px;
}


/* =========================================================
   1. GŁÓWNY KONTENER — SZEROKOŚĆ JAK MENU
   ========================================================= */

body:has(#zsm-premium-news-marker) .container-component {
    box-sizing: border-box !important;
    width: min(
        calc(100% - (2 * var(--zsm-content-padding))),
        var(--zsm-content-width)
    ) !important;
    max-width: var(--zsm-content-width) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}


/* =========================================================
   2. CAŁY ARTYKUŁ
   ========================================================= */

body:has(#zsm-premium-news-marker) .zsm-premium-news-article {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}


/* =========================================================
   3. TYTUŁ JOOMLA I BADGE — WSPÓLNA LEWA KRAWĘDŹ
   ========================================================= */

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article > .page-header,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article > .zsm-article-meta-badges {
    box-sizing: border-box !important;
    position: static !important;
    inset: auto !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    text-align: left !important;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article > .page-header h1,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article > .page-header h2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    text-align: left !important;
}


/* =========================================================
   4. WRAPPER TREŚCI — PEŁNA SZEROKOŚĆ
   ========================================================= */

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body > div,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body > section,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body > article,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body > main {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}


/* =========================================================
   5. NAGŁÓWKI WEWNĄTRZ TREŚCI
   ========================================================= */

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body header,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-hero,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-header,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-article-hero,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-article-header {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    text-align: left !important;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body h1,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body h2,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body h3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}


/* =========================================================
   6. TEKST ARTYKUŁU — MAKSYMALNIE 900 PX
   ========================================================= */

/*
 * Selektory obejmują również akapity zagnieżdżone w dodatkowych wrapperach,
 * dlatego ograniczenie szerokości działa niezależnie od struktury HTML artykułu.
 */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body p,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body ul,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body ol,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body blockquote,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-content,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-copy,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-text,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-article-content,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-article-copy {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: var(--zsm-reading-width) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Elementy galerii i sekcji powiązanych zachowują pełną szerokość. */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .gallery p,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .image-gallery p,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-gallery p,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .gallery-grid p,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-news p,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-news ul,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-news ol {
    max-width: 100% !important;
}

/* Lead pozostaje w czytelnej szerokości tekstowej. */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-article-lead,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-first-login-v1__lead,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-lead,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-intro,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .lead,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .intro {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: var(--zsm-reading-width) !important;
    margin: 0 0 42px !important;
    padding-inline: 0 !important;
    color: #253653;
    font-size: clamp(1.45rem, 2vw, 1.85rem) !important;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.015em;
}

/* Nadpisuje szerokość wpisaną bezpośrednio przy akapitach w edytorze. */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body p[style*="max-width"] {
    max-width: var(--zsm-reading-width) !important;
}

/* Wrappery pozostają szerokie, aby galeria mogła zajmować cały kontener. */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body div[style*="max-width"] {
    max-width: 100% !important;
}


/* =========================================================
   7. UKŁAD INSTRUKCJI — LEWA KOLUMNA + PANEL
   ========================================================= */

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-columns,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .instruction-layout,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-instruction-layout,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .two-column-layout {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) !important;
    gap: clamp(48px, 7vw, 96px) !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}


/* =========================================================
   8. GALERIA — PRZYWRÓCONY WCZEŚNIEJSZY UKŁAD
   ========================================================= */

/*
 * Celowo nie ustawiamy tutaj:
 * - display:grid,
 * - grid-template-columns,
 * - aspect-ratio,
 * - stałej wysokości,
 * - object-fit:cover.
 *
 * Dzięki temu wcześniejszy styl galerii z szablonu lub modułu Joomla
 * ponownie odpowiada za układ dużego pierwszego zdjęcia i mniejszych obok.
 */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .gallery,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .image-gallery,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-gallery,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .gallery-grid {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Bez wymuszania proporcji lub kadrowania zdjęć galerii. */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .gallery img,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .image-gallery img,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-gallery img,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .gallery-grid img {
    max-width: 100% !important;
    height: auto !important;
}

/* Widoczny fokus dla linków otwierających lightbox. */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .gallery a:focus-visible,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .image-gallery a:focus-visible,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-gallery a:focus-visible,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .gallery-grid a:focus-visible {
    outline: 3px solid #2457f5;
    outline-offset: 4px;
}


/* =========================================================
   9. POZOSTAŁE OBRAZY I TABELKI
   ========================================================= */

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article img {
    max-width: 100% !important;
    height: auto !important;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article table {
    max-width: 100% !important;
}


/* =========================================================
   10. SEKCJA „ZOBACZ RÓWNIEŻ”
   ========================================================= */

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-news {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-eyebrow,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-news > h2,
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-lead {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-grid {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-related-card > img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-footer-actions {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}


/* =========================================================
   11. RESPONSYWNOŚĆ — TABLET
   ========================================================= */

@media (max-width: 991.98px) {
    :root {
        --zsm-content-padding: 20px;
    }

    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .article-columns,
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .instruction-layout,
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .zsm-instruction-layout,
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .two-column-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .zsm-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   12. RESPONSYWNOŚĆ — TELEFON
   ========================================================= */

@media (max-width: 767.98px) {
    :root {
        --zsm-content-padding: 16px;
    }

    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .zsm-article-lead,
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .zsm-first-login-v1__lead,
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .article-lead,
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .article-intro,
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .lead,
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .intro {
        margin-bottom: 32px !important;
        font-size: clamp(1.2rem, 5vw, 1.4rem) !important;
        line-height: 1.55;
    }
}

@media (max-width: 575.98px) {
    body:has(#zsm-premium-news-marker)
    .zsm-premium-news-article .zsm-related-grid {
        grid-template-columns: 1fr !important;
    }
}







/* =========================================================
   OSTATECZNE OGRANICZENIE SZEROKOŚCI TEKSTU ARTYKUŁU
   Galeria pozostaje bez zmian
   ========================================================= */

/* Lead */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .zsm-article-lead,

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-lead,

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .article-intro,

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .lead,

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .intro {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 900px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}


/* Akapity artykułu również wewnątrz dodatkowych wrapperów */
body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body p:not(
    .zsm-related-card p,
    .zsm-related-news p,
    .gallery p,
    .image-gallery p,
    .zsm-gallery p
),

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body ul:not(
    .zsm-related-news ul,
    .gallery ul,
    .image-gallery ul,
    .zsm-gallery ul
),

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body ol:not(
    .zsm-related-news ol,
    .gallery ol,
    .image-gallery ol,
    .zsm-gallery ol
),

body:has(#zsm-premium-news-marker)
.zsm-premium-news-article .com-content-article__body blockquote {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 900px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}












/* Nowi uczniowie — żółty badge */
.zsm-premium-news-article
.zsm-article-meta-badges
.zsm-article-badge.zsm-article-badge--category.zsm-article-badge--nowi-uczniowie {
    color: #92400E !important;
    background: #FEF3C7 !important;
    border-color: #FCD34D !important;
}

/* Aktualności — niebieski badge */
.zsm-premium-news-article
.zsm-article-meta-badges
.zsm-article-badge.zsm-article-badge--category.zsm-article-badge--aktualnosci {
    color: #2450FF !important;
    background: #EDF2FF !important;
    border-color: #BFD1FF !important;
}

/* Sukcesy — zielony badge */
.zsm-premium-news-article
.zsm-article-meta-badges
.zsm-article-badge.zsm-article-badge--category.zsm-article-badge--sukcesy {
    color: #176844 !important;
    background: #EDF8F2 !important;
    border-color: #B7E4C7 !important;
}

/* Projekty — fioletowy badge */
.zsm-premium-news-article
.zsm-article-meta-badges
.zsm-article-badge.zsm-article-badge--category.zsm-article-badge--projekty {
    color: #614296 !important;
    background: #F3EFFA !important;
    border-color: #D6C6F3 !important;
}

/* Rekrutacja — czerwony badge */
.zsm-premium-news-article
.zsm-article-meta-badges
.zsm-article-badge.zsm-article-badge--category.zsm-article-badge--rekrutacja {
    color: #9F2439 !important;
    background: #FBF0F2 !important;
    border-color: #F2B9C4 !important;
}

/* Ważne — pomarańczowy badge */
.zsm-premium-news-article
.zsm-article-meta-badges
.zsm-article-badge.zsm-article-badge--category.zsm-article-badge--wazne {
    color: #94510D !important;
    background: #FFF5E8 !important;
    border-color: #F6C98E !important;
}













Rozpoczecie2026

/* =========================================================
   ROZPOCZĘCIE ROKU SZKOLNEGO 2026/2027
   Osobny komponent — nie ingeruje w .zsm-about-*
========================================================= */

.zsm-school-start {
    width: 100%;
    padding: 12px 24px 22px;
    box-sizing: border-box;
}

.zsm-school-start *,
.zsm-school-start *::before,
.zsm-school-start *::after {
    box-sizing: border-box;
}

.zsm-school-start__inner {
    position: relative;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;

    width: 100%;
    max-width: 1180px;
    min-height: 108px;

    margin: 0 auto;
    padding: 20px 28px;

    background:
        linear-gradient(
            105deg,
            rgba(37, 91, 255, 0.035) 0%,
            rgba(255, 255, 255, 0.98) 48%,
            rgba(37, 91, 255, 0.045) 100%
        );

    border: 1px solid #2b5cff;
    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(16, 46, 110, 0.05);

    overflow: hidden;
}


/* =========================================================
   IKONA
========================================================= */

.zsm-school-start__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 62px;
    height: 62px;

    color: #ffffff;
    background: #1554f6;

    border-radius: 50%;

    box-shadow:
        0 10px 24px rgba(21, 84, 246, 0.25);

    font-size: 29px;
    line-height: 1;
}

.zsm-school-start__icon span {
    display: block;
}


/* =========================================================
   TREŚĆ
========================================================= */

.zsm-school-start__content {
    min-width: 0;
}

.zsm-school-start__heading {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 8px;
}

.zsm-school-start__cap {
    flex: 0 0 auto;

    font-size: 20px;
    line-height: 1;
}

.zsm-school-start__title {
    margin: 0;
    padding: 0;

    color: #124be8;

    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;

    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.zsm-school-start__text {
    margin: 0;
    padding: 0;

    color: #101828;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.zsm-school-start__text strong {
    font-weight: 700;
}

.zsm-school-start__text span {
    display: block;
}


/* =========================================================
   CTA
========================================================= */

.zsm-school-start__action {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex: 0 0 auto;
}

.zsm-school-start__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 48px;

    padding: 0 26px;

    color: #ffffff;
    background: #164df4;

    border: 2px solid #164df4;
    border-radius: 999px;

    box-shadow:
        0 10px 24px rgba(22, 77, 244, 0.24);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.zsm-school-start__button:hover {
    color: #ffffff;
    background: #0d3ed5;
    border-color: #0d3ed5;

    box-shadow:
        0 13px 28px rgba(22, 77, 244, 0.30);

    transform: translateY(-2px);

    text-decoration: none;
}

.zsm-school-start__button:focus-visible {
    outline: 3px solid #111827;
    outline-offset: 4px;
}

.zsm-school-start__arrow {
    display: inline-block;

    font-size: 17px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.zsm-school-start__button:hover .zsm-school-start__arrow {
    transform: translateX(3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .zsm-school-start {
        padding: 12px 20px 22px;
    }

    .zsm-school-start__inner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 18px 20px;

        padding: 20px;
    }

    .zsm-school-start__icon {
        width: 58px;
        height: 58px;

        font-size: 26px;
    }

    .zsm-school-start__action {
        grid-column: 2;

        justify-content: flex-start;
    }

    .zsm-school-start__button {
        min-height: 46px;

        padding: 0 22px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .zsm-school-start {
        padding: 10px 16px 20px;
    }

    .zsm-school-start__inner {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px 14px;

        min-height: 0;

        padding: 18px 16px;

        border-radius: 12px;
    }

    .zsm-school-start__icon {
        align-self: start;

        width: 48px;
        height: 48px;

        font-size: 22px;
    }

    .zsm-school-start__heading {
        align-items: flex-start;

        gap: 7px;

        margin-bottom: 7px;
    }

    .zsm-school-start__cap {
        margin-top: 1px;

        font-size: 17px;
    }

    .zsm-school-start__title {
        font-size: 14px;
        line-height: 1.35;
    }

    .zsm-school-start__text {
        font-size: 14px;
        line-height: 1.55;
    }

    .zsm-school-start__text span {
        margin-top: 2px;
    }

    .zsm-school-start__action {
        grid-column: 1 / -1;

        width: 100%;
        margin-top: 4px;
    }

    .zsm-school-start__button {
        width: 100%;
        min-height: 48px;

        padding: 0 20px;

        font-size: 14px;
    }
}


/* =========================================================
   BARDZO MAŁE EKRANY
========================================================= */

@media (max-width: 380px) {

    .zsm-school-start {
        padding-right: 12px;
        padding-left: 12px;
    }

    .zsm-school-start__inner {
        grid-template-columns: 42px minmax(0, 1fr);

        padding: 16px 14px;
    }

    .zsm-school-start__icon {
        width: 42px;
        height: 42px;

        font-size: 19px;
    }

    .zsm-school-start__title {
        font-size: 13px;
    }

    .zsm-school-start__text {
        font-size: 13.5px;
    }
}


/* =========================================================
   REDUKCJA ANIMACJI — ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .zsm-school-start__button,
    .zsm-school-start__arrow {
        transition: none;
    }

    .zsm-school-start__button:hover {
        transform: none;
    }

    .zsm-school-start__button:hover .zsm-school-start__arrow {
        transform: none;
    }
}


