/**
 * Shared Section: Mixed Testimonial Component Styles
 *
 * Left side: Static heading + squircle navigation buttons at bottom.
 * Right side: Swiper carousel alternating between Video Cards and Text Cards (6 slides).
 * Features ~2.5x wider Text Cards, infinite looping carousel, and edge-to-edge right bleed.
 */

.mixed-testi-section {
    position: relative;
    background-color: #1e1e1e;
    color: #ffffff;
    padding: clamp(70px, 7vw, 110px) 0;
    overflow: hidden;
    isolation: isolate;
}

/* ── Container: Aligned with site container on left, bleeds to right edge ── */
.mixed-testi-section .mixed-testi__container {
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: min(8.33vw, 90px) !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

/* ── Split Layout ─────────────────────────────────────────────────────────── */
.mixed-testi__layout {
    display: grid;
    grid-template-columns: clamp(280px, 24vw, 340px) minmax(0, 1fr);
    gap: clamp(32px, 3.5vw, 56px);
    gap: clamp(20px, 2vw, 30px);
    align-items: stretch;
    width: 100%;
}

/* ── Left Column: Heading + Navigation Controls ───────────────────────────── */
.mixed-testi__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    /* width: 100%; */
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.mixed-testi__left-top {
    display: flex;
    flex-direction: column;
}

/* Optional Eyebrow Label */
.mixed-testi-section .slabel {
    width: fit-content;
    margin: 0 0 clamp(20px, 2.2vw, 30px) 0;
    display: inline-flex;
    align-items: center;
    border-radius: var(--fs24, 24px);
    border: 1px solid var(--white-10, rgba(255, 255, 255, 0.1));
    background: var(--white-05, rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: clamp(6px, 0.42vw, 8px) clamp(12px, 0.83vw, 16px);
    text-transform: uppercase;
    font-size: clamp(14px, 1.042vw, 20px);
    font-weight: 400;
    color: var(--white, #ffffff);
    line-height: 100%;
}

.mixed-testi-section .slabel::before,
.mixed-testi-section .slabel:before {
    width: clamp(11px, 0.63vw, 12px);
    height: clamp(11px, 0.63vw, 12px);
    border-radius: var(--fs16, 16px);
    background: var(--primary, #ebf441);
    content: "";
    display: inline-block;
    margin-right: var(--fs10, 10px);
    position: relative;
    flex-shrink: 0;
}

.mixed-testi__heading,
.mixed-testi__heading p {
    font-size: clamp(20px, 2.3vw, 44px);
    /* font-weight: 600; */
    font-weight: 400;
    line-height: 140%;
    color: #ffffff;
    /* letter-spacing: -0.02em; */
    margin: 0;
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
}

.mixed-testi__left-bottom {
    margin-top: clamp(40px, 5vw, 80px);
    display: flex;
    align-items: center;
}

.mixed-testi__nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mixed-testi__nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: #e2e4e8;
    color: #1c1d1f;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s ease;
    padding: 0;
    outline: none;
}

.mixed-testi__nav-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.mixed-testi__nav-btn:active {
    transform: translateY(0);
}

.mixed-testi__nav-btn svg {
    display: block;
    transition: transform 0.2s ease;
}

.mixed-testi__nav-prev:hover svg {
    transform: translateX(-2px);
}

.mixed-testi__nav-next:hover svg {
    transform: translateX(2px);
}

/* ── Right Column: Swiper Carousel (Fills to screen right edge) ───────────── */
.mixed-testi__right {
    min-width: 0;
    /* width: 100%; */
    position: relative;
    overflow: hidden; /* Strictly contained on the left to never overlap heading */
}

.mixed-testi__swiper {
    width: 100%;
    overflow: hidden !important; /* Clips at the right screen edge */
    position: relative;
}

.mixed-testi__swiper .swiper-wrapper {
    align-items: stretch;
}

.mixed-testi__slide {
    flex-shrink: 0; /* Prevents slide squishing */
    height: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* TYPE 1: Video Card Slide */
.mixed-testi__slide--video {
    width: 260px;
    max-width: 85vw;
}

/* TYPE 2: Text Card Slide (~2.5x Wider than Video Slide: 260px * 2.5 = 650px) */
.mixed-testi__slide--text {
    width: 650px;
    max-width: 88vw;
}

/* ── TYPE 1: Video Testimonial Card ───────────────────────────────────────── */
.mixed-testi__video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    width: 100%;
    gap: 12px;
}

.mixed-testi__video-thumb-wrap {
    flex: 1 1 auto;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background-color: #262626;
    cursor: default;
    min-height: 290px;
}

.mixed-testi__video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mixed-testi__video-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3038 0%, #1e2025 100%);
}

.mixed-testi__preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background-color: transparent;
}

.mixed-testi__play-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: all 0.22s ease;
    padding: 0;
    outline: none;
    z-index: 3;
}

