/* =========================================================
   Fox Mandal — header only

   GENERATED by tools/build-header-css.js from style.css. Do not edit:
   edit style.css and re-run, or the next redesign will drop your change.

   This is the stylesheet that loads site-wide. It carries the header, the
   mega menu and the mobile panel, and nothing else - so the menu can sit in
   an Elementor header without style.css reaching the rest of the site.
   The full design stylesheet still loads, but only on FM templates.
   ========================================================= */

/* =========================
   Variables
========================= */
:root {
    --navy: #002369;
    --navy-deep: #011759;
    --blue: #0073d2;
    --blue-light: #1e96d9;
    --text-color: #656565;
    --text-muted: #8b8b8b;
    --text-faint: #a3a3a3;
    --heading-color: #002369;
    --ink: #1a1a1a;
    --border-color: #dcdcdc;
    --border-btn: #9a9a9a;
    --border-faq: #e2e2e2;
    --grey-band: #cccccc;
    --white: #ffffff;
    --container-width: 1200px;
    --shell-width: 1440px;
    --header-height: 83px;
    --font-base: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

/* =========================
   Scoped base
========================= */
/* Box sizing. style.css was authored against the HTML build, which loads
   Bootstrap, and leans on Bootstrap's border-box reset. Four header rules pair
   width/padding and are wrong without it, so the header brings its own -
   scoped, so it cannot be the thing that changes someone else's layout. */

.site-header,
.mega-menu,
.mobile-menu,
.fm-sidebar,
.site-header *,
.mega-menu *,
.mobile-menu *,
.fm-sidebar *,
.site-header *::before,
.mega-menu *::before,
.mobile-menu *::before,
.fm-sidebar *::before,
.site-header *::after,
.mega-menu *::after,
.mobile-menu *::after,
.fm-sidebar *::after {
    box-sizing: border-box;
}

/* Typography, from body in style.css. */

.site-header,
.mega-menu,
.mobile-menu,
.fm-sidebar {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

/* Element defaults the header markup relies on, scoped to the header. */

.site-header img,
.mega-menu img,
.mobile-menu img,
.fm-sidebar img { max-width: 100%; height: auto; }

.site-header a,
.mega-menu a,
.mobile-menu a,
.fm-sidebar a { color: var(--navy); text-decoration: none; transition: color .18s ease; }

.site-header a:hover,
.mega-menu a:hover,
.mobile-menu a:hover,
.fm-sidebar a:hover { color: var(--blue); }

.site-header button,
.mega-menu button,
.mobile-menu button,
.fm-sidebar button { font-family: inherit; }

.site-header :focus-visible,
.mega-menu :focus-visible,
.mobile-menu :focus-visible,
.fm-sidebar :focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* =========================
   Header, navigation, mega menu, mobile panel
========================= */
body.menu-open { overflow: hidden; }

body.sidebar-open { overflow: hidden; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--white);
}

.header-inner {
    max-width: var(--shell-width);
    margin: 0 auto;
    height: var(--header-height);
    padding: 0 58px 0 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo { display: inline-block; line-height: 0; }

.site-logo img { width: 136px; height: auto; }

.header-right {
    display: flex;
    align-items: center;
    gap: 78px;
}

.desktop-navigation > ul {
    display: flex;
    align-items: center;
    gap: 56px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-navigation a,
.desktop-navigation .nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: none;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--navy);
    cursor: pointer;
    transition: color .18s ease;
}

.desktop-navigation a:hover,
.desktop-navigation .nav-trigger:hover,
.desktop-navigation .nav-trigger[aria-expanded="true"] {
    color: var(--blue);
}

.desktop-navigation .nav-trigger .fa-caret-down { font-size: 12px; }

.desktop-navigation .is-active { color: var(--blue); }

.menu-toggle {
    width: 28px;
    height: 20px;
    border: 0;
    padding: 0;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--navy);
    transition: background .18s ease;
}

.menu-toggle:hover span { background: var(--blue); }

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .09);
    border-top: 1px solid #eeeeee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-inner {
    max-width: var(--shell-width);
    margin: 0 auto;
    padding: 34px 92px 46px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
}

.mega-heading {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 20px;
}

.mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, auto);
    grid-auto-columns: 1fr;
    column-gap: 32px;
}

.mega-list a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
}

.mega-list a i {
    font-size: 13px;
    color: #b7b7b7;
    width: 10px;
    flex: 0 0 10px;
    transition: color .18s ease;
}

.mega-list a:hover { color: var(--blue); }

.mega-list a:hover i { color: var(--blue); }

.mega-item--has-sub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mega-sub-toggle {
    flex: 0 0 auto;
    padding: 12px 0;
    border: 0;
    background: none;
    cursor: pointer;
    line-height: 1;
    color: inherit;
    font-family: inherit;
}

.mega-sub-toggle i {
    font-size: 13px;
    color: #b7b7b7;
    width: 10px;
    flex: 0 0 10px;
    transition: transform .18s ease, color .18s ease;
}

.mega-sub-toggle:hover i,
.mega-sub-toggle[aria-expanded="true"] i {
    color: var(--blue);
}

