.testimonial-v2__heading {
  text-align: center;
  margin-bottom: 6rem;
}

.testimonial-v2__subtitle {
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.3);
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 1.2rem);
  letter-spacing: calc(var(--font-heading-scale) * 0.16rem);
}

.testimonial-v2__title-wrap {
  position: relative;
}

.testimonial-v2__title-line {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 0.1rem;
  background-color: rgba(var(--color-foreground), 0.1);
}

.testimonial-v2__title {
  position: relative;
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 2.4rem);
  letter-spacing: calc(var(--font-heading-scale) * 0.16rem);
  font-weight: 500;
  margin: 0.5rem 0 0;
  padding: 0 4rem;
  background-color: rgba(var(--color-background));
  display: inline-block;
  z-index: 2;
}

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

.testimonial-v2__pagination {
  text-align: center;
  padding-top: 4rem;
}

.testimonial-v2__item {
  padding: 2.5rem;
  height: 100%;
  border-radius: var(--text-boxes-radius);
  border: solid 0.1rem rgba(var(--color-border), 0.1);
}

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

.testimonial-v2__testimonial {
  font-size: calc(var(--font-body-scale) * 1.5rem);
  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-v2__customer {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

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

.testimonial-v2__name {
  text-transform: uppercase;
  font-weight: 500;
  font-size: calc(var(--font-body-scale) * 1.2rem);
}

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