.site-header {
    width: 100%;
    height: 7vh;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: linear-gradient(to bottom, #054a63 0%, #054a63 100%);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header > .site-brand {
    color: inherit;
    font-size: 2.1em;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
}

.site-page-menu {
    position: absolute;
    top: 50%;
    right: 75px;
    z-index: 1002;
    transform: translateY(-50%);
}

.site-page-menu details {
    position: relative;
}

.site-page-menu summary {
    display: block;
    width: auto;
    height: auto;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fff;
    color: #054a63;
    cursor: pointer;
    font-size: 24px;
    line-height: normal;
    list-style: none;
}

.site-page-menu summary::-webkit-details-marker {
    display: none;
}

.site-page-menu summary::marker {
    content: "";
}

.site-page-menu-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    display: flex;
    width: max-content;
    max-width: calc(100vw - 32px);
    flex-direction: column;
    border: 1px solid #054a63;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-page-menu-dropdown a {
    padding: 4px 16px;
    border-top: 1px solid #eee;
    color: #054a63;
    font-size: 16px;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
}

.site-page-menu-dropdown a[href="/?login=1"] {
    font-weight: 700;
}

.site-page-menu-dropdown a:first-child {
    border-top: 0;
}

.site-page-menu-dropdown a:hover {
    background: #f5f7f7;
    text-decoration: underline;
}

.site-footer {
    margin: 0 75px;
    padding: 18px 0 24px;
    border-top: 1px solid #d4dadd;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.site-footer a {
    color: #054a63;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-copyright {
    display: block;
    margin-top: 12px;
    color: #555;
    font-size: 13px;
    text-align: center;
}

main ul,
main ol {
    padding-inline-start: 0;
    list-style-position: inside;
}

@media (max-width: 768px) {
    .site-page-menu {
        right: 16px;
    }

    .site-page-menu summary {
        padding: 1px 4px;
    }

    .site-footer {
        margin: 0 16px;
    }

    .site-footer nav {
        justify-content: flex-start;
        gap: 8px 16px;
    }
}
