.ezrwp-carousel-container {
  --ezrwp-carousel-visible: var(--ezrwp-carousel-columns, 3);
  --ezrwp-carousel-gap: 1.5rem;
  position: relative;
}
@media (max-width: 900px) {
  .ezrwp-carousel-container {
    --ezrwp-carousel-visible: min(var(--ezrwp-carousel-columns, 3), 2);
  }
}
@media (max-width: 600px) {
  .ezrwp-carousel-container {
    --ezrwp-carousel-visible: 1;
  }
}
.ezrwp-carousel-track {
  display: flex;
  align-items: flex-start;
  gap: var(--ezrwp-carousel-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
/* With JavaScript, the track's height follows the reviews currently in view (see the carousel script). */
.ezrwp-carousel-track.ezrwp-adaptive-height {
  overflow-y: hidden;
  transition: height 0.3s ease;
}
.ezrwp-carousel-track::-webkit-scrollbar {
  display: none;
}
.ezrwp-carousel-track:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.ezrwp-wrapper .ezrwp-carousel-track > .ezrwp-col {
  flex: 0 0 calc((100% - (var(--ezrwp-carousel-visible) - 1) * var(--ezrwp-carousel-gap)) / var(--ezrwp-carousel-visible));
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  scroll-snap-align: start;
}
/* On phones, show part of the next review as a hint to swipe. */
@media (max-width: 600px) {
  .ezrwp-wrapper .ezrwp-carousel-track > .ezrwp-col {
    flex-basis: calc((85% - var(--ezrwp-carousel-visible) * var(--ezrwp-carousel-gap)) / var(--ezrwp-carousel-visible));
  }
}
.ezrwp-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0 1rem;
}
.ezrwp-carousel-controls[hidden] {
  display: none;
}
.ezrwp-carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
}
.ezrwp-carousel-controls button:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.12);
  background: color-mix(in srgb, currentColor 16%, transparent);
}
.ezrwp-carousel-controls button:active:not(:disabled) {
  transform: scale(0.94);
}
.ezrwp-carousel-controls button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.ezrwp-carousel-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
.ezrwp-carousel-controls svg {
  display: block;
  width: 20px;
  height: 20px;
}
.ezrwp-carousel-controls .ezrwp-carousel-pause {
  width: auto;
  padding: 0 1rem;
  border-radius: 999px;
}
.ezrwp-carousel-status {
  min-width: 3em;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  opacity: 0.7;
}
@media (prefers-reduced-motion: reduce) {
  .ezrwp-carousel-track {
    scroll-behavior: auto;
  }
  .ezrwp-carousel-controls button {
    transition: none;
  }
  .ezrwp-carousel-controls button:active:not(:disabled) {
    transform: none;
  }
  .ezrwp-carousel-track.ezrwp-adaptive-height {
    transition: none;
  }
}
