.testimonial-item {
  background-color: var(--color-surface-subtle, #F8F8F9);
  padding: var(--space-lg, 24px);
  border-radius: var(--border-radius-border-radius-xl, 24px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-content {
  color: var(--color-foreground-strongest, #303031);
  font-weight: var(--font-weight-font-weight-medium, 500);
  padding-bottom: var(--space-lg, 16px);
}
.testimonial-content p {
  margin-bottom: 0;
}
.testimonial-wrap {
  padding-top: var(--space-lg, 16px);
  border-top: 1px solid var(--color-border-width-border-width-default, #DEDEE0);
}
.testimonial-wrap img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 50%;
}
.testimonial-name {
  width: calc(100% - 56px);
}
.testimonial-name > span {
  font-size: var(--typography-font-size-heading2-lg, 32px);
  color: var(--color-foreground-secondary-active, #E6007D);
  line-height: var(--typography-line-height-heading2-lg, 44px);
  font-weight: var(--font-weight-font-weight-extra-bold, 800);
}

.testimonial-name > .d-flex {
  width: calc(100% - 23px);
  font-size: var(--typography-font-size-footnote-strong-lg, 14px);
  line-height: var(--typography-line-height-footnote-strong-lg, 22px);
}
.testimonial-name > .d-flex span {
  color: var(--color-foreground-strong, #606062);
}
.testimonial-carousel-items .swiper-slide {
  flex: 1;
  height: auto;
  padding-right: var(--space-lg, 16px);
}
.testimonial-carousel-items .swiper-slide:last-of-type {
  padding-right: 0;
}
.testimonial-carousel-items .swiper-slide[style] {
  flex: none;
  padding-right: 0;
}
.testimonial-carousel-wrap .heading {
  margin-bottom: var(--space-lg, 24px);
}
.swiper-carousel:has(.testimonial-carousel-slider) .heading-level {
  margin-bottom: var(--space-lg, 24px);
}
@media only screen and (min-width: 961px) {
  .swiper-carousel:has(.testimonial-carousel-slider) .heading-level {
    margin-bottom: var(--space-md, 16px);
  }
  .testimonial-carousel-slider.swiper {
    position: unset;
  }
  .testimonial-carousel-wrap .swiper-carousel:has(.swiper-slide[style]) {
    position: relative;
    padding: 0 var(--space-2xl, 40px);
  }
  .testimonial-carousel-slider .swiper-button {
    bottom: 43%;
    transform: translate(0, -50%);
    width: 100%;
    z-index: 1;
    justify-content: space-between;
  }
  .testimonial-carousel-slider .swiper-button div {
    background-color: #40434f;
  }
  .testimonial-carousel-slider .swiper-button .svg-icon {
    background-color: var(--color-foreground-on-active, #ffffff);
  }
}
@media only screen and (max-width: 960px) {
  .testimonial-carousel-slider .swiper-button {
    display: none;
  }
  .testimonial-carousel-slider.swiper {
    padding-left: var(--space-xl, 32px);
    padding-right: var(--space-xl, 32px);
  }
  .testimonial-item {
    padding: var(--space-md, 16px);
  }
}
@media only screen and (max-width: 767px) {
  .testimonial-carousel-slider.swiper {
    padding-left: var(--space-lg, 24px);
    padding-right: var(--space-lg, 24px);
  }
}
@media only screen and (max-width: 640px) {
  .testimonial-carousel-slider.swiper {
    padding-left: var(--space-md, 16px);
    padding-right: var(--space-md, 16px);
  }
}
