/* Testimonials — Embla carousel.
   Replaces pe-core's bounded free-drag row + drifting fixed-step prev/next
   (which moved by items[0].width and accumulated off-center error) with a
   precise, center-aligned, physics-smooth carousel. JS: v1a-testimonials.js */

.v1a-embla-vp {
    overflow: hidden;
    width: 100%;
    padding: 16px 0; /* room for the .cr--item:hover scale so it isn't clipped */
    cursor: grab;
}
.v1a-embla-vp:active {
    cursor: grabbing;
}

.testimonials-carousel.v1a-embla-container {
    display: flex;
    gap: 28px;
    align-items: stretch;
    width: auto;
    touch-action: pan-y pinch-zoom;
}

.testimonials-carousel.v1a-embla-container > .cr--item {
    flex: 0 0 auto;
    width: clamp(280px, 30vw, 360px);
}

@media (max-width: 1024px) {
    .testimonials-carousel.v1a-embla-container > .cr--item {
        width: clamp(260px, 46vw, 340px);
    }
}

@media (max-width: 767px) {
    .testimonials-carousel.v1a-embla-container {
        gap: 18px;
    }
    .testimonials-carousel.v1a-embla-container > .cr--item {
        width: 82vw;
    }
}
