/* Automatycznie połączony pakiet CSS. Edytuj pliki źródłowe, a następnie odbuduj ten plik. */

/* ===== pp10-main.css ===== */
/* ═══════════════════════════════════════════════════════════════
   pp10-main.css  –  Przedszkole Publiczne nr 10 Sto Pociech
   Główny arkusz stylów – wspólny dla wszystkich stron
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   RESET & ROOT
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  /* ── Kolory przedszkola PP10 Sto Pociech ─────────────────── */
  --brand-orange:      #ad5214;
  --brand-yellow:      #ecc931;
  --brand-purple:      #7d57ad;

  /* Ciemne – tekst AAA (≥7:1 na białym) */
  --c-orange:          #993834;
  --c-yellow:          #685609;
  --c-purple:          #59346a;

  /* Tła pastelowe */
  --c-orange-tint:     #fdf4ec;
  --c-yellow-tint:     #fdfaec;
  --c-purple-tint:     #f3eef9;

  /* Neutralne */
  --c-white:           #FFFFFF;
  --c-bg:              #FAF7F4;
  --c-surface:         #FFFFFF;
  --c-text:            #1a0e00;
  --c-muted:           #4a2e10;
  --c-border:          #d9bfa8;
  --c-focus:           #59346a;

  /* Aliasy */
  --c-primary:         var(--c-orange);
  --c-primary-bg:      var(--brand-orange);
  --c-primary-tint:    var(--c-orange-tint);
  --c-secondary:       var(--c-purple);
  --c-secondary-bg:    var(--brand-purple);
  --c-secondary-tint:  var(--c-purple-tint);
  --c-accent:          var(--brand-yellow);
  --c-accent-text:     var(--c-yellow);

  /* Backwards compat – old var names remapped */
  --c-green:           var(--c-orange);
  --c-green-mid:       var(--c-purple);
  --c-green-light:     var(--c-orange-tint);
  --c-amber:           var(--brand-orange);
  --c-amber-dark:      var(--c-orange);
  --c-amber-light:     var(--c-orange-tint);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --max-w: 1180px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 2px 10px rgba(139,70,24,.10);
  --shadow-lg: 0 6px 28px rgba(139,70,24,.14);
  --trans: .18s ease;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--c-orange); }
a:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 3px;
  text-decoration: none;
}
p { margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -70px; left: 1rem;
  z-index: 9999;
  background: var(--c-purple);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: top var(--trans);
}
.skip-link:focus { top: 12px; color: #fff; outline: 3px solid var(--brand-orange); }

/* ═══════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8888;
  background: var(--c-purple);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
#cookie-banner p { color: rgba(255,255,255,.9); font-size: .88rem; margin: 0; max-width: 720px; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie {
  padding: 9px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
}
.btn-cookie-accept { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }
.btn-cookie-accept:hover { background: var(--c-orange); border-color: var(--c-orange); }
.btn-cookie-reject { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-cookie-reject:hover { background: rgba(255,255,255,.1); }
.btn-cookie:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 3px; }

/* ═══════════════════════════════════════════
   HEADER – top bar with logo + icon links
═══════════════════════════════════════════ */
.site-header {
  background: var(--c-white);
  border-bottom: 3px solid var(--c-orange-tint);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* Logo block */
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.site-logo:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 4px; border-radius: 4px; }

.logo-emblem {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(231,111,0,.2);
}
.logo-emblem svg { width: 34px; height: 34px; }

.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--c-purple);
  line-height: 1.25;
  font-weight: 600;
}
.logo-sub {
  font-size: .78rem;
  color: var(--c-muted);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Icon links */
.header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
      list-style: none;
}

.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 10px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--c-purple);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: background var(--trans), color var(--trans);
  min-width: 54px;
  text-align: center;
  border: 1.5px solid transparent;
}
.icon-link:hover {
  background: var(--c-orange-tint);
  color: var(--c-purple);
  border-color: var(--c-border);
  text-decoration: none;
}
.icon-link:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  color: var(--c-purple);
  text-decoration: none;
}
.icon-link svg, .icon-link img { width: 28px; height: 28px; object-fit: contain; }

/* Herb SVG icons */
.herb-rp { fill: none; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.site-nav-wrap {
  background: var(--c-orange);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
}

.site-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 10px 18px;
  margin: 8px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--trans);
}
.nav-toggle:hover { background: rgba(255,255,255,.12); }
.nav-toggle:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }

/* Nav list */
.nav-list {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  flex: 1;
}

.nav-list > li { position: relative; }

.nav-list > li > a,
.nav-list > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 54px;
  padding: 0 18px;
  color: rgba(255,255,255,.93);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.nav-list > li > a:hover,
.nav-list > li > button:hover,
.nav-list > li > a:focus-visible,
.nav-list > li > button:focus-visible {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-bottom-color: var(--brand-orange);
}
.nav-list > li > a:focus-visible,
.nav-list > li > button:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: -3px;
}
.nav-list > li > a[aria-current="page"] {
  border-bottom-color: var(--brand-orange);
  color: #fff;
  background: rgba(255,255,255,.08);
}

/* Chevron for dropdowns */
.nav-chevron { width: 12px; height: 12px; transition: transform .2s; fill: currentColor; flex-shrink: 0; }
button[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  list-style: none;
  display: none;
  z-index: 200;
  padding: 6px 0;
}
.nav-dropdown.open { display: block; }
.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--c-purple);
  font-size: .9rem;
  text-decoration: none;
  transition: background var(--trans), color var(--trans);
  border-left: 3px solid transparent;
  font-weight: 500;
}
.nav-dropdown li a:hover {
  background: var(--c-orange-tint);
  border-left-color: var(--brand-orange);
  color: var(--c-purple);
}
.nav-dropdown li a:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: -3px;
  background: var(--c-orange-tint);
}

/* ═══════════════════════════════════════════
   HERO / BUILDING IMAGE
═══════════════════════════════════════════ */
.hero {
 position: relative;
    overflow: hidden;
    max-height: 600px;
    background: var(--c-purple);
    max-width: 1140px;
    margin: 25px auto;
    border-radius: 14px;
    border: 3px solid #614c93;
	color: #fff;
}
.hero-img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  filter: brightness(1);
}
.hero-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--c-purple);
    padding: 16px 25px 15px;
}
.hero-caption-inner { max-width: var(--max-w); margin: 0 auto; }
.hero-caption-title {
          font-family: var(--font-head);
          font-size: 1.8rem;
          color: #fff;
          font-weight: 400;
          line-height: 1.2;
          text-shadow: 0 2px 8px rgba(0,0,0,.4);
          margin-bottom: 4px;
        }
        .hero-caption h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-caption p {
  color: rgba(255,255,255,.88);
      font-size: 1.2rem;
    margin-top: 4px;
    font-weight: 500;
}

/* Hero – no real image fallback */
.hero-placeholder {
  min-height: 280px;
  background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-orange) 60%, #52b788 100%);
  display: flex;
  align-items: flex-end;
}

/* ═══════════════════════════════════════════
   PAGE LAYOUT
═══════════════════════════════════════════ */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) { .page-wrap { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   SECTION HEADINGS
═══════════════════════════════════════════ */
.section-label {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-orange);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 3px;
  background: var(--brand-orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-heading {
  font-family: var(--font-head);
  font-size: 1.21rem;
  color: var(--c-purple);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-lead {
  font-size: .93rem;
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════
   IMPORTANT EVENTS SECTION
═══════════════════════════════════════════ */
#wazne-informacje { margin-bottom: 36px; }

/* Recruitment card – featured */
.recruit-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 220px 1fr;
}
@media (max-width: 600px) { .recruit-card { grid-template-columns: 1fr; } }

.recruit-card-img {
  background: var(--c-orange-tint);
  display: block;
  min-height: 240px;
  overflow: hidden;
  position: relative;
}
.recruit-card-img img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.recruit-card-body { padding: 26px 28px; }
.recruit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-orange-tint);
  color: var(--c-orange);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid rgba(231,111,0,.3);
  margin-bottom: 12px;
}
.recruit-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--c-purple);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.recruit-card-body p { font-size: .87rem; color: var(--c-muted); line-height: 1.7; }
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  background: var(--c-orange);
  color: #fff;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: background var(--trans), transform var(--trans);
}
.btn-main:hover { background: var(--c-purple); transform: translateY(-1px); color: #fff; }
.btn-main:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; color: #fff; text-decoration: none; }
.btn-main svg { width: 16px; height: 16px; fill: currentColor; }

/* ═══════════════════════════════════════════
   NEWS SECTION
═══════════════════════════════════════════ */
#aktualnosci { margin-bottom: 8px; }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--trans), transform var(--trans);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.news-card-thumb {
  height: 200px;
  background: var(--c-orange-tint);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.news-card:hover .news-card-thumb-img { transform: scale(1.04); }
.news-card-thumb-placeholder { font-size: 52px; }

.news-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.news-meta {
  font-size: .8rem;
  color: var(--c-muted);
  font-weight: 600;
  letter-spacing: .03em;
}
.news-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-purple);
  line-height: 1.35;
  flex: 1;
}
.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-card-link:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: var(--radius); }
.news-card-link h3:hover { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--c-orange);
  text-decoration: none;
  border: 1.5px solid var(--c-orange);
  border-radius: var(--radius);
  padding: 6px 14px;
  align-self: flex-start;
  margin-top: 8px;
  transition: background var(--trans), color var(--trans);
}
.read-more-link svg {    width: 16px;
    height: 16px;
    fill: currentColor;}
.read-more-link:hover { background: var(--c-orange); color: #fff; }
.read-more-link:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }

