.review-card {
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.1);
  padding: 20px 20px 20px 30px;
  margin: 10px 0;
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-card__rate-average {
  background-color: #f9f9f9;
  border-radius: 15px;
  padding: 8px 15px;
  width: 140px;
  background-image: url("../images/logo/yandex.svg");
  background-repeat: no-repeat;
  background-position: 62px 14px;
  background-size: 58px;
  display: flex;
  align-items: center;
  background-position-y: center;
  background-position-x: calc(100% - 20px);
}

.review-card__rate-average-value {
  font-size: 20px;
  font-weight: bold;
}

.review-card__rate-count {
  color: #666;
  margin-bottom: 6px;
}

.review-card__heading {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  margin-top: 12px;
  padding-right: 15px;
}

.review-card__body-top {
  margin-bottom: 15px;
}

.review-card__rate-author {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

.review-card__rate-info {
  display: flex;
  margin-bottom: 10px;
  gap: 10px;
}

.review-card__rate-date {
  color: #ccc;
  margin-top: 3px;
}

.review-card__body-text {
  margin-top: 30px;
  font-size: 14x;
}

.review-card__body-text {
  font-size: 18px;
  min-height: 80px;
  word-break: break-word;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .review-card__header {
    flex-direction: column;
  }

  .review-card__heading {
    margin-bottom: 20px;
  }
}

.auto-rate {
  display: flex;
  gap: 3px;
}

.auto-rate .star {
  width: 20px;
  height: 20px;
  background-color: #ffc624;
  mask-image: url(/themes/aero_subtheme_bootstrap/images/icons/star.svg);
  -webkit-mask-image: url(/themes/aero_subtheme_bootstrap/images/icons/star.svg);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
}
