/* ============================================================
   WCAG 2.1 AA – Wersja Wysokiego Kontrastu
   Tło: #222  |  Tekst / akcenty: #eccc78
   Klasa przełącznika: html.high-contrast
   ============================================================ */

/* ----------------------------------------------------------
   Fix: navbar musi być nad .menu, żeby dropdown wychodził
   ponad pasek nawigacyjny (oba mają z-index:150 w style.css)
   ---------------------------------------------------------- */
.navbar {
    z-index: 160;
}

/* ----------------------------------------------------------
   Menu dostępności – dropdown (a11y-menu)
   ---------------------------------------------------------- */
.a11y-menu {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.a11y-menu__btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    transition: opacity 0.2s linear;
    margin-top: 27px;
}
.a11y-menu__btn:hover {
    opacity: 0.75;
}
.a11y-menu__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.a11y-menu__icon {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    vertical-align: middle;
}
.a11y-menu__chevron {
    color: #fff;
    font-size: 16px;
    line-height: 1;
    display: block;
    transition: transform 0.2s ease;
}
.a11y-menu__btn[aria-expanded="true"] .a11y-menu__chevron {
    transform: rotate(180deg);
}
.a11y-menu__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #182837;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    z-index: 9000;
    min-width: 200px;
    max-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 6px 0;
    font-size: 16px;
}
.a11y-menu__fonts {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.a11y-font-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    cursor: pointer;
    padding: 2px 7px;
    border-radius: 3px;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}
.a11y-font-btn--lg {
    font-size: 1.15em;
}
.a11y-font-btn--xl {
    font-size: 1.35em;
}
.a11y-font-btn:hover,
.a11y-font-btn:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}
.a11y-font-btn.active {
    background: #fff;
    color: #182837;
    border-color: #fff;
}
.a11y-menu__list {
    list-style: none;
    margin: 0;
    padding: 4px 0 0;
}
.a11y-menu__item {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 7px 12px;
    text-align: left;
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.15s;
}
.a11y-menu__item:hover,
.a11y-menu__item:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}
.a11y-menu__item[aria-pressed="true"] {
    color: #eccc78;
}

/* ----------------------------------------------------------
   Menu dostępności w trybie kontrastowym
   ---------------------------------------------------------- */
html.high-contrast .a11y-menu__btn:focus-visible {
    outline-color: #eccc78 !important;
}
html.high-contrast .a11y-menu__icon {
    content: url('../img/accessibility-yellow.png') !important;
}
html.high-contrast .a11y-menu__chevron {
    color: #eccc78 !important;
}
html.high-contrast .a11y-menu__dropdown {
    background: #2a2a2a !important;
    border-color: #eccc78 !important;
}
html.high-contrast .a11y-menu__fonts {
    border-bottom-color: rgba(236, 204, 120, 0.35) !important;
}
html.high-contrast .a11y-font-btn {
    border-color: rgba(236, 204, 120, 0.5) !important;
    color: #eccc78 !important;
}
html.high-contrast .a11y-font-btn:hover,
html.high-contrast .a11y-font-btn:focus-visible {
    background: rgba(236, 204, 120, 0.15) !important;
}
html.high-contrast .a11y-font-btn.active {
    background: #eccc78 !important;
    color: #222 !important;
    border-color: #eccc78 !important;
}
html.high-contrast .a11y-menu__item {
    color: #eccc78 !important;
}
html.high-contrast .a11y-menu__item:hover,
html.high-contrast .a11y-menu__item:focus-visible {
    background: rgba(236, 204, 120, 0.12) !important;
}
html.high-contrast .a11y-menu__item[aria-pressed="true"] {
    color: #fff !important;
    background: rgba(236, 204, 120, 0.2) !important;
}

/* ----------------------------------------------------------
   Rozmiar tekstu – klasy nakładane na <html>
   Ustawienie font-size na html skaluje em-dziedziczenie.
   Elementy z px mają explicite overrides poniżej.
   ---------------------------------------------------------- */

