/* Sectorlink shared header + footer V4. Homepage V6 design system.
 * Standalone shared CSS; no page-specific homepage styles.
 * Requires existing Font Awesome and Sectorlink logo assets.
 */

body.slh-site-v4 { margin: 0 !important; padding-top: 0 !important; }

/*
 * Sectorlink shared site chrome v4.0
 * Designed to complement Homepage V6 without changing .sl3 page styles.
 * All component rules are scoped to #header.slh-header / #footer.slf-footer.
 */

/* ------------------------- Shared focus and sizing ------------------------- */
#header.slh-header,
#footer.slf-footer {
    --slh-navy: #0c2541;
    --slh-deep: #071b31;
    --slh-blue: #185e99;
    --slh-sky: #45bbff;
    --slh-ink: #142e4b;
    --slh-body: #425770;
    --slh-muted: #61758c;
    --slh-line: #dfe7ef;
    --slh-pale: #f4f8fc;
    box-sizing: border-box;
}
#header.slh-header *,
#header.slh-header *::before,
#header.slh-header *::after,
#footer.slf-footer *,
#footer.slf-footer *::before,
#footer.slf-footer *::after {
    box-sizing: border-box;
}
#header.slh-header .container,
#footer.slf-footer .container {
    width: 100%;
    max-width: 1260px;
    padding-right: 26px;
    padding-left: 26px;
    margin-right: auto;
    margin-left: auto;
}
#header.slh-header a,
#footer.slf-footer a { text-decoration: none; }
#header.slh-header a:focus-visible,
#header.slh-header button:focus-visible,
#footer.slf-footer a:focus-visible,
#slhBackToTop:focus-visible {
    outline: 3px solid #69caff;
    outline-offset: 3px;
}

/* --------------------------------- Header --------------------------------- */
#header.slh-header {
    position: relative;
    top: 0 !important;
    left: auto;
    right: auto;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none;
    z-index: 1000;
    overflow: visible;
    background: #fff;
    color: var(--slh-ink);
    border-bottom: 1px solid var(--slh-line);
    box-shadow: 0 3px 18px rgba(12,37,65,.035);
}
#header.slh-header .slh-utility {
    background: #f3f7fb;
    border-bottom: 1px solid #e5edf4;
}
#header.slh-header .slh-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 36px;
}
#header.slh-header .slh-utility-tagline {
    color: #52708c;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
    white-space: nowrap;
}
#header.slh-header .slh-utility-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 25px;
    flex: 0 1 auto;
    width: auto;
    margin-left: auto;
    margin-right: 0;
}
#header.slh-header .slh-utility-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    color: #224b6a;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    white-space: nowrap;
    transition: color .18s ease;
}
#header.slh-header .slh-utility-link:hover { color: #0877b7; }
#header.slh-header .slh-utility-link i {
    color: #176aa2;
    font-size: 13px;
}
#header.slh-header .slh-main {
    position: relative;
    background: #fff;
}
#header.slh-header .slh-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    min-height: 83px;
}
#header.slh-header a.slh-logo {
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    float: none;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    line-height: 1;
}
#header.slh-header .slh-logo img {
    display: block;
    max-width: 100%;
    max-height: 67px;
    height: auto;
    padding: 0;
    margin: 0 !important;
    object-fit: contain;
}
#header.slh-header nav.slh-nav {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    position: static;
    float: none;
    height: auto;
    width: auto;
    overflow: visible;
    margin: 0 0 0 auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
#header.slh-header ul.slh-primary {
    display: flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
}
#header.slh-header .slh-primary > li {
    display: block;
    float: none;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
#header.slh-header button.slh-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 11px 13px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #183650;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}
#header.slh-header .slh-menu-item.slh-open > button.slh-menu-trigger {
    background: #edf6fc;
    color: #155e93;
}
#header.slh-header .slh-menu-trigger .fa-angle-down {
    color: #64819c;
    font-size: 12px;
    transition: transform .18s ease;
}
#header.slh-header .slh-menu-item.slh-open > .slh-menu-trigger .fa-angle-down {
    transform: rotate(180deg);
}
#header.slh-header a.slh-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 9px 18px;
    border: 1px solid #155a93;
    border-radius: 8px;
    background: #17639c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    transition: background-color .18s ease, border-color .18s ease;
}
#header.slh-header a.slh-login:hover {
    background: #0e5186;
    border-color: #0b4677;
    color: #ffffff;
}
#header.slh-header .slh-login-item { margin-left: 6px; }
#header.slh-header .slh-mobile-actions { display: none; }

