/* Language switcher + the few rules a translated page needs. Loaded only while two or more languages are live. */
.sm-lang{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 12px;border:1px solid var(--c-line,#DDE4E6);border-radius:12px;background:var(--c-card,#fff);color:var(--c-text,#263238);font-size:13px;font-weight:700;line-height:1;white-space:nowrap;text-decoration:none}
.sm-lang:hover{border-color:var(--c-primary,#123B35);color:var(--c-primary,#123B35)}
.sm-lang svg{flex:none}
.home .site-header:not(.is-scrolled) .sm-lang{background:rgba(255,255,255,.14);border-color:transparent;color:#fff}
.site-footer .sm-lang{height:36px}
@media (max-width:480px){.sm-lang{height:38px;padding:0 9px}.sm-lang span{font-size:12px}}
/* Arabic reads a little looser than Persian and has no use for the Persian-only calendar sub-day */
html[lang="ar"] body{line-height:1.95}
html[lang="ar"] .sm-cal-g button i{display:none}
