.header_container {
    width: 100%;
    height: 56px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 40;

    background-color: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(10px) saturate(1.1);
    border-bottom: 1px solid var(--line);
}

.header_row {
    max-width: 760px;
    height: 100%;
    margin: 0 auto;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_emblem {
    display: flex;
    align-items: center;
    line-height: 0;
}

.header_emblem_mark {
    display: block;
    height: 16px;
    aspect-ratio: 45 / 16;

    background-color: var(--ink-faint);
    -webkit-mask-image: url('../images/LJOO-emblem-16.png');
    mask-image: url('../images/LJOO-emblem-16.png');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;

    transition: background-color .15s;
}

.header_emblem:hover .header_emblem_mark,
.header_emblem:focus-visible .header_emblem_mark {
    background-color: var(--accent);
}

.header_navigation {
    display: flex;
    gap: 2px;
}

a.header {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.94em;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink-soft);

    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color .15s, color .15s;
}

a.header:hover {
    background-color: var(--surface-2);
    color: var(--ink);
    text-decoration: none;
}

.header_burger {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
}

.header_burger svg {
    width: 18px;
    height: 18px;
    stroke: var(--ink);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.header_mobile_panel {
    display: none;
    flex-direction: column;
    gap: 2px;
    max-width: 760px;
    margin: 0 auto;
    padding: 8px 16px 16px;
    background: var(--surface);
}

.header_mobile_panel a.header {
    padding: 11px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 8px;
}

.header_mobile_panel a.header:last-child {
    border-bottom: none;
}

body.nav_open .header_mobile_panel {
    display: flex;
}

@media (max-width: 620px) {
    .header_navigation {
        display: none;
    }
    .header_burger {
        display: flex;
    }
}
