#ewhf-header,
#ewhf-footer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}
#ewhf-header { z-index: 900; }
#ewhf-footer { clear: both; }
#ewhf-header.ewhf-header-fixed {
    position: fixed;
    top: var(--ewhf-header-top, 0px);
    left: var(--ewhf-header-left, 0px);
    width: var(--ewhf-header-width, 100%);
    z-index: 900;
    transition: transform 180ms ease;
}
#ewhf-header.ewhf-header-away {
    transform: translateY(calc(-100% - var(--ewhf-header-top, 0px)));
    pointer-events: none;
}
#ewhf-header:focus-within { transform: none; pointer-events: auto; }
.ewhf-header-placeholder { width: 100%; pointer-events: none; }
.ewhf-header-placeholder[hidden] { display: none; }
.ewhf-scroll-surface {
    transition: background-color var(--ewhf-surface-duration, 200ms) ease, box-shadow var(--ewhf-surface-duration, 200ms) ease;
}
.ewhf-scroll-surface.ewhf-surface-clear { background-color: transparent !important; box-shadow: none !important; }
.ewhf-scroll-surface.ewhf-surface-scrolled {
    background-color: var(--ewhf-surface-color, #fff) !important;
    box-shadow: var(--ewhf-surface-shadow, 0 8px 24px rgb(15 23 42 / 10%)) !important;
}
.ewhf-template-preview { width: 100%; margin: 0; padding: 0; }
.ewhf-shortcode { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
    #ewhf-header.ewhf-header-fixed,
    .ewhf-scroll-surface { transition: none; }
}