.news-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-orange);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background var(--trans), transform var(--trans);
}
.news-more-link:hover { background: var(--c-orange); transform: translateY(-1px); color: #fff; }
.news-more-link:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; color: #fff; text-decoration: none; }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 22px; }

.sidebar-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-card-head {
  background: var(--c-purple);
  color: #fff;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card-head svg { width: 16px; height: 16px; fill: rgba(255,255,255,.8); flex-shrink: 0; }
.sidebar-card-body { padding: 18px; }

/* Sidebar links list */
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--c-orange-tint); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-purple);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background var(--trans), border-color var(--trans), color var(--trans);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.sidebar-links li a:hover {
  background: var(--c-orange-tint);
  border-left-color: var(--brand-orange);
  color: var(--c-purple);
 text-decoration: underline; text-underline-offset: 3px; }
.sidebar-links li a:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 1px; }
.sidebar-links li a::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-top: 2px solid var(--c-orange);
  border-right: 2px solid var(--c-orange);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Sidebar contact info */
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-orange-tint);
  font-size: .85rem;
  color: var(--c-text);
}
.contact-detail:last-child { border-bottom: none; }
.contact-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  background: var(--c-orange-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; fill: var(--c-orange); }
.contact-detail strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); margin-bottom: 1px; }
.contact-detail a { color: var(--c-orange); font-weight: 500; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--c-purple);
  color: rgba(255,255,255,.85);
  padding: 44px 20px 20px;
  margin-top: 16px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
  font-weight: 400;
}
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6; }

.footer-col h2 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  text-decoration: none;
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: #fff; text-decoration: underline; }
.footer-col ul li a:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom a:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.wcag-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 30px;
  padding: 4px 12px;
  font-size: .7rem; font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .05em;
}

/* ═══════════════════════════════════════════
   MEDIA & RESPONSIVE
═══════════════════════════════════════════ */

/* ── Ikony nagłówka – prawdziwe obrazki ─────────────────────── */
.icon-link--img {
  padding: 6px 8px;
  min-width: 52px;
  gap: 2px;
}
.icon-link--img img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  border-radius: 3px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 8px;
    background: var(--c-orange);
  }
  .nav-list.open { display: flex; }
  .nav-list > li > a,
  .nav-list > li > button {
    height: auto;
    padding: 13px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
    width: 100%;
    justify-content: space-between;
  }
  .nav-list > li > a:hover,
  .nav-list > li > button:hover {
    border-bottom: none;
    border-left-color: var(--brand-orange);
  }
  .nav-dropdown {
    position: static;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,.12);
    padding: 0;
  }
  .nav-dropdown li a { color: rgba(255,255,255,.85); padding-left: 36px; }
  .nav-dropdown li a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .header-icons { gap: 4px; }
  .icon-link { min-width: 46px; padding: 6px 7px; }
  .hero-caption h2 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .logo-name { font-size: .95rem; }
  .section-heading { font-size: 1.3rem; }
}

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

@media print {
  nav, .sidebar, footer, #cookie-banner { display: none !important; }
  .page-wrap { display: block; }
  .site-header { box-shadow: none; border: 1px solid #ccc; }
}

.article-header {
  background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-purple) 100%);
  color: #fff;
  padding: 40px 20px 36px;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img-news-park.svg') center/cover no-repeat;
  opacity: .12;
  pointer-events: none;
}
.article-header-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 30px;
  padding: 4px 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background .15s;
}
.cat-badge:hover { background: rgba(255,255,255,.28); color: #fff; text-decoration: none; }
.cat-badge:focus-visible { outline: 3px solid var(--brand-yellow); outline-offset: 3px; color: #fff; }

.article-date-top {
  font-size: .82rem;
  color: rgba(255,255,255,.82);
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-date-top svg { width: 14px; height: 14px; fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.5; stroke-linecap: round; flex-shrink: 0; }

.article-title {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
  margin-bottom: 16px;
}
@media (max-width:600px) { .article-title { font-size: 1.55rem; } }

.article-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}
.author-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* ── Hero foto artykułu ──────────────────────────────────────── */
.article-hero-img {
	width:100%;

}
.article-hero-wrap {
     width: 100%;
    line-height: 0;
    position: relative;
    overflow: hidden;
    max-height: 100%;
    background: var(--c-purple);
    max-width: 1140px;
    margin: 0px auto 25px;
    border-radius: 14px;
    border: 1px solid #614c93;
}
.article-hero-caption {
  background: rgba(26,14,0,.55);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  padding: 8px 16px;
  line-height: 1.5;
  font-style: italic;
}

/* ── Layout: content + sidebar ───────────────────────────────── */
.article-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 20px 56px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 860px) { .article-wrap { grid-template-columns: 1fr; } }

/* ── Treść artykułu ──────────────────────────────────────────── */
.article-body {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}
.article-body ul {
  padding-left: 25px;
}
@media (max-width: 600px) { .article-body { padding: 22px 18px; } }

/* ETR toggle */
.etr-toggle-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--c-orange-tint);
  flex-wrap: wrap;
}
.etr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-muted);
  transition: all .15s;
}
.etr-btn.active {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
}
.etr-btn:hover:not(.active) { border-color: var(--c-orange); color: var(--c-orange); }
.etr-btn:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.etr-btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }

/* Wersja ETR */
.version-std { display: block; }
.version-etr { display: none; }
body.etr-mode .version-std { display: none; }
body.etr-mode .version-etr { display: block; }

/* ETR wersja – uproszczone style */
.etr-content h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--c-purple);
  font-weight: 400;
  margin: 22px 0 10px;
  padding-left: 14px;
  border-left: 4px solid var(--brand-yellow);
}
.etr-content p {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 10px;
  font-weight: 400;
}
.etr-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.etr-content ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-orange-tint);
  font-size: 1.05rem;
  line-height: 1.7;
}
.etr-content ul li::before {
  content: '✓';
  color: var(--c-orange);
  font-weight: 700;
  flex-shrink: 0;
}
.etr-box {
  background: var(--c-yellow-tint);
  border: 2px solid var(--brand-yellow);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 20px 0;
}
.etr-box strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 8px;
}
.etr-box ul { margin: 0; }

/* Treść standardowa */
.std-content h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--c-purple);
  font-weight: 400;
  margin: 28px 0 12px;
  line-height: 1.3;
}
.std-content h2:first-child { margin-top: 0; }
.std-content p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 14px;
}
.std-content ul {
  margin: 0 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.std-content ul li {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--c-text);
  position: relative;
  padding-left: 6px;
}
.std-content ul li::marker {
  color: var(--c-orange);
  font-size: 1.1em;
}

/* Zdjęcie w treści */
.content-figure {
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.content-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.content-figure figcaption {
  background: var(--c-orange-tint);
  padding: 10px 16px;
  font-size: .8rem;
  color: var(--c-muted);
  font-style: italic;
  border-top: 1px solid var(--c-border);
  line-height: 1.5;
}

/* Info boks */
.info-highlight {
  background: var(--c-purple-tint);
  border-left: 4px solid var(--brand-purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .9rem;
  color: var(--c-text);
  line-height: 1.7;
}
.info-highlight strong { color: var(--c-purple); }

/* ── Tagi / share ────────────────────────────────────────────── */

.share-label { font-size: .78rem; color: var(--c-muted); font-weight: 600; }

/* ── Nawigacja artykuł prev/next ─────────────────────────────── */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 500px) { .article-nav { grid-template-columns: 1fr; } }

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--c-text);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.article-nav-link:hover {
  border-color: var(--c-orange);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--c-text);
}
.article-nav-link:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }

.article-nav-link.prev { text-align: left; }
.article-nav-link.next { text-align: right; }

.nav-link-dir {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-orange);
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-nav-link.next .nav-link-dir { justify-content: flex-end; }
.nav-link-dir svg { width: 14px; height: 14px; fill: none; stroke: var(--c-orange); stroke-width: 2; stroke-linecap: round; }

.nav-link-title {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 400;
  color: var(--c-purple);
  line-height: 1.3;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.article-sidebar { display: flex; flex-direction: column; gap: 22px; }

/* Related articles */
.related-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-orange-tint);
  text-decoration: none;
  color: var(--c-text);
  transition: background .13s;
  border-radius: var(--radius);
}
.related-card:last-child { border-bottom: none; }
.related-card:hover { text-decoration: none; color: var(--c-text); }
.related-card:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: var(--radius); }

.related-thumb {
  width: 68px; height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-orange-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }

.related-info { flex: 1; min-width: 0; }
.related-date { font-size: .72rem; color: var(--c-muted); margin-bottom: 3px; }
.related-title { font-size: .84rem; font-weight: 600; color: var(--c-purple); line-height: 1.35; }
.related-card:hover .related-title { text-decoration: underline; text-underline-offset: 2px; }

/* Autor sidebar */
.author-card { display: flex; align-items: center; gap: 14px; }
.author-avatar-lg {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-orange-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  border: 2px solid var(--c-border);
}
.author-info strong { display: block; font-size: .9rem; color: var(--c-text); }
.author-info span { font-size: .78rem; color: var(--c-muted); }

/* Reading progress bar */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--brand-orange);
  width: 0%;
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}
/* WCAG 2.2: fokus i cele kotwic nie mogą być zasłaniane przez przyklejoną nawigację. */
html {
  scroll-padding-top: 5rem;
}

main[id],
main [id] {
  scroll-margin-top: 5rem;
}

main:focus-visible {
  outline: 4px solid var(--c-focus);
  outline-offset: 4px;
}

.nav-toggle:focus-visible,
.nav-list > li > a:focus-visible,
.nav-list > li > button:focus-visible {
  outline-color: var(--brand-yellow);
}

@media (max-width: 700px) {
  .nav-dropdown li a:focus-visible {
    outline-color: var(--brand-yellow);
    background: rgba(0, 0, 0, .28);
    color: #fff;
  }
}


