/* css/kees-lang.css — the language switch «العربية» / English and the font by language. Linked by kees_lang_head().
   The switch keeps the place and look of the old two-button toggle (its box comes from .lang-toggle in css/style.css,
   css/dashboard.css or css/kees-pages.css); here only its two options, which are now plain links.
   Spacing (batch 2k): each option at least 44 x 44, 12px apart, on phone (≤767), tablet (768-1099) and desktop. */
.lang-toggle.kees-lang { gap: 12px; }
.lang-toggle.kees-lang a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 0 20px; border-radius: 50px; box-sizing: border-box;
    background: transparent; color: var(--text, #2A2A2A); font-weight: 700; font-size: 13.3333px; line-height: normal;
    text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease;
    -webkit-tap-highlight-color: rgba(240, 90, 40, 0.15); touch-action: manipulation;
}
.lang-toggle.kees-lang a.active { background: var(--primary, #F05A28); color: #fff; }
.lang-toggle.kees-lang a:not(.active):hover { background: var(--background, #FFF7F2); }
.lang-toggle.kees-lang a:focus-visible { outline: 3px solid var(--secondary, #0F3D2E); outline-offset: 2px; }

/* English pages use Poppins (the server prints <html lang="en">, so there is no flash). Arabic pages keep the font
   their own stylesheet gives them: nothing changes for an Arabic reader. */
html[lang="en"] body { font-family: 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Kufi Arabic', 'Noto Sans Arabic', 'Geeza Pro', Tahoma, Arial, sans-serif; }