.mega-sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.mega-item--has-sub > a {
    flex: 1 1 auto;
    gap: 0;
    min-width: 0;
}

.mega-sublist {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2;
    min-width: 260px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.mega-sublist:not(.is-open) { display: none; }

.mega-sublist a {
    display: block;
    padding: 9px 20px;
    font-size: 15px;
    font-weight: 400;
    color: #333333;
}

.mega-sublist a:hover { color: var(--blue); }

.mega-col:last-child .mega-sublist { left: auto; right: 0; }

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.mobile-menu.is-open { transform: translateX(0); visibility: visible; }

.fm-sidebar,
.fm-sidebar-backdrop {
    display: none;
}

.mobile-menu__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
}

.mobile-menu__head img { width: 86px; }

.mobile-close {
    width: 42px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.mobile-close:hover { background: var(--navy); color: var(--white); }

.mobile-menu__body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 42px 20px 60px;
}

.m-nav-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #111111;
    margin: 0 0 22px;
}

.m-nav-title--link { display: block; color: #111111; margin: 34px 0 22px; }

.m-group { margin-bottom: 6px; }

.m-group__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    background: none;
    padding: 0;
    margin-bottom: 12px;
    cursor: pointer;
}

.m-group__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #111111;
}

.m-pill {
    flex: 0 0 40px;
    width: 40px;
    height: 26px;
    border: 1px solid #bcbcbc;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #111111;
    transition: transform .2s ease;
}

.m-group__head[aria-expanded="false"] .m-pill { transform: rotate(180deg); }

.m-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0 0 0 20px;
    display: none;
}

.m-group.is-open > .m-list { display: block; }

.m-list > li > a,
.m-sub-head > a {
    display: block;
    padding: 7px 0;
    font-size: 13px;
    font-weight: 700;
    color: #111111;
}

.m-list > li > a:hover { color: var(--blue); }

.m-sub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.m-sub-toggle {
    flex: 0 0 auto;
    border: 0;
    background: none;
    padding: 6px 8px;
    font-size: 13px;
    color: #111111;
    cursor: pointer;
    transition: transform .2s ease;
}

.m-sub-toggle[aria-expanded="true"] { transform: rotate(180deg); }

.m-sublist {
    list-style: none;
    margin: 2px 0 8px;
    padding: 0 0 0 20px;
    display: none;
}

.m-sublist.is-open { display: block; }

.m-sublist a {
    display: block;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 400;
    color: #333333;
}

.m-sublist a:hover { color: var(--blue); }

@media (min-width: 992px) {
    .fm-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1100;
        width: min(450px, 92vw);
        padding: 14px 24px 48px;
        background: var(--navy);
        transform: translateX(100%);
        transition: transform .5s ease, visibility .5s ease;
        visibility: hidden;
        overflow-y: auto;
        box-shadow: -18px 0 48px rgba(0, 0, 0, .18);
    }

    .fm-sidebar.is-open { transform: translateX(0); visibility: visible; }

    .fm-sidebar__close {
        align-self: flex-end;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border: 0;
        background: none;
        color: #ffffff;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
        font-family: inherit;
        transition: opacity .18s ease;
    }

    .fm-sidebar__close:hover { opacity: .7; }

    .fm-sidebar__nav {
        flex: 0 0 auto;
        padding-top: 40px;
    }

    .fm-sidebar__nav ul {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: center;
    }

    .fm-sidebar__nav li + li { margin-top: 39px; }

    .fm-sidebar__nav a {
        display: block;
        color: #ffffff;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: .01em;
        text-transform: uppercase;
        text-decoration: none;
        transition: color .18s ease;
    }

    .fm-sidebar__nav a:hover { color: var(--blue); }

    .fm-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1099;
        background: rgba(0, 0, 0, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .5s ease, visibility .5s ease;
    }

    body.sidebar-open .fm-sidebar-backdrop { opacity: 1; visibility: visible; }
}

@media (max-width: 1439px) {
    .mega-inner { padding: 34px 48px 46px; }
}

@media (max-width: 1279px) {
    .header-inner { padding: 0 40px; }

    .header-right { gap: 44px; }

    .desktop-navigation > ul { gap: 38px; }
}

@media (max-width: 991px) {
    :root { --header-height: 72px; }

    .header-inner { padding: 0 24px; }

    .desktop-navigation { display: none; }

    .header-right { gap: 0; }

    .site-logo img { width: 110px; }
}

@media print {
    .site-header,
    .mobile-menu,
    .mega-menu {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .mega-menu { display: none; }

    .menu-toggle,
    .mobile-close {
        position: relative;
    }

    .menu-toggle::before,
    .mobile-close::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 44px;
        height: 44px;
        transform: translate(-50%, -50%);
    }

    .m-group__head,
    .m-nav-title--link {
        min-height: 44px;
        align-items: center;
    }

    .m-list > li > a,
    .m-sub-head > a {
        min-height: 44px;
        padding: 11px 0;
        display: flex;
        align-items: center;
    }

    .m-sub-head > a { flex: 1 1 auto; }

    .m-sublist a {
        min-height: 44px;
        padding: 10px 0;
        display: flex;
        align-items: center;
    }

    .m-sub-toggle {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