/* ===== pp10-a11y.css ===== */
/* ═══════════════════════════════════════════════════════════════════════
   pp10-a11y.css  –  Pasek dostępności WCAG 2.2 AAA
   Wszystkie kolory, rozmiary i tryby zarządzane przez klasy na <html>
═══════════════════════════════════════════════════════════════════════ */

/* ── Pasek (toolbar) ─────────────────────────────────────────────────── */
#a11y-bar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #50325f;
  border-radius: 12px 0 0 12px;
  box-shadow: -3px 0 18px rgba(0,0,0,.28);
  overflow: hidden;
  transition: width .22s ease;
  width: 52px;
}

#a11y-bar.expanded {
  width: 230px;
}

/* ── Przycisk otwierający (toggle) ───────────────────────────────────── */
#a11y-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  background: #50325f;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  width: 100%;
  text-align: left;
  border-bottom: 2px solid rgba(255,255,255,.15);
  transition: background .15s;
  min-height: 52px;
}
#a11y-toggle:hover { background: #74291a; }
#a11y-toggle:focus-visible {
  outline: 3px solid #ecc931;
  outline-offset: -3px;
}
#a11y-toggle .a11y-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: #fff;
}
#a11y-toggle .a11y-label {
  font-size: .82rem;
  letter-spacing: .03em;
  opacity: 0;
  transition: opacity .18s;
  pointer-events: none;
      color: #fff;
}
#a11y-bar.expanded #a11y-toggle .a11y-label { opacity: 1;color: #fff; }

/* ── Panel z opcjami ─────────────────────────────────────────────────── */
#a11y-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height .28s ease;
}
#a11y-bar.expanded #a11y-panel {
  max-height: 700px;
}

/* ── Sekcja wewnątrz panelu ──────────────────────────────────────────── */
.a11y-section {
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.a11y-section:last-child { border-bottom: none; }

.a11y-section-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255);
  margin-bottom: 7px;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  display: block;
}

/* ── Przyciski wewnątrz panelu ───────────────────────────────────────── */
.a11y-btn-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.a11y-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 7px;
  color: #fff;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .14s, border-color .14s, transform .1s;
  text-align: center;
  line-height: 1.2;
}
.a11y-btn:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.45);
}
.a11y-btn:active { transform: scale(.96); }
.a11y-btn:focus-visible {
  outline: 3px solid #ecc931;
  outline-offset: 2px;
}
.a11y-btn.active {
  background: #d16a24;
  border-color: #d16a24;
  color: #fff;
}
.a11y-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Suwak rozmiaru czcionki ─────────────────────────────────────────── */
.a11y-slider-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}
.a11y-slider-wrap span {
  font-size: .72rem;
  color: rgba(255,255,255);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  min-width: 30px;
  text-align: center;
}
#a11y-font-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.25);
  outline: none;
  cursor: pointer;
}
#a11y-font-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #d16a24;
  cursor: pointer;
  border: 2px solid #fff;
}
#a11y-font-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #d16a24;
  cursor: pointer;
  border: 2px solid #fff;
}
#a11y-font-slider:focus-visible {
  outline: 3px solid #ecc931;
  outline-offset: 4px;
}

/* ── Przycisk resetowania ────────────────────────────────────────────── */
#a11y-reset {
  width: 100%;
  margin: 0;
  padding: 9px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 7px;
  color: rgba(255,255,255,.8);
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .14s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
#a11y-reset:hover { background: rgba(255,255,255,.15); color: #fff; }
#a11y-reset:focus-visible { outline: 3px solid #ecc931; outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════════════════
   TRYBY – klasy aplikowane na <html>
═══════════════════════════════════════════════════════════════════════ */

