.wp-block-hs-customer-testimonials {
  --testimonial-accent: #00ea6e;
  --testimonial-text: #ffffff;
  --testimonial-muted: rgba(255, 255, 255, 0.7);
  position: relative;
  color: var(--testimonial-text);
  text-align: center;
  padding: 4rem 2rem;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__slides {
  flex: 1;
  min-height: 220px;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__slide {
  display: none;
  max-width: 880px;
  margin: 0 auto;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__slide.is-active {
  display: block;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__quote {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.35;
  margin: 0 0 2rem;
  font-weight: 600;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__photo-ring {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 3px solid var(--testimonial-accent);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__photo {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__name {
  font-weight: 600;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__position,
.wp-block-hs-customer-testimonials .hs-customer-testimonials__company {
  color: var(--testimonial-muted);
  font-size: 0.95rem;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__nav {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: var(--testimonial-accent);
  color: #0f172a;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__dots {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__dot {
  position: relative;
  overflow: hidden;
  width: 14px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__dot.is-active {
  width: 32px;
  background: var(--testimonial-accent);
}

.wp-block-hs-customer-testimonials .hs-customer-testimonials__dot.is-progressing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  transform: translateX(-100%);
  animation: testimonial-progress var(--testimonial-progress-duration, 20000ms) linear forwards;
}

.wp-block-hs-customer-testimonials.is-paused .hs-customer-testimonials__dot.is-progressing::after {
  animation-play-state: paused;
}

@keyframes testimonial-progress {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

@media (max-width: 768px) {
  .wp-block-hs-customer-testimonials .hs-customer-testimonials__viewport {
    gap: 1rem;
  }

  .wp-block-hs-customer-testimonials .hs-customer-testimonials__nav {
    width: 44px;
    height: 44px;
  }
}
