/* =====================================================================
   Accessibility fixes (WCAG 2.1 AA) layered on top of the CarePress
   template. Loaded last so it wins over the template's styles.
   ===================================================================== */

/* Skip link: hidden until focused by keyboard */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000000;
    padding: 10px 18px;
    background: #22254a;
    color: #fff;
    font-weight: 600;
    transition: none !important;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
    color: #fff;
}
#main:focus {
    outline: none;
}

/* Visible keyboard focus (WCAG 2.4.7): amber + navy reads on white, navy and photos */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid #ffbf47 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px #22254a !important;
}

/* "Years of experience" box: white on lime was 2.1:1; navy on lime is 7:1 */
.about-experience-box .count-box h2,
.about-experience-box .count-box h2 span,
.about-experience-box .count-box h5 {
    color: #22254a;
}

/* Office hours times: lime on white was 2.1:1 */
.working-hours-box .inner-content ul li .right {
    color: #4d7a0f;
}

/* Footer muted text on navy: lightened from #8689b3 / #8285ab (4.1-4.4:1) to 6.7:1 */
.footer .copy-right p,
.footer-contact-info .single-box .title span {
    color: #a9acd6;
}

/* Closed side panel sits off-screen; keep its links out of the tab order.
   (The template's `transition: all` delays the flip to hidden until the slide-out ends.) */
.hidden-bar:not(.visible-sidebar) {
    visibility: hidden;
}
