/* Legend Movers 4 You: shared review deck (lm4y-rd), Nov 9 2026.
   User-controlled only: no autoplay, no marquee, no fading rotator.
   Every selector is namespaced .lm4y-rd*, so the old markup (.reviews / .review / .rev-ctrl,
   .lmx-rv strip, .lmx-revs / .lmx-rot rotator) is never matched or changed by this file. */
.lm4y-rd{--rd-navy:#0F2C7A;--rd-ink:var(--ink,#0E1B3D);--rd-red:var(--lmx-red,#E00A0A);--rd-gold:var(--gold,#D4A437);--rd-line:var(--line,#E2E4E9);--rd-muted:var(--muted,#5A5E66);--rd-gap:22px;--rd-per:1}
.lm4y-rd-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:18px 28px;margin-bottom:26px}
.lm4y-rd-head .section-head{margin:0}
.lm4y-rd-score{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--rd-line);border-radius:16px;padding:12px 20px;box-shadow:0 1px 2px rgba(15,44,122,.05),0 8px 22px rgba(15,44,122,.07)}
.lm4y-rd-num{font-family:var(--f-display,Impact,sans-serif);font-size:3.2rem;line-height:1;color:var(--rd-red)}
body.home .lm4y-rd-num{color:var(--rd-navy)}
.lm4y-rd-score-txt{display:grid;gap:2px}
.lm4y-rd-stars{color:var(--rd-gold);letter-spacing:2px;font-size:1.15rem;line-height:1}
.lm4y-rd-count{font-size:.92rem;font-weight:700;color:var(--rd-ink)}

/* Deck */
.lm4y-rd-deck{position:relative}
.lm4y-rd-track{list-style:none;margin:0 -14px -18px;padding:8px 14px 30px;scroll-padding-inline:14px;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--rd-per) - 1) * var(--rd-gap)) / var(--rd-per));gap:var(--rd-gap);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;position:relative}
.lm4y-rd-track::-webkit-scrollbar{display:none}
.lm4y-rd-track:focus-visible{outline:3px solid var(--rd-navy);outline-offset:4px;border-radius:18px}
.lm4y-rd-track>li{scroll-snap-align:start;display:flex;min-width:0}
@media (min-width:700px){.lm4y-rd{--rd-per:2}}
@media (min-width:1024px){.lm4y-rd{--rd-per:3}}

/* Card (shared by the deck and the /reviews/ static grid) */
.lm4y-rd-card{position:relative;margin:0;flex:1;display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid var(--rd-line);border-top:3px solid var(--rd-red);border-radius:16px;padding:26px 24px 22px;box-shadow:0 1px 2px rgba(15,44,122,.05),0 10px 26px rgba(15,44,122,.08)}
.lm4y-rd-card::before{content:"\201C";position:absolute;top:6px;right:18px;font-family:Georgia,"Times New Roman",serif;font-size:4.6rem;line-height:1;color:var(--rd-navy);opacity:.09;pointer-events:none}
.lm4y-rd-card .lm4y-rd-stars{font-size:1.05rem}
.lm4y-rd-q{margin:0;flex:1;font-size:1.04rem;line-height:1.6;font-weight:500;color:var(--rd-ink);quotes:none}
.lm4y-rd-q p{margin:0}
.lm4y-rd-by{display:flex;align-items:center;gap:12px;margin:0;padding-top:14px;border-top:1px solid var(--rd-line);font-size:.9rem;color:var(--rd-muted)}
.lm4y-rd-by b{display:block;color:var(--rd-ink);font-size:.98rem}
.lm4y-rd-av{width:40px;height:40px;flex:none;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:var(--rd-red)}
.lm4y-rd-av.n{background:var(--rd-navy)}
.lm4y-rd-av.g{background:var(--rd-gold);color:var(--rd-navy)}

/* Controls: always visible (no layout shift when the script loads) */
.lm4y-rd-bar{display:flex;align-items:center;justify-content:space-between;gap:14px 20px;flex-wrap:wrap;margin-top:10px}
.lm4y-rd-status{margin:0;font-size:.92rem;font-weight:700;color:var(--rd-ink);min-width:9.5em}
.lm4y-rd-dots{display:flex;gap:4px;align-items:center;min-height:44px}
.lm4y-rd-dot{width:44px;height:44px;padding:0;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;border-radius:50%}
.lm4y-rd-dot::before{content:"";width:10px;height:10px;border-radius:50%;background:#C4C9D4;transition:width .2s,background-color .2s}
.lm4y-rd-dot[aria-current="true"]::before{width:26px;border-radius:6px;background:var(--rd-navy)}
.lm4y-rd-nav{display:flex;gap:10px}
.lm4y-rd-btn{width:52px;height:52px;border-radius:50%;border:2px solid var(--rd-navy);background:#fff;color:var(--rd-navy);display:grid;place-items:center;cursor:pointer;transition:background-color .15s,color .15s,opacity .15s}
.lm4y-rd-btn svg{width:22px;height:22px}
.lm4y-rd-btn:hover:not([disabled]){background:var(--rd-navy);color:#fff}
.lm4y-rd-btn[disabled]{opacity:.35;cursor:default}
.lm4y-rd-btn:focus-visible,.lm4y-rd-dot:focus-visible,.lm4y-rd-links a:focus-visible{outline:3px solid var(--rd-navy);outline-offset:3px;box-shadow:0 0 0 6px rgba(212,164,55,.45)}
.lm4y-rd-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin:22px 0 0}
.lm4y-rd-links .lm4y-rd-more{font-weight:700;color:var(--rd-navy);text-decoration:underline;text-underline-offset:3px}
.lm4y-rd-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* /reviews/ page: readable static grid, never a slider */
.lm4y-rd-grid{list-style:none;margin:0;padding:0;display:grid;gap:var(--rd-gap);grid-template-columns:repeat(var(--rd-per),minmax(0,1fr))}
.lm4y-rd-grid>li{display:flex;min-width:0}

/* Reduced motion: no movement at all, show every review as a static grid */
@media (prefers-reduced-motion:reduce){
  .lm4y-rd-track{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(var(--rd-per),minmax(0,1fr));overflow:visible;scroll-snap-type:none;scroll-behavior:auto}
  .lm4y-rd-bar{display:none}
  .lm4y-rd-dot::before,.lm4y-rd-btn{transition:none}
}
@media (max-width:520px){.lm4y-rd-card{padding:22px 18px 18px}.lm4y-rd-num{font-size:2.8rem}
  .lm4y-rd-bar{display:grid;grid-template-columns:auto 1fr auto;gap:10px 6px;justify-items:center}
  .lm4y-rd-status{grid-column:1/-1;text-align:center;min-width:0}
  .lm4y-rd-nav{display:contents}
  .lm4y-rd-btn[data-rd-prev]{grid-column:1;grid-row:2}
  .lm4y-rd-dots{grid-column:2;grid-row:2;gap:0}
  .lm4y-rd-btn[data-rd-next]{grid-column:3;grid-row:2}
  .lm4y-rd-btn{width:48px;height:48px}
  .lm4y-rd-dot{width:32px;height:44px}
  .lm4y-rd-dot::before{width:9px;height:9px}
  .lm4y-rd-dot[aria-current="true"]::before{width:20px}}
