.testimonial-slider {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
}
.testimonial-slider .testimonial-content {
  background: #FFEAD0;
  padding: 0 87px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  background-image: url(/wp-content/uploads/2025/10/testimonial-bg-icon.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: initial;
}
@media (max-width: 1200px) and (min-width: 992px) {
  .testimonial-slider .testimonial-content {
    padding: 0 40px;
  }
}
@media (max-width: 991px) and (min-width: 769px) {
  .testimonial-slider .testimonial-content {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .testimonial-slider .testimonial-content {
    padding: 0 20px;
  }
}
.testimonial-slider .testimonial-content .testimonial-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  padding: 48px 0;
}
.testimonial-slider .testimonial-content .testimonial-text .author-info-block {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.testimonial-slider .testimonial-content .testimonial-text .author-info-block .author-name {
  padding-right: 20px;
  border-right: 0.5px solid rgba(255, 128, 108, 0.5098039216);
}
.testimonial-slider .testimonial-content .testimonial-text .author-info-block .author-name h4.author {
  color: #D12626;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
  padding: 0;
}
.testimonial-slider .testimonial-content .testimonial-text .author-info-block .author-name p.designation {
  color: #D12626;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
  padding: 0;
}
.testimonial-slider .testimonial-content .testimonial-text .author-info-block .author-company {
  padding-left: 20px;
}
.testimonial-slider .testimonial-content .testimonial-text p.quote {
  color: #D12626;
  font-family: Palanquin;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 47px;
  max-width: 553px;
}
@media (max-width: 991px) and (min-width: 769px) {
  .testimonial-slider .testimonial-content .testimonial-text p.quote {
    font-size: 20px;
    line-height: 34px;
  }
}
@media (max-width: 768px) {
  .testimonial-slider .testimonial-content .testimonial-text {
    align-items: center;
    gap: 30px;
  }
  .testimonial-slider .testimonial-content .testimonial-text p.quote {
    font-size: 24px;
    line-height: 38px;
    max-width: 100%;
  }
}
.testimonial-slider .testimonial-content .testimonial-image {
  display: flex;
}
.testimonial-slider .testimonial-content .testimonial-image img {
  border-radius: 8px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  .testimonial-slider .testimonial-content .testimonial-image {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .testimonial-slider .testimonial-content .testimonial-image img {
    width: 180px;
  }
}
.testimonial-slider .custom-pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.testimonial-slider .custom-pagination .pag-item {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.5;
  color: #D12626;
}
.testimonial-slider .custom-pagination .pag-item.active {
  opacity: 1;
  position: relative;
  width: 130px;
}
.testimonial-slider .custom-pagination .pag-item.active:after {
  content: "";
  position: absolute;
  width: 102px;
  height: 2px;
  background: #D12626;
  top: 50%;
  left: 20%;
}
@media (max-width: 768px) {
  .testimonial-slider .testimonial-content {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-slider .testimonial-content .testimonial-image img {
    width: 180px;
    margin-top: 20px;
  }
}
.testimonial-slider.style_2 .testimonial-content {
  background: #FFEAD0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: 3fr 4fr;
}
.testimonial-slider.style_2 .testimonial-content .testimonial-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 48px 80px;
  background-color: #0044B5;
  justify-content: center;
  border-radius: 0px 24px 24px 0px;
  background-image: url(/wp-content/uploads/2025/10/testimonial-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.testimonial-slider.style_2 .testimonial-content .testimonial-text h4.author,
.testimonial-slider.style_2 .testimonial-content .testimonial-text p.designation {
  color: #ffffff !important;
  font-family: "Palanquin" !important;
}
.testimonial-slider.style_2 .testimonial-content .testimonial-text .author-name {
  padding-right: 20px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.51);
}
@media screen and (max-width: 767px) {
  .testimonial-slider.style_2 .testimonial-content .testimonial-text .author-name {
    text-align: left;
  }
}
.testimonial-slider.style_2 .testimonial-content .testimonial-text p.quote {
  color: #ffffff;
  font-family: "Palanquin";
  font-size: 30px;
  line-height: 38px;
}
@media screen and (max-width: 767px) {
  .testimonial-slider.style_2 .testimonial-content .testimonial-text p.quote {
    font-size: 24px;
    line-height: 38px;
    text-align: left;
  }
}
@media screen and (max-width: 574px) {
  .testimonial-slider.style_2 .testimonial-content .testimonial-text p.quote {
    font-size: 18px;
    line-height: 28px;
    text-align: left;
  }
}
@media screen and (max-width: 991px) {
  .testimonial-slider.style_2 .testimonial-content .testimonial-text {
    border-radius: 24px;
  }
}
@media screen and (max-width: 767px) {
  .testimonial-slider.style_2 .testimonial-content .testimonial-text {
    padding: 20px;
  }
}
@media screen and (max-width: 991px) {
  .testimonial-slider.style_2 .testimonial-content {
    grid-template-columns: 0fr 1fr;
  }
}
.testimonial-slider.style_2 .testimonial-content .testimonial-image {
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  width: auto;
  height: 575px;
  border-radius: 24px 0px 0px 24px;
}
.testimonial-slider.style_2 .pag-item {
  color: #0044B5;
}
.testimonial-slider.style_2 .pag-item.active:after {
  background: #0044B5;
}
