.cwc-video-testimonials-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    /* Strict clipping to container */
}

.cwc-vt-swiper {
    padding: 0;
    /* Remove side padding that allowed slivers */
    overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 200px;
}

.swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: calc(50% - 15px);
    height: 100%;
    position: relative;
    transition-property: transform;
    padding: 0 15px;
    /* Add padding to slide instead of container gap */
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .swiper-slide {
        width: 100%;
        padding: 0;
    }
}

.cwc-vt-item {
    padding-bottom: 20px;
    opacity: 1 !important;
}

.cwc-vt-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1.777;
    height: auto;
    min-height: 180px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    /* Indicate clickability */
}

.cwc-vt-media iframe,
.cwc-vt-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.cwc-vt-media.is-playing .cwc-vt-play-btn,
.cwc-vt-media.is-playing img {
    display: none;
}

.cwc-vt-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.6s ease;
}

.cwc-vt-item:hover .cwc-vt-media img {
    transform: scale(1.03);
}

/* Play Button Styling */
.cwc-vt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cwc-vt-play-btn svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.cwc-vt-item:hover .cwc-vt-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
}

.cwc-vt-info {
    text-align: left;
    padding-left: 5px;
}

.cwc-vt-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #8CC63F;
    line-height: 1.2;
}

.cwc-vt-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #2166F3;
}

/* Navigation - Middle aligned to the video thumbnail center */
.cwc-vt-navigation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    pointer-events: none;
}

.cwc-vt-prev,
.cwc-vt-next {
    position: absolute;
    width: 34px;
    height: 34px;
    background: #8CC63F;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    top: 155px;
    /* Perfectly centers arrows on the video play area */
    transform: translateY(-50%);
}

.cwc-vt-prev:hover,
.cwc-vt-next:hover {
    background: #7AB52E;
    transform: translateY(-50%) scale(1.1);
}

.cwc-vt-prev {
    left: 5px;
}

.cwc-vt-next {
    right: 5px;
}

.cwc-vt-prev svg,
.cwc-vt-next svg {
    width: 18px;
    height: 18px;
}

/* Hide default swiper buttons if they appear */
.swiper-button-disabled {
    opacity: 0.5;
    cursor: default;
}

@media (max-width: 767px) {
    .cwc-video-testimonials-wrapper .cwc-vt-play-btn {
        width: 45px;
        height: 45px;
    }

    .cwc-vt-navigation {
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 20px;
        transform: none;
        height: auto;
    }

    .cwc-vt-prev,
    .cwc-vt-next {
        position: relative;
        top: 0;
        transform: none;
    }

    .cwc-vt-prev:hover,
    .cwc-vt-next:hover {
        transform: scale(1.1);
    }

    .cwc-vt-name {
        font-size: 22px;
    }
}