/* Arabic (right-to-left) adjustments for alihmoud.com — loaded only on /ar/ pages */
:root{
  --display:"Marcellus","Noto Naskh Arabic","Optima",Georgia,serif;
  --body:"Hanken Grotesk","Noto Sans Arabic","Helvetica Neue",Arial,sans-serif;
}
html[dir=rtl] body{line-height:1.85}
/* Arabic is a joined script: letter-spacing breaks the letters apart */
html[dir=rtl] body *:not(.lockup):not(.lockup *):not(.dz-chips a):not(.chip-latin){letter-spacing:0!important}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{line-height:1.35}
html[dir=rtl] .eyebrow{font-size:12.5px}
/* the Latin lockup keeps its spacing and reads left to right */
html[dir=rtl] .lockup{direction:ltr}
/* numbers, phones and mixed Latin labels keep their own direction */
html[dir=rtl] a[href^="tel:"],html[dir=rtl] a[href^="https://wa.me"],html[dir=rtl] #hdr-phone,
html[dir=rtl] .creds b,html[dir=rtl] .ab-stats b,html[dir=rtl] .statrow b,html[dir=rtl] .kpis b,html[dir=rtl] .kpi b,html[dir=rtl] .glance b,
html[dir=rtl] footer .reg span,html[dir=rtl] .rmeta span,html[dir=rtl] .lmeta span,html[dir=rtl] td,html[dir=rtl] .src,html[dir=rtl] .tick span{unicode-bidi:plaintext}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=tel]{direction:ltr;text-align:right}
/* charts read left to right (time runs left to right) */
html[dir=rtl] svg{direction:ltr}
/* arrows that point "forward" */
html[dir=rtl] .arrow,html[dir=rtl] .go-arrow{display:inline-block;transform:scaleX(-1)}
/* language switcher arrow */
html[dir=rtl] .lsw select{padding:9px 12px 9px 24px}
html[dir=rtl] .lsw:after{right:auto;left:10px}
/* footer registration line: keep "fäm Real Estate Brokers" in one piece */
html[dir=rtl] footer .reg > span{display:block}
html[dir=rtl] footer .reg > span span{display:inline!important}
