/* Public Arabic typography. Keep spacing natural for joined letters. */
html[lang="ar"] body {
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  font-weight: 400;
}

html[lang="ar"] body :is(h1, h2, h3, .ukg-promo-heading) {
  letter-spacing: normal !important;
  line-height: 1.45 !important;
}

html[lang="ar"] body :is(h1, .ukg-promo-heading),
html[lang="ar"] body .hero.ukg-marketing-hero .hero-slide h1 {
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

html[lang="ar"] body :is(h2, h3),
html[lang="ar"] body .site-header :is(.main-nav a, .mega-menu strong) {
  font-weight: 600 !important;
}

html[lang="ar"] body :is(.article-body, .public-content-frame) :is(p, li) {
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  overflow-wrap: anywhere;
}

html[lang="ar"] body :is(.article-body, .public-content-frame) p {
  max-inline-size: 65ch;
  margin-block-end: 1em;
}

@media (max-width: 640px) {
  html[lang="ar"] body,
  html[lang="ar"] body :is(.article-body, .public-content-frame) :is(p, li) {
    font-size: 1rem !important;
  }
}
