/* =========================================================
   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,
.site-header *,
.mega-menu *,
.mobile-menu *,
.site-header *::before,
.mega-menu *::before,
.mobile-menu *::before,
.site-header *::after,
.mega-menu *::after,
.mobile-menu *::after {
    box-sizing: border-box;
}

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

.site-header,
.mega-menu,
.mobile-menu {
    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 { max-width: 100%; height: auto; }

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

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

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

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

/* =========================
   Header, navigation, mega menu, mobile panel
========================= */
body.menu-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); }

.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; }

.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-group__label--lg {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .01em;
    color: #111111;
}

.m-group--resources { margin-top: 34px; }

.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 (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;
    }
}
