.testimonials-wrapper {
  padding-block: 60px;
  display: block;
}

.testimonials-slider {
  margin-block-start: 30px;
}

.testimonials-slider .splide__list {
  /* gap: 20px; */
  padding: 30px 0;
  margin-block: -30px;
  /* overflow-x: scroll; */
}

.testimonials-slider__slide__image {
  width: 80px;
  height: 80px;
  margin-block-end: 16px;
}

.testimonials-slider__slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-slider__slide__image svg {
  background-color: rgb(var(--color-image-background));
}

.testimonials-slider__slide__image-rounded {
  border-radius: 50%;
  overflow: hidden;
}

.testimonials-slider__slide__image-rounded-rect {
  border-radius: 6px;
  overflow: hidden;
}

.testimonials-slider__slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 48px 32px;
  /* min-width: calc(calc(100% / 3) - 20px); */
  border: 1px solid var(--general-entry-line, #eaecec);
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-slider__slide::marker {
  content: none;
}

.testimonials-slider__slide:hover {
  box-shadow: 0 10px 30px rgba(var(--color-text), 0.08);
}

.testimonials-slider__slide__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-block-end: 16px;
}

.testimonials-slider__slide__description {
  color: rgb(var(--color-text));
  margin-block-end: 30px;
}

.testimonials-slider__slide__author {
  color: rgba(var(--color-text), 0.6);
}

.testimonials-pagination {
  margin-block-start: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.testimonials-pagination button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(var(--color-text));
}

.testimonials-pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.testimonials-pagination button[name="previous"] {
  transform: rotate(90deg);
}

.testimonials-pagination button[name="next"] {
  transform: rotate(-90deg);
}

.testimonials-pagination-label {
  display: flex;
  align-items: center;
  line-height: 100%;
}

.testimonials-text__small > div {
  font-size: 0.9em;
}

.testimonials-text__medium > div {
  font-size: 1em;
}

.testimonials-text__large > div {
  font-size: 1.1em;
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */
