/************
 *
 * Testimonials Styles
 *
 ***********/
/******* Functions *******/
/******* Mixins *******/
/******* Bootstrap *******/
.modal {
  --bs-modal-border-width: 0;
  --bs-modal-border-radius: 0;
}

/******* Variables *******/
.testimonials {
  /**
   * Inherit colors from the parent block (e.g. a Group).
   *
   * When the Color Theme is set to "Inherit", component_attributes() omits
   * data-bs-theme and adds .is-inherit-colors. Unset fixed colors so the
   * parent's text color cascades (currentColor) and its background shows
   * through the transparent cards.
   */
}
.testimonials--carousel {
  padding: 0;
  margin: 0;
}
.testimonials--carousel > .testimonials__row {
  margin: 0;
}
.testimonials blockquote {
  border: none;
  margin: 0;
  padding: 0;
  font-family: var(--wp--preset--font-family--tiempos-italic) !important;
  font-size: var(--wp--preset--font-size--lg);
  font-style: italic;
  line-height: 1.4;
}
.testimonials blockquote p em,
.testimonials blockquote .blockquote-footer,
.testimonials blockquote .testimonials__cite {
  font-family: var(--wp--preset--font-family--aeonik-pro) !important;
  font-size: var(--wp--preset--font-size--medium);
  font-style: normal;
  line-height: 1.3;
  font-weight: 360;
}
.testimonials--grid .testimonials__grid {
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  --bs-gutter-y: 2rem;
}
@media (min-width: 576px) {
  .testimonials--grid .testimonials__grid {
    max-width: 90%;
  }
}
@media (min-width: 768px) {
  .testimonials--grid .testimonials__grid {
    max-width: 950px;
  }
}
@media (min-width: 1600px) {
  .testimonials--grid .testimonials__grid {
    max-width: 1111px;
  }
}
.testimonials__item {
  height: 100%;
  border: 0;
  background-color: transparent;
}
.testimonials__item .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonials__item--grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.testimonials__item--grid .slide__content {
  width: 100%;
}
.testimonials__item--grid .lead {
  margin-bottom: 0;
}
.testimonials__image-wrapper {
  margin: 1.25rem auto 0;
  max-width: 90px;
}
.testimonials__image-wrapper img {
  width: 100%;
  height: auto;
}
.testimonials__item--grid .testimonials__image-wrapper {
  margin-left: 0;
  margin-right: 0;
}
.testimonials__quote {
  margin-bottom: 0;
}
.testimonials__quote p:last-child {
  margin-bottom: 0;
}
.testimonials-cards-text .swiper-slide {
  transition: padding ease-in-out 0.3s;
}
.testimonials-cards-text .swiper-slide-active {
  padding-left: 2%;
  padding-right: 2%;
}
.testimonials.is-inherit-colors {
  color: inherit;
  background-color: transparent;
}
.testimonials.is-inherit-colors .card,
.testimonials.is-inherit-colors .testimonials__item {
  background-color: transparent;
  color: inherit;
  border-color: currentColor;
}
.testimonials.is-inherit-colors .blockquote-footer,
.testimonials.is-inherit-colors .testimonials__cite {
  color: inherit;
  opacity: 0.7;
}
.testimonials.is-inherit-colors .swiper-button-prev,
.testimonials.is-inherit-colors .swiper-button-next {
  color: currentColor;
}
