/* ==========================================================================
   VIDEO TESTIMONIALS
   ========================================================================== */

.vt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 600px) {
    .vt-grid {
        grid-template-columns: 1fr;
    }
}

/* ── THUMBNAIL ── */
.vt-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    cursor: pointer;
}

.vt-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #000;
}

.vt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease, transform 0.3s ease;
    margin: 0;
}

.vt-item:hover .vt-thumb img {
    opacity: 0.75;
    transform: scale(1.03);
}

.vt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.vt-item:hover .vt-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.vt-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f345c;
    line-height: 1.4;
}

/* ── MODAL ── */
.vt-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.vt-modal.is-open {
    display: flex;
}

.vt-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.vt-modal__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
}

.vt-modal__close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.vt-modal__close:hover {
    opacity: 1;
}

.vt-modal__video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
}

.vt-modal__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.vt-open {
    overflow: hidden;
}