/* ── Wysoki kontrast (czarno-biały) ─────────────────────────────────── */
html.a11y-high-contrast {
  --c-green:        #000000 !important;
  --c-green-mid:    #000000 !important;
  --c-green-light:  #ffffff !important;
  --c-amber:        #000000 !important;
  --c-amber-dark:   #000000 !important;
  --c-amber-light:  #ffffff !important;
  --c-white:        #ffffff !important;
  --c-bg:           #ffffff !important;
  --c-surface:      #ffffff !important;
  --c-text:         #000000 !important;
  --c-muted:        #000000 !important;
  --c-border:       #000000 !important;
  --c-focus:        #0000ff !important;
  filter: none !important;
}
html.a11y-high-contrast body { background: #fff !important; color: #000 !important; }
html.a11y-high-contrast a { color: #0000cc !important; text-decoration: underline !important; }
html.a11y-high-contrast a:visited { color: #551A8B !important; }
html.a11y-high-contrast a:focus-visible,
html.a11y-high-contrast button:focus-visible,
html.a11y-high-contrast input:focus-visible,
html.a11y-high-contrast textarea:focus-visible,
html.a11y-high-contrast select:focus-visible {
  outline: 4px solid #0000ff !important;
  outline-offset: 3px !important;
}
html.a11y-high-contrast .site-header,
html.a11y-high-contrast .site-nav-wrap,
html.a11y-high-contrast .page-band,
html.a11y-high-contrast footer,
html.a11y-high-contrast .sidebar-card-head,
html.a11y-high-contrast #a11y-bar {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-high-contrast .site-header { border-bottom: 3px solid #000 !important; }
html.a11y-high-contrast .nav-list > li > a,
html.a11y-high-contrast .nav-list > li > button { color: #fff !important; }
html.a11y-high-contrast .nav-dropdown { background: #fff !important; border: 2px solid #000 !important; }
html.a11y-high-contrast .nav-dropdown li a { color: #000 !important; }
html.a11y-high-contrast .content-box,
html.a11y-high-contrast .sidebar-card,
html.a11y-high-contrast .news-card,
html.a11y-high-contrast .recruit-card { border: 2px solid #000 !important; }
html.a11y-high-contrast .btn-main,
html.a11y-high-contrast .btn-amber { background: #000 !important; color: #fff !important; border: 2px solid #000 !important; }
html.a11y-high-contrast .info-box { background: #fff !important; border: 2px solid #000 !important; color: #000 !important; }
html.a11y-high-contrast .logo-emblem { background: #000 !important; border: 2px solid #fff !important; }
html.a11y-high-contrast img { border: 1px solid #000; }

/* ── Negatyw (ciemne tło, jasny tekst) ──────────────────────────────── */
html.a11y-inverted {
  --c-green:        #C4ADFF !important;
  --c-green-mid:    #B39DFF !important;
  --c-green-light:  #150D2E !important;
  --c-amber:        #FFB347 !important;
  --c-amber-dark:   #FFD080 !important;
  --c-amber-light:  #1A1000 !important;
  --c-white:        #121212 !important;
  --c-bg:           #100D2A !important;
  --c-surface:      #1E1340 !important;
  --c-text:         #EDE8FF !important;
  --c-muted:        #C4ADFF !important;
  --c-border:       #2D1E5A !important;
  --c-focus:        #FFB347 !important;
}
html.a11y-inverted body { background: #100D2A !important; color: #EDE8FF !important; }
html.a11y-inverted a { color: #7DD9FF !important; }
html.a11y-inverted .site-header { background: #1E1340 !important; border-bottom-color: #2D1E5A !important; }
html.a11y-inverted .nav-list > li > a,
html.a11y-inverted .nav-list > li > button { color: rgba(232,245,236,.93) !important; }
html.a11y-inverted .nav-dropdown { background: #1E1340 !important; border-color: #2D1E5A !important; }
html.a11y-inverted .nav-dropdown li a { color: #EDE8FF !important; }
html.a11y-inverted .nav-dropdown li a:hover { background: #150D2E !important; }
html.a11y-inverted .content-box,
html.a11y-inverted .sidebar-card,
html.a11y-inverted .news-card,
html.a11y-inverted .recruit-card { background: #1E1340 !important; border-color: #2D1E5A !important; }
html.a11y-inverted footer { background: #0E0A22 !important; }
html.a11y-inverted .news-card-thumb,
html.a11y-inverted .news-item-thumb { background: #150D2E !important; }
html.a11y-inverted .recruit-card-img { background: #150D2E !important; }
html.a11y-inverted .info-box { background: #150D2E !important; color: #C4ADFF !important; }
html.a11y-inverted .warn-box { background: #1A1000 !important; color: #FFD080 !important; }

/* ── Żółte tło (dla słabowidzących) ─────────────────────────────────── */
html.a11y-yellow {
  --c-bg:           #FFFFF0 !important;
  --c-white:        #FFFFF5 !important;
  --c-surface:      #FFFFF5 !important;
  --c-text:         #000000 !important;
  --c-muted:        #1A1A00 !important;
  --c-border:       #888800 !important;
}
html.a11y-yellow body { background: #FFFFF0 !important; color: #000 !important; }
html.a11y-yellow .content-box,
html.a11y-yellow .sidebar-card,
html.a11y-yellow .news-card,
html.a11y-yellow .recruit-card { background: #FFFFF5 !important; border-color: #888800 !important; }
html.a11y-yellow a { color: #00008B !important; }

/* ── Podkreślenie linków ─────────────────────────────────────────────── */
html.a11y-underline-links a {
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  text-decoration-thickness: 2px !important;
}

/* ── Zwiększony odstęp wierszy ───────────────────────────────────────── */
html.a11y-line-height body,
html.a11y-line-height p,
html.a11y-line-height li,
html.a11y-line-height td {
  line-height: 2.2 !important;
}
html.a11y-line-height h1,
html.a11y-line-height h2,
html.a11y-line-height h3 {
  line-height: 1.6 !important;
}

/* ── Czytelna czcionka (dysleksja) ──────────────────────────────────── */
html.a11y-dyslexia body,
html.a11y-dyslexia p,
html.a11y-dyslexia li,
html.a11y-dyslexia td,
html.a11y-dyslexia a,
html.a11y-dyslexia button,
html.a11y-dyslexia input,
html.a11y-dyslexia label {
  font-family: 'Atkinson Hyperlegible', 'Verdana', 'Trebuchet MS', sans-serif !important;
  letter-spacing: .04em !important;
  word-spacing: .12em !important;
}
html.a11y-dyslexia h1,
html.a11y-dyslexia h2,
html.a11y-dyslexia h3 {
  font-family: 'Atkinson Hyperlegible', 'Verdana', sans-serif !important;
}

/* ── Zatrzymaj animacje ──────────────────────────────────────────────── */
html.a11y-no-anim *,
html.a11y-no-anim *::before,
html.a11y-no-anim *::after {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}

/* ── Kursor duży ─────────────────────────────────────────────────────── */
html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M5 2 L5 32 L12 25 L18 38 L22 36 L16 23 L26 23 Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 5 2, auto !important;
}

/* ── Fokus zawsze widoczny ───────────────────────────────────────────── */
html.a11y-focus-visible *:focus {
  outline: 4px solid #E76F00 !important;
  outline-offset: 3px !important;
  border-radius: 3px !important;
}

/* ── Rozmiar czcionki (skalowanie przez font-size na <html>) ─────────── */
/* Kontrolowane przez JS: html style="font-size: Xpx" */

/* ── Mobilny pasek na dole (przy małych ekranach) ───────────────────── */
@media (max-width: 600px) {
  #a11y-bar {
    top: auto;
    bottom: 70px; /* above cookie banner */
    right: 0;
    transform: none;
    border-radius: 12px 0 0 12px;
    width: 44px;
  }
  #a11y-bar.expanded { width: 220px; }
}

/* ── Ukryj toolbar przy druku ────────────────────────────────────────── */
@media print { #a11y-bar { display: none !important; } }


/* ===== pp10-index.css ===== */
/* ═══════════════════════════════════════════════════════════════
   pp10-index.css  –  Style specyficzne dla strony głównej
═══════════════════════════════════════════════════════════════ */

/* ── Wyróżnione karty ważnych informacji ───────────────── */
        .wazne-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 18px;
          margin-bottom: 22px;
        }
        @media (max-width: 700px) { .wazne-grid { grid-template-columns: 1fr; } }

        .wazne-card {
          border-radius: 14px;
          overflow: hidden;
          display: flex;
          flex-direction: column;
          box-shadow: 0 4px 20px rgba(139,70,24,.18);
          position: relative;
          transition: transform .18s, box-shadow .18s;
        }
        .wazne-card:hover {
          transform: translateY(-3px);
          box-shadow: 0 8px 32px rgba(139,70,24,.25);
        }

        /* Karta pomarańczowa */
        .wazne-card.orange {
          background: #fff;
          border: 2px solid var(--c-orange);
        }
        .wazne-card.orange .wazne-card-header {
          background: var(--c-orange);
          color: #fff;
        }

        /* Karta fioletowa */
        .wazne-card.purple {
          background: #fff;
          border: 2px solid #6a4895;
        }
        .wazne-card.purple .wazne-card-header {
          background: #6a4895;
          color: #fff;
        }

        /* Pasek "WAŻNE" w prawym górnym rogu */
        .wazne-ribbon {
          position: absolute;
          top: 0px;
    right: -8px;
    background: #ecc931;
    color: #1a0e00;
    font-size: .88rem;
    font-weight: 600;
          letter-spacing: .1em;
          text-transform: uppercase;
          padding: 4px 14px 4px 10px;
          border-radius: 4px 0 0 4px;
          box-shadow: 2px 2px 6px rgba(0,0,0,.15);
          font-family: 'Source Sans 3', sans-serif;
          line-height: 1;
          /* contrast: #1a0e00 on #ecc931 = 12.6:1 AAA */
        }
        .wazne-ribbon::after {
          content: '';
          position: absolute;
          right: 0;
          bottom: -6px;
          border-width: 6px 8px 0 0;
          border-style: solid;
          border-color: #8b4618 transparent transparent transparent;
        }

        .wazne-card-header {
          padding: 14px 18px 12px;
          display: flex;
          align-items: center;
          gap: 10px;
        }
        .wazne-card-header-icon {
          width: 38px;
          height: 38px;
          border-radius: 8px;
          background: rgba(255,255,255,.18);
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 20px;
          flex-shrink: 0;
        }
        .wazne-card-header-text {
          display: flex;
          flex-direction: column;
          gap: 1px;
        }
        .wazne-card-kategoria {
          font-size: .78rem;
          font-weight: 500;
          letter-spacing: .1em;
          text-transform: uppercase;
          opacity: 1;
          font-family: 'Source Sans 3', sans-serif;
        }
        .wazne-card-header h3 {
          font-family: 'Poppins', sans-serif;
          font-size: 1rem;
          font-weight: 600;
          line-height: 1.25;
          color: #fff;
          margin: 0;
        }

        .wazne-card-body {
          padding: 18px 20px 20px;
          flex: 1;
          display: flex;
          flex-direction: column;
          gap: 10px;
        }
        .wazne-card-date {
          font-size: .78rem;
          font-weight: 600;
          color: #8b4618;
          display: flex;
          align-items: center;
          gap: 6px;
          font-family: 'Source Sans 3', sans-serif;
        }
        .wazne-card-date svg {
          width: 13px;
          height: 13px;
          fill: none;
          stroke: #8b4618;
          stroke-width: 1.5;
          flex-shrink: 0;
        }
        .wazne-card.purple .wazne-card-date { color: #6a4895; }
        .wazne-card.purple .wazne-card-date svg { stroke: #6a4895; }

        .wazne-card-body p {
          font-size: .88rem;
          color: #4a2e10;
          line-height: 1.7;
          margin: 0;
          flex: 1;
        }

        /* Alert strip – żółty pasek z ikoną */
        .wazne-alert-strip {
          background: #fdfaec;
          border-left: 3px solid #ecc931;
          border-radius: 0 6px 6px 0;
          padding: 8px 12px;
          font-size: .82rem;
          color: #433704;
          font-weight: 600;
          display: flex;
          align-items: flex-start;
          gap: 8px;
          line-height: 1.5;
          font-family: 'Source Sans 3', sans-serif;
          /* contrast #685609 on #fdfaec = 7.18:1 AAA */
        }
        .wazne-alert-strip svg {
          width: 15px;
          height: 15px;
          fill: #685609;
          flex-shrink: 0;
          margin-top: 1px;
        }

        .wazne-card-footer {
          padding: 0 20px 18px;
        }
        .wazne-btn {
          display: inline-flex;
          align-items: center;
          gap: 7px;
          padding: 9px 20px;
          border-radius: 8px;
          font-family: 'Source Sans 3', sans-serif;
          font-size: .85rem;
          font-weight: 700;
          text-decoration: none;
          transition: background .15s, transform .12s;
        }
        .wazne-btn:active { transform: scale(.97); }
        .wazne-btn:focus-visible { outline: 3px solid #6a4895; outline-offset: 3px; }
        .wazne-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

        .wazne-btn-orange {
          background: #d16a24;
          color: #fff;
          /* contrast: 3.62:1 – btn is large text, AA large ok; plus on white bg card */
        }
        .wazne-btn-orange:hover { background: #8b4618; color: #fff; }

        .wazne-btn-purple {
          background: #6a4895;
          color: #fff;
          /* contrast white on #6a4895: 7.06:1 AAA */
        }
        .wazne-btn-purple:hover { background: #7d57ad; color: #fff; }

        /* Główna karta rekrutacji */
        .recruit-card {
          background: var(--c-white);
          border-radius: var(--radius-lg);
          border: 1px solid var(--c-border);
          overflow: hidden;
          box-shadow: var(--shadow);
          display: grid;
          grid-template-columns: 220px 1fr;
          margin-top: 0;
        }
        @media (max-width: 600px) { .recruit-card { grid-template-columns: 1fr; } }

/* ===== pp10-pages.css ===== */
/* ═══════════════════════════════════════════════════════════════
   pp10-pages.css  –  Style specyficzne dla poszczególnych podstron
═══════════════════════════════════════════════════════════════ */

/* ── aktualnosci ── */
.news-list{display:flex;flex-direction:column;gap:22px;}
    .news-item{background:#fff;border-radius:14px;border:1px solid var(--c-border);overflow:hidden;display:grid;grid-template-columns:200px 1fr;box-shadow:var(--shadow);transition:box-shadow .18s,transform .18s;}
    .news-item:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px);}
    @media(max-width:560px){.news-item{grid-template-columns:1fr;}}
    .news-item-thumb{min-height:140px;background:var(--c-orange-tint);display:flex;align-items:center;justify-content:center;font-size:56px;}
	.news-item-thumb img {width: 100%;height: 100%;min-height: 240px;object-fit: cover;object-position: center 15%;display: block;}
    .news-item-body{padding:20px 24px;display:flex;flex-direction:column;gap:6px;}
    .news-meta{font-size:1rem;color:var(--c-muted);font-weight:400;letter-spacing:.03em; border-bottom: 1px solid var(--c-border);}
    .news-item h2{font-family:var(--font-head);font-size:1.1rem;font-weight:600;color:var(--c-purple);line-height:1.3;}
    .news-item h2 a{text-decoration:none;color:inherit;} .news-item h2 a:hover{text-decoration:underline;text-underline-offset:3px;}
    .news-item h2 a:hover{color:var(--c-orange);}
    .news-item h2 a:focus-visible{outline:3px solid var(--c-focus);outline-offset:2px;border-radius:3px;}
    .news-item p{font-size:.86rem;color:var(--c-muted);line-height:1.7;}
    .tag{display:inline-block;background:var(--c-orange-tint);color:var(--c-purple);font-size:.95rem;font-weight:600;padding:3px 10px;border-radius:30px;letter-spacing:.05em;margin-bottom:4px;}
    .btn-read{display:inline-flex;align-items:center;gap:5px;font-size:.92rem;font-weight:600;color:var(--c-orange);text-decoration:none;border:1.5px solid var(--c-orange);border-radius:8px;padding:6px 14px;margin-top:8px;align-self:flex-start;transition:background .18s,color .18s;}
    .btn-read:hover{background:var(--c-orange);color:#fff;}
    .btn-read:focus-visible{outline:3px solid var(--c-focus);outline-offset:2px;}

/* ── kadra ── */
.staff-section{margin-bottom:28px;}
    .staff-section h2{font-family:var(--font-head);font-size:1.15rem;color:var(--c-purple);font-weight:400;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid var(--c-orange-tint);}
    .staff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;}
    .staff-card{background:#fff;border-radius:12px;border:1px solid var(--c-border);padding:18px;box-shadow:var(--shadow);}
    .staff-card .role{font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--c-orange);margin-bottom:5px;}
    .staff-card .name{font-family:var(--font-head);font-size:.95rem;color:var(--c-purple);font-weight:400;line-height:1.3;margin-bottom:3px;}
    .staff-card .grade{font-size:.8rem;color:var(--c-muted);}
    .staff-list{list-style:none;display:flex;flex-direction:column;gap:6px;}
    .staff-list li{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid var(--c-orange-tint);font-size:.87rem;color:var(--c-text);}
    .staff-list li:last-child{border-bottom:none;}
    .staff-list li::before{content:'';display:block;width:6px;height:6px;border-top:2px solid var(--brand-orange);border-right:2px solid var(--brand-orange);transform:rotate(45deg);flex-shrink:0;margin-top:6px;}

/* ── kontakt ── */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:28px;}
    @media(max-width:560px){.contact-grid{grid-template-columns:1fr;}}
    .cbox{background:#fff;border-radius:14px;border:1px solid var(--c-border);padding:24px;box-shadow:var(--shadow);}
    .cbox-icon{width:48px;height:48px;border-radius:12px;background:var(--c-orange-tint);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
    .cbox-icon svg{width:22px;height:22px;fill:none;stroke:var(--c-orange);stroke-width:1.5;stroke-linecap:round;}
    .cbox h2{font-family:var(--font-head);font-size:1rem;color:var(--c-purple);font-weight:400;margin-bottom:6px;}
    .cbox p,.cbox a{font-size:.9rem;color:var(--c-muted);}
    .cbox a{color:var(--c-orange);}
    .edoreczenia{background:var(--c-orange-tint);border:1.5px solid var(--brand-orange);border-radius:14px;padding:20px 24px;margin-bottom:28px;}
    .edoreczenia h2{font-family:var(--font-head);font-size:1rem;color:var(--c-orange);margin-bottom:8px;font-weight:400;}
    .edoreczenia code{font-family:monospace;font-size:.88rem;background:rgba(231,111,0,.12);padding:4px 10px;border-radius:6px;color:var(--c-orange);word-break:break-all;}
    .map-placeholder{background:var(--c-orange-tint);border-radius:14px;border:1px solid var(--c-border);min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--c-purple);font-size:.9rem;font-weight:600;}
    .map-placeholder svg{width:36px;height:36px;fill:none;stroke:var(--c-orange);stroke-width:1.5;stroke-linecap:round;}

/* ── oferta ── */
.offer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-bottom:28px;}
    .offer-card{background:#fff;border-radius:12px;border:1px solid var(--c-border);padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:8px;}
    .offer-icon{font-size:32px;margin-bottom:4px;}
    .offer-card h3{font-family:var(--font-head);font-size:.95rem;color:var(--c-purple);font-weight:400;}
    .offer-card p{font-size:.82rem;color:var(--c-muted);line-height:1.6;}
    .offer-list{list-style:none;display:flex;flex-direction:column;gap:8px;margin-bottom:24px;}
    .offer-list li{display:flex;align-items:flex-start;gap:12px;padding:10px 14px;background:#fff;border-radius:10px;border:1px solid var(--c-border);font-size:.88rem;color:var(--c-text);}
    .offer-list li::before{content:'✓';font-weight:700;color:var(--c-orange);font-size:.9rem;flex-shrink:0;margin-top:1px;}

/* ── rekrutacja ── */
.timeline{position:relative;padding-left:32px;margin-bottom:28px;}
    .timeline::before{content:'';position:absolute;left:9px;top:6px;bottom:6px;width:2px;background:linear-gradient(to bottom,var(--c-orange),var(--brand-orange));border-radius:2px;}
    .titem{position:relative;margin-bottom:20px;}
    .titem:last-child{margin-bottom:0;}
    .tdot{position:absolute;left:-27px;top:5px;width:16px;height:16px;border-radius:50%;background:var(--c-orange);border:3px solid #fff;box-shadow:0 0 0 2px var(--c-orange);}
    .tdate{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--c-orange);margin-bottom:3px;}
    .titem h3{font-family:var(--font-head);font-size:.95rem;color:var(--c-purple);font-weight:400;margin-bottom:4px;}
    .titem p{font-size:.85rem;color:var(--c-muted);}
	.news-item-thumb--icon {
  background: var(--c-orange-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 24px !important;
}
 
.strona-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(139,70,24,.15));
  transition: transform .18s;
}
 
.news-item:hover .strona-icon {
  transform: scale(1.08) rotate(-2deg);
}
 
/* Tryby dostępności */
html.a11y-high-contrast .news-item-thumb--icon {
  background: #fff;
  border-right: 2px solid #000;
}
html.a11y-inverted .news-item-thumb--icon {
  background: #150D2E;
}
html.a11y-yellow .news-item-thumb--icon {
  background: #FFFFF5;
}

/* ===== pp10-shared.css ===== */
/* pp10-shared.css – wspólne style dla wszystkich podstron */

/* ═══ RESET & ROOT ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
:root {
  /* ── Kolory przedszkola ────────────────────────────────── */
  /* Oryginalne barwy przedszkola (tylko jako tła/akcenty) */
 --brand-orange:      #ad5214;
  --brand-yellow:      #ecc931;
  --brand-purple:      #7d57ad;

  /* Ciemne warianty – tekst i tła (AAA ≥7:1 na białym) */
  --c-orange:           #8b1917;   /* 7.03:1 na białym – nagłówki, nav  */
  --c-yellow:           #685609;   /* 7.18:1 na białym – akcenty        */
  --c-purple:           #5b2e60;   /* 7.06:1 na białym – tytuły sekcji  */

  /* Tła pastelowe (brand-tint) */
  --c-orange-tint:      #fdf4ec;   /* tło kart pomarańczowych           */
  --c-yellow-tint:      #fdfaec;   /* tło kart żółtych                  */
  --c-purple-tint:      #f3eef9;   /* tło kart fioletowych              */

  /* Neutralne */
  --c-white:            #FFFFFF;
  --c-bg:               #FAF7F4;   /* tło strony – ciepła biel          */
  --c-surface:          #FFFFFF;
  --c-text:             #1a0e00;   /* bardzo ciemny brąz – 18:1 na biel */
  --c-muted:            #4a2e10;   /* przyciemniony pomarańcz – 9:1     */
  --c-border:           #d9bfa8;   /* ramki – ciepły beż                */
  --c-focus:            #5b2e60;   /* fioletowy fokus – wyróżnia się    */

  /* Aliasy semantyczne → brand */
  --c-primary:          var(--c-orange);       /* główny kolor akcji    */
  --c-primary-bg:       var(--brand-orange);   /* tło przycisków        */
  --c-primary-tint:     var(--c-orange-tint);  /* jasne tło             */
  --c-secondary:        var(--c-purple);       /* drugi kolor           */
  --c-secondary-bg:     var(--brand-purple);   /* tło nav, headery      */
  --c-secondary-tint:   var(--c-purple-tint);  /* jasne tło fiolet      */
  --c-accent:           var(--brand-yellow);   /* żółty – paski, focus  */
  --c-accent-text:      var(--c-yellow);       /* ciemny żółty – tekst  */

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --max-w: 1180px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 2px 10px rgba(100,72,0,.10);
  --shadow-lg: 0 6px 28px rgba(100,72,0,.14);
  --trans: .18s ease;
}
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.75; color: var(--c-text); background: var(--c-bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-purple); text-decoration: none;   font-weight: 600;}
a:hover { color: var(--c-orange);  text-decoration: underline;text-underline-offset: 4px; }

a:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 3px; text-decoration: none; }
p { margin-bottom: .9rem; } p:last-child { margin-bottom: 0; }

/* ═══ ACCESSIBILITY ═══ */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; top:-70px; left:1rem; z-index:9999; background:var(--c-green); color:#fff; padding:12px 28px; border-radius:var(--radius); font-weight:600; font-size:.95rem; text-decoration:none; transition:top var(--trans); }
.skip-link:focus { top:12px; color:#fff; outline:3px solid var(--c-amber); }

/* ═══ COOKIE BANNER ═══ */
#cookie-banner { position:fixed; bottom:0; left:0; right:0; z-index:8888; background:var(--c-green); color:#fff; padding:16px 24px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; box-shadow:0 -4px 20px rgba(0,0,0,.25); }
#cookie-banner p { color:rgba(255,255,255,.9); font-size:.88rem; margin:0; max-width:720px; }
.cookie-btns { display:flex; gap:10px; flex-shrink:0; }
.btn-cookie { padding:9px 22px; border-radius:var(--radius); font-family:var(--font-body); font-weight:600; font-size:.9rem; cursor:pointer; border:2px solid transparent; transition:all var(--trans); }
.btn-cookie-accept { background:var(--brand-orange); color:#fff; border-color:var(--c-amber); }
.btn-cookie-accept:hover { background:var(--c-amber-dark); border-color:var(--c-orange); }
.btn-cookie-reject { background:transparent; color:#fff; border-color:rgba(255,255,255,.5); }
.btn-cookie-reject:hover { background:rgba(255,255,255,.1); }
.btn-cookie:focus-visible { outline:3px solid var(--c-amber); outline-offset:3px; }

/* ═══ HEADER ═══ */
.site-header { background:var(--c-white); border-bottom:3px solid var(--c-yellow-tint); box-shadow:var(--shadow); }
.header-inner { max-width:var(--max-w); margin:0 auto; padding:14px 20px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.site-logo { display:flex; align-items:center; gap:14px; text-decoration:none; }
.site-logo:focus-visible { outline:3px solid var(--c-focus); outline-offset:4px; border-radius:4px; }
.logo-emblem { width:58px; height:58px; border-radius:50%; background:var(--brand-orange); display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:0 0 0 4px rgba(209,106,36,.25); }
.logo-emblem svg { width:34px; height:34px; }
.logo-text-wrap { display:flex; flex-direction:column; }

.logo-sub { font-size:.78rem; color:var(--c-muted); font-weight:500; letter-spacing:.04em; text-transform:uppercase; }
.header-icons { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.icon-link { 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 10px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--c-orange);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    min-width: 54px;
    text-align: center;
    border: 1.5px solid transparent;
    background: #e7e1f7;
    border-color: #afa9d1;
    text-decoration: none;
}
}
.icon-link:hover { background:var(--c-orange-tint); color:var(--c-orange); border-color:var(--c-border); text-decoration:none; }
.icon-link:focus-visible { outline:3px solid var(--c-focus); outline-offset:2px; color:var(--c-green); text-decoration:none; }
.icon-link svg, .icon-link img { width:40px; height:40px; object-fit:contain; }

/* ═══ NAV ═══ */
.site-nav-wrap { background:var(--c-purple); position:sticky; top:0; z-index:500; box-shadow:0 3px 12px rgba(0,0,0,.18); }
.site-nav { max-width:var(--max-w); margin:0 auto; display:flex; align-items:stretch; }
.nav-toggle { display:none; align-items:center; gap:8px; background:none; border:2px solid rgba(255,255,255,.4); color:#fff; padding:10px 18px; margin:8px 16px; border-radius:var(--radius); font-family:var(--font-body); font-size:.88rem; font-weight:600; cursor:pointer; transition:background var(--trans); }
.nav-toggle:hover { background:rgba(255,255,255,.14); }
.nav-toggle:focus-visible { outline:3px solid var(--c-amber); outline-offset:2px; }
.nav-list { display:flex; list-style:none; flex-wrap:wrap; flex:1; }
.nav-list > li { position:relative; }
.nav-list > li > a, .nav-list > li > button { display:flex; align-items:center; gap:5px; height:54px; padding:0 18px; color:rgba(255,255,255,.95); font-family:var(--font-body); font-size:.88rem; font-weight:600; text-decoration:none; background:none; border:none; border-bottom:3px solid transparent; cursor:pointer; white-space:nowrap; transition:background var(--trans),border-color var(--trans),color var(--trans); }
.nav-list > li > a:hover, .nav-list > li > button:hover { background:rgba(0,0,0,.14); color:#fff; border-bottom-color:var(--brand-yellow); }
.nav-list > li > a:focus-visible, .nav-list > li > button:focus-visible { outline:3px solid var(--c-amber); outline-offset:-3px; }
.nav-list > li > a[aria-current="page"] { border-bottom-color:var(--brand-yellow); color:#fff; background:rgb(0 0 0 / 14%); }
.nav-chevron { width:12px; height:12px; transition:transform .2s; fill:currentColor; flex-shrink:0; }
button[aria-expanded="true"] .nav-chevron { transform:rotate(180deg); }
.nav-dropdown { position:absolute; top:100%; left:0; min-width:240px; background:var(--c-white); border:1px solid var(--c-border); border-radius:0 0 var(--radius-lg) var(--radius-lg); box-shadow:var(--shadow-lg); list-style:none; display:none; z-index:200; padding:6px 0; }
.nav-dropdown.open { display:block; }
.nav-dropdown li a { display:block; padding:10px 20px; color:var(--c-purple); font-size:.9rem; text-decoration:none; transition:background var(--trans),color var(--trans); border-left:3px solid transparent; font-weight:500; }
.nav-dropdown li a:hover { background:var(--c-orange-tint); border-left-color:var(--brand-orange); }
.nav-dropdown li a:focus-visible { outline:3px solid var(--c-focus); outline-offset:-3px; background:var(--c-orange-tint); }

/* ═══ PAGE HEADER BAND ═══ */
.page-band { background:linear-gradient(135deg,var(--c-orange) 0%,var(--c-purple) 100%); color:#fff; padding:32px 20px; }
.page-band-inner { max-width:var(--max-w); margin:0 auto;padding: 0 25px; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:.875rem; color:rgba(255,255,255); margin-bottom:10px; flex-wrap:wrap; list-style:none; }
.breadcrumb a { color:rgba(255,255,255); text-decoration:none; }
.breadcrumb a:hover { color:#fff; text-decoration:underline; }
.breadcrumb a:focus-visible { outline:2px solid var(--c-amber); outline-offset:2px; border-radius:2px; }
.breadcrumb li + li::before { content:'|'; margin-right:8px; opacity:.5; }
.page-band h1 { font-family:var(--font-head); font-size:2rem; font-weight:400; line-height:1.2; }
.page-band .page-lead { font-size:.95rem; opacity:.85; margin-top:8px; }

/* ═══ LAYOUT ═══ */
.page-wrap { max-width:var(--max-w); margin:0 auto; padding:32px 20px 56px; display:grid; grid-template-columns:1fr 280px; gap:32px; align-items:start; }
@media(max-width:860px) { .page-wrap { grid-template-columns:1fr; } }
.content-area {}

/* ═══ SECTION TITLES ═══ */
.section-label { font-family:var(--font-body); font-size:.92rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--c-orange); display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.section-label::before { content:''; display:block; width:22px; height:3px; background:var(--brand-orange); border-radius:2px; flex-shrink:0; }
.section-title { font-family:var(--font-head); font-size:1.4rem; color:var(--c-purple); font-weight:400; line-height:1.25; margin-bottom:18px; }
.content-box { background:var(--c-white); border-radius:var(--radius-lg); border:1px solid var(--c-border); padding:30px 32px; box-shadow:var(--shadow); }
.content-box ul	{padding-left: 25px;}
.content-box ol	{padding-left: 25px;}
@media(max-width:600px) { .content-box { padding:20px 18px; } }

/* ═══ SIDEBAR ═══ */
.sidebar { display:flex; flex-direction:column; gap:22px; }
.sidebar-card { background:var(--c-white); border-radius:var(--radius-lg); border:1px solid var(--c-border); overflow:hidden; box-shadow:var(--shadow); }
.sidebar-card-head { background:var(--c-purple); color:#fff; padding:12px 18px; font-family:var(--font-body); font-size:.875rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; display:flex; align-items:center; gap:8px; }
.sidebar-card-head svg { width:16px; height:16px; fill:rgba(255,255,255,.8); flex-shrink:0; }
.sidebar-card-body { padding:18px; }
.sidebar-links { list-style:none; }
.sidebar-links li { border-bottom:1px solid var(--c-green-light); }
.sidebar-links li:last-child { border-bottom:none; }
.sidebar-links li a { display:flex; align-items:center; gap:10px; padding:10px 6px; font-size:.9rem; font-weight:500; color:var(--c-purple); text-decoration:none; border-left:3px solid transparent; transition:background var(--trans),border-color var(--trans); border-radius:0 var(--radius) var(--radius) 0; }
.sidebar-links li a:hover { background:var(--c-orange-tint); border-left-color:var(--brand-orange); }
.sidebar-links li a:focus-visible { outline:3px solid var(--c-focus); outline-offset:1px; }
.sidebar-links li a::before { content:''; display:block; width:6px; height:6px; border-top:2px solid var(--brand-orange); border-right:2px solid var(--brand-orange); transform:rotate(45deg); flex-shrink:0; }
.contact-detail { display:flex; align-items:flex-start; gap:12px; padding:10px 0; border-bottom:1px solid var(--c-green-light); font-size:.9rem; color:var(--c-text); }
.contact-detail:last-child { border-bottom:none; }
.contact-icon { width:34px; height:34px; border-radius:var(--radius); background:var(--c-orange-tint); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-icon svg { width:16px; height:16px; fill:var(--c-orange); }
.contact-detail strong { display:block; font-size:.8rem; text-transform:uppercase; letter-spacing:.05em; color:var(--c-muted); margin-bottom:1px; }
.contact-detail a { color:var(--c-purple); font-weight:500; }

/* ═══ BUTTONS ═══ */
.btn-main { display:inline-flex; align-items:center; gap:8px; background:var(--c-orange); color:#fff; padding:11px 24px; border-radius:var(--radius); font-family:var(--font-body); font-weight:600; font-size:1rem; text-decoration:none; transition:background var(--trans),transform var(--trans); }
.btn-main:hover { background:var(--c-purple); transform:translateY(-1px); color:#fff; }
.btn-main:focus-visible { outline:3px solid var(--c-focus); outline-offset:3px; color:#fff; text-decoration:none; }
.btn-amber { background:var(--brand-orange); }
.btn-amber:hover { background:var(--c-amber-dark); }

/* ═══ INFO / ALERT BOXES ═══ */
.info-box { background:var(--c-orange-tint); border-left:4px solid var(--brand-orange); border-radius:0 var(--radius) var(--radius) 0; padding:16px 20px; margin-bottom:20px; font-size:.9rem; color:var(--c-orange); line-height:1.6; }
.info-box strong { display:block; font-size:.95rem; margin-bottom:4px; }
.warn-box { background:var(--c-yellow-tint); border-left:4px solid var(--brand-yellow); border-radius:0 var(--radius) var(--radius) 0; padding:16px 20px; margin-bottom:20px; font-size:.9rem; color:var(--c-orange); }

/* ═══ TABLE ═══ */
.data-table { width:100%; border-collapse:collapse; font-size:.88rem; }
.data-table th { background:var(--c-purple); color:#fff; padding:10px 14px; text-align:left; font-weight:600; font-size:.875rem; letter-spacing:.04em; }
.data-table td { padding:10px 14px; border-bottom:1px solid var(--c-green-light); color:var(--c-text); vertical-align:top; }
.data-table tr:last-child td { border-bottom:none; }
.data-table tr:nth-child(even) td { background:rgba(106,72,149,.06); }
.data-table-wrap { overflow-x:auto; border-radius:var(--radius-lg); border:1px solid var(--c-border); box-shadow:var(--shadow); margin-bottom:24px; }

/* ═══ FOOTER ═══ */
footer { background:var(--c-orange); color:rgba(255,255,255); padding:44px 20px 20px; margin-top:16px; }
.footer-inner { max-width:var(--max-w); margin:0 auto; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:32px; margin-bottom:32px; }
.footer-brand-name { font-family:var(--font-head); font-size:1.05rem; color:#fff; margin-bottom:8px; line-height:1.3; font-weight:400; }
.footer-tagline { font-size:.875rem; color:rgba(255,255,255); line-height:1.6; }
.footer-col h2 { font-family:var(--font-body); font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255); margin-bottom:12px; padding-bottom:6px; border-bottom:1px solid rgba(255,255,255); }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:6px; }
.footer-col ul li a { color:rgba(255,255,255,.92); font-size:.9rem; text-decoration:none; transition:color var(--trans); }
.footer-col ul li a:hover { color:#fff; text-decoration:underline; }
.footer-col ul li a:focus-visible { outline:2px solid var(--c-amber); outline-offset:2px; color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255); padding-top:18px; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; align-items:center; font-size:.8rem; color:rgba(255,255,255); }
.footer-bottom a { color:rgba(255,255,255); }
.footer-bottom a:hover { color:#fff; text-decoration:underline;}
.footer-bottom a:focus-visible { outline:2px solid var(--c-amber); outline-offset:2px; }
.wcag-tag { display:inline-flex; align-items:center; gap:6px; border:1px solid rgba(255,255,255,.15); border-radius:30px; padding:4px 12px; font-size:.7rem; font-weight:700; color:rgba(255,255,255); letter-spacing:.05em; }

/* ═══ RESPONSIVE ═══ */
@media(max-width:700px) {
  .nav-toggle { display:flex; }
  .nav-list { display:none; flex-direction:column; width:100%; padding-bottom:8px; background:var(--c-green-mid); }
  .nav-list.open { display:flex; }
  .nav-list > li > a, .nav-list > li > button { height:auto; padding:13px 20px; border-bottom:none; border-left:3px solid transparent; width:100%; justify-content:space-between; }
  .nav-list > li > a:hover, .nav-list > li > button:hover { border-bottom:none; border-left-color:var(--c-amber); }
  .nav-dropdown { position:static; border-radius:0; box-shadow:none; border:none; background:rgba(0,0,0,.12); padding:0; }
  .nav-dropdown li a { color:rgba(255,255,255,.85); padding-left:36px; }
  .nav-dropdown li a:hover { background:rgba(255,255,255,.08); color:#fff; }
  .page-band h1 { font-size:1.5rem; }
  .header-icons { gap:4px; }
  .icon-link { min-width:46px; padding:6px 7px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; animation:none!important; } html { scroll-behavior:auto; } }
@media print { nav,.sidebar,footer,#cookie-banner { display:none!important; } .page-wrap { display:block; } }


/* ===== pp10-pages-pagination.css ===== */
/* ── paginacja ─────────────────────────────────────────────────────────── */
.news-pagination {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pagination-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--c-white);
  color: var(--c-purple);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow);
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  cursor: pointer;
  line-height: 1;
}

.pagination-btn:hover {
  background: var(--c-orange-tint);
  border-color: var(--c-orange);
  color: var(--c-orange);
}

.pagination-btn:active {
  transform: scale(.95);
}

.pagination-btn:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
}

/* Aktywna strona */
.pagination-btn--active {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
  cursor: default;
}

.pagination-btn--active:hover {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
}

/* Zablokowany przycisk (pierwsza/ostatnia strona) */
.pagination-btn--disabled {
  background: var(--c-bg);
  color: var(--c-border);
  border-color: var(--c-border);
  cursor: not-allowed;
  box-shadow: none;
}

.pagination-btn--disabled:hover {
  background: var(--c-bg);
  color: var(--c-border);
  border-color: var(--c-border);
}

/* Info "Strona X z Y · wyniki N–M z total" */
.pagination-info {
  font-size: .8rem;
  color: var(--c-muted);
  font-family: var(--font-body);
  margin: 0;
}

/* Brak wyników */
.news-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--c-muted);
  font-size: .95rem;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--c-border);
}

/* Tryby dostępności */
html.a11y-high-contrast .pagination-btn {
  background: #fff;
  color: #000;
  border: 2px solid #000;
  box-shadow: none;
}
html.a11y-high-contrast .pagination-btn--active {
  background: #000;
  color: #fff;
  border-color: #000;
}
html.a11y-high-contrast .pagination-btn--disabled {
  background: #fff;
  color: #767676;
  border-color: #767676;
}

html.a11y-inverted .pagination-btn {
  background: #1E1340;
  color: #EDE8FF;
  border-color: #2D1E5A;
}
html.a11y-inverted .pagination-btn:hover {
  background: #150D2E;
  border-color: #C4ADFF;
  color: #C4ADFF;
}
html.a11y-inverted .pagination-btn--active {
  background: #C4ADFF;
  color: #100D2A;
  border-color: #C4ADFF;
}

html.a11y-yellow .pagination-btn {
  background: #FFFFF5;
  color: #00008B;
  border-color: #888800;
}
html.a11y-yellow .pagination-btn--active {
  background: #00008B;
  color: #FFFFF0;
  border-color: #00008B;
}

@media (max-width: 480px) {
  .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: .82rem;
    padding: 0 8px;
  }
}


/* ===== pp10-sitemap.css ===== */
/* ═══════════════════════════════════════════════════════════════
   pp10-sitemap.css  –  Mapa strony
   WCAG 2.2 AAA – kontrast, fokus, hierarchia, tryby dostępności
═══════════════════════════════════════════════════════════════ */

/* ── Kontener nawigacji mapy ────────────────────────────────── */
.sitemap-nav {
    gap: 0;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 32px 20px 56px;
    display: grid;
    align-items: start;
}

/* ── Sekcja tematyczna ──────────────────────────────────────── */
.sitemap-section {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--c-border);
}

.sitemap-section:last-of-type {
  border-bottom: none;
}

/* ── Wersja meta (techniczna) – lekko wyróżniona ────────────── */
.sitemap-section--meta {
 
      background: var(--c-orange-tint);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border) !important;
    margin: 25px 0px;
    padding: 32px 20px 56px;
}


/* ── Tytuł sekcji ───────────────────────────────────────────── */
.sitemap-section-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-purple);
  /* kontrast #722c77 na #FAF7F4 = 7.42:1 → AAA */
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.sitemap-section-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Lista główna (poziom 1) ────────────────────────────────── */
.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-list--root {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sitemap-list--root > li {
  padding-left: 0;
}

/* ── Lista zagnieżdżona (poziom 2 – podkategorie) ───────────── */
.sitemap-list--sub {
  margin-top: 4px;
  margin-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 2px solid var(--c-border);
}

/* ── Pojedynczy link ────────────────────────────────────────── */
.sitemap-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 500;
  color: var(--c-orange);
  /* kontrast #993834 na #fff = 7.0:1 → AAA */
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: background var(--trans), color var(--trans), text-decoration-thickness var(--trans);
  word-break: break-word;
}

/* Strzałka przed linkiem (CSS content) */
.sitemap-link::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 1px;
}

.sitemap-link:hover {
  background: var(--c-orange-tint);
  color: var(--c-orange);
  text-decoration-thickness: 2px;
}

/* Link główny (primary – wyróżniony) */
.sitemap-link--primary {
  font-weight: 700;
  font-size: .95rem;
  color: var(--c-purple);
  /* kontrast #722c77 na #fff = 7.42:1 → AAA */
}

.sitemap-link--primary:hover {
  background: var(--c-purple-tint);
  color: var(--c-purple);
}

/* Aktywna strona (aria-current="page") */
.sitemap-link[aria-current="page"] {
  background: var(--c-orange-tint);
  font-weight: 700;
  color: var(--c-orange);
  cursor: default;
  text-decoration: none;
}

.sitemap-link[aria-current="page"]::after {
  content: '← jesteś tutaj';
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: .03em;
  margin-left: 6px;
}

/* ── Focus – WCAG 2.4.11 (AA), 2.4.12 (AAA) ────────────────── */
.sitemap-link:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--c-orange-tint);
}

/* ── Element listy z datą ───────────────────────────────────── */
.sitemap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Data ostatniej aktualizacji ────────────────────────────── */
.sitemap-date {
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-muted);
  /* kontrast #4a2e10 na #FAF7F4 = 8.5:1 → AAA */
  font-family: var(--font-body);
  white-space: nowrap;
  background: var(--c-orange-tint);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 2px 9px;
  line-height: 1.6;
  flex-shrink: 0;
}


.sitemap-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 20px;
  background: var(--c-orange-tint);
  border: 1px solid var(--c-border);
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-muted);
  /* kontrast #4a2e10 na #fdf4ec = 8.5:1 → AAA */
  font-family: var(--font-body);
  line-height: 1;
  flex-shrink: 0;
  /* Pusta wartość → ukryj */
  &:empty { display: none; }
}

/* ── Znacznik czasu generowania ─────────────────────────────── */
.sitemap-generated {
  font-size: .98rem;
  color: var(--c-muted);
  font-family: var(--font-body);
  max-width: var(--max-w);
    margin: 32px auto 0px;
}

.sitemap-generated time {
  font-weight: 600;
}

/* ── Responsywność ──────────────────────────────────────────── */
@media (max-width: 560px) {
  .sitemap-section {
    padding: 22px 0 20px;
  }

  .sitemap-section--meta {
    padding: 18px 16px;
  }

  .sitemap-list--sub {
    margin-left: 16px;
    padding-left: 10px;
  }

  .sitemap-link {
    font-size: .88rem;
    padding: 8px 10px 8px 8px;
  }

  .sitemap-link[aria-current="page"]::after {
    display: none; /* na mobile ukryj tekst "← jesteś tutaj" */
  }
}

/* ── Tryby dostępności ──────────────────────────────────────── */

/* Wysoki kontrast */
html.a11y-high-contrast .sitemap-section {
  border-bottom-color: #000;
}

html.a11y-high-contrast .sitemap-section--meta {
  background: #fff;
  border: 2px solid #000;
}

html.a11y-high-contrast .sitemap-section-title {
  color: #000;
}

html.a11y-high-contrast .sitemap-link {
  color: #0000cc;
  text-decoration: underline;
  background: transparent;
}

html.a11y-high-contrast .sitemap-link--primary {
  color: #000;
  font-weight: 700;
}

html.a11y-high-contrast .sitemap-link:hover {
  background: #000;
  color: #fff;
}

html.a11y-high-contrast .sitemap-link:focus-visible {
  outline: 4px solid #0000ff;
  background: transparent;
}

html.a11y-high-contrast .sitemap-list--sub {
  border-left-color: #000;
}

html.a11y-high-contrast .sitemap-count {
  background: #fff;
  border: 1.5px solid #000;
  color: #000;
}

html.a11y-high-contrast .sitemap-link[aria-current="page"] {
  background: #fff;
  color: #000;
  outline: 2px solid #000;
}

/* Negatyw */
html.a11y-inverted .sitemap-section {
  border-bottom-color: #2D1E5A;
}

html.a11y-inverted .sitemap-section--meta {
  background: #150D2E;
  border-color: #2D1E5A;
}

html.a11y-inverted .sitemap-section-title {
  color: #C4ADFF;
}

html.a11y-inverted .sitemap-link {
  color: #7DD9FF;
}

html.a11y-inverted .sitemap-link--primary {
  color: #EDE8FF;
}

html.a11y-inverted .sitemap-link:hover {
  background: #150D2E;
  color: #C4ADFF;
}

html.a11y-inverted .sitemap-list--sub {
  border-left-color: #2D1E5A;
}

html.a11y-inverted .sitemap-count {
  background: #1E1340;
  border-color: #2D1E5A;
  color: #C4ADFF;
}

html.a11y-inverted .sitemap-link[aria-current="page"] {
  background: #1E1340;
  color: #C4ADFF;
}

/* Żółte tło */
html.a11y-yellow .sitemap-section--meta {
  background: #FFFFF5;
  border-color: #888800;
}

html.a11y-yellow .sitemap-section-title {
  color: #00008B;
}

html.a11y-yellow .sitemap-link {
  color: #00008B;
}

html.a11y-yellow .sitemap-link--primary {
  color: #4B0082;
}

html.a11y-yellow .sitemap-link:hover {
  background: #FFFFE0;
  color: #00008B;
}

html.a11y-yellow .sitemap-count {
  background: #FFFFE0;
  border-color: #888800;
  color: #1A1A00;
}

html.a11y-yellow .sitemap-link[aria-current="page"] {
  background: #FFFFE0;
  color: #00008B;
}

html.a11y-high-contrast .sitemap-date {
  background: #fff;
  border: 1.5px solid #000;
  color: #000;
}

html.a11y-inverted .sitemap-date {
  background: #1E1340;
  border-color: #2D1E5A;
  color: #C4ADFF;
}

html.a11y-yellow .sitemap-date {
  background: #FFFFE0;
  border-color: #888800;
  color: #1A1A00;
}

/* ── Druk ────────────────────────────────────────────────────── */
@media print {
  .sitemap-nav {
    font-size: 11pt;
  }

  .sitemap-link {
    color: #000 !important;
    text-decoration: none;
  }

  .sitemap-link::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    color: #555;
    font-weight: 400;
  }

  .sitemap-link[aria-current="page"]::after {
    content: ' (' attr(href) ')';
  }

  .sitemap-count,
  .sitemap-section-icon {
    display: none;
  }

  .sitemap-section--meta {
    background: transparent !important;
    border: 1px solid #999 !important;
  }
}


/* ===== pp10-etr.css ===== */
/* ETR — tekst łatwy do czytania i rozumienia */
.etr-switcher {
  margin-block: 1.5rem;
}

.etr-switcher__controls {
  padding: 1rem;
  border: 2px solid #5b2e60;
  border-radius: 10px;
  background: #f7f2f8;
  margin-bottom: 1.25rem;
}

.etr-switcher__label {
  margin: 0 0 .65rem;
  color: #241126;
  font-weight: 700;
  font-size: 1rem;
}

.etr-switcher__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.etr-switcher__tab {
  min-height: 44px;
  padding: .65rem 1rem;
  border: 2px solid #5b2e60;
  border-radius: 8px;
  background: #fff;
  color: #5b2e60;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}

.etr-switcher__tab:hover {
  background: #eee3f0;
}

.etr-switcher__tab.is-active,
.etr-switcher__tab[aria-selected="true"] {
  background: #5b2e60;
  color: #fff;
}

.etr-switcher__tab:focus-visible {
  outline: 4px solid #8b1917;
  outline-offset: 3px;
}

.etr-switcher__help,
.etr-switcher__noscript {
  margin: .8rem 0 0;
  color: #331d35;
  font-size: .95rem;
  line-height: 1.6;
}

.etr-switcher__panel[hidden] {
  display: none !important;
}

.etr-switcher__panel:focus-visible {
  outline: 4px solid #5b2e60;
  outline-offset: 5px;
  border-radius: 4px;
}

.etr-switcher__panel--easy {
  max-width: 68ch;
  padding: clamp(1rem, 3vw, 2rem);
  border: 2px solid #5b2e60;
  border-radius: 12px;
  background: #fff;
  color: #171217;
  font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem);
  line-height: 1.85;
  letter-spacing: .01em;
  word-spacing: .06em;
  text-align: left;
  hyphens: none;
  overflow-wrap: anywhere;
}

.etr-intro {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 6px solid #8b1917;
  background: #fff4f3;
}

.etr-intro p {
  margin: 0;
}

.etr-intro p + p {
  margin-top: .4rem;
}

.etr-intro__title {
  color: #641210;
  font-size: 1.15em;
  font-weight: 800;
}

.etr-content {
  max-width: 60ch;
}

.etr-content h2,
.etr-content h3,
.etr-content h4 {
  color: #321936;
  line-height: 1.35;
  text-wrap: balance;
}

.etr-content h2 {
  margin: 2rem 0 .8rem;
  font-size: 1.45em;
}

.etr-content h3 {
  margin: 1.6rem 0 .65rem;
  font-size: 1.25em;
}

.etr-content h4 {
  margin: 1.35rem 0 .55rem;
  font-size: 1.1em;
}

.etr-content p {
  margin: 0 0 1.15em;
}

.etr-content ul,
.etr-content ol {
  margin: 0 0 1.25em;
  padding-left: 1.6em;
}

.etr-content li {
  margin-bottom: .65em;
  padding-left: .2em;
}

.etr-content li::marker {
  color: #8b1917;
  font-weight: 800;
}

.etr-content a {
  color: #5b2e60;
  text-decoration: underline;
  text-decoration-thickness: .12em;
  text-underline-offset: .18em;
}

.etr-content a:hover {
  color: #641210;
}

.etr-content a:focus-visible {
  outline: 4px solid #8b1917;
  outline-offset: 3px;
}

.etr-content strong {
  color: #241126;
  font-weight: 800;
}

.etr-content blockquote {
  margin: 1.25rem 0;
  padding: .9rem 1rem;
  border-left: 6px solid #5b2e60;
  background: #f7f2f8;
}

@media (max-width: 600px) {
  .etr-switcher__tab {
    width: 100%;
  }

  .etr-switcher__panel--easy {
    padding: 1rem;
  }
}

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

@media print {
  .etr-switcher__controls,
  .etr-switcher__noscript {
    display: none !important;
  }

  .etr-switcher__panel[hidden] {
    display: none !important;
  }

  .etr-switcher__panel--easy {
    max-width: none;
    border: 1px solid #000;
    color: #000;
  }
}


/* ===== metryczka.css ===== */
/* ── Metryczka — style frontendu ─────────────────────────────────────── */
/* Dodaj do głównego arkusza CSS projektu                                  */

.metryczka {
  border-top: 1px solid var(--c-border, #e0e0e0);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: .875rem;
  color: var(--c-muted, #666);
}

.metryczka__heading {
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--c-text, #333);
  margin-bottom: 1rem;
}

.metryczka__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.metryczka__row {
  display: flex;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--c-border-light, #f0f0f0);
  align-items: baseline;
}

.metryczka__row:last-child {
  border-bottom: none;
}

.metryczka__term {
  font-weight: 600;
  min-width: 180px;
  flex-shrink: 0;
  color: var(--c-text, #444);
}

.metryczka__def {
  margin: 0;
  line-height: 1.6;
}

/* Responsywność — na małych ekranach stack */
@media (max-width: 600px) {
  .metryczka__row {
    flex-direction: column;
    gap: .15rem;
  }
  .metryczka__term {
    min-width: unset;
  }
}

