/* Loaded only on right-to-left pages (Arabic), after the page's own styles. */
html[dir="rtl"] body{font-family:"Geeza Pro","Noto Naskh Arabic","Noto Sans Arabic","Segoe UI","Tahoma","Arial",sans-serif;text-align:start}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4,html[dir="rtl"] button,html[dir="rtl"] input,html[dir="rtl"] select,html[dir="rtl"] textarea{font-family:inherit;letter-spacing:0}
html[dir="rtl"] em,html[dir="rtl"] i{font-style:normal}

/* Logical alignment for the few physical rules in the page styles. */
html[dir="rtl"] .skip-link{left:auto;right:8px}
html[dir="rtl"] .svc ul,html[dir="rtl"] .result-card ul{padding-left:0;padding-right:22px}
html[dir="rtl"] .req{margin-left:0;margin-right:3px}
html[dir="rtl"] .trust li::before{left:auto;right:0;transform:scaleX(-1)}
html[dir="rtl"] .trust li{padding-left:0;padding-right:20px}
html[dir="rtl"] .hp{left:auto;right:-9999px}
/* An element parked off-screen to the left makes a right-to-left page scroll sideways for thousands of pixels. */
html[dir="rtl"] [style*="left:-9999px"]{left:auto!important;right:-9999px!important}
html[dir="rtl"] body{overflow-x:clip}
html[dir="rtl"] .sent{border-left:1px solid var(--rule);border-right:3px solid var(--vermilion)}
html[dir="rtl"] footer .flinks a{margin-right:0;margin-left:14px}
html[dir="rtl"] .lang-switch{justify-content:flex-start}

/* Forms: labels, fields and help text follow the reading direction; typed email stays left-to-right. */
html[dir="rtl"] form,html[dir="rtl"] label,html[dir="rtl"] legend,html[dir="rtl"] input,html[dir="rtl"] select,html[dir="rtl"] textarea{text-align:start}
html[dir="rtl"] select{background-position:left 12px center}
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"],html[dir="rtl"] input[type="url"],html[dir="rtl"] input[type="number"]{direction:ltr;text-align:right}

/* Arrows point the way the text runs. */
html[dir="rtl"] a > span[aria-hidden="true"],html[dir="rtl"] .card-details span[aria-hidden="true"]{display:inline-block;transform:scaleX(-1)}

/* Money, ranges, dates and phone numbers always read left to right, with Western digits. */
html[dir="rtl"] .price,html[dir="rtl"] .feature-cost,html[dir="rtl"] .result-cost,
html[dir="rtl"] .card-cost-value,html[dir="rtl"] .card-cost-period,html[dir="rtl"] .card-cost-fallback,
html[dir="rtl"] .fact .value,html[dir="rtl"] time,html[dir="rtl"] address,
html[dir="rtl"] a[href^="tel:"],html[dir="rtl"] a[href^="mailto:"],html[dir="rtl"] [data-ltr]{direction:ltr;unicode-bidi:isolate;text-align:right}

/* What the page scripts build: matcher result cards, featured costs, and the email capture form. */
html[dir="rtl"] .result-card .result-cost,html[dir="rtl"] .feature-cost-value,html[dir="rtl"] .feature-cost-period{direction:ltr;unicode-bidi:isolate;text-align:right}
html[dir="rtl"] .result-card ul,html[dir="rtl"] .result-card details{text-align:start}
html[dir="rtl"] input[dir="ltr"],html[dir="rtl"] #capture-form input[type="email"]{direction:ltr;unicode-bidi:isolate;text-align:right}
