/* Keep the header's hidden search panel inside small viewports. */
@media (max-width: 767px) {
    .wraper_header.style-two .header_main_action ul > li > .floating-search-bar {
        transform: none !important;
        -webkit-transform: none !important;
        right: 0;
        width: min(310px, calc(100vw - 110px));
        box-sizing: border-box;
    }
}
/* A permanent background shade on all screens, underneath Revolution's text/buttons. */
    body.home rs-module rs-sbg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,.25));
        pointer-events: none;
    }
/* Reserve logo space before images load; avoid stale matchHeight clipping. */
body.home .clients.element-one .clients-item > .holder {
    height: 120px !important;
}
body.home .clients.element-one .clients-item > .holder > .table {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
body.home .clients.element-one .table-cell { display: block; width: 100%; }
body.home .clients.element-one .pic { max-width: 100%; }
body.home .clients.element-one .pic img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}
@media (max-width: 767px) {
    body.home .clients.element-one .clients-item > .holder { height: 96px !important; }
    body.home .clients.element-one .pic img { max-height: 76px; }
}

/* Inner pages need a normal-flow header above their banner title. */
body:not(.home) .wraper_header.style-two {
    position: relative;
    top: auto;
    background-color: #252525;
}
@media (max-width: 767px) {
    body:not(.home) .inner_banner_main .title {
        font-size: 32px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }
}
