.testimonials-block {
  width: 100%;
  padding: 2rem 1rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.testimonials-swiper {
  position: relative;
  height: auto !important;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  transition: height 0.3s ease;
}

.testimonials-block .swiper-wrapper {
  align-items: flex-start;
  height: auto !important;
}

.testimonials-block .swiper-slide {
  display: flex;
  justify-content: center;
  height: auto !important;
  box-sizing: border-box;
}

.testimonial-card {
  width: 100%;
  max-width: 1080px;
  height: auto;
  background: #F9F9F9;
  box-shadow: 0px 2px 3px 0px #0000000F;
  border: 1px solid rgba(44, 44, 44, 0.08);
  border-radius: 8px;
  padding: 3.2rem 3rem 2.4rem;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 2.4rem;
  left: 2.5rem;
  font-size: 4.6rem;
  color: #b18e55;
  font-family: inherit;
  line-height: 1;
}

.testimonial-text p {
  font-size: 1.5rem;
  line-height: 2;
  color: var(--text-color);
  letter-spacing: 0.01em;
  margin: 2rem 0;
}

.testimonial-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
  padding-top: 1.65rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.testimonial-name {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  color: #111111;
}

.testimonial-job {
  display: inline-block;
  font-size: 0.9rem;
  color: #6f6f6f;
  letter-spacing: 0.03em;
}

/* Controls sit below the slide so autoHeight has no empty gap */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: 100%;
  max-width: 1080px;
  margin: 1.25rem auto 0;
  position: relative;
  right: auto;
  bottom: auto;
}

.testimonials-block .swiper-pagination {
  position: relative !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto !important;
  margin: 0;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: 2;
}

.testimonials-block .swiper-pagination-bullet {
  flex: 0 0 auto !important;
  width: 10px !important;
  height: 10px !important;
  background: var(--lite-gold);
  opacity: 1;
  border-radius: 999px;
  margin: 0 !important;
  transition: width 0.25s ease;
}

.testimonials-block .swiper-pagination-bullet-active {
  opacity: 1;
  width: 28px !important;
  border-radius: 999px;
}

.testimonials-block .swiper-button-prev,
.testimonials-block .swiper-button-next {
  width: 35px;
  height: 40px;
  border-radius: 1px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  background: #b18e55;
  color: #111111;
  display: grid;
  place-items: center;
  font-size: 1rem;
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  margin: 0;
}

.testimonials-block .swiper-button-prev::after {
  content: "\2039";
}

.testimonials-block .swiper-button-next {
  background: #fff !important;
  color: #ffffff;
  border-color: transparent;
}

.testimonials-block .swiper-button-next::after {
  content: "\203A";
}
