/* Jamia Mahmoodia Theme v104 — 22Media Urdu typography authority.
   Matches the clean 22Media Urdu system: Noto Naskh Arabic for editorial display,
   Noto Sans Arabic for interface/body controls. No Nastaliq/italic mixing. */

html[lang="ur"] body#jm-site-root.jm-ui-v104{
  --jm104-urdu-editorial:"Noto Naskh Arabic","Noto Sans Arabic",serif;
  --jm104-urdu-ui:"Noto Sans Arabic","Noto Naskh Arabic",Arial,sans-serif;
  font-family:var(--jm104-urdu-ui)!important;
  font-style:normal!important;
  font-synthesis:none!important;
  direction:rtl!important;
}

/* Editorial/display Urdu: headlines, section titles and prominent names. */
html[lang="ur"] body#jm-site-root.jm-ui-v104.jm-ui-v103 :is(
  h1,h2,h3,h4,h5,h6,
  .jm70-title,.jm70-hero-title,.jm71-hero-copy>h1,.jm66-page-title,
  .jm66-ifta-page .jm66-section-head h2,.jm66-research-page .jm66-section-head h2,
  .jm75-research-public h1,.jm75-research-public h2,.jm75-research-public h3,
  .jm70-footer h3,.jm70-mobile-group>summary strong
){
  font-family:var(--jm104-urdu-editorial)!important;
  font-style:normal!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  line-height:1.55!important;
}

/* Interface/body Urdu: same clean sans family used by 22Media Urdu UI. */
html[lang="ur"] body#jm-site-root.jm-ui-v104.jm-ui-v103 :is(
  p,a,button,label,summary,small,span,li,figcaption,blockquote,
  input,textarea,select,option,table,th,td,dl,dt,dd
):not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]){
  font-family:var(--jm104-urdu-ui)!important;
  font-style:normal!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

html[lang="ur"] body#jm-site-root.jm-ui-v104.jm-ui-v103 :is(p,li,blockquote,dd){line-height:1.9!important}
html[lang="ur"] body#jm-site-root.jm-ui-v104.jm-ui-v103 :is(a,button,label,summary,small,span,th,td){line-height:1.65!important}
html[lang="ur"] body#jm-site-root.jm-ui-v104.jm-ui-v103 :is(input,textarea,select,option){line-height:1.55!important}
html[lang="ur"] body#jm-site-root.jm-ui-v104.jm-ui-v103 :is(em,i:not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"])){
  font-style:normal!important;
}
html[lang="ur"] body#jm-site-root.jm-ui-v104.jm-ui-v103 :is(input,textarea)::placeholder{
  font-family:var(--jm104-urdu-ui)!important;
  font-style:normal!important;
}

/* Keep Urdu labels properly right-aligned without changing icon glyphs. */
html[lang="ur"] body#jm-site-root.jm-ui-v104.jm-ui-v103 :is(
  .jm70-nav,.jm70-mobile-nav,.jm70-footer,.jm66-ifta-page,.jm66-research-page,
  .jm75-research-public,.jm-prospectus-page,.jm66-departments-page
){text-align:right!important}

/* Language chooser may intentionally display other language names in their native script. */
html[lang="ur"] body#jm-site-root.jm-ui-v104 .jm84-language-list [data-lang="en"] .jm84-language-text{
  font-family:Manrope,"Segoe UI",Arial,sans-serif!important;
  direction:ltr!important;text-align:left!important;
}
html[lang="ur"] body#jm-site-root.jm-ui-v104 .jm84-language-list [data-lang="ur"] .jm84-language-text{
  font-family:var(--jm104-urdu-ui)!important;
  direction:rtl!important;text-align:right!important;
}

/* Urdu text that appears inside the English administrative experience also uses the same editorial family. */
body#jm-site-root :is([lang="ur"],.jm81-urdu-value,.jm74-urdu-value){
  font-family:"Noto Naskh Arabic","Noto Sans Arabic",serif!important;
  font-style:normal!important;
  letter-spacing:0!important;
}
