.language-options { width: 148px; max-width: calc(100vw - 32px); }
.language-options a[aria-current="true"] { color: var(--accent); background: #edf5fb; }
.language-options a .language-check { visibility: hidden; }
.language-options a[aria-current="true"] .language-check { visibility: visible; }
.language-options a { white-space: nowrap; direction: ltr; }
.language-options a .language-check { display: block; flex: 0 0 14px; }
.phone-number { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
html:not([lang="zh-CN"]) .primary-nav { gap: 18px; }
html:not([lang="zh-CN"]) .primary-nav > a, html:not([lang="zh-CN"]) .nav-group > a { white-space: nowrap; }
html:not([lang="zh-CN"]) .ref-hero-copy h1 { font-size: clamp(36px, 4.2vw, 66px); }
html:not([lang="zh-CN"]) .ref-hero-copy h2 { font-size: clamp(20px, 2vw, 30px); }
html:not([lang="zh-CN"]) .hero-actions { flex-wrap: wrap; }
html:not([lang="zh-CN"]) .ref-stats p { line-height: 1.5; }
[dir="rtl"] body { font-family: Arial, Tahoma, sans-serif; }
[dir="rtl"] .primary-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .language-options { left: 0; right: auto; text-align: right; }
[dir="rtl"] :is(input[type="tel"], input[type="email"], a[href^="mailto:"], a[href^="tel:"]) { direction: ltr; unicode-bidi: isolate; }
/* Mirror the contact row layout; isolate only the email text, not its icon grid. */
[dir="rtl"] .exsafe-footer-contact { text-align: right; }
[dir="rtl"] .exsafe-footer-contact address a[href^="mailto:"] { direction: rtl; }
[dir="rtl"] .exsafe-footer-contact address a[href^="mailto:"] > span { direction: ltr; unicode-bidi: isolate; text-align: right; }
[dir="rtl"] :is(.brand, .exsafe-footer-brand, .hero-product, .ref-hero-media, .ref-client-viewport, .company-market-map) { direction: ltr; }
[dir="rtl"] .reference-home .has-product-model .ref-hero-copy { direction: ltr; }
[dir="rtl"] .reference-home .has-product-model .ref-hero-copy > * { direction: rtl; text-align: right; align-self: flex-start; }
[dir="rtl"] .hero-actions { justify-content: flex-end; }
[dir="rtl"] .service-faq-list details p { padding-right: 0; padding-left: 38px; }
[dir="rtl"] .service-policy-list dd { margin: 0; }
[dir="rtl"] .nav-dropdown-title, [dir="rtl"] .nav-dropdown-links { text-align: right; }
/* Keep banner copy over the photograph's dark area while reading right to left. */
[dir="rtl"] .inner-banner-content { direction: ltr; }
[dir="rtl"] .inner-banner-content > * { direction: rtl; text-align: right; }
[dir="rtl"] .inner-banner-lead { margin-inline-start: auto; }
[dir="rtl"] .fa-arrow-right, [dir="rtl"] .fa-angle-right, [dir="rtl"] .fa-long-arrow-right { transform: scaleX(-1); }
@media (min-width: 1121px) and (max-width: 1400px) {
  html:not([lang="zh-CN"]) .site-header .primary-nav { gap: 12px; }
  html:not([lang="zh-CN"]) .site-header .primary-nav a { font-size: 13px; }
  html:not([lang="zh-CN"]) .site-header .brand img.brand-logo-en { width: 155px; }
  html:not([lang="zh-CN"]) .site-header .header-inner { gap: 14px; }
}
@media (max-width: 1120px) {
  [dir="rtl"] .header-tools { margin-left: 0; margin-right: auto; }
  [dir="rtl"] .nav-dropdown { padding-left: 0; padding-right: 16px; }
}
@media (max-width: 700px) {
  html:not([lang="zh-CN"]) .mobile-actions a { min-width: 0; gap: 8px; font-size: 12px; }
  html:not([lang="zh-CN"]) .reference-home .has-product-model .ref-hero-copy h1 { font-size: clamp(28px, 8vw, 36px); }
  html:not([lang="zh-CN"]) .reference-home .has-product-model .ref-hero-copy h2 { font-size: clamp(18px, 4.8vw, 21px); }
  [dir="rtl"] .reference-home .has-product-model .ref-hero-copy > :is(p, h1, h2) { align-self: stretch; }
  [dir="rtl"] .service-faq-list details p { padding-left: 0; }
}
@media (max-width: 980px) and (max-height: 540px) and (orientation: landscape) {
  html:not([lang="zh-CN"]) .reference-home .has-product-model .ref-hero-copy h1 { font-size: clamp(28px, 4vw, 36px); }
  html:not([lang="zh-CN"]) .reference-home .has-product-model .ref-hero-copy h2 { font-size: clamp(18px, 2.4vw, 21px); }
}
