.jmdc-testimonial-slider {
  padding: 90px 0 70px;
  background-color: #000000;
  color: #ffffff;
  overflow: visible;
}

.jmdc-testimonial-slider__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.jmdc-testimonial-slider__container.swiper {
  overflow: hidden;
}

.jmdc-testimonial-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
  transition-property: transform, height;
}

.jmdc-testimonial-slider__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  box-sizing: border-box;
  min-height: 420px;
}

.jmdc-testimonial-slider__item.swiper-slide {
  width: 100% !important;
}

.jmdc-testimonial-slider__content {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  box-sizing: border-box;
}

.jmdc-testimonial-slider__text-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  --quote-font-size-desktop: 26px;
  --quote-font-size-mobile: 18px;
}

.jmdc-testimonial-slider__text {
  font-size: var(--quote-font-size-desktop);
  line-height: 1.55;
  font-weight: 400;
  margin: 0 0 28px;
  overflow-wrap: break-word;
}

.jmdc-testimonial-slider__text p {
  margin: 0;
}

.jmdc-testimonial-slider__text p + p {
  margin-top: 1em;
}

.jmdc-testimonial-slider__text strong,
.jmdc-testimonial-slider__text b {
  font-weight: 600;
}

.jmdc-testimonial-slider__text em,
.jmdc-testimonial-slider__text i {
  font-style: italic;
}

.jmdc-testimonial-slider__text br {
  display: block;
  content: "";
  margin-top: 0;
}

.jmdc-testimonial-slider__author-info {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.jmdc-testimonial-slider__author,
.jmdc-testimonial-slider__author-title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 1;
}

.jmdc-testimonial-slider__pagination.swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  margin-top: 34px;
  padding-bottom: 0;
}

.jmdc-testimonial-slider__pagination .swiper-pagination-bullet,
.jmdc-testimonial-slider__pagination .jmdc-testimonial-slider__bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background-color: transparent;
  opacity: 0.4;
  margin: 0 4px;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.jmdc-testimonial-slider__pagination .swiper-pagination-bullet-active,
.jmdc-testimonial-slider__pagination .jmdc-testimonial-slider__bullet--active {
  background-color: #ffffff;
  opacity: 1;
}

.jmdc-testimonial-slider__pagination .swiper-pagination-bullet:hover,
.jmdc-testimonial-slider__pagination .swiper-pagination-bullet:focus-visible {
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .jmdc-testimonial-slider {
    padding: 72px 0 56px;
  }

  .jmdc-testimonial-slider__content,
  .jmdc-testimonial-slider__text-wrap {
    max-width: 600px;
  }

  .jmdc-testimonial-slider__item,
  .jmdc-testimonial-slider__content {
    min-height: 380px;
  }

  .jmdc-testimonial-slider__text {
    font-size: calc(var(--quote-font-size-desktop) * 0.85);
    line-height: 1.55;
  }

  .jmdc-testimonial-slider__author,
  .jmdc-testimonial-slider__author-title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .jmdc-testimonial-slider {
    padding: 56px 0 44px;
  }

  .jmdc-testimonial-slider__container {
    padding: 0 16px;
  }

  .jmdc-testimonial-slider__item {
    padding: 0;
    min-height: 320px;
  }

  .jmdc-testimonial-slider__content {
    min-height: 320px;
    padding: 18px 0;
  }

  .jmdc-testimonial-slider__text {
    font-size: var(--quote-font-size-mobile);
    line-height: 1.55;
  }

  .jmdc-testimonial-slider__author,
  .jmdc-testimonial-slider__author-title {
    font-size: 16px;
  }

  .jmdc-testimonial-slider__pagination.swiper-pagination {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jmdc-testimonial-slider__pagination .swiper-pagination-bullet,
  .jmdc-testimonial-slider__pagination .jmdc-testimonial-slider__bullet,
  .jmdc-testimonial-slider .swiper-wrapper {
    transition: none;
  }
}