/* Keyboard, reflow and reduced motion */
#hamburger { background: transparent; border: 0; min-width: 44px; min-height: 44px; }
.mobile-nav { max-width: 100vw; visibility: hidden; }
.mobile-nav.show { visibility: visible; }
.mobile-info-label { color: inherit; font-size: 1.125rem; font-weight: 700; margin-bottom: 5px; }
.footer-nav-link, .footer-company-title { font-size: 1rem; font-weight: 700; line-height: 1.5; margin: 0; }
.footer-company-title { color: silver; }
.footer-nav-link a { color: white; }
/* Keep the focus ring separated from the text without changing layout on Tab. */
#top :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 6px #173e56 !important;
    border-radius: 3px;
}
.top-bar-wrapper .top-left > a { padding: 6px 8px; }
.top-bar-wrapper .top-left > a > i { flex-shrink: 0; }

#main { scroll-margin-top: 120px; }
.page-banner-wrap { padding-inline: 20px !important; }
.project-info-wrap, .breadcrumb { overflow-wrap: anywhere; }
.a11y-menu { max-height: 70vh; overflow-y: auto; max-width: calc(100vw - 36px); }
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Breadcrumbs must meet contrast requirements without a special mode. */
body:not(.a11y-contrast):not(.a11y-negative) .breadcrumb a { color: #15566a; text-decoration: underline; }
body:not(.a11y-contrast):not(.a11y-negative) .breadcrumb-item.active,
body:not(.a11y-contrast):not(.a11y-negative) .breadcrumb-item + .breadcrumb-item::before { color: #545d65; }

body:not(.a11y-contrast):not(.a11y-negative) .theme-btn,
body:not(.a11y-contrast):not(.a11y-negative) .submit-btn { background-color: #176174; color: #fff; }
body:not(.a11y-contrast):not(.a11y-negative) .theme-btn.border-style::before { background-color: #176174; }
body:not(.a11y-contrast):not(.a11y-negative) .block-contents .section-title h2 span { color: #176174; }
.form-field-label { display: block; color: #fff; font-weight: 600; margin-bottom: 6px; }
.services-carousel-nav-prev, .services-carousel-nav-next { border: 1px solid currentColor; }
.mobile-nav .close-nav { min-width: 44px; min-height: 44px; }

body:not(.a11y-contrast):not(.a11y-negative) .theme-bg .block-contents .section-title h2 span { color: #7bd9eb; }

body.a11y-contrast main, body.a11y-contrast main :where(section, article, div, p, h1, h2, h3, h4, h5, h6, dt, dd, li, span),
body.a11y-contrast footer, body.a11y-contrast .breadcrumb-wrapper { background-color: #000 !important; color: #fff !important; }
body.a11y-contrast .breadcrumb-item::before { color: #fff !important; }
body.a11y-contrast main a { color: #ff0 !important; text-decoration: underline; }
body.a11y-lightbg main, body.a11y-lightbg main :where(section, article, div, p, h1, h2, h3, h4, h5, h6, dt, dd, li, span) { background-color: #fff !important; color: #111 !important; }
