/* Testimonials Styles */
.testimonials__heading {
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .testimonials__heading {
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .testimonials__heading {
    margin-bottom: 64px;
    justify-content: flex-start;
  }
}

.testimonials__heading h2 {
  margin: 0;
}

.testimonials__heading__controls {
  margin-left: auto;
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
}

.testimonials__heading__controls .testimonials__progress {
  flex: 1;
  position: relative;
  height: 4px;
  background: #dddddd;
  border-radius: 2px;
  max-width: 200px;
}

.testimonials__heading__controls
  .testimonials__progress
  .testimonials__progress__fill {
  display: block;
  background: rgba(100, 100, 100, 0.5);
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .testimonials__heading__controls {
    display: none;
  }

  .testimonials__heading__controls .swiper-pagination {
    display: none;
  }
}

.testimonials__grid {
  display: none;
}

@media (max-width: 768px) {
  .testimonials__grid {
    display: grid;
  }
}

@media (max-width: 768px) {
  .testimonials__swiper .swiper-wrapper {
    display: none;
  }
}

.testimonials__swiper__slide {
  height: 100%;
  margin-right: 24px;
}

.testimonials__card {
  min-height: 40vh !important;
  padding: 24px;
  font-size: 18px !important;
  line-height: 27px !important;
  background: #ffffff;
  box-sizing: border-box;
  color: #646464;
  position: relative;
}

.testimonials__card:before {
  content: "";
  width: 32px;
  height: 32px;
  position: absolute;
  top: 24px;
  right: 24px;
}

@media (max-width: 768px) {
  .testimonials__card:before {
    width: 24px;
    height: 24px;
  }
}

.testimonials__card--google:before {
  background: url("../images/rating-google.svg") no-repeat center / 100% auto;
}

.testimonials__card--yell:before {
  background: url("../images/rating-yell.svg") no-repeat center / 100% auto;
}

.testimonials__card__heading {
  margin-bottom: 24px;
  padding-right: 48px;
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .testimonials__card__heading {
    padding-right: 32px;
    gap: 12px;
  }
}

.testimonials__card__heading figure {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
}

.testimonials__card__heading figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23px;
}

.testimonials__card__heading div p {
  margin: 0;
}

.testimonials__card__heading div p strong {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .testimonials__card__heading div p strong {
    font-size: 16px;
  }
}

.testimonials__card__rating {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .testimonials__card__rating {
    margin-bottom: 24px;
  }
}

.testimonials__card__text p {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .testimonials__card__text p {
    font-size: 16px;
    line-height: 1.3;
  }
}

.testimonials__rating-widget {
  margin-top: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonials__rating-widget .wp-gr {
  max-width: 224px !important;
  width: auto !important;
  padding-bottom: 0 !important;
}
