/* Preserve the logo's square shape when the header applies max-height. */
.full-width-header .rs-header .logo-part img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media only screen and (max-width: 1400px) {
    .full-width-header .rs-header .logo-part img {
        width: 65px;
        height: 65px;
    }
}

/* Keep the hero's content height before Owl wraps and measures its slides.
   Overlapping both slides reserves the taller slide at every breakpoint. */
.home-hero-carousel:not(.owl-loaded) {
    display: grid;
}

.home-hero-carousel:not(.owl-loaded) > .slider-content {
    grid-area: 1 / 1;
    min-width: 0;
}

.home-hero-carousel:not(.owl-loaded) > .slider-content:not(:first-child) {
    visibility: hidden;
    pointer-events: none;
}

/* These decorative testimonial assets may be unavailable. Keep their boxes
   stable whether the image request succeeds or fails. */
.rs-testimonial.main-home .testi-item .author-desc .desc .quote {
    height: 50px;
    object-fit: contain;
}

.rs-testimonial.main-home .testi-item .author-desc .author-img,
.rs-testimonial.main-home .testi-item .author-desc .author-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}
