/*----------------------- TESTIMONIAL ------------------------*/

/*--- CONTAINER FOR THE TESTIMONIAL SLIDER ---*/
.testimonial-container {
  width: 100%;
  overflow: hidden;
}

/*--- TESTIMONIAL SLIDER CONTAINING THE TESTIMONIAL SLIDES ---*/
.testimonial-wrapper {
  --num-slides: 0;
  width: calc((100% / 3) * var(--num-slides));
  display: flex;
}

@media only screen and (max-width: 56.25em) {
  .testimonial-wrapper {
    width: calc((100% / 2) * var(--num-slides));
  }
}

@media only screen and (max-width: 27.5em) {
  .testimonial-wrapper {
    width: calc(100% * var(--num-slides));
  }
}

/*--- TESTIMONIAL WRAPPER BOX ---*/
.testimonial-box {
  width: calc(100% / var(--num-slides));
  padding: 0 1.5rem;
}

/*--- TESTIMONIAL CARD ---*/
.testimonial {
  height: 100%;
  background-color: var(--background-grey-light);
  border-radius: 5px;
  padding: 8rem 5rem 5rem;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*--- CONTENT WITHIN EACH TESTIMONIAL CARD ---*/
.testimonial__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.testimonial__content > .paragraph {
  flex: 1;
  text-align: center;
  font-weight: 300;
}

.testimonial__content > .hline-separator {
  width: 30%;
}

.testimonial__label {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
  color: var(--color-text);
}

/*----------------------- TESTIMONIAL ------------------------*/
