/* Keep the mobile menu directly below its toggle, in the header flow. */
@media only screen and (max-width: 991px) {
    #header.header.style2 {
        position: relative;
        top: auto;
        opacity: 1;
        filter: none;
        height: auto;
    }
    #header.header.style2 #mainnav-mobi {
        position: static;
        width: 100%;
        margin: 0;
        transform: none;
        -webkit-transform: none;
        background: #0d3863;
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
    }
    #header #mainnav-mobi ul li { border-color: rgba(255, 255, 255, .13); }
    #header #mainnav-mobi ul > li > a {
        display: flex;
        align-items: center;
        gap: 14px;
        height: auto;
        min-height: 52px;
        padding: 12px 24px;
        line-height: 1.5;
    }
    #header #mainnav-mobi ul > li > a img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }
    #header #mainnav-mobi ul > li > a:hover,
    #header #mainnav-mobi ul > li > a:focus { background: #174e82; }
    #header .btn-menu { left: auto; margin-left: auto; margin-right: auto; }
    #header .btn-menu:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }
}

@media only screen and (max-width: 991px) {
    /* The desktop decorative panel extends 17px beyond the mobile viewport. */
    .bgffff-pabs:after { left: 0; right: 0; }
}
@media only screen and (max-width: 767px) {
    .owl-carousel.hidden-xs + .flat-row.flat-leader { padding-top: 40px; }
}
