.bssio-reference-view {
    --bssio-site-gutter: clamp(28px,5.1vw,88px);
    --bssio-header-height: 108px;
    margin: 0;
}
.bssio-reference-view .wp-site-blocks { padding: 0; }
.bssio-reference-view .wp-site-blocks > main,
.bssio-reference-view .wp-site-blocks > footer { margin-block-start: 0; }
.bssio-reference-view .bssio-language-bar { display: none; }
.bssio-shell-header,
.bssio-shell-footer {
    box-sizing: border-box;
    background: #fff;
    color: #172f54;
    font-family: Montserrat,system-ui,sans-serif;
}
.bssio-shell-header {
    min-height: var(--bssio-header-height);
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 6px var(--bssio-site-gutter);
    border-bottom: 1px solid #e0e9f1;
    position: relative;
    z-index: 20;
}
.bssio-shell-header a,
.bssio-shell-footer a { color: inherit; text-decoration: none; }
.bssio-shell-header a:hover,
.bssio-shell-footer a:hover { color: #2a5b88; }
.bssio-shell-logo {
    display: block;
    flex: none;
    width: clamp(193px,16.5vw,234px);
    margin-inline-start: clamp(12px,1.8vw,28px);
}
.bssio-shell-logo img { display: block; width: 100%; height: auto; }
.bssio-shell-nav,
.bssio-shell-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(11px,1.35vw,22px);
}
.bssio-shell-nav {
    margin-inline-start: auto;
    font-size: clamp(10.9px,.91vw,12.7px);
    font-weight: 610;
    white-space: nowrap;
}
.bssio-shell-menu { list-style: none; margin: 0; padding: 0; }
.bssio-shell-nav a { position: relative; }
.bssio-shell-nav a[aria-current="page"]::after,
.bssio-shell-nav a[aria-current="true"]::after,
.bssio-shell-nav a.is-emblem-highlight::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -13px;
    height: 2px;
    background: #d93843;
}
.bssio-shell-nav:has(.is-emblem-highlight) a[aria-current]:not(.is-emblem-highlight)::after { opacity: 0; }
.bssio-shell-header button {
    flex: none;
    box-sizing: border-box;
    border: 1px solid #d5e0eb;
    border-radius: 4px;
    background: #fff;
    color: #172f54;
    padding: 9px 13px;
    min-height: 40px;
    font: 760 12px/1.2 Montserrat,system-ui,sans-serif;
    cursor: pointer;
}
.bssio-shell-header button:hover,
.bssio-shell-header button[aria-expanded="true"] { background: #eff5fb; color: #172f54; }
/* Keep the language control blue even when the active theme colors buttons. */
.bssio-reference-view .bssio-shell-header button.bssio-shell-language {
    -webkit-tap-highlight-color: transparent;
    background: #fff !important;
    color: #172f54 !important;
    border-color: #d5e0eb !important;
    box-shadow: none !important;
}
.bssio-reference-view .bssio-shell-header button.bssio-shell-language:is(:hover,:focus,:active,[aria-pressed="true"]) {
    background: #e0edf9 !important;
    border-color: #8ab3d7 !important;
    color: #164778 !important;
}
.bssio-reference-view .bssio-shell-header button.bssio-shell-language:focus-visible {
    outline: 2px solid #3475aa !important;
}
.bssio-shell-header .bssio-shell-toggle { display: none; }
.bssio-reference-view .bssio-shell-header :is(a,button):focus:not(:focus-visible) {
    outline: none;
}
.bssio-reference-view .bssio-shell-header :is(a,button):focus-visible,
.bssio-reference-view .bssio-shell-footer-links a:focus-visible {
    outline: 2px solid #3475aa;
    outline-offset: 4px;
}
.bssio-shell-skip { position: absolute; top: 0; left: 0; z-index: 100; transform: translateY(-180%); }
.bssio-shell-skip:focus { transform: none; background: #fff; padding: 8px; }
.bssio-shell-footer {
    background: #c4def2;
    padding: 24px var(--bssio-site-gutter);
    border-top: 1px solid #b1cfe7;
    font-size: 13px;
}
.bssio-shell-footer-meta,
.bssio-shell-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}
.bssio-shell-footer-meta {
    align-items: center;
    justify-content: space-between;
}
.bssio-shell-footer-meta p { margin: 0; font-size: 12px; }
.bssio-shell-footer-links { align-items: center; gap: 5px 3px; margin-inline-start: auto; }
.bssio-shell-footer-links a[href^="mailto:"] { margin-inline-end: 8px; }
.bssio-shell-footer-links .bssio-shell-social {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 32px;
    border-radius: 50%;
}
.bssio-shell-social svg { width: 19px; height: 19px; }
.bssio-shell-footer-links .bssio-shell-social:hover { background: #d8ebf9; }
.bssio-shell-footer-links a:hover { text-decoration: underline; }
@media (max-width: 1320px) {
    .bssio-reference-view { --bssio-header-height: 98px; }
    .bssio-shell-header { gap: 12px; }
    .bssio-shell-logo { width: 192px; }
    .bssio-shell-nav,.bssio-shell-menu { gap: 11px; }
    .bssio-shell-nav { font-size: 11px; }
}
@media (max-width: 1160px) {
    .bssio-reference-view { --bssio-header-height: 94px; }
    .bssio-shell-header { gap: 9px; }
    .bssio-shell-logo { width: 184px; margin-inline-start: 10px; }
    .bssio-shell-language { margin-inline-start: auto; }
    .bssio-shell-header .bssio-shell-toggle { display: inline-block; }
    .bssio-shell-nav {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        padding: 10px 24px 18px;
        margin: 0;
        background: #fff;
        box-shadow: 0 12px 22px rgb(22 46 79 / .16);
        border-block: 1px solid #e0e9f1;
        font-size: 13.7px;
        white-space: normal;
    }
    .bssio-shell-nav.is-open,
    .bssio-shell-nav .bssio-shell-menu {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        align-items: stretch;
        gap: 0 25px;
    }
    .bssio-shell-nav .bssio-shell-menu { grid-column: 1 / -1; }
    .bssio-shell-nav a { display: block; padding-block: 13px; border-bottom: 1px solid #e5eef5; }
    .bssio-shell-nav :is(a[aria-current],a.is-emblem-highlight)::after { bottom: 0; }
}
@media (max-width: 900px) {
    .bssio-reference-view { --bssio-site-gutter: 22px; }
}
@media (max-width: 600px) {
    .bssio-reference-view { --bssio-header-height: 87px; }
    .bssio-shell-header { padding-block: 8px; }
    .bssio-shell-logo { width: min(177px,49vw); margin-inline-start: 6px; }
    .bssio-shell-header button { padding-inline: 10px; }
}
@media (max-width: 490px) {
    .bssio-reference-view { --bssio-site-gutter: 19px; }
}
