/* Shared accessibility and responsive safeguards. Project selectors use wem-. */
:root { --secondary: #767171; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #0244fa; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10000; padding: 12px 18px; background: #fff; color: #0244fa; }
.skip-link:focus { top: 16px; }
main { min-width: 0; }
.wem-mainheader button.wem-triggerBtn { background: transparent; border: 0; color: inherit; }
.wem-menu > li > span[role="button"] { cursor: pointer; }
.footer-column .submenu { display: none; }
.footer-column .submenu.is-open { display: block; }
.slick-prev, .slick-next { font-size: 0; }
.slick-prev::before { content: '←'; font-size: 24px; }
.slick-next::before { content: '→'; font-size: 24px; }
@media (max-width: 767px) {
    iframe, video { max-width: 100%; }
    table { display: block; max-width: 100%; overflow-x: auto; }
    .wem-menuwrap { max-height: 75vh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* Preserve the existing arrow and call-to-action appearance on semantic buttons. */
button.pp2, button.nn2, button.pvew, button.pnext {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
}
button.contact-button { font: inherit; text-align: center; }
.wem-menutabbtn[role="button"] { cursor: pointer; }

/* Footer actions wrap consistently for links and buttons at every viewport. */
.wem-footer .contact-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    min-width: 0;
}
.wem-footer .contact-button-container > p { flex-basis: 100%; margin: 0; }
.wem-footer .contact-button { margin: 0; white-space: normal; }
.wem-footer .contact-button:focus-visible { background: #fff; color: #001a41; outline-color: #fff; }
@media (max-width: 767px) {
    .wem-footer .contact-button-container { margin-left: 0; width: 100%; justify-content: center; }
    .wem-footer .contact-button-container > p { text-align: center; }
}

/* Keep hero copy readable over photography and marquee links on their dark strip. */
.wem-herosection-slider::after { background: linear-gradient(90deg, rgb(0 16 42 / 72%), rgb(0 16 42 / 30%)); }
.wem-slider-marquee a { color: #fff; }
.wem-slider-marquee a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
    .wem-herosection-slider::after { background: rgb(0 16 42 / 60%); }
    .wem-slide-left { height: auto; min-height: 300px; }
    .wem-slide-left h2 { max-width: 100%; }
}

/* Decorative overlays must never cover card labels or intercept links. */
.wem-tabslid-itmin::after { pointer-events: none; }
.wem-tabslid-itm h2 { z-index: 1; }
.wem-slider-wrapper-img h3,
.wem-Empowering-img h3 { z-index: 1; text-shadow: 0 1px 4px #000; }
.wem-slider-wrapper-img::after,
.wem-Empowering-img::after { pointer-events: none; }
.contact-form a, .wem-faq-content a { color: #006fa6; }

/* Hero content remains visible while CDN backgrounds load. */
.wem-missionhero { z-index: 0; background-color: #071e48; }
.wem-missionhero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 12 34 / 55%), rgb(0 12 34 / 12%));
    pointer-events: none;
}
.wem-missionhero .social-sust { top: 145px; }
.gov-word-logo-banner-bottom { position: relative; z-index: 1; }
.wem-tabslider::before { background-color: #08264c; }
.wem-Empowering-img { background: #173459; }
.wem-Empowering-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgb(0 0 0 / 65%), transparent 75%);
    pointer-events: none;
}
@media (max-width: 767px) {
    .wem-missionhero .social-sust { top: 100px; left: 15px; }
    .wem-missionhero .wem-missionbanner { padding-top: 40px; }
}

.wem-gridtourism { isolation: isolate; }
.wem-savetime-main:not(.bg-blue-light) h3 { color: #fff; }
.contact-info a, .wem-fsbigquote1 a { color: #006fa6; }
.cr-role-info p { color: #666; }
.cr-badge-teal { color: #006fa6; border-color: #006fa6; }

.wem-newsletter-archive-link { display: inline-block; color: #fff; font-weight: 600; text-decoration: underline; margin-top: 10px; }
.wem-newsletter-archive-link:hover { color: #b8f3ff; }

.wem-subscription-feedback { margin: 0 0 24px; padding: 18px; border: 1px solid #bce9ef; color: #fff; background: #084472; }

/* Footer destinations remain within the viewport at intermediate desktop widths. */
.wem-footer .wem-footermenu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 24px;
}
.wem-footer .wem-footermenu-item { width: auto; min-width: 0; padding: 12px 5px; white-space: normal; overflow-wrap: anywhere; }
.wem-footer .footer-column ul li a { min-width: 0; }
.wem-footer .footer-column ul li a i { flex-shrink: 0; }
