/* ==========================================================================
   Site header
   White sticky bar with the MEF logo on the left and main nav on the right.
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    width: 100%;
}
.site-header .header-container {
    max-width: none;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* Logo */
.site-header .header-logo {
    display: block;
    flex-shrink: 0;
}
.site-header .header-logo img {
    display: block;
    width: 180px;
    height: auto;
}

/* Nav */
.site-header .header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}
.site-header .header-nav a {
    position: relative;
    display: inline-block;
    color: #aa0606;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 17px;
    letter-spacing: 0.6px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.15s ease;
}
/* Gold underline sweeps in from the left on hover — echoes the gold
   heading underlines used elsewhere on the site. */
.site-header .header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #c5a352;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.site-header .header-nav a:hover,
.site-header .header-nav a:focus {
    color: #8a0505;
    text-decoration: none;
}
.site-header .header-nav a:hover::after,
.site-header .header-nav a:focus::after {
    transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
    .site-header .header-nav a::after { transition: none; }
}

/* Mobile */
@media (max-width: 800px) {
    .site-header .header-container {
        flex-direction: column;
        padding: 12px 20px;
        gap: 12px;
    }
    .site-header .header-logo img {
        width: 120px;
    }
    .site-header .header-nav ul {
        gap: 22px;
    }
    .site-header .header-nav a { font-size: 15px; }
}
