.reviews {
  padding-block: 80px;
  color: var(--color-dark);
  background: var(--color-cream);
}

.reviews__layout {
  display: grid;
  grid-template-columns: 699px 348px;
  gap: 1px;
  width: 1048px;
  margin-inline: auto;
}

.reviews__content {
  min-width: 0;
}

.reviews__eyebrow,
.reviews__title,
.reviews__intro,
.review-card__stars,
.review-card__quote,
.review-card__author p,
.reviews__featured-stars,
.reviews__featured blockquote,
.reviews__featured-author {
  margin: 0;
}

.reviews__eyebrow {
  color: var(--color-red);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.reviews__title {
  margin-top: 21px;
  font-size: 50px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 50px;
}

.reviews__intro {
  margin-top: 20px;
  color: #818181;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.reviews__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 39px;
  background: rgba(185, 14, 43, 0.16);
}

.review-card {
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px 24px;
  background: #fff;
}

.review-card__stars,
.reviews__featured-stars {
  color: var(--color-red);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 20px;
}

.review-card__quote {
  margin-top: 17px;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 13px;
}

.review-card__avatar {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--color-cream);
  background: var(--color-red);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.review-card__author p,
.reviews__featured-author {
  display: grid;
  gap: 3px;
}

.review-card__author strong,
.reviews__featured-author strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.review-card__author span,
.reviews__featured-author span {
  color: #818181;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

.reviews__visual {
  position: relative;
  min-width: 0;
  min-height: 525px;
  overflow: hidden;
  background: #202020;
}

.reviews__visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.reviews__featured {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 24px;
  color: var(--color-cream);
  background: rgba(185, 14, 43, 0.92);
}

.reviews__featured-stars {
  color: var(--color-cream);
}

.reviews__featured blockquote {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.reviews__featured-author {
  margin-top: 24px;
}

.reviews__featured-author span {
  color: rgba(252, 247, 232, 0.72);
}

@media (max-width: 1100px) {
  .reviews {
    padding-block: 64px;
  }

  .reviews__layout {
    grid-template-columns: minmax(0, 66.7%) minmax(0, 33.3%);
    width: min(1048px, calc(100% - 32px));
  }

  .reviews__title {
    font-size: clamp(42px, 4.6vw, 50px);
    line-height: 1;
  }

  .review-card {
    padding-inline: clamp(18px, 2.2vw, 24px);
  }

  .review-card__quote,
  .reviews__featured blockquote {
    font-size: clamp(16px, 1.8vw, 18px);
  }
}

@media (max-width: 820px) {
  .reviews__layout {
    grid-template-columns: 1fr;
  }

  .reviews__visual {
    min-height: 600px;
  }
}

@media (max-width: 560px) {
  .reviews {
    padding-block: 48px;
  }

  .reviews__title {
    margin-top: 14px;
    font-size: 40px;
  }

  .reviews__title br {
    display: none;
  }

  .reviews__intro {
    font-size: 18px;
    line-height: 25px;
  }

  .reviews__cards {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .review-card {
    min-height: 270px;
    padding: 24px;
  }

  .reviews__visual {
    min-height: 520px;
  }

  .reviews__featured {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
}
