/* Full-width preview of all five reviews, separate from the original design. */
.review-strip {
  padding: 0 0 28px;
  --mini-width: clamp(286px, 25vw, 336px);
  --mini-gap: 14px;
}
.review-strip-heading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}
.review-all-link { color: var(--accent); font-size: 12px; font-weight: 500; }
.review-all-link span { margin-left: 7px; }
.review-all-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.review-strip-viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 4px 0;
}
.review-strip-viewport::-webkit-scrollbar { display: none; }
.review-strip-viewport:focus-visible { outline-offset: -3px; }
.review-strip-track { display: flex; width: max-content; }
.review-strip-group {
  display: flex;
  flex: none;
  align-items: stretch;
  gap: var(--mini-gap);
  padding-right: var(--mini-gap);
}
.review-mini {
  --mini-background: #f3f6fb;
  --mini-hover: #edf3ff;
  position: relative;
  flex: 0 0 var(--mini-width);
  width: var(--mini-width);
  height: 150px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: var(--mini-background);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.review-strip-group:nth-child(odd) .review-mini:nth-child(even),
.review-strip-group:nth-child(even) .review-mini:nth-child(odd) {
  --mini-background: #e8effa;
  --mini-hover: #dfe9f9;
}
.review-mini:hover { border-color: #a4bce8; background: var(--mini-hover); }
.review-mini:focus-visible { outline-offset: -4px; }
.review-mini-quote {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.review-mini-person { display: flex; flex-direction: column; padding-right: 23px; }
.review-mini-person strong { font-size: 12px; font-weight: 600; line-height: 1.5; }
.review-mini-person span { color: var(--muted); font-size: 10px; line-height: 1.6; }
.review-mini-arrow { position: absolute; right: 19px; bottom: 20px; color: var(--accent); font-size: 17px; }

/* The original three reviews, followed by two wider complete testimonials. */
.theme-blue .review-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.theme-blue .review { grid-column: span 2; scroll-margin-top: 26px; min-width: 0; }
.theme-blue .review-new { grid-column: span 3; }
.review blockquote p + p { margin-top: 14px; }
.theme-blue .review-person { gap: 12px; }
.theme-blue .review-person h3 { font-size: 13px; }
.theme-blue .review-person p { font-size: 10px; white-space: normal; }
.theme-blue .review-person > img,
.review-portrait {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
.review-portrait { display: block; overflow: hidden; background: #e0e7f3; }
.theme-blue .review-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.9);
  transform-origin: 50% 22%;
}
.theme-blue .portrait-camilla-cova img { object-position: 50% 18%; transform-origin: 50% 28%; }
.review:target { outline: 2px solid #a4bce8; outline-offset: 5px; }

@media (max-width: 1000px) and (min-width: 641px) {
  .theme-blue .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-blue .review { grid-column: auto; }
  .theme-blue .review-featured { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .review-strip { --mini-width: 280px; --mini-gap: 12px; padding-bottom: 20px; }
  .review-strip-heading { flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
  .review-mini { padding-inline: 18px; }
  .review-mini-arrow { right: 17px; }
  .theme-blue .review-grid { grid-template-columns: minmax(0, 1fr); }
  .theme-blue .review { grid-column: auto; }
}
@media print {
  .review-strip { display: none; }
  .theme-blue .review { break-inside: avoid; }
}
