/* Customer Video Quotes Widget Styling */

.sp-customer-video-quotes {
    padding: 100px 0;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    background: #ffffff;
    font-family: var(--primaryFont);
}

.sp-cvq-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    color: #111827;
    margin-bottom: 80px;
    letter-spacing: -0.01em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.zpos-quoteSec {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.zpos-quoteLst {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

@media (min-width: 992px) {
    .zpos-quoteLst {
        flex-direction: row;
        gap: 80px;
    }

    .zpos-quoteLst.quoteReverse {
        flex-direction: row-reverse;
    }

    .zpos-quote {
        flex: 1;
        width: 50%;
    }
}

/* Video Side */
.zpos-quote.vimvideo {
    position: relative;
    cursor: default;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: none !important;
    transition: transform 0.4s ease;
    border: 1px solid #e2e8f0;
}

.zpos-quote.vimvideo:hover {
    transform: scale(1.02);
}

.zpos-quote.vimvideo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mid-play-button {
    display: none !important;
}

/* Quote Side */
.zpos-quote {
    display: flex;
    flex-direction: column;
}

.zpos-quote .quote-logo {
    max-width: 180px;
    margin-bottom: 30px;
}

.zpos-quote .quote-logo img {
    height: 40px;
    object-fit: contain;
}

.zpos-quote .quote-cont {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.5;
    color: #111827;
    font-weight: 500;
    margin-bottom: 40px;
    font-family: var(--primaryFont);
}

.spkr-grpSec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spkr-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.spkr-desig {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Layout Specifics */
.quoteReverse .zpos-quote:last-child {
    text-align: left;
}

/* --- Optimized Responsive Section for Video Quotes --- */

/* TABLET & SMALL DESKTOP (992px - 1199px) */
@media (max-width: 1199px) {
    .sp-customer-video-quotes {
        padding: 80px 24px;
    }

    .zpos-quoteLst {
        gap: 50px; /* Tighter gap for smaller screens */
    }

    .zpos-quote .quote-cont {
        font-size: 1.5rem; /* Fixed size for tablet consistency */
        margin-bottom: 30px;
    }
}

/* TABLET PORTRAIT (768px - 991px) */
@media (max-width: 991px) {
    .sp-customer-video-quotes {
        padding: 60px 24px;
    }

    .sp-cvq-title {
        margin-bottom: 50px;
        font-size: 28px;
    }

    .zpos-quoteSec {
        gap: 80px; /* Space between different customer blocks */
    }

    .zpos-quoteLst {
        flex-direction: column !important; /* Stack Video above Text */
        text-align: center;
        align-items: center;
    }

    /* Force "Reverse" items to also stack Video on top for consistency */
    .zpos-quoteLst.quoteReverse {
        flex-direction: column !important; 
    }

    .zpos-quote {
        width: 100% !important;
    }

    .zpos-quote .quote-logo {
        margin: 0 auto 20px auto; /* Center logo on mobile/tablet */
    }

    .zpos-quote .quote-cont {
        font-size: 1.35rem;
        text-align: center;
    }

    .spkr-grpSec {
        align-items: center;
    }
}

/* MOBILE OPTIMIZATION (< 767px) */
@media (max-width: 767px) {
    .sp-customer-video-quotes {
        padding: 50px 20px;
    }

    .sp-cvq-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 40px;
    }

    .zpos-quote.vimvideo {
        border-radius: 1.25rem;
        box-shadow: none !important;
    }

    .mid-play-button {
        width: 60px;
        height: 60px;
    }

    .mid-play-button::before {
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid #111827;
    }

    .zpos-quote .quote-cont {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .spkr-name {
        font-size: 1.1rem;
    }

    .spkr-desig {
        font-size: 0.9rem;
    }

    .zpos-quote .quote-logo img {
        height: 32px;
    }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 480px) {
    .sp-cvq-title {
        font-size: 22px;
    }

    .zpos-quote .quote-cont {
        font-size: 1.1rem;
    }
}