/* ── Duży (A+) ──────────────────────────────────────────── */
html.font-large {
    font-size: 18px;
}
/* Nagłówki */
html.font-large h1 { font-size: 47px !important; }
html.font-large h2 { font-size: 40px !important; }
html.font-large h3,
html.font-large h3 a { font-size: 34px !important; }
html.font-large h4 { font-size: 28px !important; }
html.font-large h5 { font-size: 22px !important; }
html.font-large h6 { font-size: 18px !important; }
/* Menu – dropdown */
html.font-large .menu-list__dropdown li { font-size: 20px !important; }
html.font-large .menu-list__dropdown li span { font-size: 18px !important; }
/* Aktualności / newsy */
html.font-large .single__title,
html.font-large article .single__title { font-size: 25px !important; }
html.font-large .aktualnosci__link,
html.font-large .light__link,
html.font-large .dark__link { font-size: 27px !important; }
html.font-large .aktualnosci li a { font-size: 20px !important; }
html.font-large aside li,
html.font-large .aktualnosci p,
html.font-large .data { font-size: 16px !important; }
/* Box / kafelki */
html.font-large .box p { font-size: 16px !important; }
html.font-large .big-box strong span { font-size: 16px !important; }
html.font-large .see-more::before { font-size: 16px !important; }
html.font-large .see-more::after { font-size: 25px !important; }
/* Pliki */
html.font-large .files { font-size: 22px !important; }
html.font-large .file__name { font-size: 22px !important; }
html.font-large .file__mime { font-size: 25px !important; }
html.font-large .file__description { font-size: 18px !important; }
html.font-large .file__links a { font-size: 16px !important; }
/* Slider */
html.font-large .slider .slider-item p+p { font-size: 34px !important; }
html.font-large .slider .slider-item p+p+p { font-size: 28px !important; }
/* Stopka */
html.font-large .footer-nav__menu li { font-size: 16px !important; }
html.font-large .footer-nav__link { font-size: 16px !important; }
/* Projekty / oferty pracy */
html.font-large .projects p { font-size: 20px !important; }
html.font-large .job-offer a { font-size: 18px !important; }
html.font-large .job-offer span { font-size: 16px !important; }

/* ── Bardzo duży (A++) ───────────────────────────────────── */
html.font-xlarge {
    font-size: 20px;
}
/* Nagłówki */
html.font-xlarge h1 { font-size: 53px !important; }
html.font-xlarge h2 { font-size: 45px !important; }
html.font-xlarge h3,
html.font-xlarge h3 a { font-size: 38px !important; }
html.font-xlarge h4 { font-size: 31px !important; }
html.font-xlarge h5 { font-size: 25px !important; }
html.font-xlarge h6 { font-size: 20px !important; }
/* Menu – dropdown */
html.font-xlarge .menu-list__dropdown li { font-size: 23px !important; }
html.font-xlarge .menu-list__dropdown li span { font-size: 20px !important; }
/* Aktualności / newsy */
html.font-xlarge .single__title,
html.font-xlarge article .single__title { font-size: 28px !important; }
html.font-xlarge .aktualnosci__link,
html.font-xlarge .light__link,
html.font-xlarge .dark__link { font-size: 30px !important; }
html.font-xlarge .aktualnosci li a { font-size: 23px !important; }
html.font-xlarge aside li,
html.font-xlarge .aktualnosci p,
html.font-xlarge .data { font-size: 18px !important; }
/* Box / kafelki */
html.font-xlarge .box p { font-size: 18px !important; }
html.font-xlarge .big-box strong span { font-size: 18px !important; }
html.font-xlarge .see-more::before { font-size: 18px !important; left: 116px !important; }
html.font-xlarge .see-more::after { font-size: 24px !important; }
/* Pliki */
html.font-xlarge .files { font-size: 25px !important; }
html.font-xlarge .file__name { font-size: 25px !important; }
html.font-xlarge .file__mime { font-size: 28px !important; }
html.font-xlarge .file__description { font-size: 20px !important; }
html.font-xlarge .file__links a { font-size: 18px !important; }
/* Slider */
html.font-xlarge .slider .slider-item p+p { font-size: 38px !important; }
html.font-xlarge .slider .slider-item p+p+p { font-size: 31px !important; }
/* Stopka */
html.font-xlarge .footer-nav__menu li { font-size: 18px !important; }
html.font-xlarge .footer-nav__link { font-size: 18px !important; }
/* Projekty / oferty pracy */
html.font-xlarge .projects p { font-size: 23px !important; }
html.font-xlarge .job-offer a { font-size: 20px !important; }
html.font-xlarge .job-offer span { font-size: 18px !important; }

