/* ============================================================
   WNoZK Theme – main.css
   Ciemna wersja jubileuszowa + timeline z jasnej wersji
   ============================================================ */

/* ── RESET & TOKENS ── */
:root {
  --navy:       #012aa6;
  --blue:       #0a40cc;
  --blue-mid:   #1a6bdb;
  --blue-accent:#5bbcff;
  --blue-light: #ccdeff;
  --blue-pale:  #e8f0ff;
  --text:       #0e1c35;
  --muted:      #5b6f8a;
  --border:     #c0d0f0;
  --white:      #ffffff;
  --bg:         #f0f4ff;
  --radius:     12px;
  --shadow:     0 4px 20px rgba(14,45,90,0.12);
  --shadow-lg:  0 8px 36px rgba(14,45,90,0.18);
  --max-w:      1100px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ── SKIP LINK ── */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--blue); color: #fff; padding: .5rem 1rem; border-radius: 4px; }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.site-header__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: 0 2rem; height: 68px;
}

/* Logo */
.site-header__logo { flex-shrink: 0; }
.site-header__logo a,
.site-header__logo .custom-logo-link { display: flex; align-items: center; }
.site-header__logo img,
.site-header__logo .custom-logo { height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.site-name-fallback {
  font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem;
  color: #fff; text-decoration: none; letter-spacing: -.01em;
}

/* Tagline */
.site-header__tagline {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #7fb3d8;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255,255,255,.15);
}
.tagline-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

/* Badge 25 lat */
.site-header__badge {
  margin-left: auto;
  font-family: var(--font-serif); font-weight: 700;
  line-height: 1; color: #fff; font-size: 1.5rem;
  display: flex; align-items: flex-end; gap: 0;
}
.badge-slash { color: var(--blue-accent); }
.badge-lat { font-size: 0.75rem; font-weight: 400; color: #7fb3d8; margin-left: 2px; margin-bottom: 2px; }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .5rem; margin-left: .5rem;
}
.hamburger-bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 1px; transition: transform .3s, opacity .3s; }
.nav-toggle.is-open .hamburger-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .hamburger-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav */
.site-nav { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
.site-nav__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links li a {
  display: block; padding: 0 1rem; height: 48px; line-height: 48px;
  color: #90bde0; font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links li a:hover,
.nav-links li.current-menu-item > a,
.nav-links li.current-page-ancestor > a { color: #fff; border-bottom-color: var(--blue-accent); }

/* ══════════════════════════════════════════
   PAGE HERO BAR (podstrony)
══════════════════════════════════════════ */
.page-hero-bar {
  background: linear-gradient(135deg, var(--navy) 0%, #133d78 60%, var(--blue) 100%);
  padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
}
.page-hero-bar::after {
  content: attr(data-bg-text);
  position: absolute; right: 3%; bottom: -10px;
  font-family: var(--font-serif); font-size: 14rem;
  font-weight: 700; color: rgba(255,255,255,.03);
  line-height: 1; pointer-events: none; user-select: none;
}
.page-hero-bar__tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue-accent); margin-bottom: .5rem;
}
.page-hero-bar__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem); color: #fff;
  line-height: 1.15; margin-bottom: .75rem;
}
.page-hero-bar__lead { color: #90bde0; font-size: 1.05rem; max-width: 600px; }
.page-hero-bar--news { background: linear-gradient(135deg, #0a2347 0%, var(--navy) 100%); }

/* ══════════════════════════════════════════
   HOMEPAGE HERO  (front-page)
══════════════════════════════════════════ */
.wnozk-hero {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--navy) 0%, #133d78 50%, var(--blue) 100%);
  display: flex; align-items: center;
  padding: 80px 0 60px; position: relative; overflow: hidden;
}
.wnozk-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(77,166,232,.1) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.wnozk-hero::after {
  content: '25';
  position: absolute; right: 5%; bottom: 3%;
  font-family: var(--font-serif); font-size: clamp(140px, 20vw, 280px);
  font-weight: 700; color: rgba(255,255,255,.03);
  line-height: 1; user-select: none; pointer-events: none;
}
.wnozk-hero__inner { position: relative; z-index: 1; }

/* Hero block content classes */
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px; padding: 6px 18px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #90caf9;
  margin-bottom: 2rem; width: fit-content;
}
.hero-main-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.8rem, 6vw, 5.5rem) !important;
  font-weight: 700 !important; color: #fff !important;
  line-height: 1.1 !important; margin-bottom: 1.5rem !important;
}
.hero-main-title em { color: var(--blue-accent); font-style: normal; }
.hero-sub { font-size: 1.15rem; color: #90bde0; max-width: 580px; margin-bottom: 2.5rem; font-weight: 300; }
.hero-cta { display: flex !important; gap: 1rem; flex-wrap: wrap; margin-bottom: 0 !important; }
.hero-stats {
  display: flex !important; gap: 3rem; flex-wrap: wrap;
  margin-top: 4rem !important; padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-serif) !important;
  font-size: 2.4rem !important; font-weight: 700 !important;
  color: #fff !important; line-height: 1 !important; margin-bottom: .3rem !important;
}
.hero-stat-label { font-size: .78rem; color: #6da5cc; text-transform: uppercase; letter-spacing: .05em; }

/* ── BUTTONS ── */
.btn, .wp-block-button__link {
  display: inline-block; padding: 13px 30px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; cursor: pointer; border: none;
  transition: transform .15s, opacity .15s, box-shadow .15s;
  text-decoration: none;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); opacity: .9; }
.btn-primary .wp-block-button__link,
.btn-primary { background: var(--blue-accent); color: var(--navy) !important; }
.btn-outline .wp-block-button__link,
.btn-outline {
  background: transparent; color: #fff !important;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════════
   PAGE CONTENT WRAP
══════════════════════════════════════════ */
.page-content-wrap { padding: 60px 0 80px; }
.page-wrap { min-height: 60vh; }

/* ══════════════════════════════════════════
   SECTION HELPERS (for Gutenberg blocks)
══════════════════════════════════════════ */
.section-tag {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: .75rem !important;
  display: flex; align-items: center; gap: 8px;
}
.section-tag::before { content: ''; width: 28px; height: 2px; background: var(--blue); display: block; flex-shrink: 0; }
.section-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
  font-weight: 700 !important; color: var(--navy) !important;
  line-height: 1.2 !important; margin-bottom: 1.5rem !important;
}
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; line-height: 1.7; margin-bottom: 2rem !important; }

/* ══════════════════════════════════════════
   ── PROGRAM TIMELINE (z jasnej wersji) ──
══════════════════════════════════════════ */
.prog-block {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 1.5rem; background: var(--white);
}
.prog-block-head {
  padding: 1.5rem 2rem;
  border-bottom: 1.5px solid var(--border);
  background: var(--white);
}
.prog-block-date {
  font-weight: 700; font-size: 1.15rem; color: var(--blue);
  margin-bottom: 4px !important;
}
.prog-block-name {
  font-family: var(--font-serif) !important;
  font-size: 1.05rem !important; font-weight: 700 !important;
  color: var(--navy) !important; margin-bottom: 4px !important;
}
.prog-block-loc { font-style: italic; font-size: .85rem; color: var(--muted); margin: 0 !important; }

/* Timeline body */
.prog-timeline { padding: 0 2rem; position: relative; }
.prog-timeline::before {
  content: '';
  position: absolute;
  left: calc(2rem + 96px + 12px);
  top: 0; bottom: 0;
  width: 1.5px;
  background: var(--blue-light);
}
.prog-row {
  display: flex !important; align-items: flex-start; gap: 0;
  padding: 0; border-bottom: 1px solid var(--blue-pale);
  position: relative;
}
.prog-row:last-child { border-bottom: none; }
.prog-time {
  min-width: 96px; padding: 1rem 0 !important;
  font-weight: 700; color: var(--text); font-size: .88rem;
  flex-shrink: 0; margin: 0 !important;
}
.prog-dot-html { padding: 1.05rem 0 !important; width: 26px; flex-shrink: 0; display: flex; justify-content: center; position: relative; z-index: 1; margin: 0 !important; }
.prog-dot {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue);
  flex-shrink: 0; position: relative; top: 2px;
}
.prog-dot--fill { background: var(--navy); border-color: var(--navy); }
.prog-text { padding: .9rem 0 .9rem 16px !important; font-size: .9rem; line-height: 1.55; color: var(--text); margin: 0 !important; }
.prog-text strong { color: var(--navy); }

