.testimonials-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem var(--dia-front-content-inline-mobile);
  overflow: hidden;
  color: var(--dia-front-color-white);
  background: var(--dia-front-color-ink);
}
.testimonials-banner__image, .testimonials-banner__image::after, .testimonials-banner__image .theme-child-media-link, .testimonials-banner__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.testimonials-banner__image img {
  display: block;
  object-fit: cover;
}
.testimonials-banner__image::after {
  pointer-events: none;
  background: var(--dia-front-color-overlay-testimonials);
  content: "";
}
.testimonials-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
  width: 100%;
  max-width: none;
}
.testimonials-banner__ratings {
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: var(--dia-front-space-24) var(--dia-front-space-16);
  overflow: hidden;
  border-radius: 0.25rem;
  background: transparent;
  backdrop-filter: blur(1.25rem);
}
.testimonials-banner__ratings--four {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--dia-front-space-32) var(--dia-front-space-16);
}
.testimonials-banner__ratings .list-item {
  display: flex;
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  text-align: center;
}
.testimonials-banner__ratings .list-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.testimonials-banner__ratings .list-item-content::before {
  display: block;
  width: 4.75rem;
  height: 0.75rem;
  background: url("../images/star.svg") repeat-x left center/1rem 0.75rem;
  content: "";
}
.testimonials-banner__ratings .list-item-title {
  margin: 0;
  color: var(--dia-front-color-sand);
  font-family: var(--dia-front-font-body);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: var(--dia-front-line-height-rating-number-mobile);
  white-space: nowrap;
}
.testimonials-banner__ratings .list-item-text {
  display: grid;
  grid-template-columns: 1.5rem auto;
  align-items: center;
  justify-items: start;
  gap: 0.25rem 0.5rem;
  color: var(--dia-front-color-sand);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: var(--dia-front-line-height-rating-source-mobile);
  text-align: left;
}
.testimonials-banner__ratings .list-item-text::before {
  grid-row: 1/3;
  width: 1.5rem;
  height: 1.5rem;
  background: none no-repeat center/contain;
  content: "";
}
.testimonials-banner__ratings .list-item-text p {
  margin: 0;
}
.testimonials-banner__ratings .list-item[data-provider=google] .list-item-text::before {
  background-image: url("../images/google.svg");
}
.testimonials-banner__ratings .list-item[data-provider=tripadvisor] .list-item-text::before {
  background-image: url("../images/tripadvisor.svg");
}
.testimonials-banner__ratings .list-item[data-provider=tripcom] .list-item-text::before {
  border-radius: 50%;
  background-image: url("../images/tripcom-mark.svg"), url("../images/tripcom.svg");
  background-position: center, center;
  background-size: 50% 50%, contain;
}
.testimonials-banner__ratings .list-item[data-provider=booking] .list-item-text::before {
  border-radius: 50%;
  background-image: url("../images/booking.svg");
}
.testimonials-banner__quote, .testimonials-banner__source {
  width: 100%;
  text-align: center;
}
.testimonials-banner__quote p, .testimonials-banner__source p {
  margin: 0;
}
.testimonials-banner__quote {
  margin: 0;
  font-family: var(--dia-front-font-display);
  font-size: var(--dia-front-font-size-quote-mobile);
  line-height: var(--dia-front-line-height-quote-mobile);
  text-transform: uppercase;
}
.testimonials-banner__source {
  margin-top: var(--dia-front-space-48);
  display: grid;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
}
.testimonials-banner__source p:first-child {
  font-weight: 600;
}
.testimonials-banner__source p:last-child {
  color: var(--dia-front-color-sand);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6667;
}

