.review-carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.review-carousel {
  display: flex;
  gap: 1rem;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  scroll-snap-type: x mandatory;
  align-items: stretch;
}

.review-carousel::-webkit-scrollbar {
  display: none;
}

@media (min-width: 851px) {
  .review-item {
    flex: 0 0 calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
    min-width: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 850px) and (min-width: 501px) {
  .review-item {
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 500px) {
  .review-item {
    width: 90vw;
  }
}

.review-carousel-wrapper::before, .review-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.review-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition: transform 0.7s ease;
  border-radius: 12px;
  padding: 12px 20px;
  background-color: #1e1e1e;
  height: auto;
}

.review-item img {
  object-fit: cover !important;
}