/* ----------------------------------------------------------
   Globalny reset kolorów
   ---------------------------------------------------------- */
html.high-contrast strong {
    color: #eccc78 !important;
}
html.high-contrast body {
    background-color: #222 !important;
    color: #eccc78 !important;
}
html.high-contrast body > * {
    background-color: #222 !important;
    background-image: none !important;
}

/* ----------------------------------------------------------
   Navbar (górna belka)
   ---------------------------------------------------------- */
html.high-contrast .navbar {
    background-color: #333 !important;
    background-image: none !important;
    border-bottom: 2px solid #eccc78 !important;
}
html.high-contrast .navbar__left span,
html.high-contrast .navbar__telephone,
html.high-contrast .navbar__email {
    color: #eccc78 !important;
    border-color: rgba(236, 204, 120, 0.4) !important;
}
html.high-contrast .navbar__social {
    color: #eccc78 !important;
}
html.high-contrast .navbar__social:hover,
html.high-contrast .navbar__social:focus {
    color: #fff !important;
}
html.high-contrast .navbar__input {
    color: #eccc78 !important;
    border-bottom-color: #eccc78 !important;
}
html.high-contrast .navbar__input::placeholder {
    color: rgba(236, 204, 120, 0.6) !important;
}
html.high-contrast .navbar__telephone {
    background-image: url(../img/phone-yellow.png) !important;
}
html.high-contrast .navbar__email {
    background-image: url(../img/mail-yellow.png) !important;
}
html.high-contrast .navbar__button {
    filter: brightness(0) invert(84%) sepia(42%) saturate(600%) hue-rotate(4deg) brightness(0.97) !important;
}
html.high-contrast .ue p {
    color: #eccc78 !important;
}

/* ----------------------------------------------------------
   Menu nawigacyjne
   ---------------------------------------------------------- */
html.high-contrast .menu {
    background-color: #333 !important;
    border-bottom: 1px solid #eccc78 !important;
}
html.high-contrast .menu a {
    color: #eccc78 !important;
    text-decoration: none !important;
}
html.high-contrast .menu-list__item {
    color: #eccc78 !important;
}
html.high-contrast .menu-list__item button.menu-list__trigger,
html.high-contrast .menu-list__item button.menu-list__trigger span {
    color: #eccc78 !important;
}
html.high-contrast .menu-list__item--home a,
html.high-contrast .menu-list__item--menu {
    color: #eccc78 !important;
}


html.high-contrast .menu-list__item.active > a,
html.high-contrast .active-item > a,
html.high-contrast .menu-list__item:hover > a {
    color: #ed0f1d !important;
}

/* Dropdown */
html.high-contrast .menu-list__dropdown {
    background: #2a2a2a !important;
    border: 1px solid #eccc78 !important;
}
html.high-contrast .menu-list__dropdown li {
    background: #2a2a2a !important;
    color: #eccc78 !important;
    border-bottom-color: rgba(236, 204, 120, 0.3) !important;
    opacity: 1 !important;
}
html.high-contrast .menu-list__dropdown li:hover,
html.high-contrast .menu-list__dropdown li:focus-within {
    background: none !important;
    color: #ed0f1d !important;
}

