/* Keep the header in document flow on both sides of the JS scroll threshold.
 * The legacy fixed/shrinking header removed ~120px and caused scroll feedback.
 * Keep this small override after the theme and RTL styles; do not rebuild the
 * vendor stylesheet just to change the header's positioning.
 */
.header.sticky-bar,
.header.sticky-bar.stick {
    position: sticky;
    top: 0;
    float: none;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    border-bottom: 0;
    background-color: #fff;
    animation: none;
    transition: none;
}

/* Preserve the existing authenticated CMS toolbar clearance. */
.show-admin-bar .header.sticky-bar {
    top: 40px;
}
