/* Footer: video testimonials (video-testimonial.php .video-testimonial-section) — pages using footer.php.
   Full width + dark like the rest of the footer: head on the fluid gutter; each slide is an
   edge-to-edge split — quote on the left gutter, the video filling the right half to the screen
   edge (no rounded card). Name pills + arrows restyled. Swiper JS and markup unchanged. */

section.video-testimonial-section {
    --vt-g: clamp(16px, 4.5vw, 88px);
    --vt-ink: #ffffff;
    --vt-text: #ffffff;
    --vt-muted: rgba(255, 255, 255, .62);
    --vt-line: rgba(255, 255, 255, .12);
    color-scheme: dark !important;
    padding: 100px 0 0 !important;
    background: #000 !important;
}

section.video-testimonial-section::before {
    display: none !important;
}

section.video-testimonial-section > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- head ---------- */
section.video-testimonial-section .vt-head {
    margin: 0 0 48px !important;
    padding: 0 var(--vt-g) !important;
}

section.video-testimonial-section .vt-eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px !important;
    color: #ff9f0a !important;
    font-size: 13px !important;
    letter-spacing: .2em !important;
}

section.video-testimonial-section .vt-eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: #ff9f0a;
}

section.video-testimonial-section .vt-title,
section.video-testimonial-section .h2-headline.vt-title {
    max-width: 18ch !important;
    color: #fff !important;
    font-size: clamp(36px, 3.6vw, 56px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.03em !important;
}

section.video-testimonial-section .vt-section-lead {
    color: rgba(255, 255, 255, .62) !important;
}

section.video-testimonial-section .vt-head-meta li {
    color: #fff !important;
}

section.video-testimonial-section .vt-head-meta li:not(:last-child)::after {
    background: #ff9f0a !important;
}

/* ---------- slider: edge to edge ---------- */
section.video-testimonial-section .videoTestimonialSlider {
    border-radius: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

section.video-testimonial-section .vt-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    min-height: 560px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    box-shadow: none !important;
}

section.video-testimonial-section .vt-stage-copy {
    gap: 26px !important;
    padding: 72px clamp(40px, 5vw, 96px) 72px var(--vt-g) !important;
    border-right: 1px solid rgba(255, 255, 255, .12) !important;
    background:
        radial-gradient(520px 340px at 0% 100%, rgba(255, 159, 10, .12), rgba(255, 159, 10, 0) 65%),
        #000 !important;
}

section.video-testimonial-section .vt-story-tag {
    padding: 7px 14px !important;
    border: 1px solid rgba(255, 159, 10, .45);
    background: rgba(255, 159, 10, .1) !important;
    color: #ff9f0a !important;
    letter-spacing: .12em !important;
}

section.video-testimonial-section .quote-text {
    color: #fff !important;
    font-size: clamp(22px, 2vw, 32px) !important;
    line-height: 1.4 !important;
}


section.video-testimonial-section .author-info {
    border-top-color: rgba(255, 255, 255, .12) !important;
}

section.video-testimonial-section .author-img {
    border-color: #ff9f0a !important;
}

section.video-testimonial-section .user_name {
    color: #fff !important;
}

section.video-testimonial-section .author-info p {
    color: rgba(255, 255, 255, .6) !important;
}

/* video fills the right half */
section.video-testimonial-section .vt-stage-media {
    padding: 0 !important;
    background: #0a0a0c !important;
}

section.video-testimonial-section .testimonial-video-card {
    height: 100% !important;
    min-height: 560px !important;
    border-radius: 0 !important;
}

section.video-testimonial-section .testimonial-video-card img {
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

section.video-testimonial-section .vt-stage:hover .testimonial-video-card img {
    transform: scale(1.04);
}

section.video-testimonial-section .play-btn-overlay {
    top: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
}

section.video-testimonial-section .play-btn {
    width: 88px !important;
    height: 88px !important;
    border-radius: 50% !important;
    color: #111 !important;
}

section.video-testimonial-section .play-btn svg {
    width: 28px;
    height: 28px;
}

/* ---------- controls ---------- */
section.video-testimonial-section .vt-controls {
    margin: 0 !important;
    padding: 28px var(--vt-g) !important;
}

section.video-testimonial-section .vt-pagination .swiper-pagination-bullet {
    border-color: rgba(255, 255, 255, .18) !important;
    background: transparent !important;
    color: rgba(255, 255, 255, .7) !important;
}

section.video-testimonial-section .vt-pagination .swiper-pagination-bullet:hover {
    border-color: #ff9f0a !important;
    color: #fff !important;
}

section.video-testimonial-section .vt-pagination .swiper-pagination-bullet-active {
    border-color: #ff9f0a !important;
    background: #ff9f0a !important;
    color: #111 !important;
}

section.video-testimonial-section .vt-nav-btn {
    width: 56px !important;
    height: 56px !important;
    border: 1px solid rgba(255, 255, 255, .25) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #fff !important;
}

section.video-testimonial-section .vt-nav-btn:hover {
    border-color: #ff9f0a !important;
    background: #ff9f0a !important;
    color: #111 !important;
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    section.video-testimonial-section .vt-stage,
    section.video-testimonial-section .testimonial-video-card {
        min-height: 480px !important;
    }

    section.video-testimonial-section .vt-stage-copy {
        padding: 56px 40px 56px var(--vt-g) !important;
    }
}

@media (max-width: 991px) {
    section.video-testimonial-section {
        padding-top: 72px !important;
    }

    section.video-testimonial-section .vt-head {
        margin-bottom: 32px !important;
        padding: 0 20px !important;
    }

    section.video-testimonial-section .vt-stage {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    section.video-testimonial-section .vt-stage-copy {
        order: 2;
        padding: 36px 20px 40px !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
    }

    section.video-testimonial-section .vt-stage-media {
        order: 1;
    }

    section.video-testimonial-section .testimonial-video-card {
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 16 / 10;
    }

    section.video-testimonial-section .vt-controls {
        padding: 24px 20px !important;
    }
}

@media (max-width: 575px) {
    section.video-testimonial-section .vt-head,
    section.video-testimonial-section .vt-stage-copy,
    section.video-testimonial-section .vt-controls {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    section.video-testimonial-section .play-btn {
        width: 68px !important;
        height: 68px !important;
    }
}

/* YouTube hqdefault thumbnails are 4:3 with black bars baked in: zoom past them */
section.video-testimonial-section .testimonial-video-card img {
    transform: scale(1.34);
}

section.video-testimonial-section .vt-stage:hover .testimonial-video-card img {
    transform: scale(1.38);
}

section.video-testimonial-section .testimonial-video-card iframe {
    transform: none !important;
}

/* show the whole thumbnail: a true 16:9 frame (the 4:3 YouTube image is scaled just enough
   to drop its baked-in black bars), centred in the right half */
section.video-testimonial-section .vt-stage {
    min-height: 0 !important;
}

section.video-testimonial-section .vt-stage-media {
    display: flex !important;
    align-items: center;
    background: #000 !important;
}

section.video-testimonial-section .testimonial-video-card {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
}

section.video-testimonial-section .testimonial-video-card img {
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.335);
}

section.video-testimonial-section .vt-stage:hover .testimonial-video-card img {
    transform: scale(1.36);
}

section.video-testimonial-section .vt-stage-copy {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
}

@media (max-width: 991px) {
    section.video-testimonial-section .vt-stage-copy {
        padding-top: 32px !important;
        padding-bottom: 36px !important;
    }
}

/* in a 16:9 frame, object-fit:cover already trims the 4:3 thumbnail's black bars: no extra zoom */
section.video-testimonial-section .testimonial-video-card img {
    transform: none !important;
}

section.video-testimonial-section .vt-stage:hover .testimonial-video-card img {
    transform: scale(1.03) !important;
}

/* slides differ in height: stretch every stage to the tallest so the divider meets the bottom line */
section.video-testimonial-section .videoTestimonialSlider .swiper-wrapper {
    align-items: stretch !important;
}

section.video-testimonial-section .videoTestimonialSlider .swiper-slide {
    height: auto !important;
    display: flex !important;
}

section.video-testimonial-section .vt-stage {
    width: 100%;
    height: 100% !important;
}
