/* JTII Header Navy + Official White Logo | version 1.0
   Scoped to the existing .jtii-header, does not touch footer. */
.jtii-header {
    background: #011c36 !important;
    background-image: linear-gradient(100deg, #011a32 0%, #071f3b 100%) !important;
    border-bottom: 1px solid rgba(206, 169, 109, .28) !important;
    box-shadow: 0 4px 18px rgba(1, 12, 28, .13) !important;
}
.jtii-header .jtii-header-inner {
    background: transparent !important;
}
.jtii-header a.jtii-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: transparent !important;
    border: 0 !important;
}
.jtii-header img.jtii-brand-logo {
    display: block !important;
    width: 255px !important;
    max-width: 255px !important;
    max-height: 64px !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* Main menu. Submenu retains a navy panel for legibility. */
.jtii-header .jtii-menu > li > a,
.jtii-header .jtii-nav > .jtii-menu > li > a {
    color: #f6f8fb !important;
    text-shadow: none !important;
}
.jtii-header .jtii-menu > li > a:hover,
.jtii-header .jtii-menu > li.current-menu-item > a,
.jtii-header .jtii-menu > li.current-menu-ancestor > a,
.jtii-header .jtii-menu > li.current_page_item > a {
    color: #e5bd79 !important;
}
.jtii-header .jtii-menu-arrow,
.jtii-header .jtii-language,
.jtii-header .jtii-language span {
    color: #c6d3e4 !important;
}
.jtii-header .jtii-language a {
    color: #a9b9ce !important;
}
.jtii-header .jtii-language a.is-active,
.jtii-header .jtii-language a:hover {
    color: #fff !important;
}
.jtii-header .jtii-header-cta {
    color: #0b213d !important;
    background: #c39b5b !important;
    background-image: none !important;
    border-color: #c39b5b !important;
    box-shadow: 0 4px 13px rgba(0,0,0,.10) !important;
}
.jtii-header .jtii-header-cta:hover,
.jtii-header .jtii-header-cta:focus-visible {
    background: #e1bd7f !important;
    border-color: #e1bd7f !important;
    color: #081c34 !important;
}
.jtii-header .jtii-header-search,
.jtii-header .jtii-header-search span {
    color: #f3f7fe !important;
}
.jtii-header .jtii-header-search span,
.jtii-header .jtii-header-search span::after {
    border-color: #e7edf6 !important;
}
.jtii-header .jtii-header-search:hover { background-color: rgba(255,255,255,.08) !important; }
.jtii-header .jtii-submenu,
.jtii-header .jtii-menu .sub-menu {
    background: #071f3b !important;
    border-color: rgba(202,161,94,.28) !important;
}
.jtii-header .jtii-submenu a,
.jtii-header .jtii-menu .sub-menu a { color: #f3f6fb !important; }
.jtii-header .jtii-submenu a:hover,
.jtii-header .jtii-menu .sub-menu a:hover { color:#edc581 !important; background:rgba(255,255,255,.065) !important; }
.jtii-header .jtii-nav-toggle { color:#f6f8fb !important; border-color:rgba(255,255,255,.20) !important; }
.jtii-header .jtii-nav-toggle span { background-color: #fff !important; }
.jtii-header a:focus-visible,
.jtii-header button:focus-visible { outline:2px solid #edc581 !important; outline-offset:3px !important; }
@media (max-width:1050px) {
    .jtii-header .jtii-nav { background:#061c36 !important; }
    .jtii-header .jtii-nav .jtii-menu { background:#061c36 !important; }
    .jtii-header .jtii-menu > li > a { color:#fff !important; }
    .jtii-header img.jtii-brand-logo { width:210px !important; max-width:210px !important; max-height:54px !important; }
}
@media (max-width:600px) {
    .jtii-header img.jtii-brand-logo { width:175px !important; max-width:175px !important; max-height:48px !important; }
    .jtii-header .jtii-header-inner { min-height:64px; }
}
