.quotes-slider {
  margin: 1.5rem auto 0;
  max-width: 1000px;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quotes-slider ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 48px;
}

.quotes-slider li {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quotes-slider li.is-active {
  opacity: 1;
}

.quotes-slider .q-text {
  font-style: italic;
  color: #f0f0f0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.quotes-slider .ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.quotes-slider .prev {
  left: 0.6rem;
}

.quotes-slider .next {
  right: 0.6rem;
}

.quotes-slider .dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.6rem;
}

.quotes-slider .dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #777;
  opacity: 0.6;
  cursor: pointer;
}

.quotes-slider .dots button[aria-current="true"] {
  background: var(--brand);
  opacity: 1;
}
