/* Language chooser: same page in fourteen locally hosted editions. */
.em-site .em-language-nav{position:relative;flex:none;display:block;text-align:left;z-index:65;border-left:1px solid #DCE5F2;padding-left:16px;line-height:1.5}
.em-site .em-language-nav>summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;color:#26466C;white-space:nowrap;font-size:13px}
.em-site .em-language-nav>summary::-webkit-details-marker{display:none}
.em-site .em-language-nav>summary img,.em-site .em-language-options img,.em-site .em-mobile-languages img{display:block;width:22px;height:16px;object-fit:contain;border-radius:2px;flex:none}
.em-site .em-language-nav>summary:focus-visible{outline:2px solid #6D3BEF;outline-offset:5px;border-radius:3px}
.em-site .em-language-nav[open]>summary{color:#5530B2}
.em-site .em-language-options{position:absolute;right:0;top:calc(100% + 20px);width:390px;max-width:calc(100vw - 32px);padding:20px;border:1px solid #DCE5F2;border-radius:16px;background:#fff;box-shadow:0 12px 36px #0B183E15;color:#0B183E;box-sizing:border-box;white-space:normal}
.em-site .em-language-options>p{margin:0 0 14px;font-size:14px;font-weight:700;color:#0B183E}
.em-site .em-language-options>nav{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;font-size:13px}
.em-site .em-language-options a{display:flex;align-items:center;gap:9px;padding:10px 9px;border-radius:8px;color:#26466C;text-decoration:none;font-weight:400;white-space:nowrap;min-width:0}
.em-site .em-language-options a:hover,.em-site .em-language-options a:focus-visible,.em-site .em-language-options a[aria-current=true]{background:#F0EBFF;color:#5530B2}
.em-site .em-language-options a[aria-current=true]{font-weight:650}
.em-site .em-mobile-languages{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #E1E7EF;padding-top:16px;margin-top:5px}
.em-site .em-mobile-languages>p{width:100%;margin:0 0 3px;color:#0B183E;font-size:13px;font-weight:700}
.em-site .em-mobile-languages>a{display:flex;align-items:center;gap:7px;width:calc(50% - 4px);padding:8px 3px;box-sizing:border-box;font-size:13px;color:#26466C;text-decoration:none}
.em-site .em-mobile-languages>a[aria-current=true]{color:#5530B2;font-weight:650}
.em-site .mobile-menu,.em-site .mobile-nav{max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
.em-site .hero h1,.em-site .am-hero h1,.em-site .uk-hero h1{overflow-wrap:break-word;hyphens:auto}
.em-site .header-contact-actions{flex:none}
@media(max-width:1400px){html:not([lang=en]) .header-email{display:none}}
@media(max-width:1240px){.em-site .header-contact-actions .header-email{display:none}}
@media(max-width:1100px){.em-site .em-language-nav{padding-left:10px}.em-site .em-language-nav>summary{font-size:12px}}

/* Language access remains visible beside the hamburger on mobile. */
.em-site .em-mobile-language-nav{display:none}
@media(max-width:1200px){.em-site .header-inner>.em-mobile-language-nav{display:block;margin-left:auto;padding-left:0;border-left:0}.em-site .em-mobile-language-nav>summary{min-height:44px;gap:5px;font-size:12px}.em-site .em-mobile-language-nav .em-language-options{right:-40px;top:calc(100% + 10px);width:340px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}.em-site .em-mobile-language-nav .em-language-options nav{display:grid;grid-template-columns:1fr 1fr;gap:5px 6px}.em-site .header-inner{gap:12px}.em-site .header-inner>.wordmark,.em-site .header-inner>.logo{min-width:0;max-width:calc(100% - 122px);flex-shrink:1}.em-site .header-inner>.menu-toggle,.em-site .header-inner>.mobile-menu-toggle{flex:none}.em-site .em-mobile-language-nav>summary:focus-visible{outline-offset:1px}}

/* Visible email above the mobile navigation row. */
.em-site .em-mobile-header-email{display:none}
@media(max-width:1200px){.em-site .em-mobile-header-email{display:flex;align-items:center;justify-content:center;gap:6px;min-height:28px;box-sizing:border-box;background:#fff;color:#355b8b;font-size:12px;line-height:1.4;text-decoration:none;border-bottom:1px solid #edf0f5}.em-site .em-mobile-header-email svg{flex:none}.em-site .em-mobile-header-email:focus-visible{outline:2px solid #6D3BEF;outline-offset:-2px}.em-site .site-header,.em-site .header{height:auto}.em-site .header-inner{height:65px;min-height:65px}.em-site .site-header>.mobile-menu,.em-site .header>.mobile-nav{top:100%}}

/* Collapsed marketplace directory inside the mobile navigation. */
.em-site .em-mobile-marketplaces{width:100%;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:2px 0}.em-site .em-mobile-marketplaces>summary{display:flex;align-items:center;justify-content:space-between;min-height:42px;gap:12px;cursor:pointer;list-style:none;color:#26466c;font-size:14px;font-weight:600}.em-site .em-mobile-marketplaces>summary::-webkit-details-marker{display:none}.em-site .em-mobile-marketplaces>summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-right:5px;transition:transform .15s}.em-site .em-mobile-marketplaces[open]>summary::after{transform:rotate(225deg)}.em-site .em-mobile-marketplaces>summary:focus-visible{outline:2px solid #6d3bef;outline-offset:2px}.em-site .em-mobile-marketplace-links{display:flex;flex-direction:column;gap:2px;margin:0 0 10px 5px;padding-left:12px;border-left:1px solid #e1e7ef}.em-site .em-mobile-marketplace-links>a{display:block;padding:9px 6px;color:#445b7d;font-size:13px;line-height:1.4;text-decoration:none}.em-site .em-mobile-marketplace-links>a:hover,.em-site .em-mobile-marketplace-links>a:focus-visible{background:#f0ebff;color:#5530b2;border-radius:6px}
@media(max-width:1200px){.em-site header.header{display:block;height:auto}.em-site header.header .header-inner{display:flex;align-items:center}}

/* CJK typography follows the same design with locally available script fonts. */
html:lang(zh) body.em-site{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif}
html:lang(ja) body.em-site{font-family:"Yu Gothic","Hiragino Kaku Gothic ProN","Meiryo","Noto Sans CJK JP",Arial,sans-serif}
html:lang(ko) body.em-site{font-family:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans CJK KR",Arial,sans-serif;word-break:keep-all}
:is(html:lang(zh),html:lang(ja),html:lang(ko)) .em-site :where(h1,h2,h3,h4,button,input,select,textarea){font-family:inherit;letter-spacing:normal}
:is(html:lang(zh),html:lang(ja),html:lang(ko)) .em-site :where(h1,h2,h3,h4){line-height:1.4}
:is(html:lang(zh),html:lang(ja),html:lang(ko)) .em-site :where(p,li){line-height:1.75;overflow-wrap:anywhere}
.em-site .em-language-options{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}

html:lang(ko) .em-site :where(h1,h2,h3,h4){word-break:keep-all;overflow-wrap:normal}

.em-site .header-inner > .em-mobile-language-nav { display: none; }

@media (max-width:1200px) {
  .em-site .header-inner { position: relative; }

  .em-site .header-inner > :is(.nav-desktop, .navigation, .header-contact-actions) {
    display: none;
  }

  .em-site .header-inner > :is(.wordmark, .logo) {
    flex-shrink: 1;
    max-width: calc(100% - 122px);
  }

  .em-site .header-inner > .em-mobile-language-nav {
    display: block;
    position: static;
  }

  .em-site .header-inner > .em-mobile-language-nav .em-language-options {
    top: 100%;
    right: 0;
  }

  .em-site .header-inner > :is(.menu-toggle, .mobile-menu-toggle) {
    display: grid;
    place-items: center;
    min-inline-size: 44px;
    min-block-size: 44px;
  }

  /* The overlay starts below the 28px email strip and 65px navigation row. */
  .em-site header > :is(.mobile-menu, .mobile-nav) {
    box-sizing: border-box;
    max-block-size: calc(100dvh - 94px);
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    overflow-wrap: anywhere;
  }

  .em-site header > :is(.mobile-menu:not([hidden]), .mobile-nav.open) {
    display: flex;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    gap: 14px;
    padding-inline: 24px;
    padding-top: 20px;
    background: #fff;
    box-shadow: 0 12px 24px #1c376d20;
  }
}
