/* language switcher on English pages (same look as Arabic) */
.lm-lang{display:inline-flex;align-items:center;gap:.45rem;font-family:"Space Grotesk","IBM Plex Sans Arabic",sans-serif;font-size:.78rem;line-height:1;white-space:nowrap;padding:.42rem .7rem;border:1px solid hsl(var(--foreground)/.14);border-radius:999px}
.lm-lang a{color:hsl(var(--muted-foreground));font-weight:500;transition:color .3s;letter-spacing:0}
.lm-lang a:hover{color:#8C6628}
.lm-lang-sep{color:hsl(var(--foreground)/.25)}
.lm-lang-cur{color:hsl(var(--foreground));font-weight:600;letter-spacing:.12em}
@media (max-width:767px){.lm-lang--compact .lm-lang-cur,.lm-lang--compact .lm-lang-sep{display:none}.lm-lang--compact{padding:.32rem .6rem;font-size:.74rem}}
/* the switcher widens the link group: below 1440px let the header clock sit in the flow instead of absolute-centred */
@media (min-width:1280px) and (max-width:1439px){nav:has(.lm-lang) .lm-hclock{position:static;transform:none}}
@media (min-width:768px) and (max-width:1100px){nav:has(.lm-lang) .hidden.md\:flex{gap:1.25rem}}
