/* Both public templates keep their logo row while the utility strip scrolls away. */
#ieb-regard-28 .im26-header,
body.ieb-home-v2-body #ieb-home-v2 .site-header {
    display:block;
    position:sticky;
    top:calc(var(--ieb-header-admin, 0px) - var(--ieb-header-utility, 0px));
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    z-index:1000;
}
#ieb-regard-28 .im26-utility,
#ieb-home-v2 .utility {opacity:var(--ieb-header-utility-opacity, 1)}
#ieb-regard-28 .im26-header .im26-mega,
#ieb-home-v2 .site-header .mega {
    max-height:var(--ieb-header-menu-room, calc(100dvh - 150px));
    overflow-y:auto;
    overscroll-behavior:contain;
}
@media(max-width:850px) {
    #ieb-regard-28 .im26-header .im26-main-nav {
        position:absolute;
        top:100%;left:0;right:0;
        padding:8px 20px 18px;
        justify-content:flex-start;
        background:var(--white);
        border-bottom:1px solid var(--line);
        max-height:var(--ieb-header-menu-room, calc(100dvh - 90px));
        overflow-y:auto;
        overscroll-behavior:contain;
        box-shadow:0 16px 24px #10273712;
    }
    #ieb-regard-28 .im26-header .im26-main-nav > * {flex-shrink:0}
    #ieb-regard-28 .im26-header .im26-mega {max-height:none;overflow:visible}
}
@media(max-width:960px) {
    #ieb-home-v2 .site-header .main-nav {
        max-height:var(--ieb-header-menu-room, calc(100dvh - 90px));
        overscroll-behavior:contain;
    }
    #ieb-home-v2 .site-header .mega {max-height:none;overflow:visible}
}
@media print {
    #ieb-regard-28 .im26-header,#ieb-home-v2 .site-header {display:none!important}
}