@media (min-width: 768px) {
  .testimonials-banner {
    padding: 10rem clamp(2.5rem, 7.135vw, 8.5625rem);
  }
  .testimonials-banner__ratings {
    justify-content: center;
    gap: 4rem;
    width: auto;
    padding: 3rem 5rem;
    background: transparent;
  }
  .testimonials-banner__ratings .list-item {
    position: relative;
    flex: 0 0 auto;
  }
  .testimonials-banner__ratings .list-item:not(:last-child)::after {
    position: absolute;
    top: 0;
    right: -2rem;
    width: 1px;
    height: 100%;
    background: var(--dia-front-color-white);
    opacity: 0.2;
    content: "";
  }
  .testimonials-banner__ratings .list-item-content {
    gap: 1rem;
  }
  .testimonials-banner__ratings .list-item-content::before {
    width: 5.25rem;
    background-size: 1.125rem 0.75rem;
  }
  .testimonials-banner__ratings .list-item-title {
    font-size: 2.5rem;
    line-height: normal;
  }
  .testimonials-banner__ratings .list-item-text {
    display: grid;
    grid-template-columns: 2rem auto;
    column-gap: 1rem;
    align-items: center;
    justify-items: start;
    font-size: 1rem;
    line-height: normal;
  }
  .testimonials-banner__ratings .list-item-text::before {
    grid-row: 1/3;
    width: 2rem;
    height: 2rem;
    background: none no-repeat center/contain;
    content: "";
  }
  .testimonials-banner__ratings .list-item-text p:last-child {
    font-size: 0.875rem;
  }
  .testimonials-banner__ratings--four {
    gap: 4rem;
    width: min(100%, 46rem);
    padding-inline: var(--dia-front-space-24);
  }
  .testimonials-banner__ratings--four .list-item::after {
    content: none;
  }
  .testimonials-banner__quote {
    font-size: var(--dia-front-font-size-quote-desktop);
    line-height: var(--dia-front-line-height-quote-desktop);
  }
  .testimonials-banner__source p:first-child {
    font-weight: 700;
    line-height: normal;
  }
  .testimonials-banner__source p:last-child {
    font-size: 0.875rem;
    line-height: 1.5rem;
  }
}
@media (min-width: 1100px) {
  .testimonials-banner__ratings--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 60rem);
  }
  .testimonials-banner__ratings--four .list-item:not(:last-child)::after {
    right: calc(var(--dia-front-space-24) / -2);
    content: "";
  }
}
.testimonials-banner__carousel-shell {
  position: relative;
  width: 100%;
}
.testimonials-banner__carousel {
  width: 100%;
  max-width: 62.5rem;
  margin-inline: auto;
  min-width: 0;
  overflow: hidden;
}
.testimonials-banner__slides {
  display: grid;
  gap: var(--dia-front-space-48);
}
.testimonials-banner__carousel.swiper-initialized .testimonials-banner__slides {
  display: flex;
  gap: 0;
}
.testimonials-banner__slide {
  height: auto;
  margin: 0;
  min-width: 0;
  flex-shrink: 0;
}
.testimonials-banner__controls {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.testimonials-banner__controls button {
  display: grid;
  place-items: center;
  width: 2.8125rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  color: var(--dia-front-color-sand);
  background: rgba(248, 244, 242, 0.1);
  backdrop-filter: blur(1.875rem);
  cursor: pointer;
}
.testimonials-banner__controls button.swiper-button-disabled {
  visibility: hidden;
}
.testimonials-banner__controls button:focus-visible {
  outline: none;
  box-shadow: none;
}
.testimonials-banner__carousel.swiper-initialized ~ .testimonials-banner__controls {
  display: flex;
}

.testimonials-banner[data-theme-motion=testimonials-banner] {
  --theme-entrance-title-offset: 20;
  --theme-entrance-distance: 80;
  --theme-entrance-fade: 0.5;
  --theme-entrance-travel: 0.8;
  --theme-entrance-text-delay: 0.3;
  --theme-entrance-media-stagger: 0.2;
}
.testimonials-banner[data-theme-motion=testimonials-banner] [data-theme-entrance=media] {
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .testimonials-banner[data-theme-motion=testimonials-banner] {
    --theme-entrance-title-offset: 40;
  }
}

.testimonials-banner__image > [data-theme-entrance=media] {
  position: absolute;
  inset: 0;
}

@media (min-width: 768px) {
  .testimonials-banner__carousel {
    width: calc(100% - 8rem);
  }
  .testimonials-banner__controls {
    position: absolute;
    inset-inline: 0;
    top: var(--testimonials-controls-top, 50%);
    justify-content: space-between;
    margin-top: 0;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .testimonials-banner__controls button {
    pointer-events: auto;
  }
}
