/* Sarmed Contracting - Arabic (RTL) pages. Loaded only when the WPML language is Arabic. */
html[lang|="ar"] body,
html[lang|="ar"] body :is(h1,h2,h3,h4,h5,h6,p,a,span,li,button,input,textarea,select,label,summary,em,strong){font-family:"Cairo",Tahoma,"Segoe UI",sans-serif !important;letter-spacing:0 !important}
html[lang|="ar"] :is(h1,h2,h3,h4,h5,h6){line-height:1.4 !important}
html[lang|="ar"] p{line-height:1.8}
html[lang|="ar"] :is(h1,h2,h3,h4,h5,h6) em{font-style:normal !important}
/* Phone numbers, emails and times always read left to right */
html[dir="rtl"] a[href^="tel:"],html[dir="rtl"] a[href^="mailto:"]{unicode-bidi:isolate}
html[dir="rtl"] a[href^="tel:"] p,html[dir="rtl"] a[href^="mailto:"] p{direction:ltr;unicode-bidi:isolate}
/* Switcher label in Arabic font on Arabic pages */
html[lang|="ar"] .sc-lang__opt[lang="en"]{font-family:"Poppins",sans-serif !important;letter-spacing:.06em !important}
html[lang|="ar"] .sc-lang--light::before{left:auto;right:-12px}
html[dir="rtl"] a[href^="tel:"] p,html[dir="rtl"] a[href^="mailto:"] p,html[dir="rtl"] p:has(> a[href^="tel:"]),html[dir="rtl"] p:has(> a[href^="mailto:"]){text-align:right}

/* Right-pointing arrow icons point left in RTL */
html[dir="rtl"] svg:has(> path[d="m13 6 6 6-6 6"]){transform:scaleX(-1)}

html[lang|="ar"] body em{font-style:normal !important}

html[dir="rtl"] :has(> .sc-lang--dark){direction:rtl;justify-content:flex-start !important}
