.rhrd-review-panel {
  --rhrd-ink: var(--rh-ink, #2b211b);
  --rhrd-muted: var(--rh-muted, #716a61);
  --rhrd-paper: var(--rh-paper, #fffaf2);
  --rhrd-clay: var(--rh-clay, #bd6948);
  --rhrd-sage: var(--rh-sage, #607064);
  --rhrd-line: var(--rh-line, rgba(43, 33, 27, .14));
  color: var(--rhrd-ink);
}

.rhrd-review-panel__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.rhrd-review-panel__title::before {
  content: "★";
  color: #e8a91a;
  font-family: sans-serif;
  font-size: .7em;
}

.rhrd-review-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 140px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--rhrd-line);
  border-radius: 22px;
  background: rgba(255, 250, 242, .7);
}

.rhrd-review-empty__icon {
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: var(--rhrd-sage);
  font-size: 1.3rem;
  font-weight: 800;
}

.rhrd-review-empty strong {
  display: block;
  margin-bottom: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.rhrd-review-empty p { margin: 0; color: var(--rhrd-muted); }

.rhrd-review-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--rhrd-clay);
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease;
}

.rhrd-review-action:hover {
  color: #fff;
  background: #91482f;
  transform: translateY(-2px);
}

.rhrd-review-overview {
  display: grid;
  grid-template-columns: minmax(170px, .62fr) minmax(280px, 1.4fr) minmax(250px, .9fr);
  gap: 18px;
}

.rhrd-score-card,
.rhrd-breakdown,
.rhrd-source-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--rhrd-line);
  border-radius: 22px;
  background: rgba(255, 250, 242, .7);
}

.rhrd-score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rhrd-score-card__number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 1;
}

.rhrd-score-card__count,
.rhrd-source-card p {
  color: var(--rhrd-muted);
}

.rhrd-stars {
  position: relative;
  display: inline-block;
  margin: 10px 0 7px;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 3px;
  white-space: nowrap;
}

.rhrd-stars__base { color: #ddd2c4; }
.rhrd-stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #e8a91a;
}

.rhrd-breakdown {
  display: grid;
  align-content: center;
  gap: 13px;
}

.rhrd-breakdown__row {
  display: grid;
  grid-template-columns: 42px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-weight: 650;
}

.rhrd-breakdown__row > :last-child {
  color: var(--rhrd-muted);
  text-align: right;
}

.rhrd-breakdown__row span[aria-hidden="true"] { color: #e8a91a; }
.rhrd-breakdown__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ddd2;
}
.rhrd-breakdown__track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e8a91a, #f0bd42);
}

.rhrd-source-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.rhrd-source-card__eyebrow {
  margin-bottom: 8px;
  color: var(--rhrd-clay);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rhrd-source-card > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.15;
}
.rhrd-source-card__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}
.rhrd-source-card__rating > span:first-child {
  font-size: 1.45rem;
  font-weight: 800;
}
.rhrd-source-card__rating small { color: var(--rhrd-muted); font-weight: 500; }
.rhrd-source-card__rating .rhrd-stars { margin: 0; font-size: .9rem; }
.rhrd-source-card p { margin: 7px 0 0; }
.rhrd-source-card__updated { font-size: .84rem; }
.rhrd-source-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--rhrd-clay);
  font-weight: 750;
}

@media (max-width: 980px) {
  .rhrd-review-overview { grid-template-columns: .75fr 1.25fr; }
  .rhrd-source-card { grid-column: 1 / -1; }
  .rhrd-source-card__link { margin-top: 4px; }
}

@media (max-width: 620px) {
  .rhrd-review-panel__title { margin-bottom: 18px; }
  .rhrd-review-overview { grid-template-columns: 1fr; }
  .rhrd-source-card { grid-column: auto; }
  .rhrd-score-card,
  .rhrd-breakdown,
  .rhrd-source-card { padding: 20px; border-radius: 18px; }
  .rhrd-breakdown__row { grid-template-columns: 38px 1fr 36px; gap: 9px; }
  .rhrd-review-empty { align-items: flex-start; padding: 20px; border-radius: 18px; }
}
