/*
Theme Name: spskm_v3
Theme URI: 
Author: Dawid Szymczak
Version: 22.10.2026
Description: Samodzielny Publiczny Szpital Kliniczny im. Andrzeja Mielęckiego 
             Śląskiego Uniwersytetu Medycznego 
             w Katowicach
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* kolory 
niebieski - oficjalny z SUM: #1478AA;
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* global
-------------------------------------------------------------- */

p { color: #262625; }

a { color: #1478AA; }

a:hover { 
  /*color: #1478AA;; */
  text-decoration: none;
}

a:focus {
  background: #A86678 ;
  color: #fff;
}

h3 { color: #1478AA; }

blockquote {
  font-size: 14px !important;
  font-style: italic !important;
}

.btn-default {
  color: #fff;
  background-color: #1478AA;
  border: 1px solid #1478AA;
}

.btn-default:hover {
  color: #fff;
  background-color: #7E7162; 
  border: 1px solid #4C493E;
}

.disabled {
  color: #000;
}

/* transitions */

a, a:hover {
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

#wp-calendar th {
  padding: 7px;
}

/* all
/* navbar
-------------------------------------------------------------- 

.navbar-inverse {
  background-color: #BCB09D;
  border-color: #4C493E;
}

.navbar-inverse .navbar-nav>li>a {
  color: #000;
}

.navbar-inverse .navbar-nav>li>a:hover {
  background-color: #DA251E;
  color: #7E7162;
}

.page_item {
 background-color: #DA251E;
  color: #7E7162; 
}

/* menu zgodne z WCAG 2.0
/*
-------------------------------------------------------------- */

.nav-invis {
  list-style: none;
}

.nav-invis a {
    display: block;
    font-size: 1.27em;
    margin-left: -9000em; 
    padding: 5px 10px;
/*  position: absolute;  */
    text-align: center;
    text-decoration: none;
    width: 350px;
    z-index: 1;  
}


/* === Navbar
   === html/mod_menu
========================================== */

.navbar, img, p, ul {
  transition: all 1s;
  -moz-transition: all 1s; 
  -webkit-transition: all 1s; 
  -o-transition: all 1s; 
}
.navbar-right {
  margin-right: 1px !important;
}

.navbar-default {
  border: none !important;
}
  .navbar-default .navbar-nav > li > a:hover {
    color: #1478AA !important;
    background-color: #1478AA;
  }
  .navbar-default .navbar-nav > .active > a {
    color: #1478AA !important;
    /*background-color: #fff !important;*/
  }

.dropdown-menu {
  background-color: #1478AA;
}
  .dropdown-menu > li > a {
    color: #fff;
  }
  .dropdown-menu > li > a:hover,
  .dropdown-menu > li > a:focus {
    color: #1478AA !important;
    background-color: #fff !important;
  }
  .dropdown-menu > .active > a,
  .dropdown-menu > .active > a:hover,
  .dropdown-menu > .active > a:focus {
    color: #fff !important;
    background-color: #1478AA !important;
  }

.navbar-default .navbar-nav > li > a {
  color: #1478AA !important;
}
.navbar-default .navbar-nav > li > a:hover {
  color: #fff !important;
  background-color: #1478AA !important;
}

.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:hover, 
.navbar-default .navbar-nav>.open>a:focus {
  color: #fff !important;
  background-color: #1478AA !important;
}

.dropdown-toggle:hover {
  color: #1478AA;
}

  /* Sizes for the bigger menu  */
  .navbar.menu-large {
    background: rgba(255,255,255,1) !important;
    height: 120px !important;
  }
  .navbar.menu-large img {
    width: 300px;
    height: 123px;
    margin-top: -10px;
  }
  .navbar.menu-large img.akredytacja {
    width: 100px;
    height: 100px;
    margin-top: -5px;
  }

  .navbar.menu-large ul.nav {
    margin-top: 35px;
  }

  /* Sizes for the smaller menu */
  .navbar.menu-small{
    background: rgba(255,255,255,0.8) !important;
    height: 50px; 
  }
  .navbar.menu-small img { 
    width: 135px; 
    height: 55px; 
    margin-top: -13px; 
  }
  .navbar.menu-small img.akredytacja { 
    width: 40px; 
    height: 40px; 
    margin-top: -10px; 
  }
  .navbar.menu-small ul.nav {
    margin-top: 0px;
  }

.navbar-toggle {
}

/* front-page.php
/*
-------------------------------------------------------------- */

.section_0 {
  margin-top: 50px;
} 

/* front-page.php
/* slider 
-------------------------------------------------------------- */

.slider {
  margin-top: 10px;
}

/* fix nivo bug */
.nivoSlider img {display: none;}
/*
#slider img.slider_img { display: none }
#slider img#home-slider-1 { display: block }
*/

/* front-page.php
/* section 1 
-------------------------------------------------------------- */

.widget.menu_ikonki { margin: 0 0 30px 0; }

.widget.menu_ikonki a { color: #1478AA; }
.widget.menu_ikonki a:hover { color: #A86678; }
.widget.menu_ikonki span {
  font-size: 69px;
  float: left;
  margin-top: 10px;
  margin-right: 15px;
}



/* front-page.php
/* section 3
-------------------------------------------------------------- */

.section_3 {
	margin-bottom: 30px;
}

.aktualnosci_lista ul {
	list-style: none;
}

.aktualnosci_lista ul > li {
/*	margin-left: -40px;*/
}

.aktualnosci_lista span.post-date {
	font-size: 12px;
}

/* front-page.php
/* section 4
-------------------------------------------------------------- */

.aktualnosci {
	/* margin-bottom: 30px; */
  margin-top: 10px;
}

.aktualnosci h3 {
	/*margin-top: 0;*/
}

/* index.php 
-------------------------------------------------------------- */

.index {
  margin-top: 10px;
}

/* posts 
/* breadcrumbs
-------------------------------------------------------------- */

.custom .breadcrumbs { 
    font-family: Verdana,Arial; 
    font-size: 1.2em; 
    padding: 1.2em 1em 1em 1em; 
    border-bottom: 1px dotted #666; 
    border-top: 1px dotted #666; 
}

.custom .breadcrumbs a { 
    color: #1478AA; 
    border-bottom: 1px dotted #fff; 
}

.custom .breadcrumbs a:hover { 
    border-bottom: 1px dotted #cc0000; 
}

/* pages
-------------------------------------------------------------- */

.dane_kontaktowe {
	font-size: 120%;
	padding: 0 15px;
	margin-top: 10px;
	border-left: 3px solid #1478AA;
	border-top: 1px dotted #1478AA;
	border-bottom: 1px dotted #1478AA;
	border-right: 1px dotted #1478AA;
}


/* pages
/* dyrekcja 
-------------------------------------------------------------- */

.avatar {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* category-1.php
-------------------------------------------------------------- */

.category-1 {
  /*margin-top: 120px;*/
}

/* category.php 
-------------------------------------------------------------- */

.lista_wpisow {
  margin-top: 0;
}

/* archive.php
/* archiwum
-------------------------------------------------------------- */

.archiwa {
  margin-top: 0;
}

.archiwum {
  margin-top: 25px;  
  clear: both;
}

.archiwum:before,
.archiwum:after {
  display: table;
  content: " "
}

.archiwum h3 {
  margin-top: 0;
}

/* .archiwum a > img {
  margin-bottom: 15px;
} */

/* gallery 
-------------------------------------------------------------- */

.gallery-caption {
  font-size: 14px;
  margin-top: 10px;
  color: #BCB09D;
}

figure.effect-sadie figcaption::before {
    position: absolute;
    top: 0;
    left: 15px;
    width: 90%;
    height: 90%;
    background: linear-gradient(to bottom, rgba(72,76,97,0) 0%, rgba(72,76,97,0.8) 75%);
    content: '';
    opacity: 0;
    transform: translate3d(0,50%,0);
}
 
figure.effect-sadie h2 {
    position: absolute;
    top: 50%;
    left: 30px;
    width: 100%;
    color: #484c61;
    transition: transform 0.35s, color 0.35s;
    transform: translate3d(0,-50%,0);
}
 
figure.effect-sadie figcaption::before,
figure.effect-sadie p {
    transition: opacity 0.35s, transform 0.35s;
}
 
figure.effect-sadie p {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2em;
    width: 100%;
    opacity: 0;
    transform: translate3d(0,10px,0);
}
 
figure.effect-sadie:hover h2 {
    color: #fff;
    transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
}
 
figure.effect-sadie:hover figcaption::before ,
figure.effect-sadie:hover p {
    opacity: 1;
    transform: translate3d(0,0,0);
}

/* kontakt 
-------------------------------------------------------------- */

.google-maps {
    position: relative;
    padding-bottom: 350px; 
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    
}

/* Kontakt – adres, lokalizacja i dane kontaktowe */
.kontakt-board { --kontakt-ink: #17354a; --kontakt-muted: #637b8a; --kontakt-blue: #1478aa; --kontakt-line: #dce8ed; margin: 34px auto 48px; color: var(--kontakt-ink); }
.kontakt-board *, .kontakt-board *::before, .kontakt-board *::after { box-sizing: border-box; }
.kontakt-board__intro { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.kontakt-board__eyebrow, .kontakt-card__eyebrow { color: var(--kontakt-blue); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kontakt-board__intro h2 { margin: 9px 0; color: var(--kontakt-ink); font-size: clamp(28px,4vw,40px); font-weight: 600; letter-spacing: -.035em; }
.kontakt-board__intro p { margin: 0; color: var(--kontakt-muted); font-size: 16px; }
.kontakt-board .google-maps { height: 350px; margin-bottom: 22px; padding: 0; border-radius: 12px; }
.kontakt-board .google-maps iframe { height: 100%; border: 0; }
.kontakt-board__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.kontakt-card { min-width: 0; padding: 25px 23px; border: 1px solid var(--kontakt-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(23,53,74,.055); }
.kontakt-card h3 { margin: 9px 0 8px; color: var(--kontakt-ink); font-size: 20px; font-weight: 600; line-height: 1.35; }
.kontakt-card p, .kontakt-card address { color: var(--kontakt-muted); font-size: 15px; line-height: 1.65; }
.kontakt-card address { margin: 18px 0; font-style: normal; }
.kontakt-card__logo { display: block; width: min(100%,220px); height: auto; margin: 18px auto 10px; }
.kontakt-card__motto { margin: 0; text-align: center; font-size: 18px !important; font-weight: 600; }
.kontakt-list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.kontakt-list li { display: flex; flex-direction: column; gap: 3px; color: var(--kontakt-ink); line-height: 1.5; overflow-wrap: anywhere; }
.kontakt-list li > span:first-child { color: var(--kontakt-muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.kontakt-list a { color: var(--kontakt-blue); text-decoration: none; }
.kontakt-list a:hover, .kontakt-list a:focus { text-decoration: underline; }
.kontakt-card__subheading { margin-top: 26px !important; font-size: 17px !important; }
@media (max-width: 900px) { .kontakt-board__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .kontakt-board__grid { grid-template-columns: 1fr; gap: 12px; } .kontakt-card { padding: 22px 18px; } .kontakt-board .google-maps { height: 260px; } }

/* widgets 
-------------------------------------------------------------- */

#calendar_wrap {
  margin-left: 50px;
}

.footer-widget-title {
  margin-left: 50px;
}

.cat-item {
  list-style: none;
  padding: 10px;
}

.cat-item a {
  padding: 8px 12px;
  background-color: #1478AA;
  color: #fff;
  border-radius: 4px;
  line-height: 1.42;
}

.cat-item a:hover {
  background-color: red;
  color: #fff;
}

/* footer
-------------------------------------------------------------- */

.widget.footer {
  background-color: #1478AA;
  padding: 25px 0;
  color: #DEE8FF;
  margin-top: 30px;
}

.widget.footer a { color: #F2EDD0; }
.widget.footer a:hover { color: #F4DEE4; }
.widget.footer p { color: #fff; }
.widget.footer img { margin-right: 15px; }
.podfooter { padding: 15px 0 5px 0; }

.footer h3 { color: #F4DEE4; }
.footer span { font-size: 14px; }
.footer hr { border-top: 1px solid #A86678; }

.footer i {
  font-size: 20px;
  margin-top: 10px;
  width: 25px;
}



/* responsive
-------------------------------------------------------------- */

@media (max-width: 992px) and (min-width: 768px) {
  .navbar-right {
    margin-right: 0px;
  }

  .navbar.menu-large ul.nav {
    font-size: 12px;
    margin-top: 0;
  }

  .nav>li>a {
    padding: 5px !important;
  }
}

@media (max-width: 768px) {
  .navbar.menu-large {
    height: 50px !important;
  }

  .navbar.menu-large ul.nav {
    margin-top: 0;
  }

  .navbar-brand {
    padding: 0;
  }

  .navbar.menu-large img {
    width: 90px;
    height: 50px;
    margin-top: 1px;
  }

  .navbar.menu-large img.akredytacja {
    width: 40px;
    height: 40px;
    margin-top: 5px;
    margin-left: 10px;
  }

  .navbar.menu-small img {
    width: 90px;
    height: 50px;
    margin-top: 1px;
  }

  .navbar.menu-small img.akredytacja {
    width: 40px;
    height: 40px;
    margin-top: 5px;
    margin-left: 10px;
  }

  .section_0 {
    margin-top: -20px;
  } 

  .aktualnosci,
  .index,
  .lista_wpisow,
  .archiwa {
    margin-top: -20px;
  }

  .navbar-collapse {
    background-color: #1478AA;
  }

  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
    color: #fff;
  }

}

.fontResizer {
  list-style: none;
}

/* testy */

.thumbnail:hover .attachment-post-icon {
  -webkit-transform:scale(1.3);
  -o-transform:scale(1.3);
  -moz-transform:scale(1.3);
  transform:scale(1.3);
}

.thumbnail {
  overflow: hidden;
}

.attachment-post-icon {
  -webkit-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  transition: all 0.7s ease;
}

/*
.attachment-post-icon:hover {
  transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}
*/


/* Skróty na stronie głównej szpitala */
.hospital-shortcuts {
  --hs-accent: #005a87;
  --hs-text: #18384d;
  --hs-border: #d7e3ec;
  --hs-icon-bg: #eaf3f9;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 24px 0;
  padding: 0;

  font-family: inherit;
}

.hospital-shortcuts,
.hospital-shortcuts * {
  box-sizing: border-box;
}

/* Cała powierzchnia kafelka jest klikalna */
.hospital-shortcuts a.hospital-shortcuts__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;

  min-width: 0;
  min-height: 156px;
  margin: 0;
  padding: 22px 12px 18px;

  background: linear-gradient(180deg, #fff 0%, #f5f9fc 100%);
  border: 1px solid var(--hs-border);
  border-bottom: 3px solid var(--hs-accent);
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(24, 56, 77, 0.06);

  color: var(--hs-text);
  text-align: center;
  text-decoration: none;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

/* Tło ikony */
.hospital-shortcuts .hospital-shortcuts__icon {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  margin: 0;

  background: var(--hs-icon-bg);
  color: var(--hs-accent);
  border-radius: 12px;
}

/* Zachowujemy font ikon dostarczany przez Bootstrap */
.hospital-shortcuts .hospital-shortcuts__icon .glyphicon {
  position: static;
  float: none;
  margin: 0;
  padding: 0;
  font-size: 25px;
  line-height: 1;
}

.hospital-shortcuts .hospital-shortcuts__flag {
  display: block;
  float: none;
  width: 36px;
  height: 24px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
}

/* Tekst łamie się naturalnie, bez ręcznego <br> */
.hospital-shortcuts .hospital-shortcuts__label {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Efekt najechania tylko na urządzeniach z myszą */
@media (hover: hover) and (pointer: fine) {
  .hospital-shortcuts a.hospital-shortcuts__item:hover {
    transform: translateY(-3px);
    border-color: var(--hs-accent);
    box-shadow: 0 8px 20px rgba(24, 56, 77, 0.13);
    color: var(--hs-accent);
    text-decoration: none;
  }
}

/* Czytelne zaznaczenie podczas nawigacji klawiaturą */
.hospital-shortcuts a.hospital-shortcuts__item:focus-visible {
  outline: 3px solid var(--hs-accent);
  outline-offset: 4px;
}

.hospital-shortcuts a.hospital-shortcuts__item:active {
  background: #eaf3f9;
}

/* Tablet i mniejszy laptop */
@media (min-width: 768px) {
  .hospital-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Duży ekran */
@media (min-width: 1200px) {
  .hospital-shortcuts {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Poszanowanie ustawień ograniczenia animacji */
@media (prefers-reduced-motion: reduce) {
  .hospital-shortcuts a.hospital-shortcuts__item {
    transition: none;
    transform: none;
  }
}

/* Poprawka konfliktu ze stylami .widget.menu_ikonki */

/* Przywrócenie prawidłowego rozmiaru i położenia napisów */
.hospital-shortcuts a.hospital-shortcuts__item
.hospital-shortcuts__label {
  float: none;
  margin: 0;
  padding: 0;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* Usunięcie marginesów narzucanych przez motyw na tło ikony */
.hospital-shortcuts a.hospital-shortcuts__item
.hospital-shortcuts__icon {
  float: none;
  margin: 0;
  padding: 0;
  font-size: 25px;
  line-height: 1;
}

/* Ujednolicenie samych ikon */
.hospital-shortcuts a.hospital-shortcuts__item
.hospital-shortcuts__icon .glyphicon {
  position: static;
  float: none;
  margin: 0;
  padding: 0;
  font-size: 25px;
  line-height: 1;
}

/* Odświeżenie wizualne motywu – zachowuje istniejący układ i skróty. */
:root {
  --spskm-blue: #1478aa;
  --spskm-blue-dark: #0d5278;
  --spskm-ink: #193344;
  --spskm-muted: #5d7180;
  --spskm-border: #dce6ec;
  --spskm-surface: #f4f8fa;
  --spskm-radius: 14px;
  --spskm-shadow: 0 8px 24px rgba(25, 51, 68, .08);
}

html { scroll-behavior: smooth; font-size: 100%; }
body {
  padding-top: 82px;
  color: var(--spskm-ink);
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
p, li { color: inherit; }
a { color: var(--spskm-blue); }
a:hover, a:focus { color: var(--spskm-blue-dark); }
a:focus { background: transparent; }
:focus-visible { outline: 3px solid #e0a72e; outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--spskm-ink); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { color: var(--spskm-blue-dark); }
hr { border-color: var(--spskm-border); margin: 1.5rem 0; }

.navbar.navbar-default {
  min-height: 82px;
  height: auto !important;
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid var(--spskm-border) !important;
  box-shadow: 0 4px 18px rgba(25,51,68,.07);
  backdrop-filter: blur(10px);
}
.navbar.menu-large img { width: 220px; height: auto; max-height: 82px; margin-top: 0; object-fit: contain; }
.navbar.menu-large img.akredytacja { width: 72px; height: 72px; margin: 4px 0 0 10px; object-fit: contain; }
.navbar.menu-large ul.nav { margin-top: 17px; }
.navbar-header h1 { display: flex; align-items: center; margin: 0 !important; }
.navbar-header .navbar-brand { display: flex; align-items: center; height: auto; padding: 5px; }
.navbar.menu-small { min-height: 82px; height: auto !important; }
.navbar.menu-small img { width: 180px; height: 64px; margin: 0; object-fit: contain; }
.navbar.menu-small img.akredytacja { width: 56px; height: 56px; margin: 0 0 0 8px; }
.navbar.menu-small ul.nav { margin-top: 17px; }
.navbar-default .navbar-nav > li > a {
  padding: 10px 9px;
  border-radius: 9px;
  color: var(--spskm-ink) !important;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover {
  color: var(--spskm-blue-dark) !important;
  background: #eaf4f9 !important;
}
.dropdown-menu { border: 1px solid var(--spskm-border); border-radius: 10px; box-shadow: var(--spskm-shadow); }
.dropdown-menu > li > a { padding: 9px 16px; }
.navbar-toggle { margin-top: 15px; border-color: var(--spskm-border) !important; }
.navbar-toggle .icon-bar { background-color: var(--spskm-blue-dark) !important; }

.nav-invis a { position: fixed; top: 8px; left: 8px; z-index: 2000; width: auto; margin: 0; padding: 10px 14px; transform: translateY(-150%); background: #fff; color: var(--spskm-blue-dark); border-radius: 8px; box-shadow: var(--spskm-shadow); }
.nav-invis a:focus { transform: translateY(0); }
.section_0 { display: none; }
.slider { margin-top: 8px; }
.slider .container { overflow: hidden; border-radius: var(--spskm-radius); }
.widget.menu_ikonki { margin: 26px 0 42px; }
.section_3, .aktualnosci, .index, .lista_wpisow, .archiwa { margin-top: 28px; margin-bottom: 40px; }
.section_3 h2, .aktualnosci h2, .archiwa h1 { margin-bottom: 18px; }
.spskm-featured-news { margin: 10px 0 40px; }
.spskm-featured-news__heading { margin: 0 0 20px; }
.spskm-featured-news__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.spskm-featured-news__card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--spskm-border); border-radius: var(--spskm-radius); background: #fff; box-shadow: var(--spskm-shadow); }
.spskm-featured-news__image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--spskm-surface); }
.spskm-featured-news__image img, .spskm-featured-news__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; object-fit: cover; }
.spskm-featured-news__placeholder { color: var(--spskm-muted); font-size: 2rem; }
.spskm-featured-news__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px; }
.spskm-featured-news__date { margin-bottom: 8px; color: var(--spskm-muted); font-size: .9rem; }
.spskm-featured-news__title { margin: 0 0 10px; font-size: 1.45rem; line-height: 1.3; }
.spskm-featured-news__title a { color: var(--spskm-ink); text-decoration: none; }
.spskm-featured-news__title a:hover { color: var(--spskm-blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.spskm-featured-news__excerpt { margin: 0 0 16px; color: var(--spskm-muted); }
.spskm-featured-news__more { margin-top: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.homepage-info > div { margin-bottom: 20px; }
.section_3 .aktualnosci_lista, .section_3 .col-xs-12.col-sm-4 > .widget,
.single_sidebar_right, .archive_sidebar_right { min-width: 0; }
.aktualnosci_lista ul, .lista_wpisow ul { padding-left: 0; }
.aktualnosci_lista li, .lista_wpisow li { padding: 10px 0; border-bottom: 1px solid var(--spskm-border); }
.aktualnosci_lista a, .lista_wpisow a { font-weight: 600; }
.aktualnosci_lista span.post-date { display: block; margin-top: 3px; color: var(--spskm-muted); }
.archiwum { display: flow-root; margin: 0 0 22px; padding: 18px; border: 1px solid var(--spskm-border); border-radius: var(--spskm-radius); background: #f8fbfd; box-shadow: var(--spskm-shadow); }
.archiwum::after { clear: both; }
.archiwum .thumbnail { padding: 0; border: 0; background: transparent; }
.archiwum img, .aktualnosci > .container img { border-radius: 10px; }
.dane_kontaktowe { padding: 18px 20px; border: 1px solid var(--spskm-border); border-left: 4px solid var(--spskm-blue); border-radius: 0 var(--spskm-radius) var(--spskm-radius) 0; background: var(--spskm-surface); }
blockquote { margin: 18px 0; padding: 18px 22px; border-left: 4px solid var(--spskm-blue); border-radius: 0 12px 12px 0; background: var(--spskm-surface); color: var(--spskm-ink); }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
  max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #bdcdd7; border-radius: 8px; background: #fff; color: var(--spskm-ink); box-shadow: none;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { border-color: var(--spskm-blue); outline: 3px solid rgba(20,120,170,.16); outline-offset: 1px; }
button, input[type="submit"], input[type="button"], .btn, .btn-default {
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--spskm-blue); border-radius: 8px; background: var(--spskm-blue); color: #fff; font-weight: 700; transition: background-color .2s ease, transform .2s ease;
}
button:hover, input[type="submit"]:hover, input[type="button"]:hover, .btn:hover, .btn-default:hover { border-color: var(--spskm-blue-dark); background: var(--spskm-blue-dark); color: #fff; }
button:disabled, input[type="submit"]:disabled, input[type="button"]:disabled,
.btn:disabled, .btn.disabled, .btn-default:disabled, .btn-default.disabled,
button[aria-disabled="true"], .btn[aria-disabled="true"] {
  border-color: #94a3ad;
  background: #e2e8ec;
  color: #263746;
  opacity: 1;
  cursor: not-allowed;
}
button:disabled:hover, input[type="submit"]:disabled:hover, input[type="button"]:disabled:hover,
.btn:disabled:hover, .btn.disabled:hover, .btn-default:disabled:hover, .btn-default.disabled:hover,
button[aria-disabled="true"]:hover, .btn[aria-disabled="true"]:hover {
  border-color: #94a3ad;
  background: #e2e8ec;
  color: #263746;
}
.cat-item a { display: inline-block; background: var(--spskm-blue); border-radius: 7px; }
.cat-item a:hover { background: var(--spskm-blue-dark); }
.widget.footer { margin-top: 44px; padding: 40px 0 28px; background: #123e58; color: #eaf4f8; }
.widget.footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.widget.footer a:hover { color: #bde5f6; }
.footer-widget-title { margin-left: 0; color: #fff; }
.widget.footer img { max-width: 100%; height: auto; }
.container > .row > .col-sm-12 > p.text-right { color: var(--spskm-muted); }

@media (max-width: 767px) {
  body { padding-top: 58px; }
  .navbar.navbar-default { min-height: 52px; }
  .navbar.menu-large img { width: 100px; height: 50px; margin-top: 0; }
  .navbar.menu-large img.akredytacja { width: 38px; height: 38px; margin: 6px 0 0 8px; }
  .navbar.menu-small { min-height: 52px; }
  .navbar.menu-small img { width: 100px; height: 50px; margin: 0; }
  .navbar.menu-small img.akredytacja { width: 38px; height: 38px; margin: 6px 0 0 8px; }
  .navbar-header h1 { max-width: calc(100vw - 105px); }
  .navbar-collapse { max-height: calc(100vh - 58px); overflow-x: hidden; overflow-y: auto; border-top: 1px solid var(--spskm-border); background: #fff; }
  .navbar-default .navbar-nav > li > a,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a {
    display: block;
    min-height: 48px;
    padding: 14px 16px;
    color: #193344 !important;
    background: #fff !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
  }
  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > li > a:focus,
  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .open > a,
  .navbar-default .navbar-nav > .open > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a {
    color: #0d5278 !important;
    background: #eaf4f9 !important;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a { padding-left: 32px; font-weight: 500; }
  .navbar-default .navbar-nav > li + li { border-top: 1px solid #e5edf1; }
  .navbar.menu-large ul.nav { margin: 8px -15px; }
  .navbar.menu-small ul.nav { margin: 8px -15px; }
  .section_0 { margin-top: 12px; }
  .slider { margin-top: 12px; }
  .widget.menu_ikonki { margin: 20px 0 30px; }
  .section_3, .aktualnosci, .index, .lista_wpisow, .archiwa { margin-top: 22px; margin-bottom: 28px; }
  .section_3 .col-xs-12 { margin-bottom: 24px; }
  .archiwum { padding: 14px; }
  .footer-widget-title { margin-top: 20px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .navbar.menu-large img { width: 160px; }
  .navbar.menu-large img.akredytacja { width: 52px; height: 52px; margin-left: 5px; }
  .navbar.menu-small img { width: 150px; }
  .navbar.menu-small img.akredytacja { width: 48px; height: 48px; margin-left: 4px; }
  .navbar-default .navbar-nav > li > a { padding: 8px 5px; font-size: 14px; }
}
@media (min-width: 768px) {
  .spskm-featured-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .spskm-featured-news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Panel ułatwień dostępu */
.a11y-tools { position: fixed; right: 24px; bottom: 24px; z-index: 1200; font-family: inherit; }
.a11y-tools [hidden] { display: none !important; }
.a11y-tools__toggle { display: inline-flex; min-height: 52px; align-items: center; gap: 10px; padding: 10px 17px; border: 1px solid #0d5278; border-radius: 999px; background: #0d5278; color: #fff; box-shadow: 0 8px 24px rgba(15, 51, 72, .24); font-size: 15px; font-weight: 700; }
.a11y-tools__toggle:hover, .a11y-tools__toggle:focus-visible { background: #083d5b; color: #fff; }
.a11y-tools__toggle svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.a11y-tools__panel { position: absolute; right: 0; bottom: calc(100% + 14px); width: min(370px, calc(100vw - 32px)); max-height: min(78vh, 680px); overflow-y: auto; padding: 22px; border: 1px solid #d5e1e8; border-radius: 20px; background: #fff; color: #193344; box-shadow: 0 18px 48px rgba(19, 48, 66, .2); }
.a11y-tools__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.a11y-tools__header h2 { margin: 0; color: #193344; font-size: 24px; line-height: 1.25; }
.a11y-tools__eyebrow { margin: 0 0 5px; color: #557184; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.a11y-tools .a11y-tools__close { display: grid; width: 40px; min-width: 40px; min-height: 40px; place-items: center; padding: 0; border: 1px solid #d5e1e8; border-radius: 50%; background: #f4f8fa; color: #193344; font-size: 24px; line-height: 1; }
.a11y-tools__font { padding: 15px; border: 1px solid #dce6ec; border-radius: 14px; background: #f4f8fa; }
.a11y-tools__font > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; color: #193344; }
.a11y-tools__scale { color: #557184; font-size: 14px; font-weight: 700; }
.a11y-tools__font-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a11y-tools .a11y-tools__font-controls button { min-height: 44px; padding: 8px; border: 1px solid #c7d7e0; border-radius: 9px; background: #fff; color: #0d5278; font-size: 17px; font-weight: 700; }
.a11y-tools .a11y-tools__font-controls button:hover { background: #eaf4f9; }
.a11y-tools__options { display: grid; gap: 8px; margin-top: 12px; }
.a11y-tools .a11y-tools__option { display: grid; min-height: 64px; grid-template-columns: 38px minmax(0, 1fr) 22px; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #dce6ec; border-radius: 12px; background: #fff; color: #193344; text-align: left; }
.a11y-tools .a11y-tools__option:hover { border-color: #9bb8c9; background: #f4f8fa; color: #193344; }
.a11y-tools__option-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #eaf4f9; color: #0d5278; font-size: 21px; font-weight: 700; }
.a11y-tools__underline-icon { text-decoration: underline; text-underline-offset: 3px; }
.a11y-tools__option strong, .a11y-tools__option small { display: block; }
.a11y-tools__option strong { color: inherit; font-size: 14px; line-height: 1.35; }
.a11y-tools__option small { margin-top: 3px; color: #557184; font-size: 12px; font-weight: 400; line-height: 1.35; }
.a11y-tools__check { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid #c7d7e0; border-radius: 50%; color: transparent; font-size: 12px; }
.a11y-tools .a11y-tools__option[aria-pressed="true"] { border-color: #1478aa; background: #edf6fa; }
.a11y-tools .a11y-tools__option[aria-pressed="true"] .a11y-tools__check { border-color: #1478aa; background: #1478aa; color: #fff; }
.a11y-tools__skip { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #eaf4f9; color: #0d5278; font-weight: 700; text-decoration: none; }
.a11y-tools__skip:hover { background: #dceef6; color: #083d5b; }
.a11y-tools__statement { display: block; margin-top: 12px; color: #0d5278; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.a11y-tools__reset { display: block; width: 100%; min-height: 44px; margin-top: 8px; border: 0 !important; background: transparent !important; color: #0d5278 !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.a11y-tools__reset:hover { background: #f4f8fa !important; color: #083d5b !important; }
body.a11y-text-scaled [data-a11y-text-size] { font-size: var(--a11y-scaled-font-size) !important; }
body.a11y-links-underlined a { text-decoration: underline !important; text-underline-offset: 3px; }
body.a11y-reading-spacing p, body.a11y-reading-spacing li, body.a11y-reading-spacing label, body.a11y-reading-spacing .post-excerpt, body.a11y-reading-spacing blockquote { line-height: 1.9 !important; letter-spacing: .02em; word-spacing: .12em; }
body.a11y-reduce-motion, body.a11y-reduce-motion * { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
@media (max-width: 767px) {
  .a11y-tools { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .a11y-tools__panel { right: 0; width: min(370px, calc(100vw - 28px)); max-height: min(75vh, 620px); padding: 18px; border-radius: 17px; }
  .a11y-tools__toggle { min-height: 48px; padding: 9px 14px; }
}
/* Dyrekcja – sekcja zespołu kierowniczego */
.dyrekcja-board {
  --dyrekcja-ink: #17354a;
  --dyrekcja-muted: #637b8a;
  --dyrekcja-blue: #1478aa;
  --dyrekcja-line: #dce8ed;
  max-width: 1120px;
  margin: 36px auto 56px;
  color: var(--dyrekcja-ink);
  font-family: inherit;
}
.dyrekcja-board *, .dyrekcja-board *::before, .dyrekcja-board *::after { box-sizing: border-box; }
.dyrekcja-board__intro { margin: 0 auto 34px; max-width: 680px; text-align: center; }
.dyrekcja-board__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--dyrekcja-blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dyrekcja-board__eyebrow::before, .dyrekcja-board__eyebrow::after { width: 24px; height: 1px; background: #9bc7d9; content: ''; }
.dyrekcja-board__intro h2 { margin: 0 0 10px; color: var(--dyrekcja-ink); font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -.035em; }
.dyrekcja-board__intro p { margin: 0; color: var(--dyrekcja-muted); font-size: 16px; line-height: 1.6; }
.dyrekcja-board__leader { display: flex; justify-content: center; margin-bottom: 22px; }
.dyrekcja-card { position: relative; display: flex; min-height: 245px; flex-direction: column; align-items: center; justify-content: flex-start; padding: 27px 22px 24px; overflow: hidden; border: 1px solid var(--dyrekcja-line); border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 8px 28px rgba(23,53,74,.055); transition: transform .2s ease, box-shadow .2s ease; }
.dyrekcja-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(23,53,74,.11); }
.dyrekcja-card--leader { width: min(100%, 470px); min-height: 305px; padding-top: 32px; border-color: #c8e1eb; background: linear-gradient(145deg,#f4fafc 0%,#fff 68%); box-shadow: 0 14px 40px rgba(20,120,170,.10); }
.dyrekcja-card__portrait { position: relative; display: grid; width: 104px; height: 104px; flex: 0 0 104px; place-items: center; margin-bottom: 17px; overflow: hidden; border: 4px solid #fff; border-radius: 50%; background: radial-gradient(circle at 70% 25%,rgba(255,255,255,.78) 0 7%,transparent 8%), linear-gradient(145deg,#d8edf4,#a8cfdf); color: #176b91; box-shadow: 0 0 0 1px #c9e1ea, 0 5px 15px rgba(23,53,74,.09); font-size: 27px; font-weight: 600; letter-spacing: .04em; }
.dyrekcja-card__portrait::before { position: absolute; bottom: -22px; width: 78px; height: 54px; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.47); content: ''; }
.dyrekcja-card__portrait span { position: relative; z-index: 1; margin-top: -10px; }
.dyrekcja-card--leader .dyrekcja-card__portrait { width: 124px; height: 124px; flex-basis: 124px; font-size: 31px; }
.dyrekcja-card--leader .dyrekcja-card__portrait::before { width: 90px; height: 62px; }
.dyrekcja-card__role { min-height: 38px; margin: 0 0 7px; color: var(--dyrekcja-muted); font-size: 13px; font-weight: 600; line-height: 1.45; }
.dyrekcja-card--leader .dyrekcja-card__role { min-height: 0; margin-bottom: 5px; color: var(--dyrekcja-blue); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.dyrekcja-card__name { margin: 0; color: var(--dyrekcja-ink); font-size: 18px; font-weight: 600; line-height: 1.35; }
.dyrekcja-card--leader .dyrekcja-card__name { font-size: 24px; }
.dyrekcja-board__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
@media (max-width: 767px) { .dyrekcja-board { margin: 28px auto 40px; } .dyrekcja-board__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .dyrekcja-card { min-height: 230px; padding: 22px 14px 20px; } .dyrekcja-card__portrait { width: 88px; height: 88px; flex-basis: 88px; } .dyrekcja-card--leader { min-height: 280px; } }
@media (max-width: 480px) { .dyrekcja-board__grid { grid-template-columns: 1fr; } .dyrekcja-card { min-height: auto; padding: 22px 18px; } .dyrekcja-card__role { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .dyrekcja-card { transition: none; } .dyrekcja-card:hover { transform: none; } }
