/* Arabic pages (/ar/), 23 Nov 2026: right-to-left layout and Arabic type.
   Fonts (SIL Open Font License): Alexandria for headings (geometric, pairs with Jost), IBM Plex Sans Arabic for text
   (pairs with Raleway). Latin words in the text (LEI, brand names) keep the site's Latin fonts. Arabic must never be
   letter-spaced or upper-cased, so both are switched off. */
@font-face{font-family:"Alexandria";font-style:normal;font-weight:200 500;font-display:swap;src:url(/assets/lei/fonts/alexandria-arabic.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EEFF}
@font-face{font-family:"Plex Arabic";font-style:normal;font-weight:300;font-display:swap;src:url(/assets/lei/fonts/plexar-300.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Plex Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/lei/fonts/plexar-400.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Plex Arabic";font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/lei/fonts/plexar-500.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

html[lang="ar"] body,
html[lang="ar"] body :where(p,li,a,span,div,label,input,textarea,select,button,blockquote,figcaption,small,strong,b,em,td,th,dd,dt){
  font-family:"Plex Arabic","Raleway LEI",Raleway,sans-serif!important}
html[lang="ar"] :where(h1,h2,h3,h4,.elementor-heading-title,.lei-hero__title,.lei-h-philo__statement,.lei-h-projects__title,
  .lei-h-proj__name,.lei-h-exp__title,.lei-h-exp__name,.lei-newsletter__title,.lei-legal__tag,.lei-search__input,.lei-search__title,
  .lei-statement__text,.lei-sm__title,.lei-founder blockquote,.lei-team__name,.lei-career__title){
  font-family:"Alexandria",Jost,sans-serif!important}
html[lang="ar"] body *:not(i):not([class*="fa-"]):not(svg):not(svg *){letter-spacing:0!important;text-transform:none!important}
html[lang="ar"] .lei-hero__title em,html[lang="ar"] .lei-hero__title em *{font-style:normal}
html[lang="ar"] .lei-hero__title{line-height:1.25;font-weight:300;max-width:11em}
html[lang="ar"] .lei-h-philo__statement,html[lang="ar"] .lei-h-projects__title,html[lang="ar"] .lei-h-exp__title{line-height:1.45}
html[lang="ar"] p,html[lang="ar"] li{line-height:1.95}
html[lang="ar"] .lei-h__label,html[lang="ar"] .lei-h-proj__meta,html[lang="ar"] .lei-h-link,html[lang="ar"] .lei-hero__foot,
html[lang="ar"] .lei-search__kind,html[lang="ar"] .lei-search__status,html[lang="ar"] .lei-legal__links{font-size:13px}

/* mirrored positions that CSS does not flip by itself */
[dir="rtl"] .lei-hero__intro{right:auto;left:56px}
[dir="rtl"] .lei-h-proj--right{margin-left:0;margin-right:auto}
[dir="rtl"] .lei-h-philo__grid,[dir="rtl"] .lei-h-philo__foot{margin-left:0;margin-right:auto}
[dir="rtl"] a.lei-wa{right:auto;left:22px}
[dir="rtl"] .lei-newsletter{text-align:right}
[dir="rtl"] .lei-newsletter__row button{padding:0 18px 0 0}
[dir="rtl"] .lei-nav__search{margin:0 0 0 -9px;justify-self:start}
[dir="rtl"] .lei-search__hit[lang="en"]{text-align:left}
[dir="rtl"] .lei-skip{left:auto;right:16px}
[dir="rtl"] input[type="email"],[dir="rtl"] input[type="tel"]{direction:ltr;text-align:right}
@media (max-width:1024px){[dir="rtl"] .lei-hero__intro{left:40px}}
@media (max-width:767px){[dir="rtl"] a.lei-wa{left:14px}}
/* nothing may widen the page sideways (in RTL, anything past the left edge becomes scrollable) */
html[dir="rtl"],html[dir="rtl"] body{overflow-x:clip}
@media (max-width:1024px){[dir="rtl"] .lei-lang--m{left:auto;right:92px}}
html[lang="ar"] .lei-hero__title em{white-space:nowrap}
