.testimonial-v5__heading {
  text-align: center;
}

.testimonial-v5__subtitle {
  line-height: calc(1 + 0.18 / var(--font-heading-scale));
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 1.2rem);
  letter-spacing: calc(var(--font-heading-scale) * 0.2rem);
  margin-bottom: 1.5rem;
  color: rgba(var(--color-foreground), 0.5);
}

.testimonial-v5__title {
  font-size: clamp(2.4rem, calc(2vw + 1.6rem), 4rem);
  font-weight: 400;
  letter-spacing: calc(var(--font-heading-scale) * 0.16rem);
  margin-bottom: 3.5rem;
}

.testimonial-v5__description {
  font-size: calc(var(--font-body-scale) * 1.4rem);
  letter-spacing: calc(var(--font-heading-scale) * 0.16rem);
  line-height: calc(1 + 0.6 / var(--font-heading-scale));
  margin-bottom: 2rem;
  color: rgba(var(--color-foreground), 0.5);
}
@media (min-width: 768px) {
  .testimonial-v5__description {
    margin-bottom: 5rem;
  }
}

.testimonial-v5__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
  margin: 0 auto;
  max-width: 85rem;
  height: 100%;
}

.testimonial-v5__testimonial {
  font-size: calc(var(--font-body-scale) * 1.8rem);
  margin-top: 0.5rem;
  margin-bottom: 3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: #666666;
  -webkit-box-orient: vertical;
}

.testimonial-v5__img {
  border-radius: 50%;
  overflow: hidden;
  width: 8rem;
  height: 8rem;
  margin-bottom: 2rem;
}

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

.testimonial-v5__name {
  margin-bottom: 1rem;
  font-size: calc(var(--font-body-scale) * 1.6rem);
}

.testimonial-v5__position {
  font-size: calc(var(--font-body-scale) * 1.2rem);
  text-transform: uppercase;
  color: rgba(var(--color-accent));
}

.testimonial-v5__arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 9;
}
.testimonial-v5__arrows .carousel-navigation-style3 {
  background-color: rgba(var(--color-background));
  border: solid 0.1rem rgba(var(--color-foreground), 0.1);
  width: 4rem;
  height: 4rem;
}
.testimonial-v5__arrows .carousel-navigation-style3 svg {
  color: rgba(var(--color-foreground));
}
.testimonial-v5__arrows .carousel-navigation-style3:hover {
  background-color: rgba(var(--color-foreground));
}
.testimonial-v5__arrows .carousel-navigation-style3:hover svg {
  color: rgba(var(--color-background));
}
[dir=ltr] .testimonial-v5__arrows .carousel-navigation-style3:first-child {
  left: 0;
  transform: translateX(-50%);
}
[dir=rtl] .testimonial-v5__arrows .carousel-navigation-style3:first-child {
  right: 0;
  transform: translateX(50%);
}
[dir=ltr] .testimonial-v5__arrows .carousel-navigation-style3:last-child {
  right: 0;
  transform: translateX(50%);
}
[dir=rtl] .testimonial-v5__arrows .carousel-navigation-style3:last-child {
  left: 0;
  transform: translateX(-50%);
}