/* ================= COMMON (all breakpoints — fade) ================= */
.testimonials-component.swiper {
  /* overflow: hidden; */
  /* background-color: #111111; */
  /* prevents white flash during crossfade — change to match your card's hex */
  border-radius: 24px;
  /* matches your card's border-radius */
}

.testimonials-list.swiper-wrapper {
  display: flex;
  gap: 0;
}

/* ================= DESKTOP (>= 992px): 2 columns ================= */
@media (min-width: 992px) {
  .testimonials-item.swiper-slide {
    display: grid;
    grid-template-columns: 60% 40%;
    width: 100%;
    flex-shrink: 0;
    height: auto;
  }
}

/* ================= MOBILE (< 768px): stacked, image on top ================= */
@media (max-width: 991px) {
  .testimonials-item.swiper-slide {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
    height: auto;
  }

  .testimonials-item .testimonials_image-wrapper {
    order: -1;
    /* image above the content */
    height: 240px;
    /* adjust to match design */
  }
}

/* ================= Elements ================= */
.testimonials_image-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.testimonials_slide-counter {
  overflow: hidden;
}

.testimonials_progress-wrapper {
  position: relative;
}

.testimonials_proggress {
  transform-origin: left center;
}

/* .testimonials_arrow-previous,
.testimonials_arrow-next {
  cursor: pointer;
  transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}

.testimonials_arrow-previous:hover,
.testimonials_arrow-next:hover {
  transform: scale(1.08);
}

.testimonials_arrow-previous:active,
.testimonials_arrow-next:active {
  transform: scale(.94);
} */

/* Avoid flash before the intro animation runs */
html.has-gsap .testimonials-component,
html.has-gsap .results-speak_header .heading-style-h1 {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {

  html.has-gsap .testimonials-component,
  html.has-gsap .results-speak_header .heading-style-h1 {
    visibility: visible;
  }
}