.page-reviews { --reviews-ink: #10243f; --reviews-blue: #2457c5; --reviews-muted: #5e7088; }
.reviews-page section { padding: 64px 0; }
.reviews-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .8fr); gap: 48px; align-items: center; }
.reviews-eyebrow { display: inline-block; margin-bottom: 18px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--reviews-blue); }
body.school-site.page-reviews .reviews-page h1 { margin: 0 0 26px; font-size: clamp(38px, 4.7vw, 66px); line-height: 1.08; color: var(--reviews-ink); letter-spacing: -.025em; }
.reviews-hero h1 span { color: var(--reviews-blue); }
body.school-site.page-reviews .reviews-hero p { max-width: 590px; margin: 0 0 22px; font-size: 18px; line-height: 1.7; }
.reviews-demo-note { display: inline-flex; padding: 10px 14px; border-radius: 14px; background: #fff2c7; color: #72581f; font-size: 12px; line-height: 1.5; }
.reviews-hero__visual { position: relative; justify-self: center; width: min(100%, 410px); }
.reviews-hero__visual img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.reviews-quote { position: absolute; left: -54px; top: 12px; font: 300px/1 Georgia, serif; color: #e6edf9; }
.reviews-page .reviews-stories { background: #f0f4fb; }
.reviews-stories__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
body.school-site.page-reviews .reviews-page h2 { margin: 0; font-size: clamp(29px, 3vw, 42px) !important; line-height: 1.15 !important; color: var(--reviews-ink); letter-spacing: -.02em; }
body.school-site.page-reviews #reviewsCount { font-size: 14px; margin: 0 0 4px; }
.reviews-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.reviews-filters button { padding: 12px 18px; border: 1px solid #d4deef; border-radius: 99px; background: #fff; color: var(--reviews-muted); font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1.4; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.reviews-filters button.is-active { background: var(--reviews-blue); border-color: var(--reviews-blue); color: #fff; }
.reviews-filters button:focus-visible, .reviews-more:focus-visible, .reviews-write:focus-visible { outline: 3px solid #2457c5; outline-offset: 3px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce4f0; border-radius: 28px; background: #fff; }
.review-card[hidden] { display: none; }
.review-card__photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 1.7; margin: 14px 14px 0; border-radius: 18px; background: #edf2fc; color: #8c9db9; }
.review-card__photo--1 { background: #f8f0de; color: #b7a578; }
.review-card__photo--2 { background: #eaf3f0; color: #8daea3; }
.review-card__photo svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.review-card__photo > span { font-size: 12px; }
.review-card__photo--wip { aspect-ratio: 3 / 2; padding: 8px; background: #faf6ee; }
.review-card__photo--wip img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.review-card__photo--portrait { aspect-ratio: 3 / 2; overflow: hidden; }
.review-card__photo--portrait img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }
body.school-site.page-reviews .reviews-demo-disclosure { margin: -8px 0 24px; max-width: 720px; font-size: 13px; line-height: 1.6; color: var(--reviews-muted); }
.review-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.review-card__rating { display: flex; align-items: center; gap: 3px; margin-bottom: 14px; color: #f5b400; }
.review-card__rating .review-star { flex: 0 0 20px; width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.review-card__rating .review-star--empty { fill: none; color: #c1ccdf; }
.review-card__rating > span { margin-left: 7px; color: var(--reviews-muted); font-size: 12px; font-weight: 700; line-height: 20px; }
.review-card__label { display: inline-block; margin-bottom: 14px; color: #8c9bb2; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
body.school-site.page-reviews .reviews-page .review-card h2 { margin: 0 0 16px; font-size: 23px !important; line-height: 1.25 !important; overflow-wrap: break-word; }
body.school-site.page-reviews .review-card p { margin: 0 0 24px; font-size: 16px; line-height: 1.7; }
.review-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid #e1e7f0; }
.review-card__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #edf2fc; color: #2457c5; font-size: 15px; font-weight: 750; }
.review-card__avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.review-card__author strong { display: block; font-size: 14px; color: var(--reviews-ink); }
.review-card__author small { display: block; margin-top: 5px; font-size: 12px; color: var(--reviews-muted); }
.review-card__details { display: grid; gap: 14px; margin: 0 0 24px; }
.review-card__details > div { padding-left: 14px; border-left: 3px solid #e1e8f5; }
.review-card__details > div:first-child { border-color: #f5c84c; }
.review-card__details dt { margin-bottom: 4px; color: #10243f; font-size: 14px; font-weight: 750; }
.review-card__details dd { margin: 0; color: #5e7088; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.reviews-actions { display: flex; justify-content: flex-end; margin: -8px 0 20px; }
.reviews-write { max-width: 100%; min-height: 50px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border: 1px solid #bdcde7; border-radius: 99px; background: #fff; color: #2457c5; font-size: 14px; font-weight: 750; }
.reviews-write:hover { background: #e9effa; }
@media (max-width: 700px) {
  .reviews-actions { justify-content: flex-start; margin-top: 0; }
}
.reviews-more { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; margin: 32px auto 0; padding: 14px 24px; border: 1px solid #bdcde7; border-radius: 99px; background: transparent; color: var(--reviews-blue); font: inherit; font-size: 15px; font-weight: 750; cursor: pointer; }
.reviews-more[hidden] { display: none; }
.reviews-invite__panel { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 40px; border-radius: 32px; background: #2457c5; }
body.school-site.page-reviews .reviews-invite__panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 36px;
}
body.school-site.page-reviews #reviewsTrialForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
}
body.school-site.page-reviews #reviewsTrialForm .form-group { margin: 0 !important; min-width: 0; }
body.school-site.page-reviews #reviewsTrialForm label { font-size: 13px; color: #10243f; }
body.school-site.page-reviews #reviewsTrialForm input { width: 100%; min-width: 0; min-height: 46px; }
body.school-site.page-reviews #reviewsTrialForm > :is(button, p) { grid-column: 1 / -1; }
body.school-site.page-reviews #reviewsTrialForm > button { width: 100%; min-height: 48px; background: #2457c5 !important; border-color: #2457c5 !important; color: #fff !important; }
body.school-site.page-reviews #reviewsTrialForm p { margin: 0; color: #5e7088 !important; font-size: 11px; line-height: 1.5; }
body.school-site.page-reviews #reviewsTrialForm p:empty { display: none; }
body.school-site.page-reviews #reviewsTrialForm .form-privacy a { color: #2457c5; }
@media (max-width: 900px) {
  body.school-site.page-reviews .reviews-invite__panel { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  body.school-site.page-reviews #reviewsTrialForm { grid-template-columns: 1fr; padding: 20px; }
}
body.school-site.page-reviews .reviews-invite h2, body.school-site.page-reviews .reviews-invite p { color: #fff !important; }
body.school-site.page-reviews .reviews-invite p { margin: 18px 0 0; font-size: 16px; }
body.school-site.page-reviews .reviews-invite .btn-primary { flex-shrink: 0; background: #fff !important; border-color: #fff !important; color: #10243f !important; }
@media (max-width: 1000px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .reviews-page section { padding: 40px 0; }
  .reviews-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .reviews-hero__visual { width: min(100%, 300px); }
  .reviews-quote { font-size: 200px; left: -40px; }
  .reviews-stories__heading { align-items: start; flex-direction: column; gap: 14px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
  .reviews-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 0; margin-inline: 0; }
  .reviews-filters button { min-width: 0; min-height: 52px; padding: 12px 10px; white-space: normal; text-align: center; }
  .reviews-invite__panel { flex-direction: column; align-items: start; padding: 28px; border-radius: 24px; }
  .reviews-invite .btn-primary { max-width: 100%; white-space: normal; text-align: center; }
}
