.tm-sc-testimonials .star-rating {
  float: right;
  overflow: hidden;
  position: relative;
  height: 1.1em;
  line-height: 1.2;
  font-size: 0.9em;
  width: 5.6em;
}
.tm-sc-testimonials .star-rating::before {
  content: "\f005\f005\f005\f005\f005";
  color: #d3ced2;
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}
.tm-sc-testimonials .star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}
.tm-sc-testimonials .star-rating span::before {
  content: "\f005\f005\f005\f005\f005";
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  color: #f1c40f;
  top: 0;
  position: absolute;
  left: 0;
}
.tm-sc-testimonials .star-rating {
  float: none;
  margin-top: 5px;
  margin-bottom: 20px;
  overflow: visible;
}
.tm-sc-testimonials .star-rating span:before {
  color: var(--theme-color2);
}
.tm-sc-testimonials .author-text,
.tm-sc-testimonials .name,
.tm-sc-testimonials .job-position {
  transition: all 0.3s ease-in-out;
}
.tm-sc-testimonials .star-rating span:before {
  transition: all 0.3s ease-in-out;
}

.testimonial-block-style1 .inner-block {
  background-color: #EFF3F2;
  border-radius: 20px;
  padding: 45px 60px 45px 60px;
}
@media (max-width: 991.98px) {
  .testimonial-block-style1 .inner-block {
    padding: 30px 20px 30px;
  }
}
.testimonial-block-style1 .quote-icon {
  margin-bottom: 34px;
}
.testimonial-block-style1 .testimonial-title {
  margin-top: 0;
}
.testimonial-block-style1 .author-text {
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
}
.testimonial-block-style1 .author-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
}
@media (max-width: 575.98px) {
  .testimonial-block-style1 .author-info {
    flex-direction: column-reverse;
    align-items: normal;
    gap: 20px;
  }
}
.testimonial-block-style1 .author-info .info-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-block-style1 .author-info .info-box .client-img img {
  width: 52px;
  height: 52px;
  border-radius: 50px;
}
.testimonial-block-style1 .author-info .info-box .info .testimonial-name {
  margin-bottom: 7px;
  line-height: 1.2;
  margin-top: 0;
}
.testimonial-block-style1 .author-info .info-box .info .testimonial-position {
  margin-bottom: 0;
  line-height: 1;
}
.testimonial-block-style1 .rating {
  align-items: center;
  display: flex;
  gap: 5px;
}
.testimonial-block-style1 .rating .star-rating {
  margin: 0;
  color: var(--theme-color1);
  font-size: 20px;
  margin-top: 20px;
  width: calc(5.6em + 20px);
}
.testimonial-block-style1 .rating .star-rating::before {
  color: rgba(var(--theme-color1-rgb), 0.5);
  font-weight: 400;
  letter-spacing: 5px;
}
.testimonial-block-style1 .rating .star-rating span::before {
  color: var(--theme-color1);
  font-weight: 600;
  letter-spacing: 5px;
}