.contact-link:focus {
  outline: 3px solid #005a2b;
  outline-offset: 2px;
  background: #e6f4ea;
  color: #005a2b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  border-radius: 4px;
  z-index: 1200;
}
a[href="#menuglowne3"] {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: #fff;
  color: #005a2b;
  border: 2px solid #005a2b;
  padding: 8px 16px;
  font-size: 1.1em;
  text-decoration: none;
  transition: none;
}
a[href="#menuglowne3"]:focus {
  left: 16px;
  top: 216px;
  width: auto;
  height: auto;
  outline: 3px solid #005a2b;
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
a[href="#menuglowne2"] {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: #fff;
  color: #005a2b;
  border: 2px solid #005a2b;
  padding: 8px 16px;
  font-size: 1.1em;
  text-decoration: none;
  transition: none;
}
a[href="#menuglowne2"]:focus {
  left: 16px;
  top: 176px;
  width: auto;
  height: auto;
  outline: 3px solid #005a2b;
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
a[href="#menuglowne"] {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: #fff;
  color: #005a2b;
  border: 2px solid #005a2b;
  padding: 8px 16px;
  font-size: 1.1em;
  text-decoration: none;
  transition: none;
}
a[href="#menuglowne"]:focus {
  left: 16px;
  top: 136px;
  width: auto;
  height: auto;
  outline: 3px solid #005a2b;
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
a[href="#footer"] {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: #fff;
  color: #005a2b;
  border: 2px solid #005a2b;
  padding: 8px 16px;
  font-size: 1.1em;
  text-decoration: none;
  transition: none;
}
a[href="#footer"]:focus {
  left: 16px;
  top: 96px;
  width: auto;
  height: auto;
  outline: 3px solid #005a2b;
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
a[href="#sidebar"] {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: #fff;
  color: #005a2b;
  border: 2px solid #005a2b;
  padding: 8px 16px;
  font-size: 1.1em;
  text-decoration: none;
  transition: none;
}
a[href="#sidebar"]:focus {
  left: 16px;
  top: 56px;
  width: auto;
  height: auto;
  outline: 3px solid #005a2b;
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
a.skip-link[href="#sidebar"]:focus {
  left: 16px;
  top: 56px !important;
  width: auto;
  height: auto;
  outline: 3px solid #005a2b;
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* accessibility-keyboard.css
   Dodatkowe style dostępności dla skip links, focus, nawigacji klawiaturą (WCAG 2.2)
*/

a[href="#main-content"],
a[href="#main-navigation"],
a.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: #fff;
  color: #005a2b;
  border: 2px solid #005a2b;
  padding: 8px 16px;
  font-size: 1.1em;
  text-decoration: none;
  transition: none;
}

a[href="#main-content"]:focus,
a[href="#main-navigation"]:focus,
a.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  outline: 3px solid #005a2b;
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ========================================
   ACCESSIBILITY MEDIA QUERIES
   ======================================== */

/* High contrast focus for better visibility */
@media (prefers-contrast: high) {
    a:focus,
    button:focus,
    input:focus,
    textarea:focus,
    select:focus,
    [tabindex]:focus {
        outline: 4px solid #000000 !important;
        background-color: #FFFF00 !important;
        color: #000000 !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .skip-link {
        transition: none !important;
    }

    .single-featured-image {
        transition: none;
    }
}

/* High contrast mode support for featured images */
@media (prefers-contrast: high) {
    .featured-image-caption {
        background: rgba(0, 0, 0, 0.95);
        border-top: 2px solid white;
    }
}

/* Print styles for better accessibility */
@media print {
    .skip-links,
    .contact-top,
    .menu,
    .btn-more,
    .download {
        display: none !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 12px;
        color: #666;
    }
    
    .sr-only {
        position: static !important;
        width: auto !important;
        height: auto !important;
        clip: auto !important;
    }
}
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    background: #fff;
    color: #2E7D32;
    border: 2px solid #2E7D32;
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 1.1em;
    transition: left 0.2s;
}
.skip-link:focus, .skip-link:active {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    outline: 3px solid #1976d2;
    box-shadow: 0 2px 8px rgba(46,125,50,0.12);
}