/* A separate component; the existing header and region menu keep their own styles. */
.oln[hidden], .oln [hidden] { display: none !important; }
.oln {
    position: fixed;
    top: var(--oln-admin, 0px);
    inset-inline: 0;
    z-index: 10001;
    margin: 0;
    color: #181818;
    background: #efeff1;
    font: 400 16px/1.4 'Open_Sans', 'Noto Sans SC', Arial, sans-serif;
    text-align: start;
}
.oln, .oln * { box-sizing: border-box; }
.oln__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 72px;
    padding: 14px 24px;
    margin: 0 auto;
}
.oln .oln__heading { margin: 0 20px 0 0; color: inherit; font: inherit; }
.oln__controls { display: flex; align-items: center; gap: 16px; min-width: 0; }
.oln__select-wrap { position: relative; width: 276px; min-width: 0; }
.oln .oln__select {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 0 36px 0 42px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fafafa;
    box-shadow: none;
    color: #181818;
    font: inherit;
    text-transform: none;
    cursor: pointer;
}
.oln .oln__select-wrap:has(.oln__flag[hidden]) .oln__select { padding-left: 12px; }
.oln .oln__flag { position: absolute; z-index: 1; inset-inline-start: 12px; top: 12px; width: 20px; height: 14px; object-fit: cover; border-radius: 1px; box-shadow: 0 0 0 1px #0000000a; pointer-events: none; }
.oln .oln__chevron { position: absolute; inset-inline-end: 10px; top: 9px; width: 20px; height: 20px; pointer-events: none; }
.oln .oln__continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    height: auto;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid #193986;
    border-radius: 3px;
    box-shadow: none;
    background: #193986;
    color: #fff;
    font: 400 14px/20px 'Open_Sans', 'Noto Sans SC', Arial, sans-serif;
    text-transform: none;
    cursor: pointer;
    touch-action: manipulation;
}
.oln .oln__continue:hover { background: #112960; border-color: #112960; }
.oln .oln__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 38px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
    color: #222;
    cursor: pointer;
    touch-action: manipulation;
}
@media (min-width: 901px) { .oln .oln__close { margin-right: -48px; } }
.oln .oln__close svg { display: block; width: 32px; height: 32px; }
.oln .oln__close:hover { background: #e0e0e4; }
.oln :is(button, select):focus-visible { outline: 2px solid #193986; outline-offset: 3px; }
/* --header-size also positions existing heroes and sticky content below the stack.
 * Header descendants use the original height: its transform creates their containing block. */
html.oln-ready { --oln-base: clamp(80px, 8vw, 86px); --header-size: calc(var(--oln-base) + var(--oln-height, 0px)); }
html.oln-ready body.admin-bar { padding-top: var(--oln-admin-overflow, 0px); }
html.oln-ready #header.site-header { --header-size: var(--oln-base); top: calc(var(--oln-admin, 0px) + var(--oln-height, 0px)); }
html.oln-ready .region-menu,
html.oln-ready .search-engine-block.is-active { top: calc(var(--header-size) + var(--oln-admin, 0px)); max-height: calc(100dvh - var(--header-size) - var(--oln-admin, 0px)); }
@media (max-width: 900px) {
    .oln__inner { display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 12px 8px; min-height: 116px; padding: 16px; }
    .oln .oln__heading { grid-area: 1 / 1; margin: 0; font-weight: 700; line-height: 22px; }
    .oln__controls { grid-area: 2 / 1 / 3 / -1; gap: 16px; }
    .oln__select-wrap { flex: 1 1 auto; width: auto; }
    .oln .oln__close { grid-area: 1 / 2; align-self: start; height: 24px; }
}
@media (max-width: 768.98px) {
    html.oln-ready .mobile-menu { top: calc(var(--oln-height, 0px) + var(--oln-admin, 0px)); max-height: calc(100dvh - var(--oln-height, 0px) - var(--oln-admin, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .oln * { transition: none !important; } }