/* Click-controlled navigation. All dropdowns align with the bottom of
   the main navigation row. Hover and focus alone never open a dropdown. */
#header.slh-header .slh-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 1200;
    padding: 16px;
    border: 1px solid #dbe7f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(7,35,69,.17);
    text-align: left;
    transform: none;
}
#header.slh-header .slh-dropdown-mega {
    width: 704px;
    max-width: calc(100vw - 32px);
}
#header.slh-header .slh-dropdown-compact {
    width: 355px;
    max-width: calc(100vw - 32px);
    padding: 11px;
}
/* Keep the Company menu narrow enough to open to the right of its label
   on standard desktop widths rather than unnecessarily covering nearby items. */
#header.slh-header #slh-menu-company {
    width: 288px;
    max-width: calc(100vw - 32px);
}
#header.slh-header .slh-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}
#header.slh-header .slh-dropdown-col { min-width: 0; }
#header.slh-header p.slh-dropdown-heading {
    margin: 0 0 8px;
    padding: 6px 12px;
    color: #135d92;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .06em;
    text-transform: uppercase;
}
#header.slh-header a.slh-menu-link {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    width: 100%;
    min-height: 61px;
    margin: 0;
    padding: 11px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--slh-ink);
    text-align: left;
    white-space: normal;
    transition: background-color .16s ease, border-color .16s ease;
}
#header.slh-header a.slh-menu-link:hover,
#header.slh-header a.slh-menu-link:focus-visible {
    border-color: #dfecf5;
    background: #f4f9fd;
}
#header.slh-header .slh-menu-icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #e7f4fc;
    color: #176aa2;
    font-size: 15px;
}
#header.slh-header .slh-menu-copy {
    display: block;
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}
#header.slh-header .slh-menu-copy strong {
    display: block;
    margin: 0;
    color: #153a59;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
#header.slh-header .slh-menu-copy small {
    display: block;
    margin-top: 4px;
    color: #536d85;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.48;
}
#header.slh-header .slh-menu-item.slh-open > .slh-dropdown {
    display: block;
}

