.jj-menu-header {
    position: relative;
    z-index: 10;
    color: #181818;
    background: #fff;
    border-bottom: 1px solid #cbd8e4;
}
.jj-menu-header .jj-header-inner {
    width: min(calc(100% - 88px), 1250px);
    min-height: 78px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 35px;
}
.jj-menu-header .jj-header-brand {
    display: block;
    flex: none;
}
.jj-menu-header .jj-header-brand img {
    display: block;
    width: 132px;
    height: auto;
}
.jj-menu-header .jj-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2px clamp(9px, 2.9vw, 38px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.jj-menu-header .jj-nav-links > li { margin: 0; padding: 0; }
.jj-menu-header .jj-nav-links > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 7px 0;
    color: #172b3a;
    font: 650 .86rem/1.25 system-ui, -apple-system, "Segoe UI", sans-serif;
    text-decoration: none;
    text-align: center;
    overflow-wrap: anywhere;
}
.jj-menu-header .jj-nav-links a:hover,
.jj-menu-header .jj-nav-links a[aria-current="page"]:not([href*="#"]) {
    color: #235f8d;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.jj-menu-header .jj-nav-links .jj-nav-contact > a {
    padding-inline: clamp(7px, 1.25vw, 16px);
    background: #235f8d;
    color: white;
    border-radius: 3px;
}
.jj-menu-header .jj-nav-links .jj-nav-contact > a:hover,
.jj-menu-header .jj-nav-links .jj-nav-contact > a[aria-current="page"] {
    background: #0f2840;
    color: white;
}
.jj-menu-header a:focus-visible { outline: 2px solid #235f8d; outline-offset: 4px; }

.jj-site #top > .jj-menu-header ~ :is(.mainHeader, .btVerticalHeaderTop) { display: none !important; }
.jj-site #top > .jj-menu-header ~ .btContentWrap { padding-top: 0 !important; margin-top: 0; }

@media (max-width: 760px) {
    .jj-menu-header .jj-header-inner {
        width: calc(100% - 28px);
        flex-direction: column;
        gap: 0;
        padding-block: 5px 3px;
    }
    .jj-menu-header .jj-header-brand img { width: 106px; }
    .jj-menu-header .jj-site-nav { width: 100%; border-top: 1px solid #e3ebf2; }
    .jj-menu-header .jj-nav-links { justify-content: space-around; gap: 2px 7px; }
    .jj-menu-header .jj-nav-links > li > a { font-size: .77rem; }
    .jj-menu-header .jj-nav-links .jj-nav-contact > a { min-height: 40px; }
}
