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

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

.testimonial-v5__wrap {
  padding-bottom: 0.1rem;
}

.testimonial-v5__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
  height: 100%;
  border: solid 0.1rem rgba(var(--color-border), 0.1);
  border-radius: var(--text-boxes-radius);
}

.testimonial-v5__testimonial {
  font-size: calc(var(--font-body-scale) * 1.5rem);
  margin-top: 0.5rem;
  margin-bottom: 3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -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%);
}