.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999999;
  background: #000;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
}


/* Podstawowe style widgetu accessibility-toolbar */

/* Główne ustawienia kontenera */
#acc-toolbar {
  position: fixed;
  top: 25vh; /* 1/3 wysokości viewportu */
  right: 0;
  z-index: 99999;
  font-family: "Arial", sans-serif;
  user-select: none;
  width: 3.5rem; /* tylko szerokość ikonki gdy zwinięty */
  transition: width 0.3s ease;
  box-shadow: -2px 2px 6px rgba(0,0,0,0.15);
  background: #fff;
  border-radius: 8px 0 0 8px;

      border: 1px solid #fff;
}

/* Pasek rozwinięty - ustawiany przez JS kliknięciem */
#acc-toolbar.expanded {
  width: 320px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Przycisk toggle (ikona tylko) */
.acc-toolbar-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3.5rem;
  background-color: #001a94;
  cursor: pointer;
  color: #fff;
  border-radius: 8px 0 0 0;
}

.acc-toolbar-toggle a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  text-decoration: none;
  user-select: none;
  font-size: 0; /* Ukrywamy ewentualny tekst */
  padding: 0.4rem;
    border-radius: 8px 0 0 8px;
}

/* Powiększona ikona SVG w toggle */
.acc-toolbar-toggle a svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: white;
}

.acc-toolbar-toggle a:hover,
.acc-toolbar-toggle a:focus {
  background-color: #001a94;

}

/* Panel z opcjami (ukryty domyślnie) */
.acc-toolbar-overlay {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  max-height: 80vh;
}

/* Ukrywamy panel gdy navbar nie jest rozwinięty */
#acc-toolbar:not(.expanded) .acc-toolbar-overlay {
  display: none;
}

/* Tytuł */
.acc-toolbar-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #222;
  margin: 0 0 0.5rem 0;
  user-select: none;
}

/* Lista przycisków */
.acc-toolbar-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Element listy */
.acc-toolbar-item {
  flex: 1 1 50%;
  max-width: 100%;
}

/* Link/przycisk */
.acc-toolbar-link {
    display: flex
;
    align-items: center;
    gap: 0.5rem;
    background-color: #001a94;
    color: white;
    padding: 0.7rem 0.75rem
12px
;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    border: none;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.25s;
}

/* Aktywne przyciski */
.acc-toolbar-link[aria-pressed="true"] {
  background-color: #001a94;
}

/* Hover i focus */
.acc-toolbar-link:hover,
.acc-toolbar-link:focus {
  background-color: #001a94;

}

/* Ikona SVG */
.acc-toolbar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

/* Tekst przycisku */
.acc-toolbar-text {
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* Druga lista (linki mapy i kontaktu) */
.acc-toolbar-items.acc-links {
  margin-top: 1rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}




/* Usuń outline: none z hover i focus */
.acc-toolbar-link:hover {
  background-color: #001a94;
}

/* Dodaj mocny czarny outline na focus */
.acc-toolbar-link:focus {
  outline: 3px solid black;
  outline-offset: 2px;
  background-color: #001a94; /* opcjonalnie podświetl tło również */
}

/* Toggle link - podobnie */
.acc-toolbar-toggle a:hover {
  background-color: #001a94;
}

.acc-toolbar-toggle-link:focus {
  outline: 3px solid black;
  outline-offset: 2px;
  background-color: #001a94; /* opcjonalnie podświetl tło również */
}



/* Efekty dostępności - klasy na body */

.page-wrapper.acc-grayscale {
  filter: grayscale(100%) !important;
}








.page-wrapper.acc-high-contrast {
  background: black !important;
  color: #fff !important;
}


.page-wrapper.acc-high-contrast section {
      background: black !important;
  color: #fff !important;
}



.page-wrapper.acc-high-contrast .o-biegu-box, .page-wrapper.acc-high-contrast .info-box {
      background: black !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

.page-wrapper.acc-high-contrast .section h2 {
 color: #fff !important;
}

.page-wrapper.acc-high-contrast .o-biegu-icon {
     color: #fff !important;
}

.page-wrapper.acc-high-contrast .text-color-primary, .page-wrapper.acc-high-contrast .text-color-headline, .page-wrapper.acc-high-contrast .text-color-secondary {
color: yellow !important;
}

.page-wrapper.acc-high-contrast a {
  color: yellow !important;
 
}


.page-wrapper.acc-high-contrast .btn-primary, .page-wrapper.acc-high-contrast .btn-secondary {
     background: #000 !important;
       color: yellow !important;
       border: 1px solid yellow !important;
}



.page-wrapper.acc-high-contrast .button {
    background: #000 !important;
}


.page-wrapper.acc-high-contrast .image-overlay-layer {
    background-color: rgba(0, 0, 0, 0.8);
}




.page-wrapper.acc-high-contrast .logo3_wrapper img, .page-wrapper.acc-high-contrast .logo1_component img, .page-wrapper.acc-high-contrast .cta39_card-content-2 img, .page-wrapper.acc-high-contrast .testimonial11_logo-wrapper img, .page-wrapper.acc-high-contrast .logo-wrapper img {
  filter: invert(1) brightness(10);
}


.page-wrapper.acc-negative-contrast {
  filter: invert(100%) hue-rotate(180deg) !important;
    background-color: #fff !important; /* ciemne tło */
}

.page-wrapper.acc-links-underline a {
  text-decoration: underline !important;
}

.page-wrapper.acc-readable-font {
  font-family: "Arial Black", Arial, sans-serif !important;
}

.page-wrapper.acc-large-text {
  font-size: 1.25rem !important;
}

/* Scrollbar dla paska, jeśli dużo opcji */
.acc-toolbar-overlay {
  scrollbar-width: thin;
  scrollbar-color: #001a94 #eee;
}
.acc-toolbar-overlay::-webkit-scrollbar {
  width: 6px;
}
.acc-toolbar-overlay::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 3px;
}
.acc-toolbar-overlay::-webkit-scrollbar-thumb {
  background-color: #001a94;
  border-radius: 3px;
}






/* Efekty dostępności – również dla widgetu */

#acc-toolbar.acc-grayscale {
  filter: grayscale(100%) !important;
}

#acc-toolbar.acc-negative-contrast {
  filter: invert(100%) hue-rotate(180deg) !important;
}

#acc-toolbar.acc-high-contrast {
  background: black !important;
  color: yellow !important;
}

#acc-toolbar.acc-high-contrast .acc-toolbar-link {
  background-color: #000 !important;
  color: yellow !important;
}

#acc-toolbar.acc-high-contrast .acc-toolbar-toggle {
  background-color: #000 !important;
  color: yellow !important;
}

#acc-toolbar.acc-high-contrast .acc-toolbar-link[aria-pressed="true"],
#acc-toolbar.acc-high-contrast .acc-toolbar-link:hover,
#acc-toolbar.acc-high-contrast .acc-toolbar-link:focus {
  background-color: #222 !important;
}