.mixed-testi__play-btn svg {
    margin-left: 2px;
    display: block;
    pointer-events: none;
}

.mixed-testi__play-btn:hover,
.mixed-testi__play-btn:focus-visible {
    background: #ffffff;
    color: #000000;
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.mixed-testi__play-btn:active {
    transform: scale(1.05);
}

.mixed-testi__video-brand {
    height: clamp(84px,6.4vw,110px);
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    box-sizing: border-box;
    transition: transform 0.28s ease;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.mixed-testi__brand-logo {
    max-height: 32px;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.mixed-testi__brand-logo-svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.mixed-testi__brand-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* ── TYPE 2: Text Testimonial Card ────────────────────────────────────────── */
.mixed-testi__text-card {
    background-color: #ffffff;
    color: #1c1d1f;
    border-radius: 14px;
    /* padding: clamp(26px, 2.5vw, 36px) clamp(24px, 2.5vw, 36px); */
    padding: 30px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 420px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.mixed-testi__text-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.mixed-testi__quote-body {
    flex: 1 1 auto;
}

.mixed-testi__quote-body,
.mixed-testi__quote-body p {
    font-size: clamp(1rem, 1.4vw, 26px);
    line-height: 150%;
    color: #1a1e24;
    margin: 0;
    /* font-weight: 400; */
    /* letter-spacing: -0.01em; */
}

.mixed-testi__card-footer {
    margin-top: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 0;
    border-top: none;
}

.mixed-testi__author-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    width: 100%;
}

.mixed-testi__avatar {
    width: 100%;
    height: auto;
    max-width: clamp(54px,4.5vw,82px);
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #e5e7eb;
}

.mixed-testi__avatar-fallback {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3b82f6;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.mixed-testi__author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mixed-testi__author-name {
    font-size: clamp(16px, 1.05vw, 1.25rem);
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.mixed-testi__author-title {
    font-size: clamp(16px, 1.05vw, 1.25rem);
    font-weight: 400;
    color: #6b7280;
    line-height: 1.35;
    margin-top: 3px;
}

.mixed-testi__company-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.mixed-testi__company-logo {
    max-height: 32px;
    max-width: 130px;
    object-fit: contain;
    display: block;
}

.mixed-testi__company-name {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.mixed-testi__techpro-logo svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ── Video Modal Lightbox ─────────────────────────────────────────────────── */
.mixed-testi__modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mixed-testi__modal.is-active {
    opacity: 1;
    visibility: visible;
}

.mixed-testi__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.mixed-testi__modal-dialog {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.mixed-testi__modal-close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 0;
    outline: none;
}

.mixed-testi__modal-close:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.mixed-testi__modal-media {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #000000;
}

.mixed-testi__modal-iframe,
.mixed-testi__modal-video {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

/* ── Responsive Breakpoints ───────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .mixed-testi__slide--video {
        width: 240px;
    }

    .mixed-testi__slide--text {
        width: 600px; /* ~2.5x */
        max-width: 85vw;
    }
}

@media (max-width: 1024px) {
    .mixed-testi__layout {
        gap: 28px;
    }

    .mixed-testi__slide--video {
        width: 230px;
    }

    .mixed-testi__slide--text {
        width: 575px; /* ~2.5x */
        max-width: 85vw;
    }
}

@media (max-width: 991px) {
    .mixed-testi__layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mixed-testi__left {
        gap: 20px;
        padding-right: min(8.33vw, 90px);
    }

    .mixed-testi__left-bottom {
        margin-top: 0;
    }

    .mixed-testi__slide--video {
        width: 220px;
    }

    .mixed-testi__slide--text {
        width: 550px;
        max-width: calc(100vw - 48px);
    }
}

@media (max-width: 767px) {
    .mixed-testi-section {
        padding: 50px 0;
        overflow: hidden;
    }

    .mixed-testi-section .mixed-testi__container {
        padding-left: 20px !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .mixed-testi__layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
    }

    .mixed-testi__left {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        gap: 16px !important;
        padding-right: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex: none !important;
    }

    .mixed-testi__left-top {
        flex: 1 1 auto;
        min-width: 0;
    }

    .mixed-testi__left-bottom {
        margin-top: 0;
        flex-shrink: 0;
        padding-bottom: 2px;
    }

    .mixed-testi__nav {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .mixed-testi__nav-btn {
        width: 32px;
        height: 32px;
        border-radius: 0;
        background: transparent !important;
        color: rgba(255, 255, 255, 0.85) !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
        padding: 0;
    }

    .mixed-testi__nav-btn:hover,
    .mixed-testi__nav-btn:active {
        color: #ffffff !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .mixed-testi__nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .mixed-testi__right {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .mixed-testi__swiper {
        width: 100% !important;
        position: relative !important;
        overflow: visible !important;
    }

    .mixed-testi__swiper .swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
    }

    /* Equal width for all cards on mobile: Video and Text */
    .mixed-testi__slide,
    .mixed-testi__slide--video,
    .mixed-testi__slide--text {
        width: clamp(240px, 75vw, 290px) !important;
        max-width: 80vw !important;
        flex: 0 0 clamp(240px, 75vw, 290px) !important;
        display: flex !important;
    }

    .mixed-testi__video-card,
    .mixed-testi__text-card {
        min-height: 340px;
        width: 100% !important;
    }

    .mixed-testi__video-thumb-wrap {
        min-height: 230px;
    }

    .mixed-testi__video-brand {
        height: 76px;
        padding: 12px 18px;
    }

    .mixed-testi__text-card {
        padding: 24px 20px 20px;
    }

    .mixed-testi__avatar {
        width: 46px;
        height: 46px;
    }

    .mixed-testi__company-badge {
        display: none;
    }
    .mixed-testi__heading p br{
        display: none;
    }
    .mixed-testi__heading p {
        max-width: 244px;
    }
}

/* ==========================================================================
   VERSION 2: Full-Width Carousel Layout (Centered Heading & Circular Nav)
   ========================================================================== */

.mixed-testi-section--v2 {
    background-color: #000000;
    color: #ffffff;
    padding: clamp(60px, 6.5vw, 100px) 0;
    overflow: hidden;
    position: relative;
}

.mixed-testi-section--v2 .mixed-testi__container-v2 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    position: relative;
}

/* ── Top Header: Left-Aligned Heading matching Case Studies Layout ── */
.mixed-testi__header-v2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    /* margin-bottom: clamp(36px, 4vw, 56px); */
    padding-left: min(8.33vw, 90px);
    padding-right: min(8.33vw, 90px);
    width: 100%;
    box-sizing: border-box;
}

.mixed-testi__title-wrap-v2 {
    text-align: left;
    max-width: 820px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mixed-testi__heading-v2,
.mixed-testi__heading-v2 p,
.mixed-testi__heading-v2 h2 {
    font-size: clamp(26px, 2.75vw, 48px);
    font-weight: 500;
    line-height: 125%;
    color: #ffffff;
    margin: 0;
    text-align: left;
    letter-spacing: -0.01em;
}

/* Subtext Eyebrow for V2 (Clean Style matching Case Studies) */
.mixed-testi-section--v2 .slabel {
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    margin-bottom: clamp(16px, 1.4vw, 24px);
}

/* ── Controls Container Below Slider (Case Studies Section Position) ── */
.mixed-testi__controls-container-v2 {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-top: max(1.563vw, 24px);
    padding-left: min(8.33vw, 90px);
    padding-right: min(8.33vw, 90px);
}

.mixed-testi__controls-v2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box;
}

.mixed-testi__nav-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    z-index: 10;
}

.mixed-testi__nav-btn-v2 {
    width: clamp(34px, 2.73vw, 53px);
    height: clamp(34px, 2.73vw, 53px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    outline: none;
    padding: 0;
    user-select: none;
    background: #ffffff;
    color: #000000;
    flex: 0 0 auto;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mixed-testi__nav-btn-v2:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.mixed-testi__nav-btn-v2:active {
    transform: scale(0.96);
}

.mixed-testi__nav-btn-v2:focus-visible {
    outline: 2px solid var(--primary, #ebf441);
    outline-offset: 3px;
}

.mixed-testi__nav-btn-v2.swiper-button-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

.mixed-testi__nav-btn-v2 svg {
    width: 20px;
    height: 20px;
    display: block;
}

.mixed-testi__icon-desktop {
    display: block;
}

.mixed-testi__icon-mobile {
    display: none !important;
}

/* ── Carousel Container & Swiper ── */
.mixed-testi__carousel-wrap-v2 {
    position: relative;
    width: 100%;
    padding-left: min(8.33vw, 90px);
    padding-right: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.mixed-testi__swiper--v2 {
    width: 100%;
    overflow: visible;
}

.mixed-testi__swiper--v2 .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

/* ── Uniform Slides (Desktop: 410px width) ── */
.mixed-testi__slide--v2 {
    width: 410px !important;
    max-width: 410px !important;
    flex: 0 0 410px !important;
    height: auto;
    display: flex;
    box-sizing: border-box;
}

.mixed-testi__card-v2 {
    width: 100%;
    height: 550px;
    /* border-radius: 20px; */
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.mixed-testi__card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

/* ── Video Card Styles ── */
.mixed-testi__slide--video-v2 {
    align-self: flex-start;
    height: auto !important;
}

.mixed-testi__card-v2--video {
    position: relative;
    background-color: #111111;
    width: 100%;
    aspect-ratio: 410 / 550;
    height: 550px !important;
    min-height: 550px !important;
    overflow: hidden;
    display: block;
}

.mixed-testi__card-v2-preview-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    z-index: 1;
    pointer-events: none;
    background-color: transparent;
}

.mixed-testi__card-v2--video .mixed-testi__card-v2-thumb {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
}

.mixed-testi__card-v2--video .mixed-testi__card-v2-thumb-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    min-height: 400px;
    display: block;
    z-index: 1;
}

.mixed-testi__slide--video {
    align-self: flex-start;
    height: auto !important;
}

.mixed-testi__slide--video .mixed-testi__video-card {
    height: auto !important;
}

.mixed-testi__slide--video .mixed-testi__video-thumb-wrap {
    min-height: auto !important;
    height: auto !important;
}

.mixed-testi__video-preview-video {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    z-index: 1;
}

.mixed-testi__card-v2-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.mixed-testi__card-v2-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Top & Bottom gradient overlays */
.mixed-testi__card-v2--video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 28%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.mixed-testi__card-v2--video::after {
    display: none;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.mixed-testi__card-v2-brand-top {
    position: absolute;
    top: clamp(16px, 1.4vw, 22px);
    left: clamp(16px, 1.4vw, 22px);
    z-index: 3;
    display: flex;
    align-items: center;
    max-width: calc(100% - 32px);
}

.mixed-testi__card-v2-brand-top .mixed-testi__card-v2-logo {
    /* max-height: 22px;
    width: auto;
    max-width: 130px; */
    max-height: 36px;
    width: auto;
    max-width: min(20vw, 135px);
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.mixed-testi__card-v2-brand-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* ── Bottom Bar: Frosted translucent bar matching Screenshot 1 ── */
.mixed-testi__card-v2-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.2vw, 16px);
    padding: clamp(16px, 1.4vw, 20px);
    min-height: clamp(96px, 6.8vw, 108px);
    background: rgba(14, 18, 24, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.mixed-testi__card-v2-bottom-bar .mixed-testi__card-v2-author-overlay {
    position: static;
    bottom: auto;
    left: auto;
    max-width: calc(100% - 56px);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.mixed-testi__card-v2-bottom-bar .mixed-testi__card-v2-play-btn {
    position: static;
    bottom: auto;
    right: auto;
    flex-shrink: 0;
    align-self: center;
}

.mixed-testi__card-v2-author-overlay {
    position: absolute;
    bottom: clamp(16px, 1.4vw, 22px);
    left: clamp(16px, 1.4vw, 22px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 84px);
    pointer-events: none;
}

.mixed-testi__card-v2-name {
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    display: block;
}

.mixed-testi__card-v2-role {
    font-size: clamp(14px, 1.05vw, 16px);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.35;
    margin-top: 3px;
    display: block;
}

/* Translucent circular play button at bottom-right */
.mixed-testi__card-v2-play-btn {
    position: absolute;
    bottom: clamp(16px, 1.4vw, 22px);
    right: clamp(16px, 1.4vw, 22px);
    z-index: 3;
    width: clamp(38px, 2.7vw, 44px);
    height: clamp(38px, 2.7vw, 44px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.mixed-testi__card-v2-play-btn:hover {
    transform: scale(1.12);
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.65);
}

.mixed-testi__card-v2-play-btn svg {
    margin-left: 2px;
}

/* ── Text Card Styles ── */
.mixed-testi__card-v2--text,
.mixed-testi__text-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 2.2vw, 32px);
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
    background-color: #0b1220;
    /* border-radius: 18px; */
    box-sizing: border-box;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.mixed-testi__card-v2--text:hover,
.mixed-testi__text-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.mixed-testi__card-v2-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

/* Rating Badge (Reviewed on + Clutch + Stars + Score) */
.mixed-testi__rating-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.mixed-testi__rating-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.1px;
}

.mixed-testi__rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.mixed-testi__rating-source-img {
    height: 20px;
    width: auto;
    max-width: 85px;
    object-fit: contain;
    display: block;
}

.mixed-testi__rating-stars-col {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
}

.mixed-testi__rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.mixed-testi__rating-stars svg,
.mixed-testi__star {
    width: 10px;
    height: 10px;
    display: block;
}

.mixed-testi__star--yellow {
    fill: #ffb800 !important;
}

.mixed-testi__star--white {
    fill: #ffffff !important;
    opacity: 0.9;
}

.mixed-testi__rating-val {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
    letter-spacing: -0.2px;
}

.mixed-testi__rating-score {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.mixed-testi__rating-max {
    font-size: 9.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-left: 0.5px;
    line-height: 1;
}

/* Brand Logo (Top Right) */
.mixed-testi__card-v2-brand-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    max-width: 50%;
}

.mixed-testi__card-v2-brand-logo,
.mixed-testi__card-v2-logo {
    max-height: 36px;
    /* max-width: 135px; */
    max-width: min(20vw,135px);
    width: auto;
    object-fit: contain;
    display: block;
}

.mixed-testi__techpro-logo svg {
    display: block;
    max-height: 36px;
    width: auto;
}

/* Quote Body (Middle) */
.mixed-testi__card-v2-body {
    margin: 30px 0 26px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.mixed-testi__card-v2-body p {
    margin: 0;
    font-size: clamp(14px, 0.835vw, 16px);
    line-height: 150%;
    color: #ffffff;
    word-break: break-word;
}

/* Author Footer (Bottom) */
.mixed-testi__card-v2-footer {
    display: flex;
    align-items: start;
    gap: 14px;
    width: 100%;
    padding-top: 0;
    border-top: none;
    /* min-height: 77px; */
}

.mixed-testi__card-v2-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mixed-testi__card-v2-avatar-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    user-select: none;
}

.mixed-testi__card-v2-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mixed-testi__card-v2-author-info .mixed-testi__card-v2-name {
    font-size: clamp(14px, 0.835vw, 16px);
    line-height: 150%;
    font-weight: 700;
    /* color: rgba(255, 255, 255, 0.40); */
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mixed-testi__card-v2-author-info .mixed-testi__card-v2-role {
    font-size: clamp(14px, 0.835vw, 16px);
    line-height: 150%;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.40);
    overflow: hidden;
    /* text-overflow: ellipsis; */
    /* white-space: nowrap; */
}

/* High contrast SVGs in v2 dark cards */
.mixed-testi-section--v2 .mixed-testi__millennia-logo svg text {
    fill: #ffffff !important;
}
.mixed-testi-section--v2 .mixed-testi__techpro-logo svg text:first-of-type {
    fill: #ffffff !important;
}
.mixed-testi-section--v2 .mixed-testi__techpro-logo svg text:last-of-type {
    fill: rgba(255, 255, 255, 0.7) !important;
}

/* ── Tablet Breakpoint (768px - 1024px) ── */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .mixed-testi__slide--v2 {
        width: 350px !important;
        max-width: 350px !important;
        flex: 0 0 350px !important;
    }

    .mixed-testi__card-v2 {
        height: 470px;
    }

    .mixed-testi__card-v2--text {
        height: 470px;
        min-height: 470px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .mixed-testi__slide--video-v2 {
        align-self: flex-start;
        height: auto !important;
    }

    .mixed-testi__card-v2--video {
        height: auto !important;
        min-height: auto !important;
    }
}

/* ── Mobile Breakpoint (< 768px) ── */
@media only screen and (max-width: 767px) {
    .mixed-testi-section--v2 {
        padding: 44px 0 54px;
    }

    .mixed-testi__header-v2 {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        /* margin-bottom: 24px !important; */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .mixed-testi__title-wrap-v2 {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left !important;
        align-items: flex-start !important;
        margin: 0 !important;
        max-width: none !important;
    }

    .mixed-testi__heading-v2,
    .mixed-testi__heading-v2 p,
    .mixed-testi__heading-v2 h2 {
        text-align: left !important;
        margin: 0;
        line-height: 140%;
    }

    /* .mixed-testi__heading-v2 br,
    .mixed-testi__heading-v2 p br,
    .mixed-testi__heading-v2 h2 br {
        display: none;
    } */

    .mixed-testi__controls-container-v2 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-top: 20px !important;
    }

    .mixed-testi__controls-v2 {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .mixed-testi__nav-v2 {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important;
    }

    .mixed-testi__nav-btn-v2 {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        color: #000000 !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
        padding: 0 !important;
    }

    .mixed-testi__nav-btn-v2:hover,
    .mixed-testi__nav-btn-v2:active {
        background-color: #f0f0f0 !important;
        transform: none !important;
    }

    .mixed-testi__icon-desktop {
        display: block !important;
    }

    .mixed-testi__icon-mobile {
        display: none !important;
    }

    .mixed-testi__carousel-wrap-v2 {
        padding-left: 20px;
    }

    .mixed-testi__slide--v2 {
        width: clamp(240px, 75vw, 290px) !important;
        max-width: 80vw !important;
        flex: 0 0 clamp(240px, 75vw, 290px) !important;
    }

    .mixed-testi__card-v2 {
        height: 450px;
    }

    .mixed-testi__slide--video-v2 {
        align-self: stretch !important;
        height: 450px !important;
    }

    .mixed-testi__card-v2--video {
        height: 450px !important;
        min-height: 450px !important;
    }

    .mixed-testi__card-v2--video .mixed-testi__card-v2-preview-video,
    .mixed-testi__card-v2--video .mixed-testi__card-v2-thumb,
    .mixed-testi__card-v2--video .mixed-testi__card-v2-thumb-placeholder {
        width: 100% !important;
        height: 100% !important;
        min-height: 450px !important;
        object-fit: cover !important;
    }
}

/* ==========================================================================
   Inline Card Video Playback & Controls
   ========================================================================== */

/* Smooth fade transitions for card overlays */
.mixed-testi__card-v2-bottom-bar,
.mixed-testi__card-v2-brand-top,
.mixed-testi__card-v2--video::before,
.mixed-testi__video-brand,
.mixed-testi__play-btn {
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* V2 Card Playing State: Fade out author info and badge overlay */
.mixed-testi__card-v2--video.is-playing .mixed-testi__card-v2-bottom-bar,
.mixed-testi__card-v2--video.is-playing .mixed-testi__card-v2-brand-top,
.mixed-testi__card-v2--video.is-playing::before {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mixed-testi__card-v2--video.is-playing {
    cursor: pointer;
}

/* V1 Card Playing State */
.mixed-testi__video-card.is-playing .mixed-testi__play-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mixed-testi__video-card.is-playing .mixed-testi__video-brand {
    opacity: 0.15;
    pointer-events: none;
}

.mixed-testi__video-card.is-playing .mixed-testi__video-thumb-wrap {
    cursor: pointer;
}

/* Pause Indicator Badge (shows on hover when playing) */
.mixed-testi__card-pause-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.mixed-testi__card-v2--video.is-playing:hover .mixed-testi__card-pause-indicator,
.mixed-testi__video-card.is-playing:hover .mixed-testi__card-pause-indicator {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}