/* ============================================================
   RATEVORO — RTL layer (Hebrew, Arabic, Persian, Urdu).
   Loaded ONLY when dir="rtl", after ratevoro.css.

   ratevoro.css already uses logical properties (inset-inline,
   margin-inline, padding-inline) for most of the chrome, so this
   file only fixes what is still physical, plus the things that
   must stay LTR inside an RTL page: star bars, scores, phone
   numbers, URLs, times and code.
   ============================================================ */

:root{
  /* Inter/Sora only cover Latin (unicode-range) — name the local Hebrew/Arabic
     faces first so the UI is not left to a random serif fallback. */
  --font:'Segoe UI','Noto Sans Hebrew','Noto Sans Arabic','Arial Hebrew',Arial,system-ui,sans-serif;
  --disp:'Segoe UI','Noto Sans Hebrew','Noto Sans Arabic','Arial Hebrew',Arial,system-ui,sans-serif;
}

/* ---- remaining physical properties from the pre-logical part of the sheet ---- */
.logo-star{margin-right:0;margin-inline-end:2px}
.suggest .s-city{margin-left:0;margin-inline-start:auto}
.review-stars{margin-left:0;margin-inline-start:auto}
.starpick-label{margin-left:0;margin-inline-start:10px}
.claim-entity .score{margin-left:0;margin-inline-start:auto}
.admin-tag{margin-left:0;margin-inline-start:6px}
.cstatus{margin-right:0;margin-inline-end:6px}
.atable th{text-align:right}
.sponsored-tag{left:auto;inset-inline-start:14px}
.secnav-top{margin-left:0;margin-inline-start:auto}

/* ---- things that must NOT mirror ---- */
/* A star bar always fills left→right, in every language — the overlay clip
   (.stars-on{left:0}) depends on it, and users read 4/5 stars that way. */
.stars,.starpick,.rt-stars{direction:ltr;unicode-bidi:isolate}
.score,.official-val,.revfact b,.stat-num,.kpi b,.sparkline,
a[href^="tel:"],.contact-phone,.contact-site,.ltr{direction:ltr;unicode-bidi:isolate}
/* a bare score like "4.6 (128)" scrambles without isolation */
.result-rate .muted,.score-recent{unicode-bidi:isolate}

/* ---- form fields ---- */
input,textarea,select{text-align:start}
input[type="email"],input[type="url"],input[type="tel"],input[type="number"],
input[name="website"],input[name="phone"]{direction:ltr;text-align:start}
.topsearch input{text-align:start}

/* ---- flips for the v12 components ---- */
.qa-a::before{inset-inline-start:0}
.footer-cols a:hover{transform:translateX(2px)}
.cityrow:hover{transform:translateX(3px)}
.country-item:hover{transform:translateX(2px)}
.result-photo,.profile-photo{float:none}

/* ---- typography: Hebrew/Arabic need a touch more line height, less tracking ---- */
body{line-height:1.7;letter-spacing:0}
h1,h2,h3,h4,.section-title,.logo{letter-spacing:0}
.hero h1{letter-spacing:0}

/* ---- lists & quotes ---- */
ul,ol{padding-inline-start:1.25em;padding-left:0}
blockquote{border-inline-start:3px solid var(--gold);border-left:0;padding-inline-start:14px;padding-left:0}
