/* =========================================================================
   PHASE 1 CLS FIX — FlexSlider + Navigation
   Reason: CLS score caused by layout shift on slider and nav
   Rollback: Delete this entire block or deactivate plugin
   ========================================================================= */

/* =========================================================
   CLS FIX v5 — Pure CSS approach
   Hide all slides except first before FlexSlider JS runs.
   This is handled via inline <style> in wp_head for critical timing.
   The banner-block min-height prevents container collapse.
   ========================================================= */

/* Reserve slider height — only on screens where slider is shown (tablet+) */
@media (min-width: 768px) {
    .banner-block {
        min-height: 440px;
    }
}



/* =========================================================
   PHASE 4 — ACCESSIBILITY: Contrast and Focus fixes
   NOTE: a.primarylink left untouched — original design is white on colored bg
   NOTE: search input left untouched — original design preserved
   NOTE: no image dimension overrides — boss requirement
   ========================================================= */

/* Fix 8: Ensure clone links are visually hidden from interaction */
li.clone {
    pointer-events: none;
}

li.clone a {
    pointer-events: none;
    outline: none;
}

/* Fix A11y focus rings — ensure all interactive elements have visible focus */
/* a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid #0057a8 !important;
    outline-offset: 2px !important;
} */

/* =========================================================
   PHASE 9D — FontAwesome font-display fix
   ========================================================= */

@font-face {
    font-family: 'FontAwesome';
    src: local('FontAwesome');
    font-display: swap;
}

@supports (font-display: swap) {
    @font-face {
        font-family: 'FontAwesome';
        font-display: swap;
        src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2');
    }
}

/* =========================================================
   ACCESSIBILITY — Contrast fixes
   Lighthouse: "Background and foreground colors do not have
   a sufficient contrast ratio"
   ========================================================= */

/* Footer links contrast — improved readability */
#footer-wrap a {
    color: #d4d4d4 !important;
}