.reviews {
  --review-ink: #261835;
  --review-accent: #4b0082;
  --review-muted: #5d4e66;
  --review-line: #e2d6e8;
  color: var(--review-ink);
  background: #fff9f0;
  border-top: 1px solid #f1e6d5;
  padding: 48px 0 44px;
  scroll-margin-top: 12px;
}
.reviews-inner { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.reviews-heading { margin: 0 0 21px; }
.reviews-source {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 9px;
  padding: 5px 9px; border-radius: 50px; background: #e9f5fb; color: #185574;
  font-size: 10px; font-weight: 800; letter-spacing: .09em;
}
.reviews-source i { font-size: 14px; }
.reviews-heading h2 {
  margin: 0; color: var(--review-accent); font-size: clamp(27px,4vw,43px);
  font-weight: 800; line-height: 1.08; letter-spacing: -.04em; text-transform: none;
}
.reviews-heading h2 em { color: #74459c; font-family: Georgia, serif; font-weight: 600; }
.reviews-heading > p:last-child { margin: 7px 0 0; color: var(--review-muted); font-size: 13px; }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.review-card {
  display: flex; flex-direction: column; min-width: 0; padding: 14px 15px;
  background: #fffdfa; border: 1px solid var(--review-line); border-radius: 17px;
}
.review-kicker {
  margin: 0 0 4px; color: #6c4b82; font-size: 10px; font-weight: 800; letter-spacing: .09em;
}
.review-card h3, .review-dialog h3 {
  margin: 0; color: var(--review-accent); font-size: 17px; font-weight: 800; line-height: 1.2; text-transform: none;
}
.review-open {
  display: flex; flex-direction: column; justify-content: end; flex: 1; min-width: 0;
  width: 100%; margin-top: 11px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; text-align: left; cursor: zoom-in; color: inherit;
}
.review-stage {
  display: grid; align-items: center; min-height: 140px; width: 100%; padding: 7px;
  border-radius: 10px; background: #f1f4f1;
}
.review-shot { display: block; width: 100%; overflow: hidden; border-radius: 7px; }
.review-shot img { display: block; width: 100%; height: auto; }
.review-shot[data-slice] { aspect-ratio: var(--slice-width, 499) / var(--slice-height); }
.review-shot[data-slice] img { transform: translateY(var(--slice-offset)); }
.review-open .review-shot:not([data-slice]) { width: auto; max-width: 100%; justify-self: center; }
.review-open .review-shot:not([data-slice]) img { width: auto; max-width: 100%; max-height: 126px; }
.review-open:hover .review-stage { background: #e8efe9; }
.reviews-more {
  display: none; width: 100%; min-height: 43px; margin-top: 11px; padding: 8px 12px;
  border: 1px solid var(--review-line); border-radius: 10px; background: #fffdfa;
  color: var(--review-accent); font-weight: 750; cursor: pointer;
}
.reviews :is(button, a):focus-visible { outline: 2px solid var(--review-accent); outline-offset: 3px; }
.review-dialog {
  width: min(650px, calc(100% - 24px)); max-width: none; max-height: calc(100vh - 32px); margin: auto; padding: 18px;
  overflow: auto; border: 1px solid var(--review-line); border-radius: 17px;
  background: #fffdfa; color: var(--review-ink);
}
.review-dialog::backdrop { background: #22142caa; }
.review-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.review-dialog-head form { margin: 0; }
.review-close {
  display: grid; width: 34px; height: 34px; place-items: center; padding: 0;
  border: 1px solid var(--review-line); border-radius: 9px; background: #f6effa;
  color: var(--review-accent); font-size: 23px; line-height: 1; cursor: pointer;
}
.review-dialog .review-shot { margin-inline: auto; }
.review-dialog .review-shot:not([data-slice]) { width: min(100%, 390px); }
.review-dialog-text { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--review-line); }
.review-dialog-transcript p { margin: 5px 0 0; color: var(--review-muted); font-size: 14px; line-height: 1.5; }
@media (min-width: 701px) and (max-width: 1040px) {
  .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .reviews { padding: 34px 0; }
  .reviews-inner { width: calc(100% - 30px); }
  .reviews-heading { margin-bottom: 15px; }
  .review-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .review-grid[data-collapsed] .review-card:nth-child(n+2) { display: none; }
  .reviews-more:not([hidden]) { display: block; }
  .review-stage { min-height: 0; }
  .review-dialog { width: calc(100% - 14px); padding: 12px; }
}
