.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 {
  position: relative;
  overflow: hidden;
}
.testimonial-block-style1 .inner-block .rating {
  color: var(--theme-color3);
  font-size: 22px;
  line-height: 1;
  margin-bottom: 23px;
  text-align: center;
}
.testimonial-block-style1 .inner-block .rating .star-rating {
  margin-top: 0;
  margin-bottom: 0;
}
.testimonial-block-style1 .inner-block .rating .star-rating::before {
  color: var(--theme-color3);
}
.testimonial-block-style1 .inner-block .rating .star-rating span::before {
  color: var(--theme-color3);
  font-weight: 600;
}
.testimonial-block-style1 .inner-block .author-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  margin: 0 auto 45px;
}
.testimonial-block-style1 .inner-block .bottom-box .author-info {
  display: inline-flex;
  gap: 15px;
  align-items: center;
}
.testimonial-block-style1 .inner-block .bottom-box .author-info .image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-block-style1 .inner-block .bottom-box .author-info .image img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-block-style1 .inner-block .bottom-box .author-info .testimonial-name {
  font-family: var(--body-font-family);
  margin-bottom: 0;
  margin-top: 0;
}