.reviews {
  width: 100%;
  max-width: 1276px;
}
.reviews__header {
  font-weight: 700;
  font-size: 22px;
}
@media only screen and (min-width: 768px) {
  .reviews__header {
    font-size: 33px;
  }
}
.reviews__body {
  margin-top: 16px;
}
@media only screen and (min-width: 768px) {
  .reviews__body {
    margin-top: 32px;
  }
}
.reviews__p {
  font-weight: 500;
  color: var(--dark);
  line-height: 150%;
  font-size: 14px;
}
@media only screen and (min-width: 768px) {
  .reviews__p {
    font-size: 16px;
  }
}
.reviews__item + .reviews__item {
  margin-top: 16px;
}
@media only screen and (min-width: 768px) {
  .reviews__item + .reviews__item {
    margin-top: 32px;
  }
}

.item-review {
  padding: 12px;
  border: 1px solid var(--light);
  border-radius: 8px;
}
@media only screen and (min-width: 768px) {
  .item-review {
    padding: 20px;
  }
}
@media only screen and (min-width: 1400px) {
  .item-review {
    padding: 24px;
  }
}
.item-review__not-active {
  background-color: var(--green);
}
.item-review__header {
  display: flex;
}
.item-review__user {
  font-size: 14px;
}
@media only screen and (min-width: 768px) {
  .item-review__user {
    font-size: 15px;
  }
}
.item-review__name {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 17px;
  color: var(--violet);
}
@media only screen and (min-width: 768px) {
  .item-review__name {
    font-size: 19px;
  }
}
.item-review__note {
  margin-left: 20px;
  color: var(--red);
}
.item-review__actions > * {
  margin-left: 1em;
  color: var(--primary);
}
.item-review__rating {
  margin-top: 12px;
}
.item-review__rating > * {
  display: inline-block;
  vertical-align: middle;
}
.item-review__rating > span {
  margin-left: 1em;
  font-size: 14px;
}
@media only screen and (min-width: 768px) {
  .item-review__rating > span {
    font-size: 16px;
  }
}
.item-review__grade > * {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}
@media only screen and (min-width: 768px) {
  .item-review__grade > * {
    width: 20px;
    height: 20px;
  }
}
.item-review__row {
  margin-top: 12px;
}
.item-review__answer {
  margin: 1rem 0 0 5%;
}
.item-review__img {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.item-review__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.review-image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.review-row {
  display: flex;
}
@media only screen and (max-width: 767px) {
  .review-row {
    flex-direction: column;
  }
}
.review-row__title {
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
}
@media only screen and (min-width: 768px) {
  .review-row__title {
    flex: 0 0 120px;
    font-size: 16px;
  }
}
.review-row__text {
  font-size: 14px;
  line-height: 150%;
}
@media only screen and (min-width: 768px) {
  .review-row__text {
    font-size: 16px;
    margin-left: 16px;
  }
}

.answer {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 0px 4px;
  border-radius: 4px;
  overflow: hidden;
  padding: 1rem;
  font-size: 14px;
}
@media only screen and (min-width: 768px) {
  .answer {
    font-size: 16px;
  }
}
.answer__title {
  font-weight: bold;
  color: var(--secondary);
}
.answer__text {
  margin-top: 12px;
}