.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-style2 .inner-box {
  display: flex;
  position: relative;
}
@media (max-width: 991.98px) {
  .testimonial-block-style2 .inner-box {
    display: block;
  }
}
.testimonial-block-style2 .inner-box .image-box {
  overflow: hidden;
  position: relative;
  top: -55px;
  z-index: 1;
}
@media (max-width: 1199.98px) {
  .testimonial-block-style2 .inner-box .image-box {
    top: 0px;
  }
}
.testimonial-block-style2 .inner-box .image-box img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: all 300ms ease;
}
.testimonial-block-style2 .inner-box .content-box {
  background-image: url(../../../images/current-theme/testimonial-bg-edwin-1.jpg);
  background-size: cover;
  padding: 80px 80px 90px 240px;
  position: relative;
  width: 100%;
  z-index: 0;
  margin-left: -180px;
}
@media (max-width: 1199.98px) {
  .testimonial-block-style2 .inner-box .content-box {
    padding: 60px;
    margin-left: 0;
  }
}
@media (max-width: 991.98px) {
  .testimonial-block-style2 .inner-box .content-box {
    padding: 50px;
  }
}
@media (max-width: 575.98px) {
  .testimonial-block-style2 .inner-box .content-box {
    padding: 40px;
  }
}
.testimonial-block-style2 .inner-box .content-box .author-text {
  color: rgba(4, 6, 24, 0.7);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 36px;
}
.testimonial-block-style2 .inner-box .content-box .author-info {
  align-items: center;
  display: flex;
  gap: 20px;
  margin-top: 70px;
}
@media (max-width: 991.98px) {
  .testimonial-block-style2 .inner-box .content-box .author-info {
    margin-top: 40px;
  }
}
.testimonial-block-style2 .inner-box .content-box .author-info .author-img {
  overflow: hidden;
  position: relative;
  border-radius: 50%;
}
.testimonial-block-style2 .inner-box .content-box .author-info .author-img img {
  height: 70px;
  object-fit: cover;
  width: 70px;
  transition: all 300ms ease;
}
.testimonial-block-style2 .inner-box .content-box .testimonial-position {
  color: rgba(4, 6, 24, 0.7);
  margin-bottom: 0;
  font-size: 16px;
}
.testimonial-block-style2 .inner-box .content-box .testimonial-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}
.testimonial-block-style2 .inner-box:hover .image-box img {
  transform: scale(1.1);
}