html.high-contrast .menu-list__dropdown li span {
    color: #eccc78 !important;
}
html.high-contrast .menu-list__dropdown a {
    color: #eccc78 !important;
}
html.high-contrast .menu-list__dropdown a:hover,
html.high-contrast .menu-list__dropdown a:focus {
    color: #ed0f1d !important;
}
html.high-contrast .menu-list__dropdown--sec {
    background: #1a1a1a !important;
    border: 1px solid #eccc78 !important;
}
html.high-contrast .menu-list__dropdown--sec li {
    background: #1a1a1a !important;
}
html.high-contrast .dropdown__item.active {
    background: #1a1a1a !important;
}
html.high-contrast .dropdown__item:before {
    color: #eccc78 !important;
}

/* ----------------------------------------------------------
   Slider
   ---------------------------------------------------------- */
html.high-contrast .slider-content {
    background-color: rgba(0, 0, 0, 0.75) !important;
    background-image: none !important;
}
html.high-contrast .slider .slider-item p {
    color: #eccc78 !important;
}
html.high-contrast .slider-pag-next,
html.high-contrast .slider-pag-prev {
    color: #eccc78 !important;
}
html.high-contrast .slider-pag-next:hover,
html.high-contrast .slider-pag-prev:hover {
    color: #fff !important;
}

/* ----------------------------------------------------------
   Kafelki / Boxes
   ---------------------------------------------------------- */
html.high-contrast .boxes .slider-pag-prev,
html.high-contrast .boxes .slider-pag-next {
    color: #eccc78 !important;
}
html.high-contrast .box img {
    filter: brightness(0.4) grayscale(0.4) !important;
    transition: filter 0.3s !important;
}
html.high-contrast .box:hover img,
html.high-contrast .box:focus-within img {
    filter: brightness(0.25) grayscale(0.6) !important;
}
html.high-contrast .box__link {
    background: #333 !important;
    color: #eccc78 !important;
    border: 1px solid #eccc78 !important;
}
html.high-contrast .box__link:hover,
html.high-contrast .box__link:focus {
    background: #eccc78 !important;
    color: #222 !important;
}
html.high-contrast .box p {
    background: #333 !important;
    color: #eccc78 !important;
}
html.high-contrast .box::after {
    background: #333 !important;
}
html.high-contrast .box:hover .see-more::after,
html.high-contrast .box:focus .see-more::after {
    background-color: #eccc78 !important;
}

/* ----------------------------------------------------------
   Aktualności / News
   ---------------------------------------------------------- */
html.high-contrast .news__single img {
    border-color: #eccc78 !important;
    filter: grayscale(40%) !important;
}
html.high-contrast .single__title,
html.high-contrast .single__title a {
    color: #eccc78 !important;
}
html.high-contrast .single__title a:hover,
html.high-contrast .single__title a:focus {
    text-decoration: underline !important;
}
html.high-contrast .single__data {
    color: #bda968 !important;
}
html.high-contrast .single__text {
    color: #eccc78 !important;
}
html.high-contrast p.single__hashtag {
    color: #eccc78 !important;
}
html.high-contrast .see-more::after {
    border-color: #eccc78 !important;
    background-image: url(../img/arrow-yellow.png) !important;
}
html.high-contrast .see-more:hover::after,
html.high-contrast .see-more:focus::after {
    background-color: #eccc78 !important;
    background-image: url(../img/arrow_n.png) !important;
    border-color: #eccc78 !important;
}

/* Strzałka "see-more" w bloku news (czerwone tło → ciemne) */
html.high-contrast .news .see-more::after {
    border-color: #eccc78 !important;
    background-color: #333 !important;
}
html.high-contrast .news__single .see-more:hover::after {
    background-color: #eccc78 !important;
}

/* ----------------------------------------------------------
   Big-Boxes (duże kafelki sekcja)
   ---------------------------------------------------------- */
