/* English / Arabic page switcher (shared by both languages). */
.lang-switch{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:7px 10px;border:1px solid #9574f45c;border-radius:6px;color:#ece6ff;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap}
.lang-switch:hover{color:#fff;background:#2b2245}
.lang-switch:focus-visible{outline:2px solid #cfbaff;outline-offset:2px}
.lang-switch-code{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 3px;border-radius:12px;background:#33265a;color:#dfc7ff;font-size:11px;font-weight:700;line-height:1}
.lang-switch[lang=ar] .lang-switch-label,.lang-switch-code[lang=ar]{font-family:"Segoe UI","Noto Sans Arabic","Noto Naskh Arabic","SF Arabic","Geeza Pro",Tahoma,Arial,sans-serif}
.lang-switch[lang=ar] .lang-switch-code{font-size:14px}
.side-rail .lang-switch{align-self:stretch;margin-top:auto}
.side-rail .lang-switch + .side-project{margin-top:0}
.rail-minimised .side-rail .lang-switch{justify-content:center;padding-inline:4px}
.rail-minimised .side-rail .lang-switch-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hero > .lang-switch{position:absolute;z-index:4;top:clamp(12px,2.4svh,26px);inset-inline-end:clamp(12px,2.4vw,30px);background:#10132ee8}
.agency-footer-bottom .lang-switch{min-height:34px;padding:5px 10px}
.site-header .lang-switch{margin-inline-start:auto;color:inherit;border-color:currentColor;background:transparent}
.site-header .lang-switch-code{background:transparent;color:inherit;border:1px solid currentColor}
@media(max-width:760px){
  .side-rail .lang-switch{justify-content:center;padding:6px 2px;min-height:38px}
  .side-rail .lang-switch-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
