/* Additions: language switch, gaming boundaries, references pagination, RTL & Arabic typography. */
.site-lang{font-size:14px;color:#cfcdca;border:1px solid #3a3a3d;border-radius:3px;padding:7px 10px;line-height:1;white-space:nowrap}
.site-lang:hover{color:#fff;border-color:var(--orange)}
.evsg-pill{display:inline-block;border:1px solid var(--orange);color:var(--orange);border-radius:999px;padding:7px 14px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 22px}
.evsg-boundaries{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(30px,5vw,80px);padding-block:clamp(50px,7vw,96px);border-top:1px solid #2c2c2e}
.evsg-boundary-card{border:1px solid #3a3a3d;padding:clamp(22px,3vw,34px);background:#101012}
.evsg-boundary-card ul{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.evsg-boundary-card li{position:relative;padding-inline-start:22px;font-size:15px;line-height:1.55;color:#ddd}
.evsg-boundary-card li:before{content:"";position:absolute;inset-inline-start:0;top:.55em;width:8px;height:8px;background:var(--orange)}
.evsg-boundary-note{margin:22px 0 0;padding-top:18px;border-top:1px solid #2c2c2e;font-size:14px;color:#a9a7a4}
.evsg-faq{padding-block:clamp(40px,6vw,80px);border-top:1px solid #2c2c2e}
.evsg-faq h2{margin-bottom:22px}
.ref-rights{font-size:13px;color:#a9a7a4;max-width:62ch;margin-top:14px}
.ref-more-wrap{margin:34px 0 0;text-align:center}
.ref-more{background:transparent;border:1px solid #555;color:#fff;padding:12px 22px;border-radius:3px;font-size:14px}
.ref-more:hover{border-color:var(--orange);color:var(--orange)}
.foot-legal{display:inline-flex;gap:18px;flex-wrap:wrap}
.evh-rights{margin:18px 0 0;font-size:13px;color:#535852;max-width:70ch}
.evh-detail-limits{margin:14px 0 0;font-size:14px;color:#3f3c38;max-width:62ch}
.evh-detail-note{display:inline-block;margin:12px 0 0;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#b4401a;border:1px solid #e3b6a5;border-radius:999px;padding:5px 10px}

/* Arabic & Right-to-left typography and layout */
html[lang="ar"], html[dir="rtl"] {
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}
html[lang="ar"] body,
html[dir="rtl"] body,
html[dir="rtl"] .evh,
html[dir="rtl"] .evh h1,
html[dir="rtl"] .evh h2,
html[dir="rtl"] .evh h3,
html[dir="rtl"] .evsg,
html[dir="rtl"] .ec-page {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}
/* Arabic is a joined cursive script; non-zero letter-spacing breaks connections or overlaps glyphs */
html[dir="rtl"] *,
html[lang="ar"] *,
[lang="ar"],
[dir="rtl"] {
  letter-spacing: normal !important;
}
/* Keep the Latin brand lockup crisp inside RTL headers/footers */
html[dir="rtl"] .brand-lock strong {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.02em !important;
}
html[dir="rtl"] .brand-lock small {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.12em !important;
}
html[dir="rtl"] .evh h1 em {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
}
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .site-nav { margin-inline-start: auto; margin-inline-end: 0; }
html[dir="rtl"] .site-nav a[aria-current="page"]:after { inset-inline-start: 0; left: auto; right: 0; }
html[dir="rtl"] .foot-links { justify-items: start; }
html[dir="rtl"] .ref-meta span { transform: none; }
html[dir="rtl"] .evsg-boundary-card li { padding-inline-start: 22px; }
html[dir="rtl"] .evsg-dot { margin-inline-start: .06em; }
html[dir="rtl"] .ref-tools, html[dir="rtl"] .ref-filters { direction: rtl; }
html[dir="rtl"] .ref-search input { text-align: right; }
html[dir="rtl"] .site-footer { text-align: right; }
@media(max-width:790px){.site-lang{padding:6px 8px;font-size:13px}}
@media(max-width:900px){.evsg-boundaries{grid-template-columns:1fr}}

/* Mobile header compaction */
@media (max-width: 640px) {
  .site-header .site-bar { flex-wrap: nowrap; min-height: 60px; gap: 8px; }
  .site-header .site-lang { padding: 6px 7px; font-size: 13px; border: 1px solid #3a3a3c; border-radius: 3px; }
  .site-header .site-contact { padding: 7px 10px; min-height: 36px; font-size: 13px; margin-inline-start: 0; }
  .site-header .site-menu { min-width: 44px; padding: 6px 7px; font-size: 13px; }
  .site-header .brand-lock { min-width: 0; }
  .site-header .brand-lock strong { font-size: 18px; letter-spacing: -0.01em; }
  .site-header .brand-lock small { font-size: 8px; letter-spacing: .1em; }
  .site-header .brand-lock img { width: 32px; height: 32px; }
  .site-header .site-nav { order: 5; }
}
@media (max-width: 400px) {
  .site-header .brand-lock strong { font-size: 16px; letter-spacing: -0.01em; }
  .site-header .brand-lock small { display: none; }
  .site-header .site-contact .cta-full { display: none; }
  .site-header .site-contact .cta-short { display: inline; }
}

/* Direct lead contact links & Scope notice */
.evsg-lead-links{margin:10px 0 0;font-size:14px;color:#cfcdca}
.evsg-lead-links a{color:var(--orange);text-decoration:none;border-bottom:1px solid transparent}
.evsg-lead-links a:hover{border-bottom-color:var(--orange)}
.evsg-paper-leads .evsg-lead-links{color:#57534e}
.evsg-paper-leads .evsg-lead-links a{color:#b4401a}
.evsg-scope-notice{padding-block:0 clamp(40px,6vw,72px)}
.evsg-scope-notice .evsg-boundary-card{background:#101012;color:#f5f4f2}
.evsg-scope-notice .evsg-boundary-card h3{margin:0 0 10px;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--orange)}
.evsg-scope-notice .evsg-boundary-card p{margin:0;font-size:14px;line-height:1.6;color:#cfcdca}
