/* Multilingual language switcher */
.language-nav { margin-left: auto; padding: 4px 0; position: relative; }
.language-details > summary {
  cursor: pointer; list-style: none;
  border: 1px solid rgba(255,255,255,.55); border-radius: 6px;
  font: inherit; font-size: .9rem; font-weight: 600;
  padding: 6px 10px; letter-spacing: .05em;
}
.language-details > summary::-webkit-details-marker { display: none; }
.language-dropdown {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40;
  min-width: 180px; background: #14313d; border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.35);
  display: flex; flex-direction: column; overflow: hidden;
}
.language-dropdown a { color: #fff; padding: 9px 14px; text-decoration: none; font-size: .95rem; }
.language-dropdown a:hover, .language-dropdown a:focus { background: rgba(255,255,255,.12); }
.language-dropdown a[aria-current="true"] { font-weight: 700; background: rgba(255,255,255,.08); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 960px) {
  .language-nav { margin-left: 0; width: 100%; }
  .language-dropdown { position: static; width: 100%; }
  .language-details > summary { width: 100%; }
}

/* Use the same map geometry in each language. Its labels stay live text. */
.global-reach-map > svg { display: block; width: 100%; height: auto; }

.site-nav .language-dropdown a { color: #fff; }
.site-nav .language-dropdown a:focus-visible { outline-offset: -3px; }
html:not(:lang(en)) :is(h1, h2, h3, .button, .line-link, .media-index, .page-hero-marker) {
  overflow-wrap: anywhere;
}
html:is(:lang(th), :lang(zh)) {
  --display: Manrope, "PingFang SC", "Microsoft YaHei", "Thonburi", "Leelawadee UI", sans-serif;
}
html:is(:lang(th), :lang(zh)) :is(h1, h2, h3, .eyebrow, .brand-context small, .footer-signature) {
  letter-spacing: normal;
}
html:lang(th) :is(.hero-content h1, .simple-hero h1, .page-hero h1, h2, h3) {
  line-height: 1.3;
}
html:lang(vi) :is(.hero-content h1, .simple-hero h1, .page-hero h1) {
  line-height: 1.14;
}

html:is(:lang(zh), :lang(th)) .customer-hero.retained-hero .hero-content h1 { letter-spacing: normal; }
html:lang(th) .customer-hero.retained-hero .hero-content h1 { line-height: 1.3; }
html:lang(vi) .customer-hero.retained-hero .hero-content h1 { line-height: 1.14; }
.global-reach-map { container-type: inline-size; }
@container (max-width: 640px) {
  .global-reach-map text { font-size: 30px; paint-order: stroke; stroke: #14313d; stroke-width: 3px; }
}
@container (max-width: 425px) {
  .global-reach-map text { font-size: 44px; }
}

/* The open mobile navigation owns the viewport until the visitor closes it. */
body.nav-open .analytics-consent { visibility: hidden; }