html.high-contrast .big-boxes {
    background: #2a2a2a !important;
    background-image: none !important;
    background-attachment: unset !important;
}
html.high-contrast .big-box a {
    background: #2a2a2a !important;
}
html.high-contrast .big-box a::before {
    background: #333 !important;
    background-image: none !important;
}
html.high-contrast .big-box strong {
    color: #eccc78 !important;
      background: #333 !important;
}
html.high-contrast .big-box strong span {
    color: #eccc78 !important;
      background: #333 !important;
}
html.high-contrast .big-box p {
    color: #eccc78 !important;
}
html.high-contrast .big-box a::after {
    background-image: url(../img/arrow-yellow.png) !important;
    background-position: center center !important;
    border-color: #eccc78 !important;
}
html.high-contrast .big-box a:hover::after,
html.high-contrast .big-box a:focus::after {
    background-color: #eccc78 !important;
    background-image: url(../img/arrow_n.png) !important;
    border-color: #eccc78 !important;
}

/* ----------------------------------------------------------
   Treść artykułu (podstrony)
   ---------------------------------------------------------- */
html.high-contrast article,
html.high-contrast article h1,
html.high-contrast article h2,
html.high-contrast article h3,
html.high-contrast article h4,
html.high-contrast article h5,
html.high-contrast article p,
html.high-contrast article span,
html.high-contrast article ul,
html.high-contrast article li {
    background-color: #222 !important;
    color: #eccc78 !important;
}
html.high-contrast .skk_filters p input,
html.high-contrast .skk_filters p select,
html.high-contrast .skk_filters .skk_filters_btn_search {
    border-color: #ed0f1d !important;
}
html.high-contrast .content article a {
    color: #eccc78 !important;
    text-decoration: underline !important;
}
html.high-contrast .content article .button {
    background: #333 !important;
    color: #eccc78 !important;
    border: 1px solid #eccc78 !important;
}
html.high-contrast .content article .button:hover,
html.high-contrast .content article .button:focus {
    background: #eccc78 !important;
    color: #222 !important;
}
html.high-contrast aside {
    border-color: rgba(236, 204, 120, 0.3) !important;
}
html.high-contrast h1,
html.high-contrast h2,
html.high-contrast h3,
html.high-contrast h3 a,
html.high-contrast h4,
html.high-contrast h5,
html.high-contrast h6 {
    color: #eccc78 !important;
}
html.high-contrast .content ul > li:before,
html.high-contrast .content ol > li::marker {
    color: #eccc78 !important;
}

/* ----------------------------------------------------------
   Sekcja aktualności w aside (podstrony)
   ---------------------------------------------------------- */
html.high-contrast .aktualnosci,
html.high-contrast .dark,
html.high-contrast .light {
    color: #eccc78 !important;
}

/* Nagłówek sekcji "Aktualności i wydarzenia" */
html.high-contrast .aktualnosci__link,
html.high-contrast .light__link {
    background: #2a2a2a !important;
    color: #eccc78 !important;
    border-color: #eccc78 !important;
}
html.high-contrast .dark__link {
    background: #2a2a2a !important;
    color: #eccc78 !important;
    border-color: #eccc78 !important;
}

/* Przycisk "zobacz wszystkie >" / "zobacz więcej >" */
html.high-contrast .aktualnosci__link:after,
html.high-contrast .light__link:after,
html.high-contrast .dark__link:after {
    background: #333 !important;
    color: #eccc78 !important;
    outline: 1px solid #eccc78 !important;
}
html.high-contrast .aktualnosci__link:hover:after,
html.high-contrast .light__link:hover:after,
html.high-contrast .dark__link:hover:after {
    background: #eccc78 !important;
    color: #222 !important;
    outline: 1px solid #eccc78 !important;
}

/* Badge z dniem (np. "25") */
html.high-contrast .data {
    color: #eccc78 !important;
}
html.high-contrast .data em {
    background: #333 !important;
    color: #eccc78 !important;
    outline: 1px solid #eccc78 !important;
}

/* Tytuły newsów w aside */
html.high-contrast .aktualnosci li a,
html.high-contrast aside li a {
    color: #eccc78 !important;
}
html.high-contrast .aktualnosci li a:hover,
html.high-contrast aside li a:hover {
    text-decoration: underline !important;
}

/* Krótki opis newsa */
html.high-contrast .aktualnosci p {
    color: #eccc78 !important;
}

/* ----------------------------------------------------------
   Pliki do pobrania (.files)
   ---------------------------------------------------------- */
