.trusted-video {
    padding: 110px 0;
}

.trusted-video .container {
  max-width: 1125px;
}

.trusted-video__header {
  text-align: center;
  margin-bottom: 48px;
}

@media(min-width: 769px) {
.trusted-video__header {
  padding: 0 140px;
  }
}

.tvideo {
  padding: 80px 0;
  max-height: 880px;
  padding: 64px 0;
  margin: 0 auto 48px auto;
  background: url('../images/bg-testimonial.webp') no-repeat center top;
  background-size: 100%;
  border-radius: 30px;
  max-width: 1125px;
  cursor: pointer !important;
}
.tvideo:hover {
  opacity: 0.8;
}

.tvideo__wrap {
  max-width: 1125px;
  margin: 0 auto;
  padding: 20px 56px;
  border-radius: 30px;
}

.tvideo__grid {
  display: grid;
  grid-template-columns: 240px 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.tvideo__left {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.tvideo__watch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.trust-plans__watch-video {
  background: url('../images/icon-play.svg') no-repeat center center;
  background-size: 13%;
}


.tvideo__metric-value {
  font-size: 2.4rem;
  font-weight: 600;
}

.tvideo__metric-text {
  max-width: 220px;
  line-height: 1.4;
}

.tvideo__author {
  margin-top: auto;
}

.tvideo__author-name {
  font-weight: 700;
  font-size: 1.5rem;
}

.tvideo__author-role {
  opacity: 0.85;
}

.tvideo__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.tvideo__rating {
  display: flex;
  gap: 6px;
}

.tvideo__rating span {
  width: 19px;
  height: 19px;
  border-radius: 50%;
}

.tvideo__media {
  display: flex;
  justify-content: flex-end;
}

.tvideo__media img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

@media (max-width: 1024px) {
    .trusted-video {
        padding-top: 90px;
    }
    .tvideo {
        padding-top: 20px;
        margin: 0 24px 48px 24px;
        background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(237, 221, 83, 0) 100%), url('../images/bg-testimonial.webp') no-repeat center top;
        background-size: unset;
        background-position-x: 67%;
    }
    .tvideo__wrap {
        padding: 0 24px;
    }
    .tvideo__metric-text {
        max-width: 180px;
    }
  .tvideo__grid {
    grid-template-columns: 1fr;
  }

  .tvideo__left {
    order: 2;
  }

  .tvideo__content {
    order: 3;
  }

  .tvideo__media {
    order: 1;
  }
}



.rating-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.rating-bar__left {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.rating-bar__logo {
  height: 40px;
  width: auto;
  display: block;
}

.rating-bar__score {
  font-weight: 600;
  font-size: 1.5rem;
}

.rating-bar__stars {
  display: inline-flex;
  gap: 6px;
}

.rating-bar__stars span {
  width: 19px;
  height: 19px;
  background: url('../images/icon-star.svg');
  font-size: 0;
}

.rating-bar__line {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.15;
}
