.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.testimonial_overlay_bg {
  position: absolute;
  width: 56%;
  height: 100%;
  top: 0;
  right: 0;
  object-fit: cover;
  background: #00244c;
}
.testimonial_image_wrapper {
  height: 78px;
  position: relative;
}
.testimonials__bg::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 32, 70, 0.73);
}

.testimonials__wrap {
  position: relative;
  z-index: 2;
}

.testimonials__content {
  color: #ffffff;
}

.testimonials__content h5 {
  color: #f2dbb3;
}

.testimonials__content h2 {
  color: #ffffff;
  margin-bottom: 15px;
}

.testimonials__content h2::after {
  display: none;
}

.testimonials__category {
  padding-left: 0;
}

.testimonial-card {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  background: #125687;
  border-radius: 10px;
  padding: 22px;
  color: #fff;
}

.testimonial-card--link::before,
.testimonial-card--link::after {
  display: none;
}

.testimonial-card__image {
  width: 100%;
  height: 100%;
}

.testimonial-card__description {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 30px 19px;
  z-index: 1;
}

.testimonial-card__description::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 142px;
  left: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0, 16, 34, 0) 0%,
    rgba(0, 16, 34, 0.78) 100%
  );
}

.testimonial-card__description h3 {
  margin: 0;
  padding: 0;
  font-size: 25px;
  line-height: 1.4em;
  color: #ffffff;
  font-weight: 700;
  position: relative;
}

.testimonial-card__description h3 img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  display: none;
}

.testimonial-card__hover {
  display: none;
}

.testimonial-card__description p {
  margin: 0;
  padding: 0 0 12px;
  font-size: 16px;
  line-height: 1.62em;
  color: #ffffff;
  font-weight: 400;
}

.testimonials__category .slick-arrow {
  bottom: auto;
  top: -75px;
}

.testimonials__category .slick-next {
  margin-right: -50px;
}

.testimonials__category .slick-prev {
  margin-left: -50px;
}

.testimonials__content__wrap h2 span::after,
.testimonials__content__wrap h2 span::before {
  display: none;
}
.testimonials__content__wrap h2 span {
  padding-bottom: 0;
}
.testimonial-icon {
  width: 49px;
  height: 49px;
  object-fit: contain;
}
.testimonial_image {
  position: absolute;
  width: 100px;
  height: 100px;
  bottom: 0;
  right: 50px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.testimonials h3,
.testimonials .h3 {
  color: #fff;
}
.testimonials__content {
  padding-bottom: 78px;
}
.testimonial-logo-icon {
  position: absolute;
  right: -30px;
  border: 0;
  z-index: 1;
  bottom: -30px;
  width: 323px;
  height: auto;
  object-fit: contain;
}
.testimonial_content {
  position: relative;
  font-size: 18px;
}
.testimonial_content p {
  font-size: 16px;
}
.quotation {
  position: absolute;
  top: -10px;
  left: -15px;
}
.person_name {
  font-size: 18px;
  text-transform: uppercase;
  padding-top: 10px;
}
.js-testimonial-slider .slick-slide {
  margin-left: 10px;
  margin-right: 10px;
}
@media (min-width: 768px) {
  .testimonials::before {
    height: 90px;
  }

  .testimonial-card {
    width: 100%;
    height: auto;
  }

  .testimonial-card__description::before {
    height: 174px;
  }

  .testimonials__category .slick-arrow {
    bottom: auto;
    top: -75px;
  }

  .testimonials__category .slick-next {
    margin-right: -30px;
  }

  .testimonials__category .slick-prev {
    margin-left: -75px;
  }
  .testimonial-card {
    padding: 66px 82px;
  }
  .quotation {
    top: -32px;
    left: -50px;
  }
  .testimonial_image {
    width: 156px;
    height: 156px;
    bottom: 0;
    right: 68px;
  }
}

@media (min-width: 1200px) {
  .testimonials::before {
    height: 50px;
    bottom: auto;
    top: 0;
  }

  .testimonials__wrap {
    display: flex;
    align-items: center;
  }

  .testimonials__content {
    width: 34%;
    padding-bottom: 0;
  }

  .testimonials__category {
    width: 66%;
  }

  .testimonials__content__wrap {
    max-width: 325px;
    float: right;
    padding-right: 53px;
  }

  .testimonials__content__wrap p {
    font-size: 18px;
    line-height: 1.62em;
    margin-bottom: 20px;
  }

  .testimonials__content h5 {
    padding-bottom: 2px;
  }

  .testimonials__content h2 {
    margin-bottom: 10px;
    line-height: 1.33em;
  }

  .testimonial-card {
    width: 100%;
    height: auto;
  }

  .testimonial-card__description {
    padding: 18px 19px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
  }

  .testimonial-card__description::before {
    height: 226px;
  }

  .testimonials__category .slick-arrow {
    bottom: 75px;
    top: auto;
  }

  .testimonials__category .slick-next {
    right: auto;
    left: 0;
    margin-right: 0px;
    margin-left: -190px;
  }

  .testimonials__category .slick-prev {
    left: 0;
    margin-left: -240px;
  }

  .testimonial-card__description h3 {
    width: 100%;
    height: 63px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .testimonial-card--link:hover {
    border: none;
  }

  .testimonial-card--link:hover::before,
  .testimonial-card--link:hover::after {
    display: none;
  }

  .testimonial-card--link:hover .testimonial-card__hover {
    display: block;
  }

  .testimonial-card--link:hover .testimonial-card__description {
    padding-bottom: 20px;
  }

  .testimonial-card--link:hover .testimonial-card__description h3 {
    padding-bottom: 10px;
    padding-left: 57px;
    height: auto;
  }

  .testimonial-card--link:hover .testimonial-card__description h3 img {
    display: block;
    padding-bottom: 10px;
  }

  .testimonial-card--link:hover .testimonial-card__description::before {
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 16, 34, 0.41) 0%,
      rgba(0, 16, 34, 0.95) 100%
    );
  }

  .testimonial_image {
    width: 180px;
    height: 180px;
    bottom: 0;
    right: 78px;
  }
}