html.high-contrast .files {
    color: #eccc78 !important;
}
html.high-contrast .file::after {
    background: #eccc78 !important;
    opacity: 0.3 !important;
}
html.high-contrast .file__description {
    color: #eccc78 !important;
}
html.high-contrast .file__mime {
    color: #eccc78 !important;
}
html.high-contrast .file__links a {
    color: #eccc78 !important;
    text-decoration: underline !important;
}

/* ----------------------------------------------------------
   Stopka
   ---------------------------------------------------------- */
html.high-contrast .footer {
    background: #1a1a1a !important;
}
html.high-contrast .footer__logo {
    background-color: #2a2a2a !important;
    border-color: #eccc78 !important;
    filter: grayscale(30%) brightness(1.2) !important;
}
html.high-contrast .footer__logo:hover {
    background-color: #333 !important;
    filter: grayscale(0%) brightness(1.4) !important;
}
html.high-contrast .footer-nav {
    background: #333 !important;
    border-top: 1px solid #eccc78 !important;
}
html.high-contrast .footer-nav__menu li {
    color: #eccc78 !important;
    border-color: rgba(236, 204, 120, 0.4) !important;
}
html.high-contrast .footer-nav__menu a {
    color: #eccc78 !important;
}
html.high-contrast .footer-nav__menu a:hover {
    color: #fff !important;
}
html.high-contrast .footer-nav__link {
    color: #eccc78 !important;
}

/* ----------------------------------------------------------
   Socjalne przyciski udostępniania
   ---------------------------------------------------------- */
html.high-contrast .socials .social {
    background-color: #eccc78 !important;
}
html.high-contrast .socials .social:hover,
html.high-contrast .socials .social:focus {
    background-color: #fff !important;
}
html.high-contrast .socials span {
    color: #eccc78 !important;
    border-color: #eccc78 !important;
    height: 30px;
}

/* ----------------------------------------------------------
   Ogólne linki i fokus – WCAG focus indicator
   ---------------------------------------------------------- */
html.high-contrast a:focus-visible,
html.high-contrast button:focus-visible,
html.high-contrast input:focus-visible,
html.high-contrast [tabindex]:focus-visible {
    outline: 3px solid #eccc78 !important;
    outline-offset: 2px !important;
}

/* ----------------------------------------------------------
   Skip link – WCAG 2.4.1 Bypass Blocks
   ---------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 6px;
    z-index: 99999;
    background: #182837;
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    font-family: 'Roboto', Verdana, sans-serif;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: top 0.15s ease;
    white-space: nowrap;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}
html.high-contrast .skip-link {
    background: #222 !important;
    color: #eccc78 !important;
    border-color: #eccc78 !important;
}
html.high-contrast .skip-link:focus {
    outline-color: #eccc78 !important;
}

/* ----------------------------------------------------------
   2.4.7 Focus Visible – normalny tryb (nie tylko kontrastowy)
   Nadpisuje outline:none z style.css na input/button w navbarze
   ---------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #182837;
    outline-offset: 2px;
}

/* Na ciemnym tle (navbar, menu) – biały outline */
.navbar a:focus-visible,
.navbar button:focus-visible,
.navbar input:focus-visible,
.navbar [tabindex]:focus-visible,
.menu a:focus-visible,
.menu button:focus-visible,
.menu [tabindex]:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Przyciski slidera – ciemne tło, biały outline */
.slider-pag-prev:focus-visible,
.slider-pag-next:focus-visible,
#slider-pause:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    opacity: 1;
}

/* Przywrócenie outline na search (style.css kasuje outline:none) */
.navbar__input:focus-visible,
.navbar__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9) !important;
    outline-offset: 2px !important;
}

/* ----------------------------------------------------------
   1.4.3 Contrast Minimum – korekty kolorów
   ---------------------------------------------------------- */

/* .single__data: #7b7b7b na białym = 4.27:1 → FAIL.
   Zmiana na #6d6d6d = 5.2:1 → PASS */
.single__data,
article .single__data {
    color: #000 !important;
}

