/* Direction-specific adjustments layered over the shared site design. */
html[dir="rtl"] { --bm-font: "IBM Plex Sans Arabic", sans-serif; }
html[dir="rtl"] body { font-family: var(--bm-font); }
html[dir="rtl"] :is(h1,h2,h3,h4,h5,h6,p,button,input,select,textarea,label,.tag-pill) { letter-spacing: normal !important; }
html[dir="rtl"] h1.wave-text { line-height: 1.5; }
html[dir="rtl"] .text-left { text-align: right !important; }
html[dir="rtl"] .text-right { text-align: left !important; }
html[dir="rtl"] .ms-auto { margin-right: auto !important; margin-left: 0 !important; }
html[dir="rtl"] [data-purpose="brand-logo"] { margin-right: 0; margin-left: 1rem; }
html[dir="rtl"] :is(.bi-chevron-left,.bi-chevron-right,.bi-arrow-right,.bi-arrow-left) { transform: scaleX(-1); }
html[dir="rtl"] #riyadh-property-preview { left: auto !important; right: 24px; }
/* Geographic map coordinates and tiles keep their original orientation. */
#riyadh-live-map { direction: ltr; }
html[dir="rtl"] :is(.riyadh-district-pin,#riyadh-property-preview) { direction: rtl; }
html[dir="rtl"] :is(input[type="email"],input[type="tel"],a[href^="tel:"],a[href^="mailto:"],a[href*="wa.me"]) { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] :is(input[type="email"],input[type="tel"]) { text-align: right; }
html[dir="rtl"] :is(.lang-en,[data-no-translate]) { direction: ltr; }
.lang-en { text-align: left !important; }
.lang-ar { direction: rtl; font-family: "IBM Plex Sans Arabic", sans-serif; }
html[dir="rtl"] #property-cards-slider { scroll-snap-type: x mandatory; }
html[dir="rtl"] #property-cards-slider > * { scroll-snap-align: start; }
@media (max-width: 575.98px) {
  html[dir="rtl"] #riyadh-property-preview { right: 12px; max-width: calc(100% - 24px) !important; }
}
