.ya-reviews {
  margin: 2.5rem 0 3rem;
  overflow: hidden;
}

.ya-reviews__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ya-reviews__title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #2c1a0e;
  text-transform: uppercase;
  font-family: inherit;
  margin: 0;
}

.ya-marquee {
  overflow: hidden;
  width: 100%;
  min-height: 240px;
  touch-action: pan-y;
}

.ya-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ya-marquee__item {
  flex: 0 0 266px !important;
  width: 266px !important;
  min-width: 266px !important;
  overflow: hidden;
  pointer-events: none;
}

.ya-marquee__item img {
  width: 100% !important;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (max-width: 768px) {
  .ya-marquee {
    min-height: 420px;
    touch-action: pan-y;
  }

  .ya-marquee__item {
    flex: 0 0 85vw !important;
    width: 85vw !important;
    min-width: 85vw !important;
    pointer-events: auto;
  }

  .ya-marquee__track {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .ya-marquee {
    min-height: 380px;
  }

  .ya-marquee__item {
    flex: 0 0 90vw !important;
    width: 90vw !important;
    min-width: 90vw !important;
  }
}