/* ----------------------------------------------------------
   1.4.11 Non-text Contrast – obramowania pól formularza
   Wymagane 3:1 – border #666 na białym = 5.7:1 → PASS
   ---------------------------------------------------------- */
.form input,
.form select,
.form textarea {
    border: 1px solid #666;
}

html.high-contrast .form input,
html.high-contrast .form select,
html.high-contrast .form textarea {
    border: 1px solid #eccc78;
    background: #222;
    color: #eccc78;
}

/* ----------------------------------------------------------
   1.4.12 Text Spacing – zapobieganie obcinaniu treści
   Elementy z fixed-height muszą mieć height: auto
   ---------------------------------------------------------- */
.big-box {
    min-height: 450px;
    height: auto;
}

/* ----------------------------------------------------------
   1.4.13 Content on Hover or Focus – boksy z treścią
   Treść (p, .see-more) musi być widoczna gdy element
   otrzymuje fokus klawiaturowy (focus-within)
   ---------------------------------------------------------- */
.box:focus-within p {
    opacity: 1;
}

.box:focus-within::after {
    opacity: 1;
}

.box:focus-within .see-more::after {
    background-color: #fff;
    background-image: url(../img/arrow_n.png);
}

/* ----------------------------------------------------------
   2.4.4 Link Purpose – ikony bez tekstu
   Dodatkowy kontekst wizualny przez aria-label (w HTML),
   tu zapewniamy że linki ikon mają wystarczający rozmiar
   klikalny obszar (min 44×44 px – WCAG 2.5.5 best practice)
   ---------------------------------------------------------- */
.navbar__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
}

@media screen and (max-width:1023px) {
    .a11y-menu__btn {
        margin-top: 0px;
    }
}

@media screen and (min-width:1024px) and (max-width:1365px) {
         .navbar__form, .navbar__social {
        display: none;
     }
          .menu-logo img {
        width: 150px;
     }
     .menu-list__item--menu {
        position: absolute;
  right: 45px;
     }
       .menu-list__item--menu::after  {
        position: absolute;
    left: 0;
    top: -59px;
    padding: 15px;
       }
}

@media screen and (min-width:768px) and (max-width:1023px) {
     .navbar__form, .navbar__social {
        display: none;
     }
          .navbar {
        height: 75px;
     }
     .menu-logo img {
        width: 150px;
     }
     .menu-list__item--menu {
        position: absolute;
  right: 45px;
     }
       .menu-list__item--menu::after  {
        position: absolute;
    left: 0;
    top: -59px;
    padding: 15px;
       }
}

@media screen and (max-width:767px) {
    .menu {
        top: none;
        padding-top: 6px !important;
    }
    .menu-list__item--menu {
        position: absolute;
  right: 0;
    }
     .menu-list__item--menu::after {
        right: 0;
     }
     .navbar__form, .navbar__social {
        display: none;
     }
     .navbar__right {
        float: left !important;
     }
     .ue img {
        height: 25px !important;
     }
     .navbar {
        height: auto;
     }
}

.font-xlarge .menu {
    padding: 30px 30px 0 30px;
}

.high-contrast .menu {
    padding-top: 30px;
}

@media screen and (min-width:1366px) and (max-width:1600px) {
     .font-large .menu {
        padding-top: 50px;
     }
       .menu {
        padding-top: 50px;
     }
}

@media screen and (min-width:1101px) and (max-width:1365px) {
    .font-xlarge .navbar {
        padding: 16px;
    }
    .font-xlarge .navbar__left{
       display: flex;
  flex-direction: column;
    }
      .font-xlarge .navbar__left .navbar__email{
       margin: 0;
    }
     .font-xlarge .navbar__left .navbar__telephone{
      border: unset;
    }
     .font-xlarge .menu-logo {
        display: none;
     }
      .font-xlarge .menu {
        padding-top: 74px;
     }
     .font-large .menu {
        padding-top: 50px;
     }
     .menu {
        padding-top: 50px;
     }
}

html.high-contrast article img {
    background-color: unset !important;
}


