.testimonials-filters {
  display: flex;
  gap: 16px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.testimonials-wrapper {
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonials-wrapper .testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.testimonials-wrapper .testimonials .testimonials-card-wrapper1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.testimonials-wrapper
  .testimonials
  .testimonials-card-wrapper1
  > a.testimonial-card {
  min-height: 619px;
}

a.testimonial-card.no-test-content {
  min-height: 619px;
  object-fit: cover;
}

.testimonials-wrapper .testimonials .testimonial-card {
  position: relative;
  height: 100%;
}

.testimonials-wrapper .testimonials .testimonial-card .thumbnail img,
.testimonials-wrapper .testimonials .testimonial-card .thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-wrapper .testimonials .testimonial-card .card-detail {
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.testimonials-wrapper .testimonials .testimonial-card .thumbnail {
  height: 100%;
}

.testimonials-wrapper .testimonials .testimonial-card .tc-title h5 {
  font-size: 20px;
  font-style: normal;
  font-weight: 350;
  color: #000;
  text-align: center;
  padding: 8px 16px;
  border-radius: 2px;
  background: #fff;
  margin: 0;
  max-width: fit-content;
}
.testimonials-wrapper .testimonial-card-outer {
  display: flex;
  gap: 16px;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials-wrapper .testimonial-card-outer .testimonial-card {
  height: 50%;
}

.testimonials-wrapper .testimonial-card-outer .testimonial-card .thumbnail img,
.testimonials-wrapper .testimonial-card-outer .testimonial-card .thumbnail {
  max-height: 100%;
}

.testimonials-wrapper .testimonial-card-outer .tc-description {
  border-radius: 2px;
  background: #fff;
  padding: 30px 16px;
}

.testimonials-wrapper .testimonial-card-outer .tc-description p {
  color: #2c2801;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  margin-bottom: 24px;
}

.testimonials-wrapper .testimonial-card-outer .tc-description span {
  color: #000;
  font-size: 20px;
  font-weight: 350;
  line-height: normal;
}

.custom-testimonials-container .load-more-wrapper {
  display: flex;
  justify-content: center;
}

.custom-testimonials-container .no-posts {
  display: none;
  color: red;
}

.save-icon svg:hover {
  transform: scale(1.1);
}

@media (min-width: 1301px) {
  .testimonials-wrapper .testimonials .testimonial-card .thumbnail img,
  .testimonials-wrapper.testimonials .testimonial-card .thumbnail,
  .testimonials-wrapper .testimonials .testimonial-card,
  .testimonials-wrapper .testimonial-card-outer {
    max-height: 619px;
  }
}
@media (max-width: 1300px) {
  .testimonials-wrapper .testimonials .testimonial-card .thumbnail img,
  .testimonials-wrapper .testimonials .testimonial-card .thumbnail,
  .testimonials-wrapper .testimonials .testimonial-card,
  .testimonials-wrapper .testimonial-card-outer {
    max-height: 100%;
    height: 100%;
    display: block;
  }
}

@media (max-width: 991px) {
  .testimonials-wrapper .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .testimonials-wrapper .testimonials .testimonials-card-wrapper1 {
    grid-template-columns: 1fr;
  }
  .testimonials-wrapper .testimonials .testimonial-card .thumbnail img,
  .testimonials-wrapper .testimonials .testimonial-card .thumbnail {
    width: 100%;
    height: 360px !important;
    object-fit: cover;
    /*     object-position: top; */
  }
  .testimonials-wrapper
    .testimonials
    .testimonials-card-wrapper1
    > a.testimonial-card {
    min-height: unset;
  }

  a.testimonial-card.no-test-content {
    min-height: unset;
    object-fit: cover;
  }
}
