.ecs-testimonial.testi {
  background: #fff;
  display: flex;
  justify-content: center;
  padding: var(--section-y, 96px) var(--page-pad, 24px);
}

.ecs-testimonial .testi-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-10, 40px);
  max-width: var(--container, 1200px);
  width: 100%;
}

.ecs-testimonial .testi-row {
  display: block;
  max-width: 820px;
  overflow: hidden;
  width: 100%;
}

.ecs-testimonial .swiper-wrapper {
  align-items: center;
}

.ecs-testimonial .quote {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-8, 32px);
  padding: 0 var(--space-8, 32px);
  text-align: center;
}

.ecs-testimonial .quote .text {
  color: var(--dark-green, #203e2a);
  font-family: 'Sarabun', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-style: italic;
  line-height: 1.4;
}

.ecs-testimonial .quote .name {
  color: var(--dark-green, #203e2a);
  font-size: 18px;
  font-weight: 700;
}

.ecs-testimonial .quote .role {
  color: var(--dark-green, #203e2a);
  font-size: 20px;
  line-height: 1.3;
}

.ecs-testimonial .testi-controls {
  align-items: center;
  display: flex;
  gap: var(--space-6, 24px);
}

.ecs-testimonial .slider-arrow {
  align-items: center;
  background: #fff;
  border: 1px solid var(--gum-tree-green, #3d5e46);
  border-radius: 50%;
  color: var(--gum-tree-green, #3d5e46);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  transition: filter 0.2s;
  width: 48px;
}

.ecs-testimonial .slider-arrow:hover {
  filter: brightness(0.95);
}

.ecs-testimonial .slider-arrow:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.ecs-testimonial .slider-arrow svg {
  height: 24px;
  width: 24px;
}

.ecs-testimonial .slider-arrow.prev svg {
  transform: scaleX(-1);
}

.ecs-testimonial .dots.swiper-pagination {
  display: flex;
  gap: 10px;
  position: static;
  width: auto;
}

.ecs-testimonial .dots .swiper-pagination-bullet {
  background: var(--bark-brown, #ad7c59);
  height: 10px;
  margin: 0;
  opacity: 1;
  width: 10px;
}

.ecs-testimonial .dots .swiper-pagination-bullet-active {
  background: var(--gum-tree-green, #3d5e46);
}

.ecs-testimonial .swiper-button-lock,
.ecs-testimonial .swiper-pagination-lock {
  display: none;
}

@media (max-width: 560px) {
  .ecs-testimonial .quote {
    padding: 0;
  }
}

