/* ============================================================
   SAB v252 — REVIEWS DESIGN (standalone file, loaded LAST)
   New filename = impossible for any old CDN/browser cache to
   serve a stale copy. Everything here is authoritative.
   ============================================================ */

/* ---------- kill the old forced-center rule ---------- */
.reviews-section .review-card,
.rv-slider .review-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  text-align:left!important;
}

/* ---------- slider shell ---------- */
.rv-slider{position:relative;display:block!important;margin:4px 0 40px;outline:none}
.rv-slider:focus-visible{outline:3px solid #144d9e;outline-offset:6px;border-radius:22px}
.rv-slider.is-static .rv-track{justify-content:center}
.rv-viewport{overflow:hidden;padding:12px 0 18px;cursor:grab}
.rv-viewport.is-grabbing{cursor:grabbing}
.rv-track{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;text-align:left!important;will-change:transform}
.rv-slide{box-sizing:border-box;padding:0 10px;display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important}
.rv-slide>.review-card{width:100%;margin:0}

/* ---------- the card ---------- */
.reviews-section .review-card,
.rv-slider .review-card{
  position:relative;overflow:hidden;box-sizing:border-box;height:100%;
  background:#fff!important;
  border:1px solid rgba(16,53,107,.11)!important;
  border-radius:18px!important;
  padding:24px 22px 22px!important;
  box-shadow:0 8px 24px rgba(16,53,107,.07)!important;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease!important;
}
.reviews-section .review-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;width:100%;background:linear-gradient(90deg,#10356b,#144d9e 50%,#f9a20b);opacity:1}
.reviews-section .review-card::after{content:none!important}
.rv-slider .review-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(16,53,107,.13)!important;border-color:rgba(249,162,11,.34)!important}

.reviews-section .rv-quote{position:absolute;right:18px;top:4px;font-family:Georgia,serif;font-size:64px;line-height:1;color:rgba(16,53,107,.07);pointer-events:none;user-select:none;z-index:0}

.reviews-section .rv-top{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px;margin:0 0 14px!important;position:relative;z-index:1;text-align:left!important}
.reviews-section .rv-ava{flex:none!important;width:46px!important;height:46px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff;font-weight:800;font-size:17px;border:2px solid #fff;box-shadow:0 6px 14px rgba(16,53,107,.18)}
.reviews-section .rv-ava svg{width:27px;height:27px;display:block}
.reviews-section .rv-ava.male{background:linear-gradient(140deg,#3f7fd6,#1a56ad 55%,#10356b)!important}
.reviews-section .rv-ava.female{background:linear-gradient(140deg,#f188b8,#d95a95 55%,#a83a70)!important}
.reviews-section .rv-who{min-width:0;flex:1 1 auto;text-align:left!important}
.reviews-section .rv-name{font-weight:800!important;color:#0e2a52!important;font-size:15.5px!important;line-height:1.25;text-align:left!important;margin:0}
.reviews-section .rv-loc{font-size:12.5px!important;color:#5d7295!important;font-weight:600;margin-top:2px;text-align:left!important}

.reviews-section .rv-meta{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px;margin:0 0 12px!important;position:relative;z-index:1}
.reviews-section .rv-stars{display:inline-flex;gap:1px;letter-spacing:0}
.reviews-section .rv-stars span{color:#c9d5e5;font-size:15px}
.reviews-section .rv-stars span.on{color:#e08a00}
.reviews-section .rv-date{font-size:11.5px!important;font-weight:700;color:#5d7295!important;white-space:nowrap}

.reviews-section .rv-topic{display:inline-block!important;align-self:flex-start!important;width:auto!important;font-size:11px!important;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#12448c!important;background:rgba(20,77,158,.08);border:1px solid rgba(20,77,158,.18);padding:5px 11px;border-radius:999px;margin:0 0 12px!important;position:relative;z-index:1}

.reviews-section .rv-text{color:#3b4d66!important;font-size:14px!important;line-height:1.7!important;margin:0!important;text-align:left!important;position:relative;z-index:1;flex:1 1 auto}

.reviews-section .rv-reply{position:relative;z-index:1;margin-top:16px!important;padding:13px 14px!important;border-radius:13px;text-align:left!important;background:linear-gradient(140deg,#fffaf0,#f7faff)!important;border:1px solid rgba(249,162,11,.24)!important;border-left:3px solid #e08a00!important}
.reviews-section .rv-reply-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px;margin-bottom:6px}
.reviews-section .rv-reply-head b{font-size:11.5px!important;font-weight:800;color:#0e2a52!important}
.reviews-section .rv-reply-ico{display:inline-flex!important;align-items:center;justify-content:center;width:19px;height:19px;flex:none;border-radius:6px;background:rgba(249,162,11,.18);color:#a05f00}
.reviews-section .rv-reply-ico svg{width:12px;height:12px}
.reviews-section .rv-verified{width:14px;height:14px;flex:none;color:#12794a}
.reviews-section .rv-reply p{margin:0!important;color:#42546e!important;font-size:13.2px!important;line-height:1.65!important;text-align:left!important}

/* ---------- nav ---------- */
.rv-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:6px}
/* v253 - the per-review gradient pills between the arrows are gone for good */
.rv-dots,.rv-dot{display:none!important}

.rv-slider.is-static .rv-nav{display:none}
.rv-arrow{flex:none;width:44px;height:44px;padding:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:#10356b;background:#fff;border:1px solid rgba(16,53,107,.16);box-shadow:0 5px 14px rgba(16,53,107,.09);transition:background .25s ease,color .25s ease,transform .25s ease}
.rv-arrow svg{width:18px;height:18px}
.rv-arrow:hover{color:#fff;background:linear-gradient(150deg,#144d9e,#10356b);border-color:transparent;transform:translateY(-2px)}
.rv-arrow:focus-visible{outline:3px solid #144d9e;outline-offset:3px}

@media (max-width:700px){
  .rv-slide{padding:0 6px}
  .reviews-section .review-card{padding:21px 18px 19px!important}
  .reviews-section .rv-quote{font-size:54px}
}
@media (prefers-reduced-motion:reduce){
  .rv-track{transition:none!important}
  .rv-slider .review-card:hover{transform:none}
}

/* ============================================================
   v252 — Award ribbon: only the "1st" / "2nd" text is bigger.
   Nothing else about the ribbon changes — the gold shine slide
   and the jiggle animation keep running exactly as before,
   on desktop AND on mobile.
   ============================================================ */
.award-ribbon{width:44px!important;height:58px!important;right:18px!important;padding:9px 0 0!important;font-size:.95rem!important;letter-spacing:0!important}
.award-ribbon b{font-size:1em!important;font-weight:900!important}
@media (max-width:640px){
  .award-ribbon{width:42px!important;height:55px!important;right:15px!important;font-size:.9rem!important}
}

/* ============================================================
   v252-B — VERIFIED BADGE in the admin reply header
   The old inline SVG was a hand-drawn 12-lobe "scallop" path,
   which renders lopsided at small sizes. It is hidden here and
   replaced with a mathematically clean badge (perfect circle +
   centred white check) drawn straight from CSS, so it stays
   crisp at every size and needs no JS change.
   Colour = brand royal blue #144d9e (professional, matches the
   buttons and headings).
   ============================================================ */
.reviews-section .rv-reply-head .rv-verified{display:none!important}

.reviews-section .rv-reply-head::after{
  content:"";
  width:16px;
  height:16px;
  flex:0 0 auto;
  margin-left:1px;
  align-self:center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11.2' fill='%23144d9e'/%3E%3Cpath d='M7.2 12.2l3.2 3.2 6.4-6.8' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:contain;
}

/* reply header sits on one clean baseline */
.reviews-section .rv-reply-head{align-items:center!important;gap:7px!important;flex-wrap:nowrap!important}
.reviews-section .rv-reply-head b{line-height:1.25!important}
