
/****************************************
* Testimonial slider
****************************************/

.testimonials {
  position: relative;
  border: 1px solid #efefef;
  background: #ffffff url('/images/layout/testimonial_bg.jpg');
  padding: 4rem 2rem 3rem 2rem;
}

.testimonials .slip-n-slide {
  margin: 0 auto;
  border: 1px solid #efefef;
  border-top: 10px solid #CB1518;
  background-color: #ffffff;
  max-width: 1140px;
  height: 500px;
}

.testimonials .slip-n-slide > .slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem 3rem 2rem;
}

.testimonials .quote {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #CB1518;
  width: 80px;
  height: 80px;
}

.testimonials .quote svg {
  width: 40px;
  height: 40px;
  fill: #ffffff;
}

.testimonials p {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  font-weight: 300;
}

.testimonials p + p {
  margin-top: .5rem;
}

.testimonials .slip-n-slide.pagination .control {
  background-color: rgba(203, 21, 24, .2);
  width: 10px;
  height: 10px;
}

.testimonials .slip-n-slide.pagination .control.on {
  background-color: #CB1518;
}

@media(min-width: 1140px) {
  .testimonials .slip-n-slide {
    height: 500px;
  }
}

@media(min-width: 1400px) {
  .testimonials p {
    font-size: 24px;
  }
}

/****************************************
* Reviews
****************************************/

.reviews {
  margin: 0 auto;
  border: 1px solid #efefef;
  border-top: none;
  max-width: 1140px;
  background-color: #fff;
}

.reviews svg {
  width: 30px;
  height: 30px;
  fill: #000;
}

.reviews .review {
  width: 100%;
}

.reviews .review + .review {
  border-top: 1px solid #efefef;
}

.reviews .review > div {
  width: fit-content;
  margin: auto;
  padding: 1rem;
  gap: 1rem;
}

.reviews p {
  font-size: 20px;
  line-height: 1em;
  letter-spacing: 3px;
}

.reviews .stars {
  -webkit-background-clip: text;
  color: transparent;
}

@media(min-width: 576px) {
  .reviews .review:nth-of-type(-n + 2) {
    border-top: none;
  }

  .reviews .review:nth-of-type(odd) {
    border-right: 1px solid #efefef;
  }
}

@media(min-width: 1140px) {
  .reviews .review {
    border-top: none !important;
  }

  .reviews .review:not(:last-child) {
    border-right: 1px solid #efefef !important;
  }
}