/* Reviews: the two ratings, then up to six Google review cards (two columns; a swipe row on a phone below
   768px) and the link to all of them (public/reviews.js fills them in) */
.rv { padding: 72px 0 64px; background: #f4f8f8; }
.rv--inline { padding: 28px 0 8px; background: none; }
.rv__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; }
.rv .rv__eyebrow { max-width: none; margin: 0 0 6px; font: 600 13px/1 var(--font-head, Cabin), sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #0d8a94; }
.rv h2 { margin: 0; font: 700 clamp(28px, 3.2vw, 40px)/1.1 var(--font-head, Cabin), sans-serif; color: #0a1416; letter-spacing: -.01em; }
.rv--inline h2 { font-size: 26px; }
.rv__scores { display: flex; flex-wrap: wrap; gap: 12px; }
.rv__score { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border: 1px solid #dfe8e8; border-radius: 14px; background: #fff; color: #0a1416; text-decoration: none; transition: border-color .15s ease; }
.rv__score:hover { border-color: #04333a; }
.rv__score svg { width: 30px; height: 30px; flex: none; }
.rv__score--ta svg { width: 34px; color: #00aa6c; fill: currentColor; }
.rv__score b { font: 700 22px/1 var(--font-head, Cabin), sans-serif; }
.rv__score .rv__stars { margin-left: 6px; color: #f4b400; font-size: 15px; letter-spacing: 1px; }
.rv__score small { display: block; margin-top: 4px; font: 400 13px/1.2 var(--font-body, Roboto), sans-serif; color: #5d6e71; }
.rv__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
@media (min-width: 1024px) { .rv:not(.rv--inline) .rv__track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rv__card { display: flex; flex-direction: column; min-width: 0; padding: 16px 18px; border: 1px solid #dfe8e8; border-radius: 16px; background: #fff; }
.rv__card-head { display: flex; align-items: center; gap: 11px; }
.rv__av { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #e8efef; }
.rv__av--letter { display: grid; place-items: center; background: #e6f2f2; color: #04333a; font: 700 17px/1 var(--font-head, Cabin), sans-serif; }
.rv__who { flex: 1; min-width: 0; }
.rv__who b { display: block; font: 700 15px/1.2 var(--font-head, Cabin), sans-serif; color: #0a1416; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv__who small { display: block; margin-top: 1px; font: 400 13px/1.3 var(--font-head, Cabin), sans-serif; color: #5d6e71; }
.rv__g { flex: none; width: 18px; height: 18px; }
.rv .rv__card-stars { max-width: none; margin: 10px 0 0; font-size: 15px; line-height: 1.2; letter-spacing: 2px; color: #f2a516; }
.rv__tag { align-self: flex-start; margin-top: 8px; padding: 5px 9px; border-radius: 999px; background: #e6f2f2; color: #04333a; font: 600 12px/1 var(--font-head, Cabin), sans-serif; }
.rv .rv__text { max-width: none; margin: 8px 0 0; font: 400 15px/1.55 var(--font-head, Cabin), sans-serif; color: #22363a; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv .rv__card.is-open .rv__text { display: block; -webkit-line-clamp: unset; }
.rv__more { align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; font: 700 14px/1.3 var(--font-head, Cabin), sans-serif; color: #04333a; text-decoration: underline; cursor: pointer; }
.rv__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-top: 16px; }
.rv__foot a { font: 700 15px/1.3 var(--font-head, Cabin), sans-serif; color: #04333a; text-decoration: underline; }
.rv__foot small { font: 400 12.5px/1.3 var(--font-head, Cabin), sans-serif; color: #8a999b; }
.rv .rv__links { max-width: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 24px 0 0; }
.rv__links a { font: 600 15px/1.3 var(--font-head, Cabin), sans-serif; color: #04333a; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .rv { padding: 52px 0 44px; }
  .rv__score { flex: 1 1 160px; }
}
/* a phone: one row to swipe, card by card, each resting in line with the text and the next one running
   to the screen's right edge */
@media (max-width: 767px) {
  .rv .rv__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 20px calc(50% - 50vw) 0 0; padding: 0 calc(50vw - 50%) 6px 0; scrollbar-width: none; }
  .rv__track::-webkit-scrollbar { display: none; }
  .rv__card { flex: 0 0 84%; scroll-snap-align: start; }
}
/* the cards, their footer and the plain links show one way or the other (public/reviews.js) */
.rv [hidden] { display: none !important; }
