.testimonial-carousel {
  box-sizing: content-box;
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  color: rgba(var(--color-text));
  background-color: transparent;
  text-align: start;
}

.testimonial-carousel__controls,
.testimonial-carousel__kicker {
  text-align: center;
}

/* Compact variant: filled cards sized to their natural height in a tighter
   column. Used by the Customise "What our customers say" band. */
.testimonial-carousel--plain {
  max-width: 1100px;
  padding: 0 24px 88px;
}

.testimonial-carousel--plain .testimonial-carousel__slide {
  min-height: 0;
}

.testimonial-carousel__kicker {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgb(138, 134, 125);
}

.testimonial-carousel__viewport {
  position: relative;
}

.testimonial-carousel__track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.testimonial-carousel__track > * {
  display: flex;
}

.testimonial-carousel__slide {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 32px;
  text-align: left;
  background: rgb(226, 249, 161);
  border: 0;
}

@media (min-width: 960px) {
  .testimonial-carousel__slide {
    min-height: 344px;
  }
}

.testimonial-carousel__mark {
  display: block;
  margin: 0 0 8px;
  /* Source renders the decorative quote mark in the title face (Archivo Black),
     a visibly heavier glyph than the inherited body Archivo. Match it. */
  font-family: var(--sort-title-font);
  font-size: 40px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.18);
}

.testimonial-carousel__quote {
  /* Match source spacing: the 8px gap after the quote mark lives on the mark
     (margin-bottom), so the quote's own top margin is 0. A 12px top margin here
     shifted every wrapped line down ~4px and ghosted the whole mobile quote. */
  margin: 0 0 18px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.7;
  color: rgb(68, 65, 59);
}

.testimonial-carousel__author {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgb(20, 20, 20);
}

.testimonial-carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.testimonial-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  background: rgb(216, 212, 205);
}

.testimonial-carousel__dot.is-active {
  width: 24px;
  background: rgb(20, 20, 20);
}

@media (max-width: 959px) {
  .testimonial-carousel__track {
    grid-template-columns: 1fr;
  }
  .testimonial-carousel__slide {
    min-height: 344px;
  }
}
