/* Kerr University: Arabic (RTL) layer for /ar/ (2026-10-08). Loaded only by the Arabic homepage.
   1) Arabic fonts are mapped INTO the brand families with unicode-range, so every existing rule that says
      "Fraunces" or "Libre Franklin" keeps the brand Latin face and gets Noto Kufi Arabic / IBM Plex Sans Arabic
      for Arabic letters. Fonts: SIL OFL 1.1, self-hosted.  2) Mirrors the physical left/right rules of the shared CSS. */
@font-face{font-family:"Fraunces";src:url(/assets/ku-ar/fonts/noto-kufi-arabic-var.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Fraunces";src:url(/assets/ku-ar/fonts/noto-kufi-arabic-var.woff2) format("woff2");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Source Serif 4";src:url(/assets/ku-ar/fonts/noto-kufi-arabic-var.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Libre Franklin";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-400.woff2) format("woff2");font-weight:100 449;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Libre Franklin";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-500.woff2) format("woff2");font-weight:450 549;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Libre Franklin";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-600.woff2) format("woff2");font-weight:550 649;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Libre Franklin";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-700.woff2) format("woff2");font-weight:650 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
/* ku-brand.css re-skins headings/body with "Kerr Display" / "Kerr Sans" (DM fonts, no Arabic glyphs): same mapping */
@font-face{font-family:"Kerr Display";src:url(/assets/ku-ar/fonts/noto-kufi-arabic-var.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Kerr Display";src:url(/assets/ku-ar/fonts/noto-kufi-arabic-var.woff2) format("woff2");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Kerr Sans";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-400.woff2) format("woff2");font-weight:100 449;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Kerr Sans";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-500.woff2) format("woff2");font-weight:450 549;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Kerr Sans";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-600.woff2) format("woff2");font-weight:550 649;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"Kerr Sans";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-700.woff2) format("woff2");font-weight:650 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:"KU Arabic Sans";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-400.woff2) format("woff2");font-weight:100 549;font-display:swap}
@font-face{font-family:"KU Arabic Sans";src:url(/assets/ku-ar/fonts/ibm-plex-sans-arabic-700.woff2) format("woff2");font-weight:550 900;font-display:swap}
/* elements using inherit/system stacks (buttons, inputs, the EN pop-up, injected widgets) */
html[dir=rtl] body,html[dir=rtl] button,html[dir=rtl] input,html[dir=rtl] .ku-en-box{font-family:"Libre Franklin","KU Arabic Sans",system-ui,sans-serif}
html[dir=rtl] .ku-en-box h2{font-family:"Fraunces","KU Arabic Sans",Georgia,serif;line-height:1.5}

/* Arabic typography: joined script -> no tracking, no synthetic italics, taller lines */
html[dir=rtl] :is(h1,h2,h3,h4,.eyebrow,.rule,.rule span,.btn,.chip,.pill,.stat .lbl,.foot-col h4,.int-links a,.kuh-card-top small,.kul-off,.kul-tag,.kul-flagline,.ku-intro-sub,.mobile-menu .mlabel,.ku-mm .mlabel,.ku-exit-eyebrow,.ku-en-eyebrow,.rev .rev-note,.ku-menu a,.kuh-promo-badge,.brand b span,.ku-proof-track,.ku-theme-label){letter-spacing:0!important}
html[dir=rtl] header.site .nav-links a,html[dir=rtl] header.site .has-sub>button,html[dir=rtl] header.site .btn--gold{letter-spacing:0!important}
html[dir=rtl] :is(em,i,.pullquote,h1 em,h2 em){font-style:normal}
html[dir=rtl] body{line-height:1.75}
html[dir=rtl] :is(h1,h2,h3){line-height:1.45}
html[dir=rtl] #kuHero.kuh-final h1{line-height:1.38;max-width:17em;font-size:clamp(1.9rem,1.7vw + 1.05rem,2.85rem)}
html[dir=rtl] #kuHero.kuh-final p.lede{line-height:1.85}
html[dir=rtl] .kuh-facts li{line-height:1.5}
html[dir=rtl] .kul-plan h3,html[dir=rtl] .kul-now{line-height:1.4}

