/* ==========================================================================
   RV Opiniones - Carousel Module Styles
   ========================================================================== */

.rv-opinions-carousel-module {
    position: relative;
    max-width: 1240px;
    margin: 3.5rem auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #000000;
}

.rv-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.25rem;
}

.rv-carousel-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #03BF64;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.rv-carousel-heading {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 400;
    color: #000000;
    margin: 0;
}

.rv-carousel-subheading {
    font-size: 15px;
    color: #696969;
    margin: 6px 0 0;
    max-width: 600px;
}

.rv-carousel-nav {
    display: flex;
    gap: 8px;
}

.rv-carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #DADADA;
    background: #FFFFFF;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.rv-carousel-btn:hover {
    border-color: #000000;
    background: #000000;
    color: #FFFFFF;
}

.rv-carousel-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.rv-carousel-viewport::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.rv-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.35s ease;
}

.rv-carousel-slide {
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rv-opinion-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rv-carousel-footer {
    margin-top: 3rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .rv-carousel-slide {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}

@media (max-width: 767px) {
    .rv-carousel-slide {
        flex: 0 0 88%;
    }
    .rv-carousel-heading {
        font-size: 32px;
    }
}
