html.etol-fixed-navigation {
    scroll-padding-top: calc(var(--etol-header-height, 75px) + var(--etol-toolbar-height, 0px) + 16px);
}
body header.etol-fixed-header {
    position: fixed !important;
    top: var(--etol-toolbar-height, 0px) !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px #1634520a;
}
.etol-header-spacer { height: var(--etol-header-height, 75px); }
/* The outer wrapper owns positioning on legacy theme pages. */
.etol-fixed-header .fusion-header {
    position: relative !important;
    top: auto !important;
}
.etol-fixed-header .fusion-header-sticky-height { display: none !important; }
body.ep-page .section-nav { position: static; }
body .fq-sidebar { top: calc(var(--etol-header-height, 75px) + var(--etol-toolbar-height, 0px) + 24px); }
body .mg-jump { top: calc(var(--etol-header-height, 75px) + var(--etol-toolbar-height, 0px)); }
html.etol-fixed-navigation:has(.mg-jump) {
    scroll-padding-top: calc(var(--etol-header-height, 75px) + var(--etol-toolbar-height, 0px) + 76px);
}
body .skip:focus, body .eh-skip:focus { z-index: 1001; }
@media (max-width: 760px) {
    body .eh-header .eh-nav {
        max-height: calc(100dvh - var(--etol-header-height, 65px) - var(--etol-toolbar-height, 0px));
        overflow-y: auto;
    }
}
@media (max-width: 720px) {
    body.ep-page .header nav {
        max-height: calc(100dvh - var(--etol-header-height, 75px) - var(--etol-toolbar-height, 0px));
        overflow-y: auto;
    }
}
