.site-header {
    background: #fff;
    border-bottom: 1px solid #ece5d8;
}
.site-header .site-header-inner {
    max-width: 1440px;
    margin-inline: auto;
    padding: 14px 24px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-header .site-logo {
    flex: 0 0 auto;
}
.site-header .site-logo img {
    height: 68px !important;
    width: auto;
    display: block;
}
.site-header .site-nav {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: auto;
    order: 0;
    font-size: 14px;
    font-weight: 600;
}
header nav a { text-decoration: none; }
.site-header .site-nav a {
    white-space: nowrap;
    overflow-wrap: normal;
    flex: 0 0 auto;
}
header nav a.nav-current {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    text-decoration-color: #a3141c;
}
.site-header .site-header-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: auto;
}
.site-header .site-header-actions a {
    flex: 0 0 auto;
    white-space: nowrap;
    overflow-wrap: normal;
    font-size: 14px !important;
    padding-inline: 14px !important;
}
.site-header .menu-toggle { display: none; }

/* Collapse navigation before the desktop row becomes crowded. */
@media (max-width: 1199px) {
    .site-header .site-header-inner { flex-wrap: wrap; gap: 12px 20px; }
    .site-header .site-logo { order: 1; margin-right: auto; }
    .site-header .site-header-actions { order: 2; }
    .site-header .menu-toggle { display: block; order: 3; }
    .site-header .site-nav {
        display: none !important;
        order: 4;
        flex: 1 0 100%;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }
    .site-header .site-nav.open { display: flex !important; }
    .site-header .site-nav a { padding: 12px 0; border-bottom: 1px solid #eee; }
}
@media (max-width: 639px) {
    .site-header .site-header-inner { padding: 12px 16px; }
    .site-header .site-logo img { height: 52px !important; }
    .site-header .menu-toggle { order: 2; }
    .site-header .site-header-actions {
        order: 3;
        flex: 1 0 100%;
        width: 100%;
        justify-content: stretch;
    }
    .site-header .site-header-actions a {
        flex: 1 1 auto;
        justify-content: center;
        padding-inline: 10px !important;
    }
}
