html {
    scroll-padding-top: 150px;
}
.rwfs-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: block;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background: #142c48;
    color: #e4c47c;
    box-shadow: 0 4px 18px #0003;
}
.rwfs-sticky-header * {
    box-sizing: border-box;
}
.rwfs-brand-row {
    max-width: 1500px;
    margin: auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.rwfs-brand-row .rwfs-brand {
    display: inline-flex;
    align-items: center;
    max-width: 70%;
}
.rwfs-sticky-header .rwfs-brand img {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.rwfs-brand-tagline {
    color: #e4c47c;
    font-size: 13px;
    letter-spacing: 2px;
}
.rwfs-sticky-header .rwfs-nav {
    display: block;
    width: 100%;
    background: #10243d;
    border-top: 1px solid #e4c47c40;
    margin: 0;
    padding: 0;
}
.rwfs-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    max-width: 1500px;
    margin: auto;
    padding: 0;
}
.rwfs-nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}
.rwfs-nav .rwfs-nav-link,
.rwfs-nav .rwfs-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    padding: 12px 15px;
    background: transparent;
    color: #f2d89f;
    border: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}
.rwfs-nav .rwfs-nav-link:hover,
.rwfs-dropdown-toggle:hover,
.rwfs-dropdown-toggle[aria-expanded=true] {
    background: #28425e;
    color: white;
}
.rwfs-nav-link[aria-current=page] {
    box-shadow: inset 0 -3px #e4c47c;
}
.rwfs-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 245px;
    max-width: min(340px,90vw);
    max-height: 65vh;
    overflow-y: auto;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #142c48;
    border: 1px solid #bca16a;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 30px #0004;
}
.rwfs-nav-item:nth-last-child(-n+3)
.rwfs-dropdown {
    left: auto;
    right: 0;
}
.rwfs-dropdown[hidden] {
    display: none !important;
}
.rwfs-nav .rwfs-dropdown a {
    display: block;
    color: #f5e6c6;
    padding: 11px 13px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    white-space: normal;
    text-decoration: none;
    border-radius: 4px;
}
.rwfs-nav .rwfs-dropdown a:hover,
.rwfs-nav .rwfs-dropdown a[aria-current=page] {
    background: #28425e;
    color: white;
}
.rwfs-menu-toggle {
    display: none;
    border: 1px solid #e4c47c;
    border-radius: 6px;
    padding: 8px 13px;
    background: transparent;
    color: #e4c47c;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.rwfs-sticky-header a:focus-visible,
.rwfs-sticky-header button:focus-visible {
    outline: 3px solid #f2d89f;
    outline-offset: -3px;
}
@media(max-width:1100px) {
    .rwfs-brand-tagline {
        display: none;
    }
    .rwfs-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .rwfs-nav-list {
        display: none;
        flex-direction: column;
        max-height: 65vh;
        overflow-y: auto;
    }
    .rwfs-nav-list.is-open {
        display: flex;
    }
    .rwfs-nav .rwfs-nav-link,
    .rwfs-nav .rwfs-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 13px 20px;
    }
    .rwfs-dropdown {
        position: static;
        max-width: none;
        max-height: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #1d3652;
    }
}
@media(max-width:600px) {
    .rwfs-brand-row {
        padding: 9px 14px;
        gap: 10px;
    }
    .rwfs-sticky-header .rwfs-brand img {
        width: 200px;
    }
    .rwfs-menu-toggle {
        padding: 7px 10px;
        flex-shrink: 0;
    }
    html {
        scroll-padding-top: 100px;
    }
}