/* ══════════════════════════════════════════
   STATISTICS
══════════════════════════════════════════ */
.big-stat {
  background: var(--navy); border-radius: var(--radius);
  padding: 1.5rem 2rem; display: flex !important;
  align-items: center; gap: 2rem; margin-bottom: 1.5rem !important;
}
.big-stat-num {
  font-family: var(--font-serif) !important;
  font-size: 3.2rem !important; font-weight: 700 !important;
  color: var(--blue-accent) !important; line-height: 1 !important;
  white-space: nowrap; margin: 0 !important;
}
.big-stat-text { font-size: .95rem; color: #90bde0; }
.big-stat-text strong { color: #fff; display: block; font-size: 1rem; margin-bottom: 2px; }

.stat-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px; margin-top: 1.5rem !important; margin-bottom: 2rem !important;
}
.stat-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stat-icon { font-size: 2rem; margin-bottom: .6rem !important; }
.stat-num {
  font-family: var(--font-serif) !important;
  font-size: 2.1rem !important; font-weight: 700 !important;
  color: var(--navy) !important; line-height: 1 !important; margin-bottom: 6px !important;
}
.stat-label { font-size: .78rem; color: var(--muted); }

.stat-section-wrap { margin: 2.5rem 0 1rem; }
.stat-section-title {
  font-weight: 700; color: var(--navy); font-size: 1rem;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 2px solid var(--blue-light); padding-bottom: .5rem;
  margin-bottom: 1rem !important;
}
.stat-section-num {
  background: var(--navy); color: #fff;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}

/* ══════════════════════════════════════════
   CONTACT CARDS
══════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 2rem;
}
.contact-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.cc-header {
  display: flex !important; align-items: center; gap: 16px;
  margin-bottom: 1.5rem !important; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cc-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.cc-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin: 0 !important; }
.cc-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 2px 0 0 !important; }
.cc-row {
  display: flex !important; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.cc-row:last-child { border-bottom: none; }
.cc-row-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-light); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem;
}
.cc-row-label { font-size: .72rem; color: var(--muted); margin: 0 !important; }
.cc-row-val { font-size: .9rem; color: var(--navy); font-weight: 600; margin: 2px 0 0 !important; }
.cc-row-val a { color: var(--blue); }
.address-card {
  background: var(--navy); border-radius: var(--radius);
  padding: 2rem; color: #fff; margin-bottom: 1.5rem;
  display: flex !important; gap: 1.5rem; align-items: flex-start;
}
.address-icon { font-size: 2rem; color: var(--blue-accent); flex-shrink: 0; }
.address-card h3 { font-family: var(--font-serif) !important; font-size: 1.4rem !important; color: #fff !important; margin-bottom: .5rem !important; }
.address-card p { color: #90bde0; font-size: .95rem; margin: 0 !important; }
.address-line { color: #c9e2f5 !important; margin-top: 8px !important; font-weight: 600; font-size: 1rem; }
.phones-row {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 2rem;
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
  margin-top: 1.5rem; text-align: center;
}
.phone-item .pi-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.phone-item .pi-num { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-top: 2px; }
.phones-divider { width: 1px; background: var(--border); }

/* ══════════════════════════════════════════
   NEWS / AKTUALNOŚCI
══════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-top: 2rem;
}
.news-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-img, .news-card__img-link { display: block; }
.news-img {
  height: 180px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--blue-accent);
  object-fit: cover; width: 100%;
}
.news-img--placeholder { height: 180px; }
.news-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; gap: 10px; align-items: center; margin-bottom: .75rem; flex-wrap: wrap; }
.news-cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-light); border-radius: 50px;
  padding: 3px 12px; text-decoration: none;
  transition: background .2s;
}
.news-cat:hover { background: var(--blue-mid); color: #fff; }
.news-date { font-size: .78rem; color: var(--muted); }
.news-card__title, .news-card h2 { font-size: 1rem !important; font-weight: 700 !important; color: var(--navy) !important; line-height: 1.4 !important; margin-bottom: .5rem !important; }
.news-card__title a, .news-card h2 a { color: var(--navy); text-decoration: none; }
.news-card__title a:hover { color: var(--blue); }
.news-card__excerpt, .news-card p { font-size: .88rem !important; color: var(--muted) !important; line-height: 1.6 !important; flex: 1; margin-bottom: 0 !important; }
.news-link { display: inline-block; margin-top: 1rem; color: var(--blue); font-weight: 600; font-size: .85rem; }
.news-link:hover { text-decoration: underline; }

/* Archive filter */
.archive-filter { padding: .75rem 0; background: var(--white); border-bottom: 1px solid var(--border); }
.archive-filter .section-inner { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tag {
  display: inline-block; padding: 5px 16px; border-radius: 50px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  border: 1.5px solid var(--border); color: var(--muted);
  transition: all .2s; background: var(--white);
}
.filter-tag:hover, .filter-tag--active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* Single news */
.news-single-cover { padding: 2rem 0 0; }
.news-single-cover__img { border-radius: var(--radius); width: 100%; max-height: 480px; object-fit: cover; }
.news-single-layout { max-width: 820px; }
.news-single-article .entry-content { font-size: 1.05rem; line-height: 1.8; }
.news-single-article .entry-content p { margin-bottom: 1.25rem; }
.news-single-article .entry-content h2, .news-single-article .entry-content h3 { font-family: var(--font-serif); color: var(--navy); margin: 2rem 0 1rem; }

/* Post navigation */
.post-navigation { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.post-nav-link { display: flex; flex-direction: column; flex: 1; min-width: 200px; padding: 1rem 1.25rem; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); transition: box-shadow .2s; }
.post-nav-link:hover { box-shadow: var(--shadow); }
.post-nav-link__label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.post-nav-link__title { font-size: .9rem; font-weight: 700; color: var(--navy); }
.post-nav-link--next { text-align: right; }
.back-link-wrap { margin-top: 2rem; }

/* Pagination */
.wnozk-pagination { margin-top: 3rem; text-align: center; }
.wnozk-pagination ul { list-style: none; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.wnozk-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border); font-weight: 600;
  font-size: .88rem; color: var(--navy); background: var(--white);
  transition: all .2s;
}
.wnozk-pagination .page-numbers:hover, .wnozk-pagination .page-numbers.current {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.wnozk-pagination .prev, .wnozk-pagination .next { width: auto; padding: 0 1rem; border-radius: 50px; }

/* ══════════════════════════════════════════
   HISTORY – TIMELINE STRIP
══════════════════════════════════════════ */
.timeline-strip {
  display: flex; overflow: hidden;
  border-radius: var(--radius); border: 1.5px solid var(--border);
  margin-top: 2rem;
}
.timeline-year {
  flex: 1; padding: 1.25rem .75rem; text-align: center;
  border-right: 1px solid var(--border);
}
.timeline-year:last-child { border-right: none; }
.timeline-year:nth-child(odd) { background: var(--white); }
.timeline-year:nth-child(even) { background: var(--blue-pale); }
.tl-year { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.tl-event { font-size: .75rem; color: var(--muted); margin-top: 4px !important; line-height: 1.4; }

/* ══════════════════════════════════════════
   HISTORY DOCS
══════════════════════════════════════════ */
.history-doc {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  display: flex !important; gap: 2rem; align-items: flex-start;
  margin-top: 2rem;
}
.history-doc-icon {
  width: 56px; height: 72px; background: var(--blue-light);
  border-radius: 4px; display: flex; align-items: center;
  justify-content: center; font-size: 2rem;
  flex-shrink: 0; border: 1.5px solid var(--border);
}
.doc-badge {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 8px; text-transform: uppercase;
}
.history-doc h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px !important; }
.history-doc p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0 !important; }

/* Photo placeholders */
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 2rem; }
.photo-grid .photo-wide { grid-column: span 3; }
.photo-placeholder {
  background: var(--navy); border-radius: 8px;
  aspect-ratio: 4/3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: var(--blue-accent); font-size: .82rem; text-align: center; padding: 1rem;
}
.photo-placeholder.photo-bw { background: #2a3040; filter: grayscale(1); }

/* ══════════════════════════════════════════
   EVENT (WNoZKobietom)
══════════════════════════════════════════ */
.event-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius); padding: 3rem;
  display: flex !important; gap: 2rem; align-items: flex-start;
  flex-wrap: wrap; margin-top: 2.5rem; color: #fff;
}
.event-date-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px; padding: 8px 20px;
  font-size: 1rem; font-weight: 600; color: #90caf9; margin-bottom: 1.25rem !important;
}
.event-hero h3 { font-family: var(--font-serif) !important; font-size: 2.2rem !important; color: #fff !important; margin-bottom: .75rem !important; }
.event-hero p { color: #90bde0; font-size: .95rem; max-width: 520px; margin-bottom: 0 !important; }
.event-features { display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem !important; }
.feature-tag {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: 5px 14px; font-size: .8rem; color: #c9e2f5;
}
.event-time-box {
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 1.5rem; min-width: 180px; text-align: center; flex-shrink: 0;
}
.event-time-box .etb-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #7fb3d8; margin-bottom: 6px; }
.event-time-box .etb-time { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: #fff; }
.event-time-box .etb-sub { font-size: .8rem; color: #7fb3d8; margin-top: 4px; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin-top: 2rem; }
.info-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.info-card .ic-icon { font-size: 1.8rem; margin-bottom: .75rem !important; }
.info-card h4 { font-size: 1rem !important; font-weight: 700 !important; color: var(--navy) !important; margin-bottom: 6px !important; }
.info-card p { font-size: .88rem !important; color: var(--muted) !important; margin: 0 !important; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--navy); color: #90bde0;
  padding: 3rem 0 2rem; margin-top: auto;
}
.site-footer__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: flex; gap: 2rem; justify-content: space-between;
  flex-wrap: wrap; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}
.footer-brand .custom-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .8; margin-bottom: .75rem; }
.footer-brand .site-name-fallback { color: #fff; font-size: 1rem; }
.footer-brand__title { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; margin-top: .5rem; }
.footer-brand__sub { font-size: .82rem; color: #6da5cc; margin-top: 4px; line-height: 1.5; }
.footer-nav__title { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: #6da5cc; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .78rem; }
.badge-jubilee {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px; padding: 5px 16px; font-size: .75rem; color: #8ab8d8;
}

/* ══════════════════════════════════════════
   GUTENBERG BLOCKS CLEANUP
══════════════════════════════════════════ */
.wp-block-group { margin-top: 0; margin-bottom: 0; }
.entry-content > * { margin-bottom: 1.5rem; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p { margin-bottom: 1rem; }
.entry-content h2 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy); margin: 2rem 0 1rem; }
.entry-content h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy); margin: 1.5rem 0 .75rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: .35rem; }
.wp-block-image { margin: 2rem 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-separator { border: none; border-top: 2px solid var(--border); margin: 2.5rem 0; }
figure.wp-block-image.alignfull, .wp-block-cover.alignfull { margin-left: calc(-2rem); margin-right: calc(-2rem); }

/* No results */
.no-results { text-align: center; padding: 4rem 0; color: var(--muted); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .site-header__tagline { display: none; }
  .nav-toggle { display: flex; flex-direction: column; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-links { flex-direction: column; }
  .nav-links li a { height: 44px; line-height: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .contact-grid { grid-template-columns: 1fr; }
  .event-hero { flex-direction: column; }
  .photo-grid .photo-wide { grid-column: auto; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section-inner { padding: 0 1rem; }
  .hero-stats { gap: 1.5rem; }
  .news-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .timeline-strip { flex-wrap: wrap; }
  .timeline-year { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .prog-timeline::before { display: none; }
  .prog-row { flex-wrap: wrap; }
  .prog-time { min-width: auto; padding-right: .5rem; }
  .photo-grid { grid-template-columns: 1fr; }
  .page-hero-bar { padding: 2.5rem 0 2rem; }
  .footer-top { flex-direction: column; }
  .phones-row { flex-direction: column; align-items: center; }
  .phones-divider { width: 60px; height: 1px; }
}

@media (max-width: 400px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   HEADER – UPDATES
   Nav wyrównana do prawej, brak badge 25lat
══════════════════════════════════════════ */
.site-header__inner {
  /* Logo po lewej, tagline, hamburger po prawej */
}
/* Tagline wypycha nawigację do prawej */
.site-header__tagline {
  margin-right: auto; /* tagline przy logo, nav leci na prawo */
}
/* Nav sam w sobie wyrównany do prawej */
.site-nav__inner {
  display: flex;
  justify-content: flex-end;
}
.nav-links {
  margin-left: auto;
}

/* ══════════════════════════════════════════
   HERO – BACKGROUND IMAGE SUPPORT
══════════════════════════════════════════ */
.wnozk-hero--image {
  background-color: var(--navy); /* fallback */
}
.wnozk-hero--image::before { display: none; } /* remove radial glow when image active */
.wnozk-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(14,45,90,0.88) 0%,
    rgba(19,61,120,0.75) 50%,
    rgba(26,95,168,0.65) 100%);
  z-index: 0;
}
.wnozk-hero--image .wnozk-hero__inner {
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════════
   DEAN SECTION – List Dziekana
══════════════════════════════════════════ */
.dean-section {
  background: var(--white);
  padding: 64px 0 72px;
  border-top: 4px solid var(--blue-light);
}
.dean-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.dean-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}
.dean-photo--placeholder {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dean-photo__inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.dean-photo__inner span { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }

/* Letter content */
.dean-letter { font-size: 0.95rem; line-height: 1.8; color: var(--text); }
.dean-letter p { margin-bottom: 1.1rem; }
.dean-greeting { font-size: 1rem; }
.dean-signature {
  margin-top: 2rem !important;
  font-style: italic;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  line-height: 1.6;
}
.dean-edit-hint {
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .82rem !important;
  color: var(--muted) !important;
  margin-top: 2rem !important;
}
.dean-edit-hint code {
  background: rgba(26,95,168,.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .8rem;
}

/* ══════════════════════════════════════════
   PATRONS SECTION – Patroni Honorowi
══════════════════════════════════════════ */
.patrons-section {
  background: var(--bg);
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}
.patrons-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.patrons-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.patrons-logos:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.patrons-logos--secondary { gap: 1.25rem 2rem; }

/* Patron logo placeholders (do zastąpienia obrazkami) */
.patron-logo-placeholder {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .6rem 1rem;
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  min-width: 120px;
}

/* Gdy edytor wstawi obrazki logo – stylowanie */

/* ══════════════════════════════════════════
   PATRONI – CZYSTE REGUŁY (jedna wersja)
══════════════════════════════════════════ */
.patrons-section {
  background: var(--white);
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}
.patrons-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.patrons-label {
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1.25rem;
}
/* Obrazek/galeria – width 100%, height auto. Koniec. */
.patrons-content,
.patrons-content * {
  max-width: 100%;
  box-sizing: border-box;
}
.patrons-content img {
  width: 100%;
  height: auto;
  display: block;
}
.patrons-edit-hint {
  margin-top: 1.5rem;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .82rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════
   HEADER – top bar + nav
══════════════════════════════════════════ */
.site-header__top { background: var(--navy); }
.site-header__top-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: 0 2rem; height: 80px;
}
.site-header__logo { flex-shrink: 0; }
.site-header__logo a,
.site-header__logo .custom-logo-link { display: flex; align-items: center; }
.site-header__logo img,
.site-header__logo .custom-logo {
  height: 68px !important;
  width: auto !important;
  max-width: 220px;
  object-fit: contain;
}
.site-name-fallback {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 1.4rem; color: #fff; text-decoration: none;
}
.site-header__tagline {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #7fb3d8;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255,255,255,.15);
  white-space: nowrap;
}
.site-header__spacer { flex: 1; }
.site-header__decl-link {
  display: flex; align-items: center; gap: 7px;
  color: #7fb3d8; text-decoration: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  padding: 6px 12px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.15);
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.site-header__decl-link:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .5rem; margin-left: .75rem; flex-shrink: 0;
}
.hamburger-bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 1px; transition: transform .3s, opacity .3s; }
.nav-toggle.is-open .hamburger-bar:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.is-open .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .hamburger-bar:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.site-nav { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
.site-nav__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 2rem;
  display: flex; justify-content: flex-end;
}
.nav-links { margin-left: auto; list-style: none; display: flex; }
.nav-links li a {
  display: block; padding: 0 1rem; height: 48px; line-height: 48px;
  color: #90bde0; font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links li a:hover,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links li.current-menu-ancestor > a,
.nav-links li.current-page-ancestor > a,
.nav-links li.current_page_ancestor > a,
.nav-links li.home-active > a {
  color: #fff !important;
  border-bottom-color: var(--blue-accent) !important;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
/* ══ HERO – nowy design (wzorowany na 50-lat-wnmk.sum.edu.pl) ══ */
.wnozk-hero {
  min-height: 80vh;
  background: linear-gradient(125deg, #0a1f4e 0%, #0d2d6e 30%, #1252b3 65%, #2478d4 100%);
  display: flex; align-items: center;
  padding: 60px 0; position: relative; overflow: hidden;
}
/* Dekoracyjna fala po prawej */
.wnozk-hero::before {
  content: '';
  position: absolute; right: -5%; top: -10%;
  width: 55%; height: 120%;
  background: radial-gradient(ellipse at 60% 50%, rgba(36,120,212,.5) 0%, rgba(18,82,179,.2) 50%, transparent 75%);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  pointer-events: none;
}
.wnozk-hero--image { background-color: #0a1f4e; }
.wnozk-hero--image::before { display: none; }
.wnozk-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(10,31,78,.9) 0%, rgba(18,82,179,.7) 100%);
  z-index: 0;
}
.wnozk-hero__inner {
  max-width: 1300px; margin: 0 auto; padding: 0 3rem;
  position: relative; z-index: 1; width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
}

/* GRAFIKA 25 lat – lewa kolumna */
.hero-graphic {
  display: flex; flex-direction: column;
  align-items: flex-start; line-height: .85;
  user-select: none; flex-shrink: 0;
}
.hero-graphic__25 {
  font-family: var(--font-serif);
  font-size: clamp(120px, 14vw, 200px);
  font-weight: 900; color: #fff;
  line-height: .85; letter-spacing: -.03em;
  text-shadow: 0 4px 40px rgba(0,0,0,.2);
}
.hero-graphic__lat {
  font-family: var(--font-serif);
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,.35);
  margin-top: -.1em; margin-left: .1em;
  letter-spacing: .02em;
}

/* TYTUŁ – środkowa kolumna */
.hero-center { padding: 0 1rem; }
.hero-main-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem) !important;
  font-weight: 400 !important;
  font-style: italic !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  letter-spacing: .01em;
}
.hero-main-title span { display: block; }
.hero-main-title em {
  font-style: italic;
  color: #fff;
}

/* DATY – prawa kolumna */
.hero-dates {
  display: flex; flex-direction: column; gap: 2rem;
  flex-shrink: 0; min-width: 260px;
}
.hero-date-block {}
.hero-date-day {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700; color: #fff;
  margin-bottom: .4rem;
}
.hero-date-info {
  font-size: .95rem; color: rgba(255,255,255,.7);
  font-style: italic; line-height: 1.6;
}

/* ══════════════════════════════════════════
   DEAN SECTION
══════════════════════════════════════════ */
.dean-section {
  background: var(--white);
  padding: 64px 0 72px;
  border-top: 4px solid var(--blue-light);
}
.dean-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.dean-photo { flex-shrink: 0; width: 100%; }
.dean-photo img {
  width: 100%;
  height: auto;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}
.dean-photo--placeholder {
  background: var(--bg); border: 2px dashed var(--border);
  border-radius: var(--radius); aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
}
.dean-photo__inner { text-align: center; color: var(--muted); font-size: .85rem; }
.dean-photo__inner span { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.dean-letter { font-size: .95rem; line-height: 1.8; color: var(--text); }
.dean-letter p { margin-bottom: 1.1rem; }
.dean-edit-hint {
  background: var(--blue-pale); border: 1px solid var(--border);
  border-radius: 8px; padding: .75rem 1rem; font-size: .82rem; color: var(--muted);
  margin-top: 2rem;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: var(--navy); color: #90bde0; padding: 3rem 0 2rem; }
.site-footer__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: flex; gap: 2rem; justify-content: space-between;
  flex-wrap: wrap; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1.5rem;
}
.footer-brand .custom-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .8; margin-bottom: .75rem; }
.footer-brand .site-name-fallback { color: #fff; }
.footer-brand__title { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; margin-top: .5rem; }
.footer-brand__sub { font-size: .82rem; color: #6da5cc; margin-top: 4px; }
.footer-nav__title { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: #6da5cc; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .78rem; }
.badge-jubilee { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 50px; padding: 5px 16px; font-size: .75rem; color: #8ab8d8; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .site-header__tagline { display: none; }
  .site-header__decl-text { display: none; }
  .site-header__decl-link { padding: 6px 8px; }
  .nav-toggle { display: flex; flex-direction: column; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__inner { justify-content: flex-start; }
  .nav-links { flex-direction: column; margin-left: 0; }
  .nav-links li a { height: 44px; line-height: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-header__top-inner { height: 68px; }
  .site-header__logo img,
  .site-header__logo .custom-logo { height: 52px !important; }
  .dean-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .section-inner { padding: 0 1rem; }
  .hero-stats { gap: 1.5rem; }
  .patrons-inner { padding: 0 1rem; }
  .wnozk-hero { padding: 50px 0 40px; }
}

/* ══════════════════════════════════════════
   PROGRAM – timeline styles
══════════════════════════════════════════ */
.program-page { max-width: 900px; }
.program-footer-line {
  text-align: center; font-size: .82rem; color: var(--muted);
  font-weight: 600; letter-spacing: .04em;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem; margin-top: 3rem;
}
/* Bloki programu */
.prog-block {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 1.5rem; background: var(--white);
}
.prog-block-head {
  padding: 1.5rem 2rem; border-bottom: 1.5px solid var(--border);
}
.prog-block-date { font-weight: 700; font-size: 1.15rem; color: var(--blue); margin-bottom: 4px; }
.prog-block-name {
  font-family: var(--font-serif) !important; font-size: 1.05rem !important;
  font-weight: 700 !important; color: var(--navy) !important; margin-bottom: 4px !important;
}
.prog-block-loc { font-style: italic; font-size: .85rem; color: var(--muted); margin: 0 !important; }
.prog-timeline { padding: 0 2rem; position: relative; }
.prog-timeline::before {
  content: '';
  position: absolute;
  left: calc(2rem + 96px + 12px);
  top: 0; bottom: 0;
  width: 1.5px; background: var(--blue-light);
}
.prog-row {
  display: flex; align-items: flex-start;
  border-bottom: 1px solid var(--blue-pale);
  position: relative;
}
.prog-row:last-child { border-bottom: none; }
.prog-time {
  min-width: 96px; padding: 1rem 0 !important;
  font-weight: 700; color: var(--text); font-size: .88rem; flex-shrink: 0; margin: 0 !important;
}
.prog-dot-html {
  padding: 1.05rem 0 !important; width: 26px; flex-shrink: 0;
  display: flex; justify-content: center; position: relative; z-index: 1; margin: 0 !important;
}
.prog-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue); position: relative; top: 2px;
}
.prog-dot--fill { background: var(--navy); border-color: var(--navy); }
.prog-text { padding: .9rem 0 .9rem 16px !important; font-size: .9rem; line-height: 1.55; margin: 0 !important; }
.prog-text strong { color: var(--navy); }

/* ══════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--navy); border-top: 3px solid var(--blue-accent);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.3);
  transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner[hidden] { display: block !important; }
.cookie-banner__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.25rem 2rem; display: flex; flex-direction: column; gap: 1rem;
}
.cookie-banner__content { display: flex; gap: 1rem; align-items: flex-start; }
.cookie-banner__icon { font-size: 1.8rem; flex-shrink: 0; }
.cookie-banner__text strong { color: #fff; font-size: 1rem; display: block; margin-bottom: .3rem; }
.cookie-banner__text p { color: #90bde0; font-size: .88rem; line-height: 1.5; margin: 0; }
.cookie-banner__text a { color: var(--blue-accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cookie-btn {
  padding: .6rem 1.25rem; border-radius: 50px;
  font-size: .82rem; font-weight: 700; cursor: pointer;
  border: 2px solid transparent; transition: all .2s; white-space: nowrap;
}
.cookie-btn--primary  { background: var(--blue-accent); color: var(--navy); border-color: var(--blue-accent); }
.cookie-btn--primary:hover { background: #fff; border-color: #fff; }
.cookie-btn--secondary { background: transparent; color: #90bde0; border-color: rgba(255,255,255,.25); }
.cookie-btn--secondary:hover { border-color: #fff; color: #fff; }
.cookie-btn--ghost { background: transparent; color: #6da5cc; border-color: transparent; }
.cookie-settings { display: none; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; }
.cookie-settings.is-open { display: block; }
.cookie-setting-row { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.cookie-setting-row:last-of-type { border-bottom: none; }
.cookie-setting-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.cookie-setting-label strong { color: #fff; font-size: .85rem; display: block; }
.cookie-setting-label small { color: #6da5cc; font-size: .76rem; }
.cookie-toggle--disabled { background: rgba(255,255,255,.15); color: #90bde0; padding: 4px 10px; border-radius: 50px; font-size: .75rem; }
.cookie-checkbox { width: 18px; height: 18px; accent-color: var(--blue-accent); cursor: pointer; }

/* ══════════════════════════════════════════
   WCAG WIDGET
══════════════════════════════════════════ */
#wnozk-wcag-widget {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 8500;
  font-family: var(--font-sans); font-size: 14px;
}
#wnozk-wcag-toggle {
  display: flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  border: 2px solid var(--blue-accent); border-radius: 50px;
  padding: .6rem 1.1rem; cursor: pointer;
  font-size: .8rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(14,45,90,0.35);
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
#wnozk-wcag-toggle:hover { background: var(--blue); transform: translateY(-2px); }
#wnozk-wcag-panel {
  position: absolute; bottom: calc(100% + 12px); right: 0;
  width: 300px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: wcagSlideIn .2s ease;
}
#wnozk-wcag-panel[hidden] { display: none; }
@keyframes wcagSlideIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.wcag-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.1rem;
  background: var(--navy); color: #fff;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  font-weight: 700; font-size: .88rem;
}
.wcag-close { background: none; border: none; color: #90bde0; cursor: pointer; font-size: 1rem; padding: 2px 6px; border-radius: 4px; transition: color .2s; }
.wcag-close:hover { color: #fff; }
.wcag-group { padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); }
.wcag-group:last-of-type { border-bottom: none; }
.wcag-group-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.wcag-row { display: flex; align-items: center; gap: .5rem; }
.wcag-btn { padding: .45rem .9rem; border-radius: 50px; border: 1.5px solid var(--border); background: var(--bg); color: var(--navy); font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.wcag-btn:hover { border-color: var(--blue); background: var(--blue-pale); }
.wcag-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.wcag-font-display { flex: 1; text-align: center; font-weight: 700; font-size: .9rem; color: var(--navy); }
.wcag-toggles { display: flex; flex-direction: column; gap: .4rem; }
.wcag-toggle-btn { display: flex; align-items: center; gap: .6rem; padding: .5rem .75rem; border-radius: 8px; border: 1.5px solid var(--border); background: var(--bg); color: var(--navy); font-size: .82rem; font-weight: 600; cursor: pointer; text-align: left; transition: all .15s; }
.wcag-toggle-btn:hover { border-color: var(--blue); background: var(--blue-pale); }
.wcag-toggle-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.wcag-toggle-icon { font-size: .9rem; width: 20px; text-align: center; flex-shrink: 0; }
.wcag-reset-btn { display: block; width: calc(100% - 2.2rem); margin: 0 1.1rem .9rem; padding: .55rem; border-radius: 8px; border: 1.5px solid var(--border); background: transparent; color: var(--muted); font-size: .8rem; font-weight: 700; cursor: pointer; transition: all .15s; text-align: center; }
.wcag-reset-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.wcag-contrast-high { filter: contrast(1.6) !important; }
.wcag-contrast-inverted { filter: invert(1) hue-rotate(180deg) !important; }
.wcag-contrast-inverted img, .wcag-contrast-inverted video { filter: invert(1) hue-rotate(180deg); }
.wcag-underlinks a { text-decoration: underline !important; }
.wcag-readfont, .wcag-readfont body, .wcag-readfont p { font-family: Arial, sans-serif !important; }
.wcag-no-animations *, .wcag-no-animations *::before, .wcag-no-animations *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }

/* ══════════════════════════════════════════
   AKTUALNOŚCI / PAGES
══════════════════════════════════════════ */
.page-wrap { min-height: 60vh; }
.page-hero-bar {
  background: linear-gradient(135deg, var(--navy) 0%, #133d78 60%, var(--blue) 100%);
  padding: 3.5rem 0 3rem;
}
.page-hero-bar__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-accent); margin-bottom: .5rem; }
.page-hero-bar__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; line-height: 1.15; margin-bottom: .75rem; }
.page-hero-bar__lead { color: #90bde0; font-size: 1.05rem; max-width: 600px; }
.page-content-wrap { padding: 60px 0 80px; }
.entry-content { font-size: 1rem; line-height: 1.75; }
.entry-content p { margin-bottom: 1.1rem; }
.entry-content h2 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy); margin: 2rem 0 1rem; }
.entry-content h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy); margin: 1.5rem 0 .75rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: .35rem; }

/* Aktualności */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; margin-top: 2rem; }
.news-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-img { height: 180px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--blue-accent); object-fit: cover; width: 100%; }
.news-img--placeholder { height: 180px; }
.news-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; gap: 10px; align-items: center; margin-bottom: .75rem; flex-wrap: wrap; }
.news-cat { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-light); border-radius: 50px; padding: 3px 12px; }
.news-date { font-size: .78rem; color: var(--muted); }
.news-card h2 { font-size: 1rem !important; font-weight: 700 !important; color: var(--navy) !important; line-height: 1.4 !important; margin-bottom: .5rem !important; }
.news-card h2 a { color: var(--navy); }
.news-card h2 a:hover { color: var(--blue); }
.news-link { display: inline-block; margin-top: 1rem; color: var(--blue); font-weight: 600; font-size: .85rem; }
.archive-filter { padding: .75rem 0; background: var(--white); border-bottom: 1px solid var(--border); }
.archive-filter .section-inner { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tag { display: inline-block; padding: 5px 16px; border-radius: 50px; font-size: .78rem; font-weight: 600; border: 1.5px solid var(--border); color: var(--muted); transition: all .2s; background: var(--white); }
.filter-tag:hover, .filter-tag--active { background: var(--navy); color: #fff; border-color: var(--navy); }
.wnozk-pagination { margin-top: 3rem; text-align: center; }
.wnozk-pagination ul { list-style: none; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.wnozk-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); font-weight: 600; font-size: .88rem; color: var(--navy); background: var(--white); transition: all .2s; }
.wnozk-pagination .page-numbers:hover, .wnozk-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.wnozk-pagination .prev, .wnozk-pagination .next { width: auto; padding: 0 1rem; border-radius: 50px; }

/* BTN */
.btn { display: inline-block; padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: .95rem; cursor: pointer; border: none; transition: transform .15s, opacity .15s; text-decoration: none; }
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn-primary { background: var(--blue-accent); color: var(--navy) !important; }
.btn-outline { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: rgba(255,255,255,.7); }

/* Legal */
.legal-page { max-width: 820px; }
.legal-content { font-size: 1rem; line-height: 1.8; }
.legal-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.wcag-info-bar { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--blue-pale); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.wcag-info-bar__icon { font-size: 2rem; flex-shrink: 0; }
.wcag-info-bar strong { display: block; color: var(--navy); margin-bottom: 4px; }
.wcag-info-bar p { font-size: .9rem; color: var(--muted); margin: 0; }
.accessibility-link { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.accessibility-link a { font-size: .82rem; color: var(--blue); font-weight: 600; }
.post-navigation { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.post-nav-link { display: flex; flex-direction: column; flex: 1; min-width: 200px; padding: 1rem 1.25rem; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); transition: box-shadow .2s; }
.post-nav-link:hover { box-shadow: var(--shadow); }
.post-nav-link__label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.post-nav-link__title { font-size: .9rem; font-weight: 700; color: var(--navy); }
.no-results { text-align: center; padding: 4rem 0; color: var(--muted); }
.back-link-wrap { margin-top: 2rem; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--blue); color: #fff; padding: .5rem 1rem; border-radius: 4px; }

@media (max-width: 600px) {
  #wnozk-wcag-widget { bottom: 1rem; right: 1rem; }
  .wcag-toggle-label { display: none; }
  #wnozk-wcag-toggle { padding: .7rem; border-radius: 50%; }
  #wnozk-wcag-panel { width: 280px; right: -1rem; }
  .news-grid { grid-template-columns: 1fr; }
  .cookie-banner__inner { padding: 1rem; }
  .cookie-banner__actions { flex-direction: column; align-items: stretch; }
}

/* ── Aktualności title (bez hero baru) ── */
.aktualnosci-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--blue-light);
}