/* Latin brand marks stay left-to-right (otherwise "KERR UNIVERSITY" would flip to "UNIVERSITY KERR") */
html[dir=rtl] :is(.ku-intro-title,.crest-title,.brand>b,.kuh-card-top b,.founder-copy>h2,.social-row .li-tag small){direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .brand>b{text-align:right}
html[dir=rtl] .brand>b>span{direction:rtl}
html[dir=rtl] bdi{unicode-bidi:isolate;direction:ltr}

/* ---------- mirrors of physical left/right rules in the shared CSS ---------- */
html[dir=rtl] .skip{left:auto;right:-999px;border-radius:0 0 0 10px}
html[dir=rtl] .skip:focus{right:0;left:auto}
html[dir=rtl] .submenu{left:auto;right:0}
html[dir=rtl] .lang-menu{right:auto;left:0}
html[dir=rtl] .lang-menu button,html[dir=rtl] .ku-lang-dd .ku-lang-switch a{text-align:right}
html[dir=rtl] .mobile-menu .sub a,html[dir=rtl] .ku-mm .sub a{padding-left:0;padding-right:1.3em}
html[dir=rtl] .hero .crest-wm{right:auto;left:-6%;transform:rotate(6deg)}
html[dir=rtl] .prog-card .prog-badge{right:auto;left:.8rem}
html[dir=rtl] .portrait .seal{right:auto;left:14px}
html[dir=rtl] .pullquote{border-left:0;padding-left:0;border-right:3px solid var(--gold);padding-right:1.2rem}
html[dir=rtl] .kuh-card,html[dir=rtl] #kuHero.kuh-final .hero-grid,html[dir=rtl] #kuHero.kuh-final .kuh-copy,html[dir=rtl] #kuHero.kuh-final h1,html[dir=rtl] #kuHero.kuh-final p.lede{text-align:right}
html[dir=rtl] .kuh-facts li::before{margin-right:0;margin-left:.45rem}
html[dir=rtl] .kuh-card-link:hover svg{transform:scaleX(-1) translateX(3px)}
/* arrows point the reading direction */
html[dir=rtl] :is(.kuh-go svg,.kuh-card-link svg,.kuh-all a svg,.kuh-promo>svg){transform:scaleX(-1)}
html[dir=rtl] .kul-global .kul-item::after{left:auto;right:0}
html[dir=rtl] .kul-now small{margin-left:0;margin-right:.35rem}
html[dir=rtl] .kul-plan li{padding-left:0;padding-right:1.5rem}
html[dir=rtl] .kul-plan li::before{left:auto;right:.1rem}
html[dir=rtl] .ku-lang-switch{margin-right:0;margin-left:.6rem}
html[dir=rtl] .ku-lang-dd{margin-right:0;margin-left:.5rem}
html[dir=rtl] .ku-lang-dd>summary::after{margin-left:0;margin-right:.15rem}
html[dir=rtl] header .nav .ku-lang-dd .ku-lang-switch,html[dir=rtl] .nav .ku-lang-dd .ku-lang-switch{right:auto;left:0}
html[dir=rtl] .ku-en-tag{margin-left:0;margin-right:.45em}
html[dir=rtl] .ku-en-x{right:auto;left:10px}
html[dir=rtl] .kul-reg s,html[dir=rtl] .kul-now bdi{display:inline-block}
html[dir=rtl] .ku-intro-sub{direction:rtl}
/* language drop-down: names for the two new entries (same pattern as EN/ES/PT in ku-i18n-header.css) */
.ku-lang-dd .ku-lang-switch a[hreflang="tr"]::after{content:" · Türkçe";font-weight:500;opacity:.75}
.ku-lang-dd .ku-lang-switch a[hreflang="ar"]::after{content:" · العربية";font-weight:500;opacity:.75}
