/* ===== SWIPER.JS TESTIMONIALS INTEGRATION ===== */

.testimonials-swiper {
  position: relative;
  overflow: visible;
}

.testimonials-swiper .swiper-wrapper {
  width: 100%;
}

/* Arrows Wrapper - Flexbox Container */
.uui-testimonial15_arrows-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: static;
  width: auto;
  margin-top: 3rem;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
  width: auto;
}

/* Desktop only: 33% width with padding spacing */
@media screen and (min-width: 1024px) {
  .testimonials-swiper .swiper-slide {
    width: 33%;
    padding-right: 16px;
    box-sizing: border-box;
  }
}

/* Pagination positioned first in flexbox */
.uui-testimonial15_arrows-wrapper .swiper-pagination {
  order: -1;
  width: 110px;
}

/* Swiper Navigation Buttons (Arrow Prev/Next) */
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
  position: static;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--untitled-ui--gray200);
  color: var(--untitled-ui--gray900);
  background-color: #fff;
  border-radius: 100%;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonials-swiper .swiper-button-prev {
  margin-left: auto;
}

.testimonials-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover {
  background-color: var(--untitled-ui--gray50);
}

.testimonials-swiper .swiper-button-prev::after,
.testimonials-swiper .swiper-button-next::after {
  content: '' !important;
  display: none !important;
}

/* Style SVG icons inside buttons */
.testimonials-swiper .swiper-button-prev .uui-button-icon,
.testimonials-swiper .swiper-button-next .uui-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.testimonials-swiper .swiper-button-prev svg,
.testimonials-swiper .swiper-button-next svg {
  width: 28px;
  height: 28px;
}

/* Swiper Pagination (Dots) */
.testimonials-swiper .swiper-pagination {
  position: static;
  height: 1.75rem;
  font-size: 0.5rem;
}

.testimonials-swiper .swiper-pagination-bullet {
  background-color: #F2F4F7 !important;
  border: 1px solid #010101;
  width: 0.625rem !important;
  height: 0.625rem !important;
  opacity: 1 !important;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background-color: #2B3044 !important;
  border: none;
  width: 0.625rem !important;
  height: 0.625rem !important;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media screen and (max-width: 991px) {
  .testimonials-swiper .swiper-button-prev {
    right: 3rem;
  }
}

@media screen and (max-width: 767px) {
  .testimonials-swiper .swiper-button-prev,
  .testimonials-swiper .swiper-button-next {
    width: 3rem;
    height: 3rem;
  }

  .testimonials-swiper .swiper-button-prev {
    right: 2.5rem;
  }

  .testimonials-swiper .swiper-pagination {
    height: 1.5rem;
  }
}

@media screen and (max-width: 479px) {
  .testimonials-swiper .swiper-button-prev,
  .testimonials-swiper .swiper-button-next {
    width: 2.8rem;
    height: 2.8rem;
  }

  .testimonials-swiper .swiper-button-prev {
    right: 2rem;
  }

  .testimonials-swiper .swiper-button-prev svg,
  .testimonials-swiper .swiper-button-next svg {
    width: 24px;
    height: 24px;
  }
}
