/* Arabic only. Reuse the bundled Amiri Arabic fonts and existing RTL layout. */
@font-face{font-family:ShifaArabic;src:url('/assets/fonts/900a7f3430df5f05.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:ShifaArabic;src:url('/assets/fonts/b425f4670bc7261b.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
html[lang="ar"] body{--font-serif:ShifaArabic,Amiri,serif;--font-urdu:ShifaArabic,Amiri,serif;font-family:ShifaArabic,Amiri,serif}
html[lang="ar"] :is(#main,.site-header,.site-footer,.mobile-drawer,.floating-tools,.search-panel,.detail-modal) :is(h1,h2,h3,h4,h5,h6,p,a,span,em,strong,b,small,label,li,summary,button,input,select,textarea,option,.footer-label,.footer-label>div,.detail-title){font-family:ShifaArabic,Amiri,serif!important;letter-spacing:0!important;font-style:normal;text-transform:none}
html[lang="ar"] :is(#main,.site-footer,.site-header) .latin-ltr,html[lang="ar"] #main :is(input[type="email"],input[type="tel"]),html[lang="ar"] #langLabel{direction:ltr;unicode-bidi:isolate;font-family:'DM Sans',sans-serif!important}
html[lang="ar"] .site-footer .footer-contact :is(a[href^="mailto:"],a[href^="tel:"],a[href*="wa.me/"]){direction:ltr;unicode-bidi:isolate;justify-content:flex-start;text-align:left}
html[lang="ar"] .arabic-preview-notice{padding:9px 16px;text-align:center;background:#153f31;color:#f5d58b;font-size:16px}


/* Arabic footer contact cleanup: keep address RTL but preserve e-mail/phone readability. */
html[lang="ar"] .site-footer .footer-contact{align-items:stretch;text-align:right}
html[lang="ar"] .site-footer .footer-contact :is(p,a){display:grid;grid-template-columns:16px minmax(0,1fr);column-gap:10px;align-items:start;justify-items:start}
html[lang="ar"] .site-footer .footer-contact .icon{margin-top:.22em}
html[lang="ar"] .site-footer .footer-contact .contact-line-text{display:block;min-width:0;overflow-wrap:anywhere}
html[lang="ar"] .site-footer .footer-contact p .contact-line-text{text-align:right}
html[lang="ar"] .site-footer .footer-contact :is(a[href^="mailto:"],a[href^="tel:"],a[href*="wa.me/"]){width:100%;direction:ltr;unicode-bidi:isolate;justify-content:flex-start;text-align:left;align-self:stretch}
@media(max-width:760px){html[lang="ar"] .site-footer .footer-contact{max-width:100%}}