/* --------------------------------- Footer --------------------------------- */
#footer.slf-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #071b31;
    color: #d1e2ef;
    font-size: 14px;
    line-height: 1.55;
}
#footer.slf-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -155px;
    top: -265px;
    width: 530px;
    height: 530px;
    border: 75px solid rgba(69,187,255,.035);
    border-radius: 50%;
    pointer-events: none;
}
#footer.slf-footer .slf-primary {
    padding: 47px 0 39px;
    margin: 0;
    background: transparent;
    color: inherit;
}
#footer.slf-footer .slf-layout {
    display: grid;
    grid-template-columns: minmax(252px, 280px) minmax(0, 1fr);
    gap: clamp(25px, 3.3vw, 47px);
    align-items: start;
}
#footer.slf-footer .slf-support { min-width: 0; }
#footer.slf-footer .slf-support-card {
    position: relative;
    overflow: hidden;
    padding: 20px 20px 19px;
    border: 1px solid rgba(166,211,243,.16);
    border-radius: 13px;
    background: linear-gradient(145deg,#123957,#0b2a47 76%);
    box-shadow: 0 11px 27px rgba(0,12,26,.09);
}
#footer.slf-footer .slf-support-card::after {
    content: "";
    position: absolute;
    top: -135px;
    right: -128px;
    width: 245px;
    height: 245px;
    border: 41px solid rgba(121,209,254,.045);
    border-radius: 50%;
    pointer-events: none;
}
#footer.slf-footer .slf-eyebrow {
    display: block;
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #a6defe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.5;
    text-transform: uppercase;
}
#footer.slf-footer .slf-support h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 15px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.018em;
    line-height: 1.25;
}
#footer.slf-footer p.slf-support-intro {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    color: #c8deec;
    font-size: 14px;
    line-height: 1.6;
}
#footer.slf-footer .slf-hours {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(220,240,255,.16);
}
#footer.slf-footer .slf-hours-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}
#footer.slf-footer .slf-hours-row > i {
    flex: 0 0 16px;
    margin-top: 3px;
    color: #8fd0fa;
    font-size: 14px;
}
#footer.slf-footer .slf-hours-row span { min-width: 0; }
#footer.slf-footer .slf-hours-row strong,
#footer.slf-footer .slf-hours-row small {
    display: block;
    line-height: 1.4;
}
#footer.slf-footer .slf-hours-row strong {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
#footer.slf-footer .slf-hours-row small {
    margin-top: 2px;
    color: #c6deee;
    font-size: 13px;
    font-weight: 400;
}
#footer.slf-footer .slf-contact-links {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}
#footer.slf-footer .slf-contact-links a {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    color: #edf7ff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    transition: color .16s ease;
}
#footer.slf-footer .slf-contact-links a i {
    flex: 0 0 17px;
    margin-top: 2px;
    color: #8fd0fa;
}
#footer.slf-footer .slf-contact-links a:hover { color: #8fd0fa; }
#footer.slf-footer a.slf-ticket-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid #d5edfb;
    border-radius: 8px;
    background: #edf8ff;
    color: #104e7b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    transition: background-color .18s ease, border-color .18s ease;
}
#footer.slf-footer a.slf-ticket-button:hover {
    border-color: #fff;
    background: #fff;
}
#footer.slf-footer .slf-social {
    padding: 14px 2px 0;
}
#footer.slf-footer .slf-social h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}
#footer.slf-footer .slf-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
#footer.slf-footer .slf-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(176,215,240,.22);
    border-radius: 8px;
    background: rgba(255,255,255,.055);
    color: #eaf7ff;
    font-size: 14px;
    transition: color .18s ease, background-color .18s ease;
}
#footer.slf-footer .slf-social-links a:hover {
    color: #fff;
    background: rgba(69,187,255,.21);
}
#footer.slf-footer nav.slf-navigation {
    display: grid;
    grid-template-columns: 1.05fr 1.24fr 1fr 1.03fr;
    gap: 20px;
    min-width: 0;
    width: 100% !important;
    float: none !important;
    position: static !important;
    height: auto !important;
    margin: 0 !important;
    padding: 3px 0 0;
    background: transparent;
}
#footer.slf-footer .slf-link-group { min-width: 0; }
#footer.slf-footer .slf-link-group h3 {
    display: block;
    margin: 0 0 9px;
    padding: 0 10px 11px;
    border-bottom: 1px solid rgba(192,225,245,.18);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.4;
}
#footer.slf-footer .slf-link-group ul {
    display: grid;
    gap: 2px;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
}
#footer.slf-footer .slf-link-group li {
    display: block;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.45;
}
#footer.slf-footer .slf-link-group a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 7px;
    background: transparent;
    color: #c8d9e6;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: color .18s ease, background-color .18s ease;
}
#footer.slf-footer .slf-link-group a:hover,
#footer.slf-footer .slf-link-group a:focus-visible {
    background: rgba(130,203,255,.12);
    color: #fff;
}
#footer.slf-footer .slf-secondary {
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(200,226,243,.15);
    background: rgba(0,9,20,.15);
    color: #b6cad9;
}
#footer.slf-footer .slf-secondary-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) max-content;
    align-items: center;
    justify-content: space-between;
    column-gap: 30px;
    row-gap: 8px;
    width: 100%;
}
#footer.slf-footer .slf-secondary p {
    margin: 0;
    padding: 0;
    color: #b6cad9;
    font-size: 13px;
    line-height: 1.5;
}
#footer.slf-footer nav.slf-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 8px;
    position: static !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    background: transparent;
    box-shadow: none;
}
#footer.slf-footer .slf-legal a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0;
    padding: 7px 10px;
    border-radius: 6px;
    background: transparent;
    color: #c5d8e6;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color .18s ease,color .18s ease;
}
#footer.slf-footer .slf-legal a:hover,
#footer.slf-footer .slf-legal a:focus-visible { background:rgba(130,203,255,.10); color:#fff; }
#slhBackToTop {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
    position: fixed;
    z-index: 950;
    right: 22px;
    bottom: calc(22px + var(--slh-backtop-extra, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: #185e99;
    color: #fff;
    text-align: center;
    line-height: 1;
    box-shadow: 0 7px 24px rgba(3,34,56,.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
#slhBackToTop.slh-visible { display: flex !important; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
#slhBackToTop:hover { background: #0f4d7e; color: #fff; }

/* -------------------------------- Responsive ------------------------------- */
@media (max-width: 1180px) {
    #header.slh-header .slh-utility-contact { gap: 8px 14px; }
    #header.slh-header ul.slh-primary { gap: 2px; }
    #header.slh-header button.slh-menu-trigger { padding-right: 10px; padding-left: 10px; }
    #footer.slf-footer .slf-layout { gap: 34px; }
    #footer.slf-footer nav.slf-navigation { gap: 20px; }
}
@media (max-width: 1040px) {
    #header.slh-header .slh-utility-tagline { display: none; }
    #header.slh-header .slh-utility-inner { justify-content: flex-end; }
    #header.slh-header .slh-main-inner { min-height: 75px; }
    #header.slh-header .slh-logo img { max-height: 61px; }
    #header.slh-header .slh-mobile-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
    }
    #header.slh-header a.slh-login-mobile { min-height: 42px; padding: 9px 14px; }
    #header.slh-header .slh-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 93px;
        min-height: 44px;
        margin: 0;
        padding: 9px 13px;
        border: 1px solid #cfdfeb;
        border-radius: 9px;
        background: #fff;
        color: #173c5a;
        font-family: inherit;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        cursor: pointer;
    }
    #header.slh-header .slh-hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 17px;
    }
    #header.slh-header .slh-hamburger span {
        display: block;
        width: 17px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform .18s ease, opacity .18s ease;
    }
    #header.slh-header .slh-mobile-toggle[aria-expanded="true"] .slh-hamburger span:first-child { transform: translateY(6px) rotate(45deg); }
    #header.slh-header .slh-mobile-toggle[aria-expanded="true"] .slh-hamburger span:nth-child(2) { opacity: 0; }
    #header.slh-header .slh-mobile-toggle[aria-expanded="true"] .slh-hamburger span:last-child { transform: translateY(-6px) rotate(-45deg); }
    #header.slh-header nav.slh-nav {
        display: none;
        position: absolute;
        z-index: 1300;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 118px);
        max-height: calc(100dvh - 118px);
        margin: 0;
        padding: 12px max(18px, calc((100% - 1208px)/2)) 24px;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid #e5edf4;
        border-bottom: 1px solid #dbe7f0;
        background: #fff;
        box-shadow: 0 16px 34px rgba(7,35,69,.13);
    }
    #header.slh-header nav.slh-nav.slh-nav-open { display: block; }
    #header.slh-header ul.slh-primary {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    #header.slh-header .slh-primary > li {
        width: 100%;
        border-bottom: 1px solid #eaf0f5;
    }
    #header.slh-header .slh-primary > li.slh-login-item { display: none; }
    #header.slh-header button.slh-menu-trigger {
        display: flex;
        justify-content: space-between;
        width: 100%;
        min-height: 52px;
        padding: 12px 11px;
        border-radius: 7px;
        font-size: 16px;
    }
    #header.slh-header .slh-dropdown,
    #header.slh-header .slh-dropdown-mega,
    #header.slh-header .slh-dropdown-compact,
    #header.slh-header .slh-dropdown-right {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        max-width: none;
        padding: 10px;
        margin: 0 0 10px;
        border: 1px solid #e2ebf3;
        border-radius: 11px;
        background: #f7fafc;
        box-shadow: none;
        transform: none;
    }
    #header.slh-header #slh-menu-company { width: 100%; max-width: none; }
    #header.slh-header .slh-dropdown-grid { gap: 13px; }
    #header.slh-header .slh-dropdown-col { padding: 0; }
    #header.slh-header .slh-menu-link { min-height: 51px; }
    #header.slh-header .slh-menu-copy small { font-size: 13px; }
    #header.slh-header .slh-menu-item.slh-open > .slh-dropdown { display: block; }
    #footer.slf-footer .slf-layout { grid-template-columns: minmax(250px, 280px) minmax(0,1fr); gap: 28px; }
    #footer.slf-footer .slf-support { display: block; }
    #footer.slf-footer .slf-support-card { max-width: none; }
    #footer.slf-footer .slf-social { padding: 14px 2px 0; }
    #footer.slf-footer nav.slf-navigation { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 22px; }
}
@media (max-width: 760px) {
    #header.slh-header .slh-utility-contact { gap: 7px 21px; }
    #header.slh-header .slh-phone-intl { display: none; }
    #header.slh-header .slh-dropdown-grid { grid-template-columns: 1fr; gap: 6px; }
    #header.slh-header .slh-dropdown-heading { padding-bottom: 3px; }
    #header.slh-header .slh-menu-copy small { display: none; }
    #header.slh-header a.slh-menu-link { align-items: center; min-height: 44px; padding:7px 8px; }
    #header.slh-header .slh-menu-icon { flex-basis: 31px; width: 31px; height: 31px; }
    #header.slh-header .slh-menu-copy strong { padding-top: 0; }
    #footer.slf-footer .slf-primary { padding-top: 44px; padding-bottom: 38px; }
    #footer.slf-footer .slf-layout { grid-template-columns: 1fr; gap: 33px; }
    #footer.slf-footer .slf-support { display: block; }
    #footer.slf-footer .slf-support-card { max-width: none; }
    #footer.slf-footer .slf-social { padding: 16px 4px 0; }
    #footer.slf-footer nav.slf-navigation { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 28px; }
}
@media (max-width: 540px) {
    #header.slh-header .container,
    #footer.slf-footer .container { padding-right: 18px; padding-left: 18px; }
    #header.slh-header .slh-utility-contact { justify-content: space-between; width: 100%; }
    #header.slh-header .slh-utility-inner { min-height: 39px; }
    #header.slh-header .slh-utility-link { font-size: 12px; }
    #header.slh-header .slh-utility-label { display: none; }
    #header.slh-header .slh-main-inner { min-height: 70px; gap: 12px; }
    #header.slh-header .slh-mobile-actions { gap: 7px; }
    #header.slh-header a.slh-login-mobile { padding: 8px 11px; min-height: 40px; font-size: 13px; }
    #header.slh-header .slh-mobile-toggle { min-width: 72px; min-height: 40px; gap: 7px; padding: 8px 9px; font-size: 12px; }
    #header.slh-header nav.slh-nav { max-height: calc(100dvh - 109px); padding-right: 18px; padding-left: 18px; }
    #footer.slf-footer .slf-support-card { padding: 20px; }
    #footer.slf-footer nav.slf-navigation { gap: 35px 18px; }
    #footer.slf-footer .slf-link-group h3 { margin-bottom: 9px; }
    #footer.slf-footer .slf-link-group ul { gap: 2px; }
    #footer.slf-footer .slf-link-group a { font-size: 13px; }
    #footer.slf-footer .slf-secondary-inner { grid-template-columns: 1fr; align-items: start; }
    #footer.slf-footer nav.slf-legal { justify-self: start; margin-left: -10px !important; }
    #footer.slf-footer .slf-secondary p { font-size: 12px; }
    #slhBackToTop { right: 2px; width: 38px; height: 38px; bottom: calc(14px + var(--slh-backtop-extra, 0px)); }
}
@media (max-width: 360px) {
    #header.slh-header .slh-mobile-toggle span:last-child { display: none; }
    #header.slh-header .slh-mobile-toggle { min-width: 43px; }
    #footer.slf-footer nav.slf-navigation { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    #header.slh-header *,
    #footer.slf-footer *,
    #slhBackToTop { transition: none !important; animation: none !important; }
}

/* Legacy header rules must not reserve white space above this shared header. */
#header.slh-header { margin-top: 0 !important; top: 0 !important; }
#header.slh-header .slh-utility,
#header.slh-header .slh-main { margin: 0; padding: 0; top: auto; }
