/* Home: professional video testimonials */
.home-videos {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 0 0 5rem;
    background: var(--white);
}
.home-videos::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 0;
    width: 100%;
    height: 30rem;
    background: var(--primary);
    transform: translateY(-50%);
}
.home-videos .centralizador,
.swiper-home-videos { position: relative; z-index: 1; }
section.home-videos .professional-video-card {
    display: block;
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
}
.professional-video-card video {
    display: block;
    width: min(100%, 32rem);
    height: auto;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    max-height: none;
    border-radius: 1.2rem;
    background: var(--primary);
    object-fit: cover;
    box-shadow: 0 1.2rem 3rem rgba(5, 35, 67, .18);
}
.swiper-home-videos-prev,
.swiper-home-videos-next { display: none; }

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .home-videos::before { height: 27rem; }
    .swiper-home-videos-prev,
    .swiper-home-videos-next { display: flex; }
}

@media only screen and (max-width: 767px) {
    .home-videos { margin-top: 0; padding: .5rem 0 4rem; }
    .home-videos::before {
        top: 10rem;
        height: 28rem;
        transform: none;
    }
    .swiper-home-videos {
        overflow: visible;
        width: calc(100vw - 3.2rem);
        margin: 0 auto;
    }
    .professional-video-card video {
        width: 100%;
        height: auto;
        max-height: none;
        border-radius: 1rem;
        object-fit: contain;
    }
    .swiper-home-videos-prev,
    .swiper-home-videos-next {
        display: flex;
        width: 4rem;
        height: 4rem;
        margin-top: 1rem;
        border-radius: 50%;
        background: var(--white);
        color: var(--primary);
        box-shadow: 0 .4rem 1.6rem rgba(5, 35, 67, .18);
    }
    .swiper-home-videos-prev { left: -2rem; }
    .swiper-home-videos-next { right: -2rem; }
}
