/* Jackson Digital: Google reviews section (homepage). Built by js/reviews.js from data/reviews.json. */
.section-reviews { background: #fff; }
.section-reviews[hidden] { display: none; }
.section-reviews .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 36px; }
.rv-head h2 { margin-bottom: 12px; }
.rv-head .rv-intro { color: var(--text-2); font-size: 1.125rem; margin: 0; max-width: 34em; }
.rv-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
@media (min-width: 1000px) { .rv-foot { align-items: flex-end; } }
.rv-google { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1px; }
.rv-google::after { content: "↗"; text-decoration: none; display: inline-block; font-weight: 500; }
.rv-aggregate { margin: 0; font-size: .95rem; color: var(--text-2); }
.rv-fixture { flex-basis: 100%; margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--amber); font-weight: 700; font-size: .9rem; }

/* card */
.rv-card { position: relative; margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px 28px; box-shadow: var(--shadow-sm); overflow: hidden; }
.rv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--blue); }
.rv-stars { display: inline-flex; gap: 1px; }
.rv-stars svg { width: 15px; height: 15px; }
.rv-stars .on path { fill: #E7A500; }
.rv-stars .off path { fill: none; stroke: #B9C7DB; stroke-width: 1.5; }
.rv-quote { margin: 0; color: var(--text); font-size: 1.06rem; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; }
.rv-quote p { margin: 0 0 .8em; }
.rv-quote p:last-child { margin: 0; }
.rv-card.is-open .rv-quote { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rv-more { align-self: flex-start; margin-top: 10px; padding: 6px 0; min-height: 44px; background: none; border: 0; color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-more[hidden] { display: none; }
.rv-by { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; }
.rv-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-pale); color: var(--blue-ink); font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.rv-who { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.rv-name { font-weight: 700; color: var(--navy); }
.rv-nameline { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.rv-meta { font-size: .9rem; color: var(--text-3); }

/* one review, and one-at-a-time: a large card */
.rv-single .rv-card, .rv-solo .rv-card { padding: 44px 48px 36px; }
.rv-single .rv-quote, .rv-solo .rv-quote { padding-right: 56px; font-family: var(--font-display); font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.55; font-weight: 500; letter-spacing: -.005em; -webkit-line-clamp: 10; }
.rv-single .rv-card::after, .rv-solo .rv-card::after { content: ""; position: absolute; top: 30px; right: 40px; width: 64px; height: 50px; opacity: .14;
  background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Cpath d='M0 50V30C0 13 9 3 25 0l3 7C19 10 15 16 15 24h12v26zm36 0V30c0-17 9-27 25-30l3 7c-9 3-13 9-13 17h12v26z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Cpath d='M0 50V30C0 13 9 3 25 0l3 7C19 10 15 16 15 24h12v26zm36 0V30c0-17 9-27 25-30l3 7c-9 3-13 9-13 17h12v26z'/%3E%3C/svg%3E") no-repeat center / contain; }
.rv-single, .rv-solo { max-width: 920px; }

/* carousel */
.rv-carousel { --rv-gap: 24px; }
.rv-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.rv-solo .rv-track { display: grid; }
.rv-solo .rv-card { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.rv-solo .rv-card.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
.rv-multi .rv-track { --pv: 1; display: flex; gap: var(--rv-gap); transition: transform .6s var(--ease-out); }
.rv-multi .rv-card { flex: 0 0 calc((100% - (var(--pv) - 1) * var(--rv-gap)) / var(--pv)); }
@media (min-width: 700px) { .rv-multi .rv-track { --pv: 2; } }
@media (min-width: 1000px) { .rv-multi .rv-track { --pv: 3; } }
.rv-controls { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.rv-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; color: var(--blue-ink); cursor: pointer; transition: border-color .18s, background .18s; }
.rv-btn:hover { border-color: var(--blue); background: var(--bg-tint); }
.rv-count { margin: 0; min-width: 5.5em; text-align: center; font-variant-numeric: tabular-nums; color: var(--text-2); font-size: .95rem; }
.rv-pause { margin-left: auto; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--text-2); font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-pause[hidden] { display: none; }

@media (max-width: 760px) {
  .rv-head { margin-bottom: 28px; }
  .rv-card, .rv-single .rv-card, .rv-solo .rv-card { padding: 30px 22px 24px; }
  .rv-single .rv-card::after, .rv-solo .rv-card::after { top: 22px; right: 20px; width: 36px; height: 28px; }
  .rv-single .rv-quote, .rv-solo .rv-quote { padding-right: 0; }
  .rv-single .rv-quote > p:first-child, .rv-solo .rv-quote > p:first-child { padding-right: 44px; }
  .rv-single .rv-quote, .rv-solo .rv-quote { -webkit-line-clamp: 9; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-solo .rv-card, .rv-solo .rv-card.is-active, .rv-multi .rv-track { transition: none; }
}
