/* KE Home v10 RTL typography. Loaded on all views; rules only apply in Arabic. */
html[dir="rtl"] body,
html[lang^="ar"] body,
body.ke-home-v10.rtl {
  font-family: Cairo, system-ui, sans-serif;
  line-height: 1.7;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .card .price,
html[dir="rtl"] .stat strong,
html[dir="rtl"] .stat b,
html[dir="rtl"] .filter,
html[dir="rtl"] .btn,
html[dir="rtl"] .chip,
html[dir="rtl"] .cat-tile,
html[dir="rtl"] .city-tile,
html[dir="rtl"] .menu-toggle,
html[dir="rtl"] .lang-switch,
html[dir="rtl"] .lang,
html[dir="rtl"] .trust-item strong,
html[dir="rtl"] .hs-slide h3,
html[dir="rtl"] .cips-slim h2,
html[lang^="ar"] h1,
html[lang^="ar"] h2,
html[lang^="ar"] h3 {
  font-family: Cairo, Inter, sans-serif;
}
html[dir="rtl"] .hero h1 em,
html[dir="rtl"] .hero h1 .accent,
html[lang^="ar"] .hero h1 em,
html[lang^="ar"] .hero h1 .accent {
  font-family: "Playfair Display", Cairo, serif;
  font-style: italic;
}


/* v11: Arabic clarity. Tight Latin letter-spacing and uppercase were distorting Arabic.
   Headings were font-weight 700 but Cairo is only served at 400/600, so the browser
   fake-bolded "و" and it looked like a Latin g between CIPS and ATHE. */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[lang^="ar"] h1,
html[lang^="ar"] h2,
html[lang^="ar"] h3,
html[dir="rtl"] .trust-item strong,
html[dir="rtl"] .card .price,
html[dir="rtl"] .stat strong,
html[dir="rtl"] .stat b,
html[dir="rtl"] .hs-slide h3,
html[dir="rtl"] .cips-slim h2 {
  letter-spacing: 0;
  font-weight: 600;
}
html[dir="rtl"] .trust-item strong,
html[dir="rtl"] .ke-accred {
  white-space: nowrap !important;
  font-family: Cairo, sans-serif;
}
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .trust-item .lab,
html[dir="rtl"] .hs-head .eyebrow,
html[dir="rtl"] .hs-count,
html[dir="rtl"] .site h3,
html[lang^="ar"] .eyebrow,
html[lang^="ar"] .trust-item .lab {
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: Cairo, Inter, sans-serif;
  font-weight: 600;
  font-synthesis: none;
}
html[dir="rtl"] .addr,
html[dir="rtl"] .addr [dir="ltr"] {
  unicode-bidi: isolate;
}
html[dir="rtl"] .ke-ar-and {
  font-family: Cairo, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  padding-inline: 0.2em;
  font-size: 1.05em;
}
