.tdh-reviews {
  color: #252525;
}

.tdh-reviews__summary {
  align-items: center;
  background: #f7f1ea;
  border: 1px solid #eadfd3;
  border-radius: 1rem;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.tdh-reviews__eyebrow,
.tdh-reviews__count,
.tdh-review__author {
  margin: 0;
}

.tdh-reviews__eyebrow {
  color: #6f5d4f;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tdh-reviews__score {
  color: #7b3f2c;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: .35rem 0 0;
}

.tdh-reviews__score small {
  font-size: 1rem;
}

.tdh-reviews__list {
  display: grid;
  gap: 1rem;
}

.tdh-review {
  background: #fff;
  border: 1px solid #e8e2dc;
  border-radius: .75rem;
  box-shadow: 0 .25rem 1rem rgba(40, 25, 15, .05);
  padding: 1.25rem;
}

.tdh-review__header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.tdh-review__header h2 {
  font-size: 1.125rem;
  margin: 0 0 .25rem;
}

.tdh-review__author {
  color: #6b6b6b;
  font-size: .875rem;
}

.tdh-review__rating {
  background: #7b3f2c;
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  margin: 0;
  padding: .45rem .7rem;
}

.tdh-review__body {
  line-height: 1.65;
  margin-top: 1rem;
}

.tdh-review__answer {
  background: #f6f6f6;
  border-left: .25rem solid #7b3f2c;
  margin-top: 1rem;
  padding: .8rem 1rem;
}

.tdh-review__answer p {
  margin: .35rem 0 0;
}

.tdh-reviews__pagination {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 575px) {
  .tdh-reviews__summary,
  .tdh-review__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tdh-reviews__summary {
    gap: 1rem;
  }
}
