.testimonial-section section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.testimonial-section .eyebrow {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.testimonial-section h2,
.testimonial-section .h2 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
}

.testimonial-slider-container {
  box-sizing: border-box;
}

.testimonial-slider {
  position: relative;
  text-align: center;
}

.testimonial-slider .carousel-inner {
  display: flex !important;
  align-items: center;
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 24rem;
  touch-action: pan-y;
  cursor: grab;
}

.testimonial-slider.is-dragging .carousel-inner {
  cursor: grabbing;
  user-select: none;
}

.testimonial-slider .carousel-item {
  display: none;
  width: 100% !important;
  flex: 0 0 100%;
  height: 100%;
  min-height: 24rem;
  min-width: 0;
  margin-right: -100%;
  float: none;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 4.5rem;
}

.testimonial-slider .carousel-item.active,
.testimonial-slider .carousel-item-next,
.testimonial-slider .carousel-item-prev {
  display: flex !important;
}

.testimonial-slider__review {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 2 !important;
  font-style: italic;
}

.testimonial-slider__author {
  display: block;
  font-size: 1.125rem;
  font-weight: 200;
  line-height: 2 !important;
  font-style: italic;
}

.testimonial-slider__control {
  width: 4rem;
  opacity: 1;
}

.testimonial-slider__control:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.testimonial-slider__control-circle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0.8;
}

.testimonial-slider__control-circle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (max-width: 1399.98px) {
  .testimonial-section h2,
  .testimonial-section .h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 1199.98px) {
  .testimonial-section h2,
  .testimonial-section .h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 575.98px) {
  .testimonial-section .eyebrow {
    font-size: 1rem !important;
  }

  .testimonial-section h2,
  .testimonial-section .h2 {
    font-size: 2rem;
  }

  .testimonial-slider__review,
  .testimonial-slider__author {
    font-size: 1rem;
  }

  .testimonial-slider__control-circle {
    width: 2rem;
    height: 2rem;
  }

  .testimonial-slider .carousel-item {
    padding-right: 3.5rem;
    padding-left: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-slider .carousel-item {
    transition: none;
  }
}