/* ══════════════════════════════════════════
   KONTAKT – karty kontaktowe
══════════════════════════════════════════ */
.contact-page { max-width: 900px; }
.contact-address-card {
  background: var(--navy); border-radius: var(--radius);
  padding: 2rem 2.5rem; color: #fff;
  display: flex; align-items: flex-start; gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-address-card .ca-icon { font-size: 2rem; color: var(--blue-accent); flex-shrink: 0; padding-top: 2px; }
.contact-address-card h2 { font-family: var(--font-serif) !important; font-size: 1.5rem !important; color: #fff !important; margin-bottom: .5rem !important; }
.contact-address-card p { color: #90bde0; font-size: 1rem; margin: 0 !important; line-height: 1.6; }
.contact-address-card .ca-addr { color: #c9e2f5; font-weight: 600; margin-top: 6px !important; font-size: 1.05rem; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-bottom: 1.5rem;
}
.contact-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 2rem;
}
.contact-card__header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 1.25rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-card__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.contact-card__avatar.light { background: var(--blue-light); }
.contact-card__role { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-card__name { font-family: var(--font-serif); font-weight: 700; font-size: 1rem; color: var(--navy); }
.contact-card__row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.contact-card__row:last-child { border-bottom: none; }
.contact-card__row-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; font-size: .9rem; flex-shrink: 0;
}
.contact-card__row-label { font-size: .72rem; color: var(--muted); display: block; }
.contact-card__row-val { font-size: .9rem; font-weight: 700; color: var(--navy); }
.contact-card__row-val a { color: var(--blue); }
.contact-card__row-val a:hover { text-decoration: underline; }

.contact-phones {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 2rem;
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; text-align: center;
}
.contact-phone-item .cp-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-phone-item .cp-num { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-top: 3px; }
.contact-divider { width: 1px; background: var(--border); }

/* ══════════════════════════════════════════
   LICZBY – statystyki
══════════════════════════════════════════ */
.liczby-page { max-width: 1000px; }
.liczby-big {
  background: var(--navy); border-radius: var(--radius);
  padding: 1.5rem 2rem; display: flex; align-items: center;
  gap: 2rem; margin-bottom: 1.5rem;
}
.liczby-big__num { font-family: var(--font-serif); font-size: 3rem; font-weight: 700; color: var(--blue-accent); line-height: 1; white-space: nowrap; }
.liczby-big__desc { color: #90bde0; font-size: .95rem; }
.liczby-big__desc strong { color: #fff; display: block; font-size: 1rem; margin-bottom: 2px; }
.liczby-section-title {
  font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem;
  color: var(--navy); display: flex; align-items: center; gap: 10px;
  border-bottom: 2px solid var(--blue-light); padding-bottom: .5rem;
  margin: 2.5rem 0 1rem;
}
.liczby-num { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; margin-bottom: 1.5rem; }
.stat-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center; transition: box-shadow .2s, transform .2s; }
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stat-card .s-icon { font-size: 2rem; margin-bottom: .5rem; }
.stat-card .s-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.stat-card .s-lbl { font-size: .76rem; color: var(--muted); line-height: 1.3; }

/* Historia timeline */
.historia-timeline { display: flex; overflow: hidden; border-radius: var(--radius); border: 1.5px solid var(--border); margin: 2rem 0; }
.historia-year { flex: 1; padding: 1.25rem .75rem; text-align: center; border-right: 1px solid var(--border); }
.historia-year:last-child { border-right: none; }
.historia-year:nth-child(odd) { background: var(--white); }
.historia-year:nth-child(even) { background: var(--blue-pale); }
.historia-year .hy-year { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.historia-year .hy-event { font-size: .75rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* ══════════════════════════════════════════
   RESPONSIVE – kontakt/liczby
══════════════════════════════════════════ */
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-phones { flex-direction: column; align-items: center; }
  .contact-divider { width: 60px; height: 1px; }
  .liczby-big { flex-direction: column; gap: 1rem; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}

/* ══ HERO responsive ══ */
@media (max-width: 1000px) {
  .wnozk-hero__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .hero-dates {
    grid-column: 1 / -1;
    flex-direction: row; gap: 3rem;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 1.5rem;
  }
}
@media (max-width: 700px) {
  .wnozk-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-graphic { flex-direction: row; align-items: flex-end; gap: .5rem; }
  .hero-graphic__25 { font-size: 18vw; }
  .hero-graphic__lat { font-size: 8vw; margin: 0 0 .3em .1em; }
  .hero-dates { flex-direction: column; gap: 1.5rem; }
  .wnozk-hero { padding: 40px 0; min-height: auto; }
  .wnozk-hero__inner { padding: 0 1.5rem; }
}

/* ══ Parallax fix dla nowego hero ══ */
.wnozk-hero--image { background-attachment: scroll; }

/* ══════════════════════════════════════════
   NOWA KOLORYSTYKA – #012aa6 + tło hero
══════════════════════════════════════════ */

/* Nadpisz tokeny których sed nie złapał */
:root {
  --navy:        #012aa6;
  --blue:        #0a40cc;
  --blue-mid:    #1a6bdb;
  --blue-accent: #5bbcff;
  --blue-light:  #ccdeff;
  --blue-pale:   #e8f0ff;
  --bg:          #f0f4ff;
  --border:      #c0d0f0;
  --muted:       #4a5f8a;
}

/* ── Górna belka: kolor wiodący #012aa6 ── */
.site-header__top,
.site-header,
.site-nav {
  background: #012aa6 !important;
}
.site-nav { border-top-color: rgba(255,255,255,.12) !important; }

/* ── Hero – grafika jako domyślne tło ── */
.wnozk-hero {
  background-image: url('../img/hero-bg.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-color: #012aa6 !important;
}
/* BEZ nakładki – czyste tło graficzne */
.wnozk-hero::after { display: none !important; }
.wnozk-hero::before { display: none !important; }
/* Wszystko w hero */
.wnozk-hero__inner,
.hero-graphic,
.hero-center,
.hero-dates { position: relative; z-index: 1; }

/* Tekst hero – lekko jaśniejszy akcent bo tło jest jasnoniebiskie */
.hero-graphic__25 { color: #fff; text-shadow: 0 2px 30px rgba(1,22,100,.4); }
.hero-graphic__lat { color: rgba(255,255,255,.5); }
.hero-main-title, .hero-main-title span, .hero-main-title em { color: #fff !important; }
.hero-date-day { color: #fff; }
.hero-date-info { color: rgba(255,255,255,.85); }

/* ── Stopka ── */
.site-footer { background: #011d80 !important; }

/* ── Sekcja aktualności hero bar ── */
.page-hero-bar {
  background: linear-gradient(135deg, #012aa6 0%, #0a40cc 60%, #1a6bdb 100%) !important;
}

/* ── Przyciski i akcenty ── */
.btn-primary { background: #5bbcff !important; color: #012aa6 !important; }
.nav-links li a { color: rgba(255,255,255,.8); }
.nav-links li a:hover,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links li.home-active > a {
  color: #fff !important;
  border-bottom-color: #5bbcff !important;
}

/* ── Cookie banner ── */
.cookie-banner { background: #011d80 !important; }

/* ── WCAG toggle ── */
#wnozk-wcag-toggle { background: #012aa6 !important; border-color: #5bbcff !important; }

/* ── Deklaracja dostępności link ── */
.site-header__decl-link { color: rgba(255,255,255,.75) !important; border-color: rgba(255,255,255,.25) !important; }
.site-header__decl-link:hover { color: #fff !important; }

/* ── Tagline dot ── */
.tagline-dot { background: #5bbcff !important; }

/* ══════════════════════════════════════════
   HERO – czyste tło, bez nakładki, bez grafiki 25
══════════════════════════════════════════ */

/* Ukryj grafikę 25/lat z CSS hero */
.hero-graphic { display: none !important; }

/* Usuń WSZYSTKIE pseudo-elementy z hero */
.wnozk-hero::before,
.wnozk-hero::after { display: none !important; }

/* Usuń overlay div (jeśli jest) */
.wnozk-hero__overlay { display: none !important; }

/* Hero – samo tło, bez niczego na wierzchu */
.wnozk-hero {
  background-image: url('../img/hero-bg.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-color: #012aa6 !important;
  position: relative !important;
}

/* Grid – bez kolumny grafiki, tylko tytuł + daty */
.wnozk-hero__inner {
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
}

/* Tekst na jaśniejszym tle – cień dla czytelności */
.hero-main-title,
.hero-main-title span,
.hero-main-title em {
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0,0,30,.3) !important;
}
.hero-date-day { color: #fff !important; text-shadow: 0 1px 12px rgba(0,0,30,.3) !important; }
.hero-date-info { color: rgba(255,255,255,.9) !important; }

@media (max-width: 700px) {
  .wnozk-hero__inner { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════
   TŁO STRONY – grafika na całej stronie
   Hero przezroczysty – PNG z napisami widoczny
══════════════════════════════════════════ */

/* Grafika jako tło całego body */
body {
  background-image: url('../img/hero-bg.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-color: #012aa6 !important;
}

/* Hero – całkowicie przezroczysty */
.wnozk-hero {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
}

/* Sekcje poniżej hero – białe tło żeby treść była czytelna */
.dean-section,
.patrons-section,
.page-content-wrap,
.archive-filter,
.site-footer {
  position: relative;
  z-index: 1;
}
.dean-section { background: #fff !important; }
.patrons-section { background: #fff !important; }
.page-content-wrap { background: #fff !important; }
.archive-filter { background: #fff !important; }

/* Nagłówek nad tłem */
.site-header { position: sticky; top: 0; z-index: 200; }

/* ── PNG z napisami w hero (przezroczyste PNG wgrane przez Customizer) ── */
.hero-png-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}
.hero-png-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Tytuł + daty nad PNG */
.wnozk-hero__inner { z-index: 2 !important; }

/* Jeśli PNG jest wgrany – ukryj tekstowe elementy (PNG je zawiera) */
.wnozk-hero:has(.hero-png-overlay) .hero-center,
.wnozk-hero:has(.hero-png-overlay) .hero-dates {
  display: none;
}

/* Patroni w stopce podstron */
.patrons-section--footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

/* ══════════════════════════════════════════
   STRONA KONTAKT – karta w stylu oryginału
══════════════════════════════════════════ */
.kontakt-page-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.kk-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(1,42,166,.10);
  border: 1.5px solid #dde8f8;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* Pionowy pasek z lewej */
.kk-left-bar {
  width: 6px;
  background: linear-gradient(180deg, #5bbcff 0%, #012aa6 100%);
  flex-shrink: 0;
}

.kk-body { flex: 1; padding: 2.5rem 3rem 2rem; }

/* NAGŁÓWEK */
.kk-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid #dde8f8;
}
.kk-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #012aa6;
  line-height: 1.15;
  margin: 0 !important;
}
.kk-title-line {
  width: 50px; height: 3px;
  background: #5bbcff;
  border-radius: 2px;
  margin-top: .75rem;
}

/* Badge 25 lat */
.kk-badge {
  display: flex; flex-direction: column;
  align-items: flex-end; line-height: .85;
  flex-shrink: 0; margin-left: 2rem;
}
.kk-badge-num {
  font-family: var(--font-serif);
  font-size: 5rem; font-weight: 900;
  color: #012aa6; line-height: 1;
}
.kk-badge-lat {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-style: italic;
  color: #5bbcff; font-weight: 400;
  margin-top: -.2em;
}

/* ADRES */
.kk-address-row {
  display: flex; flex-direction: column; gap: .75rem;
  margin-bottom: 2rem;
}
.kk-addr-item {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 1rem; color: #1a2d5a; line-height: 1.5;
}
.kk-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kk-icon--univ { background: #012aa6; color: #fff; }
.kk-icon--pin  { background: #5bbcff; color: #fff; }

/* KARTY KONTAKTOWE */
.kk-contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin-bottom: 0;
  background: #f0f4ff;
  border-radius: 14px;
  padding: 1.5rem;
}
.kk-contact-card {
  background: transparent;
}
.kk-contact-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #c0d0f0;
}
.kk-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: #012aa6; color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kk-avatar--light { background: #ccdeff; color: #012aa6; }
.kk-role {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
  color: #012aa6; margin-bottom: 3px;
}
.kk-name {
  font-size: .95rem; font-weight: 600; color: #1a2d5a;
}

/* Rzędy kontaktowe */
.kk-contact-rows { display: flex; flex-direction: column; gap: .5rem; }
.kk-contact-row {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; padding: .45rem 0;
  border-bottom: 1px solid #dde8f8;
  color: #1a2d5a; font-size: .9rem; font-weight: 500;
  transition: color .2s;
}
.kk-contact-row:last-child { border-bottom: none; }
.kk-contact-row:hover { color: #012aa6; }
.kk-row-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kk-row-icon--mail  { background: #ccdeff; color: #012aa6; }
.kk-row-icon--phone { background: #5bbcff; color: #fff; }

/* TELEFONY DODATKOWE */
.kk-phones-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; padding: 1.5rem 0 .5rem;
  border-top: 1.5px solid #dde8f8;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.kk-phone-item {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: #1a2d5a;
  font-size: 1rem; font-weight: 600;
  transition: color .2s;
}
.kk-phone-item:hover { color: #012aa6; }
.kk-phone-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: #012aa6; color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kk-phones-divider {
  width: 1px; height: 40px; background: #dde8f8;
}

/* Dodatkowa treść Gutenberg pod kartą */
.kk-extra-content {
  margin-top: 2.5rem;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #dde8f8;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .kk-body { padding: 1.75rem 1.5rem 1.5rem; }
  .kk-contacts-grid { grid-template-columns: 1fr; }
  .kk-header { flex-direction: column; gap: 1rem; }
  .kk-badge { flex-direction: row; align-items: flex-end; gap: .5rem; }
  .kk-badge-num { font-size: 3.5rem; }
  .kk-badge-lat { font-size: 1.4rem; margin-top: 0; margin-bottom: .2rem; }
  .kk-phones-strip { flex-direction: column; gap: 1rem; }
  .kk-phones-divider { width: 60px; height: 1px; }
  .kontakt-page-wrap { padding: 1.5rem 1rem 3rem; }
}

/* ══════════════════════════════════════════
   WNoZK W LICZBACH – page-liczby.php
══════════════════════════════════════════ */
.liczby-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}

/* NAGŁÓWEK */
.lz-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}
.lz-header-left { display: flex; align-items: flex-start; gap: 1rem; }
.lz-title-icon { font-size: 2.5rem; line-height: 1; }
.lz-title {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  color: var(--navy); line-height: 1.1; margin: 0 !important;
}
.lz-subtitle { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.lz-badge { text-align: right; line-height: .85; flex-shrink: 0; }
.lz-badge-num { font-family: var(--font-serif); font-size: 4rem; font-weight: 900; color: var(--navy); display: block; }
.lz-badge-lat { font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--blue-accent); }

/* SEKCJE */
.lz-section {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}
.lz-section-title {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1rem; color: var(--navy);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 1.25rem;
}
.lz-section-title small { font-size: .75rem; font-weight: 400; text-transform: none; color: var(--muted); letter-spacing: 0; }
.lz-section-title--sm { font-size: .9rem; }
.lz-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.lz-section-desc { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }

/* Pracownicy – header z opisem i big box */
.lz-section-body {
  display: flex; gap: 2rem; align-items: flex-start; margin-bottom: 1.25rem;
}
.lz-desc { flex: 1; font-size: .88rem; color: var(--muted); line-height: 1.6; }
.lz-big-box {
  display: flex; align-items: center; gap: .6rem;
  background: var(--blue-pale); border: 1.5px solid var(--border);
  border-radius: 12px; padding: .75rem 1.5rem;
  white-space: nowrap; flex-shrink: 0;
}
.lz-big-box--wide { margin-bottom: 1.25rem; }
.lz-big-pre  { font-size: .9rem; color: var(--muted); }
.lz-big-suf  { font-size: .9rem; color: var(--muted); }
.lz-big-num  { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 900; color: var(--navy); line-height: 1; }

/* KARTY STATYSTYK */
.lz-cards-grid {
  display: grid; gap: 10px;
}
.lz-cards-grid--6 { grid-template-columns: repeat(6, 1fr); }
.lz-cards-grid--5 { grid-template-columns: repeat(5, 1fr); }

.lz-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 12px; padding: .9rem .75rem;
  text-align: center;
}
.lz-card--circle .lz-card-icon {
  font-size: 2rem;
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .5rem;
  background: #fff;
}
.lz-card-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.lz-card-num  { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.lz-card-lbl  { font-size: .72rem; color: var(--muted); line-height: 1.35; }

/* Absolwenci lead */
.lz-absolwenci-lead {
  font-size: .92rem; color: var(--text); line-height: 1.6;
  background: var(--blue-pale); border-radius: 10px;
  padding: .85rem 1.25rem; margin-bottom: 1.25rem;
}
.lz-absolwenci-lead strong { font-size: 1.4rem; color: var(--navy); font-family: var(--font-serif); }

/* SKN box */
.lz-skn-box {
  display: flex; align-items: center; gap: 1rem;
  background: var(--blue-pale); border: 1.5px solid var(--border);
  border-radius: 10px; padding: .85rem 1.5rem; margin-top: 1rem;
  font-size: .95rem; color: var(--navy);
}
.lz-skn-icon { font-size: 1.6rem; }

/* JEDNOSTKI ORGANIZACYJNE */
.lz-jo-grid {
  display: flex; align-items: center; gap: 0;
  background: var(--bg); border-radius: 12px;
  border: 1.5px solid var(--border);
  overflow: hidden; margin-bottom: 1rem;
}
.lz-jo-item {
  flex: 1; text-align: center; padding: 1.25rem 1rem;
}
.lz-jo-sep { width: 1px; height: 80px; background: var(--border); flex-shrink: 0; }
.lz-jo-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.lz-jo-num  { font-family: var(--font-serif); font-size: 2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.lz-jo-lbl  { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.lz-location-note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .82rem; color: var(--muted); line-height: 1.5;
}

/* W RAMACH WYDZIAŁU */
.lz-ramach-grid {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
}
.lz-ramach-item {
  display: flex; flex-direction: column; align-items: center;
  gap: .4rem; min-width: 90px;
}
.lz-ramach-item--triangle .lz-triangle {
  background: transparent;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-bottom: 75px solid var(--blue-pale);
  border-radius: 4px;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: .55rem; font-weight: 700; color: var(--navy);
  text-align: center; letter-spacing: .03em; line-height: 1.2;
  position: relative;
}
.lz-triangle-text {
  position: absolute; bottom: 8px;
  font-size: .5rem; font-weight: 700; color: var(--navy);
  text-align: center; line-height: 1.2;
  width: 70px;
}
/* Prostszy trójkąt */
.lz-ramach-item--triangle .lz-triangle {
  background: var(--blue-pale);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .6rem .5rem;
  font-size: .6rem; font-weight: 700; color: var(--navy);
  text-align: center; line-height: 1.3;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  width: 80px; height: 70px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: .5rem;
}
.lz-ramach-label {
  font-family: var(--font-serif); font-size: 1.4rem;
  font-weight: 700; color: var(--navy);
}
.lz-ramach-icon { font-size: 2rem; }
.lz-ramach-name { font-size: .75rem; color: var(--muted); text-align: center; line-height: 1.35; }

/* NAUKA */
.lz-section--nauka { background: var(--navy); border-color: var(--navy); }
.lz-section--nauka .lz-section-title { color: #fff; }
.lz-section--nauka .lz-num { background: rgba(255,255,255,.2); }
.lz-nauka-grid {
  display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center;
}
.lz-nauka-item {
  display: flex; flex-direction: column; align-items: center;
  gap: .3rem; flex: 1; min-width: 120px;
}
.lz-nauka-icon { font-size: 1.8rem; }
.lz-nauka-num  { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1; }
.lz-nauka-lbl  { font-size: .78rem; color: rgba(255,255,255,.6); }
.lz-if-badge {
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 8px; padding: 4px 12px;
  font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: .05em;
}
.lz-mnisw-badge {
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 8px; padding: 4px 10px;
  font-weight: 800; font-size: .75rem; color: #fff;
  text-align: center; line-height: 1.3;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .lz-cards-grid--6 { grid-template-columns: repeat(3,1fr); }
  .lz-cards-grid--5 { grid-template-columns: repeat(3,1fr); }
  .lz-section-body  { flex-direction: column; }
  .lz-big-box       { white-space: normal; }
  .lz-jo-grid       { flex-direction: column; }
  .lz-jo-sep        { width: 80px; height: 1px; }
  .lz-nauka-grid    { gap: 1rem; }
  .lz-header        { flex-direction: column; gap: 1rem; }
}
@media (max-width: 460px) {
  .lz-cards-grid--6,
  .lz-cards-grid--5 { grid-template-columns: repeat(2,1fr); }
}

/* ══════════════════════════════════════════
   PODSTRONY – białe tło (nie grafika fal)
══════════════════════════════════════════ */
body:not(.home) {
  background-image: none !important;
  background-color: #fff !important;
  background-attachment: scroll !important;
}

/* ══════════════════════════════════════════
   WSPÓLNY LAYOUT PODSTRON – sp-* classes
══════════════════════════════════════════ */
.sp-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.sp-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 40px rgba(1,42,166,.08);
  border: 1.5px solid #dde8f8;
  display: flex;
  overflow: hidden;
}
.sp-left-bar {
  width: 6px;
  background: linear-gradient(180deg, #5bbcff 0%, #012aa6 100%);
  flex-shrink: 0;
}
.sp-body {
  flex: 1;
  padding: 2.5rem 3rem 2.5rem;
  min-width: 0;
}

/* NAGŁÓWEK PODSTRONY */
.sp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid #dde8f8;
}
.sp-header__left { flex: 1; }
.sp-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  line-height: 1.2 !important;
  margin: 0 0 .5rem !important;
}
.sp-subtitle {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 .75rem !important;
}
.sp-title-line {
  width: 48px; height: 3px;
  background: var(--blue-accent);
  border-radius: 2px;
}
.sp-badge {
  display: flex; flex-direction: column;
  align-items: flex-end; line-height: .85;
  flex-shrink: 0; margin-left: 2rem;
}
.sp-badge-num {
  font-family: var(--font-serif);
  font-size: 4rem; font-weight: 900;
  color: var(--navy); display: block; line-height: 1;
}
.sp-badge-lat {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-style: italic;
  color: var(--blue-accent); font-weight: 400;
}

/* TREŚĆ PODSTRONY */
.sp-content { }
.liczby-content .lz-section { border-radius: 12px; }

/* Stara karta kontaktu – usuń bo teraz używamy sp-card */
.kontakt-page-wrap { display: none !important; }
.kk-card { display: none !important; }

/* Program footer line */
.program-footer-line {
  text-align: center; font-size: .82rem; color: var(--muted);
  font-weight: 600; letter-spacing: .04em;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem; margin-top: 3rem;
}

/* Standardowa strona (page.php) też dostaje sp-wrap */
.page-content-wrap .section-inner {
  max-width: 1000px;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .sp-wrap { padding: 1.5rem 1rem 3rem; }
  .sp-body { padding: 1.75rem 1.5rem; }
  .sp-header { flex-direction: column; gap: 1rem; }
  .sp-badge { flex-direction: row; align-items: flex-end; gap: .5rem; margin-left: 0; }
  .sp-badge-num { font-size: 2.8rem; }
  .sp-badge-lat { font-size: 1.1rem; margin-bottom: .2rem; }
}

/* ── List Dziekana w sp-card ── */
.dean-section { padding: 0; border-top: none; background: transparent; }
.dean-section .sp-wrap { padding-top: 0; }
.dean-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.dean-photo img {
  width: 100%; height: auto;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}
.dean-photo--placeholder {
  background: var(--bg); border: 2px dashed var(--border);
  border-radius: var(--radius); aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
}
.dean-photo__inner { text-align: center; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.dean-photo__inner span { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.dean-letter { font-size: .95rem; line-height: 1.8; color: var(--text); }
.dean-letter p { margin-bottom: 1rem !important; }

@media (max-width: 700px) {
  .dean-layout { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ══════════════════════════════════════════
   SLIDER WYDARZEŃ – ev-*
══════════════════════════════════════════ */
.ev-slider-wrap {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(1,42,166,.12);
}

/* Slider viewport */
.ev-slider {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
  user-select: none;
}
.ev-slider:active { cursor: grabbing; }

/* Track – flex row, szerokość N×100% */
.ev-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Pojedynczy slajd */
.ev-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8f0ff;
}
.ev-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  transition: transform .3s ease;
}

/* Placeholder */
.ev-slide--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-pale); border: 2px dashed var(--border);
}
.ev-placeholder-inner {
  text-align: center; color: var(--muted); font-size: .9rem; line-height: 1.6;
}
.ev-placeholder-inner span { font-size: 3rem; display: block; margin-bottom: .5rem; }

/* ── Przyciski prev/next ── */
.ev-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(1,42,166,.85); color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: background .2s, transform .2s, opacity .2s;
  backdrop-filter: blur(4px);
}
.ev-btn:hover {
  background: var(--navy);
  transform: translateY(-50%) scale(1.08);
}
.ev-btn:disabled { opacity: .35; cursor: default; }
.ev-btn--prev { left: 14px; }
.ev-btn--next { right: 14px; }

/* ── Dots ── */
.ev-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
  flex-wrap: wrap; justify-content: center;
  max-width: 80%; padding: 0 4px;
}
.ev-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 1.5px solid rgba(255,255,255,.6);
  cursor: pointer; transition: all .2s; padding: 0;
  flex-shrink: 0;
}
.ev-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}
.ev-dot:hover { background: rgba(255,255,255,.8); }

/* ── Counter ── */
.ev-counter {
  position: absolute; top: 12px; right: 14px;
  background: rgba(1,42,166,.75);
  color: #fff; font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
  backdrop-filter: blur(4px);
  z-index: 10; letter-spacing: .04em;
}

/* Dodatkowa treść pod slajderem */
.ev-extra { margin-top: 2rem; }

/* ── INSTRUKCJA jak dodać zdjęcia ── */
.ev-add-hint {
  background: var(--blue-pale); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 1rem 1.25rem;
  font-size: .85rem; color: var(--muted); margin-top: 1.5rem;
  line-height: 1.6;
}
.ev-add-hint strong { color: var(--navy); }

/* Responsive */
@media (max-width: 600px) {
  .ev-btn { width: 36px; height: 36px; }
  .ev-btn--prev { left: 8px; }
  .ev-btn--next { right: 8px; }
  .ev-dot { width: 7px; height: 7px; }
  .ev-slide { aspect-ratio: 4/3; }
}

/* ══════════════════════════════════════════
   TIMELINE WYDARZEŃ
══════════════════════════════════════════ */
.ev-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Jeden wpis */
.ev-item {
  display: grid;
  grid-template-columns: 52px 28px 1fr;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2.5rem;
}
.ev-item:last-child { padding-bottom: 0; }

/* Numer w kółku */
.ev-item__number {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700;
  flex-shrink: 0; margin-top: 1.5rem;
  box-shadow: 0 2px 12px rgba(1,42,166,.25);
  position: relative; z-index: 2;
}

/* Pionowa linia */
.ev-item__line {
  width: 2px;
  background: linear-gradient(180deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  position: absolute;
  left: calc(52px + 14px - 1px); /* center of dot column */
  top: 44px; /* start below number */
  bottom: 0;
  z-index: 1;
}
.ev-item:last-child .ev-item__line { display: none; }

/* Grafika */
.ev-item__graphic {
  margin-left: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(1,42,166,.10);
  border: 1.5px solid var(--border);
  position: relative;
}

.ev-lightbox-trigger {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.ev-lightbox-trigger::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(1,42,166,0);
  transition: background .25s;
}
.ev-lightbox-trigger:hover::after {
  background: rgba(1,42,166,.08);
}

.ev-graphic-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease;
}
.ev-lightbox-trigger:hover .ev-graphic-img {
  transform: scale(1.015);
}

/* Ikona lupy */
.ev-zoom-icon {
  position: absolute; bottom: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(1,42,166,.8); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
  backdrop-filter: blur(4px);
}
.ev-lightbox-trigger:hover .ev-zoom-icon { opacity: 1; }

/* Empty state */
.ev-empty {
  background: var(--blue-pale); border: 1.5px dashed var(--border);
  border-radius: 12px; padding: 2rem 2.5rem;
  font-size: .9rem; color: var(--muted); line-height: 1.7;
}
.ev-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.ev-empty strong { color: var(--navy); }
.ev-empty ol { margin: .75rem 0 .75rem 1.25rem; }
.ev-empty li { margin-bottom: .35rem; }

/* ── LIGHTBOX ── */
.ev-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.ev-lightbox[hidden] { display: none !important; }

.ev-lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(1,10,40,.92);
  backdrop-filter: blur(6px);
}
.ev-lightbox__content {
  position: relative; z-index: 1;
  max-width: 92vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.ev-lightbox__img {
  max-width: 88vw; max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 60px rgba(0,0,0,.5);
  display: block;
  user-select: none;
}
.ev-lightbox__close {
  position: fixed; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.ev-lightbox__close:hover { background: rgba(255,255,255,.3); }
.ev-lightbox__prev,
.ev-lightbox__next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  font-size: 2rem; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.ev-lightbox__prev:hover,
.ev-lightbox__next:hover { background: rgba(255,255,255,.25); }
.ev-lightbox__prev { left: 16px; }
.ev-lightbox__next { right: 16px; }
.ev-lightbox__counter {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.12); color: #fff;
  font-size: .85rem; font-weight: 600; letter-spacing: .05em;
  padding: 6px 18px; border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* Responsive */
@media (max-width: 600px) {
  .ev-item { grid-template-columns: 40px 20px 1fr; }
  .ev-item__number { width: 36px; height: 36px; font-size: .9rem; margin-top: 1rem; }
  .ev-item__line { left: calc(40px + 10px - 1px); top: 36px; }
  .ev-item__graphic { margin-left: 1rem; }
  .ev-lightbox__prev { left: 6px; }
  .ev-lightbox__next { right: 6px; }
}

/* Ukryj blok Galeria Gutenberg na stronie Wydarzeń – pokazujemy tylko timeline */
.page-template-page-wydarzenia .wp-block-gallery,
.page-template-page-wydarzenia .wp-block-image,
.page-template-page-wydarzenia figure { display: none !important; }

/* ── Naprawa wysokości grafiki wydarzeń ── */
.ev-item__graphic {
  width: 100%;
  min-height: 100px;
}
.ev-graphic-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  min-height: 80px;
  background: var(--blue-pale);
}
/* Pokaż placeholder gdy obraz się nie załadował */
.ev-graphic-img::before {
  content: '🖼️ Ładowanie...';
  display: block;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

/* ── Grafika wydarzeń – pełna szerokość prawej kolumny ── */
.ev-item {
  display: grid !important;
  grid-template-columns: 52px 2px 1fr !important;
  gap: 0 1.25rem !important;
  align-items: start !important;
  padding-bottom: 2.5rem !important;
}
.ev-item__number {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin-top: 0 !important;
  align-self: start !important;
}
.ev-item__line {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 2px !important;
  height: 100% !important;
  min-height: 100% !important;
  position: static !important;
  background: linear-gradient(180deg, var(--blue-accent) 0%, var(--blue-light) 100%) !important;
  align-self: stretch !important;
  justify-self: center !important;
}
.ev-item__graphic {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
}
.ev-lightbox-trigger {
  display: block !important;
  width: 100% !important;
}
.ev-graphic-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 10px !important;
}

@media (max-width: 600px) {
  .ev-item { grid-template-columns: 38px 2px 1fr !important; gap: 0 0.75rem !important; }
}

/* ── WYDARZENIA – grafika na całą dostępną szerokość ── */
.ev-item {
  display: flex !important;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.ev-item__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-top: 0;
}
.ev-item__line {
  position: absolute;
  left: 21px; /* środek kółka 44px/2 */
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-accent) 0%, var(--blue-light) 100%);
}
.ev-item__graphic {
  flex: 1 1 0;   /* zajmuje całe pozostałe miejsce */
  min-width: 0;  /* zapobiega overflow */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(1,42,166,.10);
  border: 1.5px solid var(--border);
}
.ev-lightbox-trigger {
  display: block;
}
.ev-graphic-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* ── Grafika wydarzeń – pełna szerokość kontenera ── */
.ev-item {
  display: grid !important;
  grid-template-columns: 52px 24px 1fr !important;
  align-items: flex-start !important;
  gap: 0 !important;
}
.ev-item__number {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0 !important;
  align-self: flex-start;
}
.ev-item__line {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: center;
  width: 2px;
  height: 100%;
  min-height: 60px;
  background: linear-gradient(180deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  position: static !important;
}
.ev-item__graphic {
  grid-column: 3;
  grid-row: 1;
  width: 100% !important;
  padding-left: 1.5rem;
  padding-bottom: 2.5rem;
}
.ev-lightbox-trigger {
  display: block !important;
  width: 100% !important;
}
.ev-graphic-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(1,42,166,.10);
}
.ev-item:last-child .ev-item__graphic { padding-bottom: 0; }
.ev-item:last-child .ev-item__line { display: none !important; }

@media (max-width: 600px) {
  .ev-item { grid-template-columns: 38px 18px 1fr !important; }
  .ev-item__graphic { padding-left: 1rem; }
}

/* Sponsorzy – oddzielony od patronatów cienką linią */
.patrons-section--sponsors {
  border-top: 1px solid var(--border);
}
.patrons-footer-wrap {
  background: #fff;
}

/* ── NAPRAWA: patroni/sponsorzy w stopce podstron ── */
.patrons-footer-wrap {
  background: #fff;
  border-top: 1px solid var(--border);
}
.patrons-section--footer .patrons-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem;
}
.patrons-section--footer .patrons-content figure,
.patrons-section--footer .patrons-content .wp-block-image {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.patrons-section--footer .patrons-content figure img,
.patrons-section--footer .patrons-content .wp-block-image img,
.patrons-section--footer .patrons-content img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  max-width: 100% !important;
}

/* ── Logo 25lat zamiast tekstu badge ── */
.sp-badge { margin-left: 1.5rem; flex-shrink: 0; }
.sp-badge-logo {
  width: 110px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* ── NAPRAWA PATRONÓW – agresywne nadpisanie ── */
.patrons-footer-wrap { background: #fff; }
.patrons-footer-wrap .patrons-content,
.patrons-footer-wrap .patrons-content * { box-sizing: border-box; }
.patrons-footer-wrap .patrons-content figure { margin: 0 !important; width: 100% !important; }
.patrons-footer-wrap .patrons-content img,
.patrons-section--footer .patrons-content img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ── Logo 25lat – przeźroczyste PNG na białym tle ── */
.sp-badge { background: transparent !important; }
.sp-badge-logo {
  background: transparent !important;
  mix-blend-mode: multiply; /* czarne piksele PNG stają się niewidoczne na białym */
}

/* ── Logo 25lat – przeźroczyste PNG (tło usunięte) ── */
.sp-badge { background: transparent !important; }
.sp-badge-logo {
  mix-blend-mode: normal !important;
  background: transparent !important;
}

/* ── Logo 25lat – większe ── */
.sp-badge-logo {
  width: 160px !important;
}

/* ── Duże "25" w tytule karty ── */
.sp-title-num {
  font-size: 1.8em;
  font-weight: 900;
  color: var(--navy);
  line-height: .85;
  vertical-align: middle;
  display: inline-block;
  margin-right: .1em;
}

/* ─── ZMIANY 2025-05-22 ─────────────────────────────────
   1. Ukryj subtytuły pod tytułami zakładek
──────────────────────────────────────────────────────── */
.sp-subtitle { display: none !important; }

/* ─── 2. Program – ujednolicona czcionka ────────────────
   Bez pogrubień, bez koloru, daty bez kursywy
──────────────────────────────────────────────────────── */
.prog-text strong { font-weight: normal !important; color: inherit !important; }
.prog-text em     { font-style:  normal !important; }
.prog-block-date  { font-style:  normal !important; }
.prog-block-loc   { font-style:  normal !important; }
.prog-block-name  { font-style:  normal !important; }

/* ─── 4. Piramidki – nazwy poniżej ─────────────────────*/
.lz-ramach-item--triangle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
.lz-ramach-item--triangle .lz-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: var(--blue-pale);
    width: 90px; height: 78px;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: .6rem;
    font-family: var(--font-serif);
    font-size: 1.3rem; font-weight: 700; color: var(--navy);
    border: none !important; border-radius: 0 !important;
}
.lz-ramach-item--triangle .lz-ramach-name {
    font-size: .78rem; color: var(--muted);
    text-align: center; line-height: 1.35;
    display: block !important;
}

/* ─── HISTORIA – oś czasu i kolegia ────────────────── */
.historia-section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue-light);
}
.historia-timeline-wrap .prog-block { margin-bottom: 1rem; }

/* Kolegia grid */
.kolegia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.kolegia-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}
.kolegia-card--current {
  background: var(--blue-pale);
  border-color: var(--navy);
}
.kolegia-card__kadencja {
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--navy); margin-bottom: .75rem;
}
.kolegia-card--current .kolegia-card__kadencja { color: var(--navy); }
.kolegia-card__row {
  display: flex; gap: .5rem; align-items: baseline;
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .84rem;
}
.kolegia-card__row:last-child { border-bottom: none; }
.kolegia-card__role {
  font-size: .7rem; color: var(--muted); white-space: nowrap; flex-shrink: 0;
}
.kolegia-card__name { color: var(--navy); font-weight: 600; }

/* ════════════════════════════════════════════════════
   MOBILE FIXES – kompleksowe poprawki dla urządzeń
   mobilnych (max 480px) i tabletów (max 768px)
════════════════════════════════════════════════════ */

/* ── PROGRAM TIMELINE – główny problem na mobilce ── */
@media (max-width: 600px) {

  /* Blok dnia: usuń układ kolumnowy, rób pionowy */
  .prog-block { margin-bottom: 1.25rem; }
  .prog-block-head { padding: 1rem 1.25rem; }
  .prog-block-date { font-size: 1rem; }
  .prog-block-name { font-size: .95rem !important; }
  .prog-block-loc  { font-size: .8rem; }

  /* Timeline wiersze – stos zamiast kolumn */
  .prog-timeline { padding: 0 .75rem; }
  .prog-timeline::before { display: none; } /* ukryj pionową linię */

  .prog-row {
    display: grid !important;
    grid-template-columns: 52px 1fr !important;
    grid-template-rows: auto auto !important;
    align-items: flex-start;
    padding: .5rem 0;
    border-bottom: 1px solid var(--blue-pale);
    gap: 0 8px;
  }
  .prog-row:last-child { border-bottom: none; }

  .prog-time {
    grid-column: 1;
    grid-row: 1;
    font-size: .8rem !important;
    font-weight: 700;
    color: var(--blue);
    padding: .25rem 0 !important;
    min-width: unset;
  }

  .prog-dot-html {
    display: none !important; /* ukryj kropkę na mobile */
  }

  .prog-text {
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: .88rem !important;
    padding: .25rem 0 !important;
    line-height: 1.5;
  }
}

/* ── SP-CARD (karty podstron) ── */
@media (max-width: 600px) {
  .sp-wrap { padding: 1rem .75rem 3rem; }
  .sp-body { padding: 1.25rem 1.25rem; }

  .sp-header { gap: .75rem; }
  .sp-title { font-size: 1.4rem !important; }

  .sp-badge { margin-left: auto; }
  .sp-badge-logo { width: 80px !important; }
}

/* ── HEADER / NAV ── */
@media (max-width: 480px) {
  .site-header__top-inner { padding: 0 1rem; height: 60px; }
  .site-header__logo img,
  .site-header__logo .custom-logo { height: 44px !important; }
  .site-header__decl-link { padding: 5px 8px; }
  .site-header__decl-link svg { width: 16px; height: 16px; }
}

/* ── HERO ── */
@media (max-width: 600px) {
  .wnozk-hero { padding: 40px 0 30px; min-height: auto; }
  .wnozk-hero__inner {
    padding: 0 1.25rem;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .hero-main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
  }
  .hero-dates { flex-direction: column !important; gap: 1.25rem !important; }
  .hero-date-day { font-size: 1.2rem; }
  .hero-date-info { font-size: .88rem; }
}

/* ── PATRONI ── */
@media (max-width: 600px) {
  .patrons-inner { padding: 1.25rem 1rem; }
  .patrons-label { font-size: .75rem; margin-bottom: .75rem; }
}

/* ── KONTAKT ── */
@media (max-width: 600px) {
  .kk-contacts-grid { grid-template-columns: 1fr !important; }
  .kk-phones-strip { flex-direction: column !important; gap: .75rem !important; }
  .kk-phones-divider { width: 60px !important; height: 1px !important; }
  .kk-title { font-size: 1.6rem !important; }
  .kk-badge-num { font-size: 2.5rem !important; }
  .kk-badge-lat { font-size: 1.1rem !important; }
}

/* ── WNoZK W LICZBACH ── */
@media (max-width: 480px) {
  .liczby-wrap { padding: 1rem .75rem 3rem; }
  .lz-cards-grid--6 { grid-template-columns: repeat(2,1fr) !important; }
  .lz-cards-grid--5 { grid-template-columns: repeat(2,1fr) !important; }
  .lz-section { padding: 1.1rem 1rem; }
  .lz-section-body { flex-direction: column !important; }
  .lz-big-box { white-space: normal !important; }
  .lz-big-num { font-size: 2rem; }
  .lz-jo-grid { flex-direction: column !important; }
  .lz-jo-sep { width: 60px !important; height: 1px !important; }
  .lz-nauka-grid { gap: .75rem; }
  .lz-nauka-num { font-size: 1.2rem; }
  .lz-ramach-grid { gap: .75rem; }
}

/* ── HISTORIA / KOLEGIA ── */
@media (max-width: 600px) {
  .kolegia-grid { grid-template-columns: 1fr !important; }
  .historia-section-title { font-size: 1.2rem; }
}

/* ── EVENTI TIMELINE ── */
@media (max-width: 600px) {
  .ev-item { grid-template-columns: 36px 18px 1fr !important; }
  .ev-item__number { width: 34px !important; height: 34px !important; font-size: .8rem; }
  .ev-item__graphic { margin-left: .75rem !important; }
}

/* ── STOPKA ── */
@media (max-width: 600px) {
  .footer-top { flex-direction: column; gap: 1.5rem; }
  .site-footer__inner { padding: 0 1.25rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

/* ── DEAN SECTION ── */
@media (max-width: 600px) {
  .dean-layout { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
  .dean-photo { max-width: 200px; margin: 0 auto; }
}

/* ── OGÓLNE – zbyt małe padding/margin na urządzeniach dotykowych ── */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .entry-content { font-size: .95rem; }
  .btn { padding: 11px 22px; font-size: .9rem; }
  .page-content-wrap { padding: 1.5rem 0 3rem; }
  .section-inner { padding: 0 1rem; }
}

/* ── Ikony PNG w WNoZK w liczbach ── */
.lz-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.lz-card-icon .lz-icon-img { width: 44px; height: 44px; }
.lz-skn-icon .lz-icon-img  { width: 36px; height: 36px; }
.lz-jo-icon  .lz-icon-img  { width: 40px; height: 40px; }
.lz-ramach-icon .lz-icon-img { width: 52px; height: 52px; }

/* Lokalizacja pin */
.lz-location-note span .lz-icon-img { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

/* Piramidki jako obrazy */
.lz-ramach-piramida {
  width: 100px;
  height: auto;
  object-fit: contain;
  display: block;
}
.lz-ramach-item { display: flex; align-items: center; justify-content: center; }

/* Nauka – badge obrazki */
.lz-nauka-badge-img {
  width: 48px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ── Nauka – ikony PNG na ciemnym tle ── */
.lz-nauka-icon .lz-icon-img {
  width: 48px !important;
  height: 48px !important;
  filter: brightness(0) invert(1); /* biała wersja na ciemnym tle */
}

/* IF i MNiSW – zachowaj oryginalne kolory ale zwiększ */
.lz-if-badge .lz-nauka-badge-img,
.lz-mnisw-badge .lz-nauka-badge-img {
  width: 64px !important;
  height: auto !important;
  filter: brightness(0) invert(1);
}

/* Piramidki – popraw rozmiar */
.lz-ramach-piramida {
  width: 120px !important;
  height: auto !important;
  display: block;
}

/* Usuń stare style ramek IF i MNiSW */
.lz-if-badge, .lz-mnisw-badge { display: none !important; }
.lz-if-badge .lz-nauka-badge-img,
.lz-mnisw-badge .lz-nauka-badge-img { display: none !important; }

/* Program – tytuł wystawy historycznej na czarny */
.prog-text { color: var(--text) !important; }
.prog-text strong { color: var(--text) !important; font-weight: normal !important; }

/* ══════════════════════════════════════════
   ZEGAR ODLICZAJĄCY – hero countdown
══════════════════════════════════════════ */
.hero-countdown {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-countdown__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.hero-countdown__units {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.hero-countdown__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: .4rem .8rem;
  min-width: 64px;
  text-align: center;
}
.hero-countdown__lbl {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: .4rem;
}
.hero-countdown__done {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #5bbcff;
}

@media (max-width: 600px) {
  .hero-countdown__units { gap: .75rem; }
  .hero-countdown__num { font-size: 1.6rem; min-width: 50px; padding: .3rem .5rem; }
}

/* ══════════════════════════════════════════
   BANNER WARSZTATOWY – górny pasek
══════════════════════════════════════════ */
#wnozk-banner {
  position: relative;
  background: linear-gradient(90deg, #012aa6 0%, #0a40cc 50%, #012aa6 100%);
  color: #fff;
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
  z-index: 300;
}
#wnozk-banner[hidden] { display: none !important; }

.banner-track-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.banner-track {
  display: inline-flex;
  white-space: nowrap;
  animation: bannerScroll 28s linear infinite;
  gap: 0;
}
.banner-track:hover { animation-play-state: paused; }
.banner-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0 3rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.banner-item__dot {
  width: 6px; height: 6px;
  background: #5bbcff;
  border-radius: 50%;
  flex-shrink: 0;
}
.banner-item a {
  color: #5bbcff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.banner-item a:hover { color: #fff; }
.banner-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 1rem;
  line-height: 44px;
  transition: color .2s;
}
.banner-close:hover { color: #fff; }

@keyframes bannerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  #wnozk-banner { height: 40px; }
  .banner-item { font-size: .76rem; padding: 0 2rem; }
  .banner-track { animation-duration: 20s; }
}

/* ── Zegar – sekcja pod hero ── */
.countdown-section {
  background: var(--navy);
  padding: 1.75rem 0;
  border-bottom: 3px solid var(--blue-accent);
}
.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.countdown-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
}
/* Nadpisz stare style z wewnątrz hero */
.countdown-section .hero-countdown__units {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.countdown-section .hero-countdown__num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  min-width: 56px;
  padding: .3rem .6rem;
}
.countdown-section .hero-countdown__lbl {
  color: rgba(255,255,255,.5);
}

/* Ukryj stare style ze środka hero */
.wnozk-hero .hero-countdown { display: none !important; }

@media (max-width: 600px) {
  .countdown-inner { gap: 1.25rem; flex-direction: column; }
  .countdown-label { text-align: center; }
  .countdown-section .hero-countdown__units { gap: .6rem; }
  .countdown-section .hero-countdown__num { font-size: 1.4rem; min-width: 48px; }
}
