/* Reviews page. Heading and body use locally served Outfit. */

.page-reviews {
  color: #000;
  background: #fff;
}

.review-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(1400px, 88vw);
  margin: 0 auto;
  padding: 40px 0 56px;
}

.review-photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.review-quote {
  margin: 0;
  width: min(640px, 100%);
  text-align: left;
}

.review-quote blockquote {
  margin: 0;
  font-size: min(21.4px, calc(16px + 0.6vh));
  font-weight: 300;
  line-height: 1.8;
}

.review-quote figcaption {
  margin-top: 16px;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 28.8px;
}

@media screen and (orientation: landscape) {
  .review-quote blockquote {
    font-size: min(24.4px, calc(16px + 0.6vw));
  }
}

@media screen and (min-width: 768px) {
  .review-block {
    width: min(1400px, 94vw);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: 699px;
    padding: 48px 0;
  }

  .review-block:first-child {
    min-height: 824px;
  }

  .review-block:nth-child(2) {
    flex-direction: row-reverse;
    min-height: 739px;
  }

  .review-photo,
  .review-quote {
    flex: 0 0 calc(45.833333% - 5.958333px);
    width: auto;
  }

  .review-quote blockquote {
    font-size: min(24.4px, calc(16px + 0.6vw));
  }
}
