/* Noto Kufi Arabic, Copyright 2022 Noto Project Authors, SIL OFL 1.1.
   Font glyphs are unchanged. Cyber styling is applied only to UI/display text. */
@font-face{font-family:'Noto Kufi Arabic';src:url('/fonts/NotoKufiArabic.woff2') format('woff2'),url('/fonts/NotoKufiArabic.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
html[lang="ar"] :is(.home-heading h1,.hero h1,.section-head :is(h1,h2),.prose-heading :is(h1,h2),.prose-block h3,.reading-intro h2,.reading-teaser h2,.reading-term h3,.reading-arabic,.sequence-heading h2,.nav-item,.detail-title h1,.detail-title h2){font-family:'Noto Kufi Arabic',Tahoma,Arial,sans-serif;letter-spacing:normal;line-height:1.95;font-weight:600}
html[lang="ar"] :is(.home-heading h1,.hero h1){font-size:clamp(28px,3.6vw,43px);text-shadow:0 0 18px #ee95352b;position:relative;padding-bottom:20px}
html[lang="ar"] :is(.home-heading h1,.hero h1)::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:min(240px,75%);height:2px;background:linear-gradient(90deg,transparent,#81d6dc,#eeb96d);box-shadow:0 0 12px #80dce64d}
html[lang="ar"] .nav-item{font-size:11px;padding-block:10px;white-space:normal;overflow-wrap:normal}
html[lang="ar"] .reading-arabic{font-size:clamp(23px,3vw,32px);color:#f0c080;text-shadow:0 0 15px #e7a34624}
html[lang="ar"] .reading-term h3{font-size:15px;line-height:2.1}
html[lang="ar"] .reading-intro h2{font-size:clamp(23px,3vw,32px)}
html[lang="ar"] .reading-teaser h2,html[lang="ar"] .sequence-heading h2{font-size:clamp(22px,3vw,30px)}
html[lang="ar"] .reading-term dd,html[lang="ar"] .reading-intro p{line-height:2.15}
/* Quran witnesses and verses intentionally keep the existing .arabic reading fonts. */
@media(max-width:700px){html[lang="ar"] .nav-item{font-size:10px;min-height:44px}html[lang="ar"] :is(.home-heading h1,.hero h1){font-size:28px;line-height:2}}
@media(prefers-reduced-motion:reduce){html[lang="ar"] *{animation:none!important;transition:none!important}}

/* Arabic home title keeps its lettering without the decorative underline. */
html[lang="ar"] .home-heading h1::after{content:none;display:none}
