/* AA-299: homepage reviews ribbon. Same photo height, natural width. */
.aa-reviews {
  overflow: hidden;
}

.aa-reviews .section-header {
  margin-bottom: 32px;
}

.aa-reviews-ribbon {
  width: 100%;
  overflow: hidden;
}

.aa-reviews-ribbon .swiper-wrapper {
  transition-timing-function: linear !important;
}

.aa-reviews-slide {
  width: auto !important;
  height: 320px;
  flex-shrink: 0;
}

.aa-reviews-photo {
  display: block;
  width: auto;
  height: 100%;
  border-radius: 14px;
  background: #e3e8ee;
  user-select: none;
}

/* Without motion the ribbon stays a normal horizontal scroll. */
.aa-reviews-ribbon.is-static {
  overflow-x: auto;
  scrollbar-width: none;
}

.aa-reviews-ribbon.is-static::-webkit-scrollbar {
  display: none;
}

@media (max-width: 991px) {
  .aa-reviews-slide {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .aa-reviews .section-header {
    margin-bottom: 20px;
  }

  .aa-reviews-slide {
    height: 220px;
  }

  .aa-reviews-photo {
    border-radius: 10px;
  }
}
