.testimonial-v1__title-wrap {
  text-align: center;
}

.testimonial-v1__title {
  position: relative;
  display: inline-block;
  font-size: clamp(2.4rem, calc(0.75vw + 2.1rem), 3rem);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  letter-spacing: calc(var(--font-heading-scale) * 0.2rem);
  padding-bottom: 2.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 992px) {
  .testimonial-v1__title {
    margin-bottom: 5rem;
  }
}

.testimonial-v1__title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 0.2rem;
  background-color: rgba(var(--color-accent));
}

.testimonial-v1__pagination {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}
@media (min-width: 768px) {
  .testimonial-v1__pagination {
    padding-top: 5rem;
  }
}

.testimonial-v1__item {
  padding: 2.5rem;
  min-height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 90rem;
  margin: 0 auto;
}

.testimonial-v1__list-star {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.testimonial-v1__testimonial {
  font-size: calc(var(--font-body-scale) * 2rem);
  line-height: calc(1 + 0.5 / var(--font-body-scale));
  margin: 1.5rem 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.testimonial-v1__customer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.testimonial-v1__img {
  border-radius: 50%;
  overflow: hidden;
  width: 8rem;
  height: 8rem;
}

.testimonial-v1__name {
  text-transform: uppercase;
  font-weight: 500;
  font-size: calc(var(--font-body-scale) * 1.4rem);
  color: rgba(var(--color-accent));
}

.testimonial-v1__position {
  font-size: calc(var(--font-body-scale) * 1.3rem);
  color: rgba(var(--color-foreground), 0.5);
}