/* Approved NHD Global language selector. Kept separate from generated navigation CSS. */
.nhd-language { position: relative; color: #102b4b; font-family: inherit; text-align: left; }
.nhd-language [hidden] { display: none !important; }
.nhd-language--desktop { padding-left: 18px; border-left: 1px solid #dce4ee; flex: 0 0 auto; }
.nhd-language--tablet { display: none; }
.nhd-language__trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 5px 7px; color: #102b4b; background: transparent; border: 0; border-radius: 8px; font: inherit; font-size: 13px; cursor: pointer; }
.nhd-language__trigger > img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgb(16 43 75 / 8%); }
.nhd-language__trigger > svg { color: #637993; transition: transform .18s ease; }
.nhd-language__trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.nhd-language__trigger:hover { background: #f6f8fa; }
.nhd-language__panel { position: absolute; top: calc(100% + 12px); right: 0; z-index: 120; width: 440px; max-width: calc(100vw - 32px); padding: 24px; border: 1px solid #dfe5ee; border-radius: 14px; background: #fff; box-shadow: 0 24px 64px rgb(18 39 67 / 14%), 0 3px 12px rgb(18 39 67 / 4%); }
.nhd-language__panel::before { content: ""; position: absolute; top: -7px; right: 44px; width: 12px; height: 12px; transform: rotate(45deg); background: #fff; border-top: 1px solid #dfe5ee; border-left: 1px solid #dfe5ee; }
.nhd-language__heading { padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid #e5eaf0; }
.nhd-language__heading h2 { margin: 0; color: #0a213e; font: inherit; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.55px; }
.nhd-language__heading p { margin: 4px 0 0; color: #6b7e99; font-size: 14px; line-height: 1.5; }
.nhd-language__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.nhd-language__grid > li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.nhd-language__option { box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 62px; padding: 10px; border: 0; border-radius: 8px; color: #0a213e; background: transparent; text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: background .16s ease; }
.nhd-language__option:hover { color: #0a213e; background: #f6f8fb; text-decoration: none; }
.nhd-language__option.is-selected { background: #fff6ef; color: #0a213e; }
.nhd-language__flag { display: block; flex: 0 0 auto; width: 30px; height: 20px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgb(20 40 65 / 10%), 0 2px 3px rgb(20 40 65 / 3%); }
.nhd-language__labels { display: block; min-width: 0; }
.nhd-language__native { display: block; width: fit-content; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.25px; }
.nhd-language__english { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: #6b7e99; line-height: 1.4; }
.nhd-language__check { display: none; flex: 0 0 18px; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: auto; border-radius: 50%; background: #ff6925; box-shadow: 0 0 0 2px #fff; }
.nhd-language__check img { width: 13px; height: 13px; filter: brightness(0) invert(1); }
.nhd-language__option.is-selected .nhd-language__check { display: inline-flex; }
.nhd-language__trigger:focus-visible, .nhd-language__option:focus-visible { outline: 2px solid #275a85; outline-offset: 3px; }
.nhd-language__notice { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #e5eaf0; color: #6b7e99; font-size: 12px; line-height: 1.5; }
.topbar_902869:has(.nhd-language.is-open) { z-index: 110; }
.nhd-language--drawer { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 20px; }
.nhd-language__row-label { color: #637993; font-size: 14px; font-weight: 600; }
.nhd-language--drawer .nhd-language__trigger { min-height: 44px; padding: 6px 10px; background: #f6f8fa; }
.nhd-language--drawer .nhd-language__panel { position: absolute; top: calc(100% + 8px); right: 0; width: 100%; max-width: none; max-height: min(460px, calc(100dvh - 220px)); overflow-y: auto; overscroll-behavior: contain; padding: 14px; border: 1px solid #dfe5ee; border-radius: 12px; box-shadow: 0 16px 40px rgb(18 39 67 / 16%); }
.nhd-language--drawer .nhd-language__panel::before { display: none; }
.nhd-language--drawer .nhd-language__heading { padding: 0; margin-bottom: 16px; border: 0; }
.nhd-language--drawer .nhd-language__heading h2 { font-size: 18px; }
.nhd-language--drawer .nhd-language__grid { gap: 10px 4px; }
.nhd-language--drawer .nhd-language__option { min-height: 62px; padding: 8px 6px; gap: 8px; }
.nhd-language--drawer .nhd-language__flag { width: 26px; height: 18px; }
.nhd-language--drawer .nhd-language__native { font-size: 14px; }
.nhd-language--drawer .nhd-language__english { font-size: 11px; }
@media (min-width: 961px) and (max-width: 1180px) { .contactItems_902869 .hours_902869 { display: none; } }
@media (max-width: 960px) {
  .nhd-language--desktop { display: none; }
  .nhd-language--tablet { display: block; }
  .nhd-language--tablet .nhd-language__trigger { gap: 6px; min-height: 44px; padding: 6px; font-size: 12px; }
}
@media (max-width: 640px) {
  /* Reuse the tablet selector in the phone toolbar; keep the drawer entry too. */
  .nhd-language--tablet { display: block; position: static; flex: 0 0 36px; }
  .nhd-language--tablet .nhd-language__trigger { width: 36px; min-height: 44px; padding: 6px; justify-content: center; }
  .nhd-language--tablet .nhd-language__trigger > [data-language-current],
  .nhd-language--tablet .nhd-language__trigger > svg { display: none; }
  .nhd-language--tablet .nhd-language__trigger[aria-expanded="true"] { background: #fff2e8; }
  [data-phoenix-header] .bar_662cf3 { position: relative; padding-inline: 12px; gap: 8px; }
  [data-phoenix-header] .actions_662cf3 { position: static; gap: 2px; flex-shrink: 0; }
  [data-phoenix-header] .actions_662cf3 > .iconBtn_662cf3 { width: 36px; min-width: 36px; height: 44px; padding-inline: 6px; }
  [data-phoenix-header] .actions_662cf3 > .nhd-header-account { width: 32px; min-width: 32px; }
  [data-phoenix-header] .mobileLogo_662cf3 .phoenix-logo-crop { width: 120px; }
  .nhd-language--tablet .nhd-language__panel { top: calc(100% + 8px); right: 12px; width: calc(100% - 24px); max-width: 360px; max-height: calc(100dvh - 160px); overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
  .nhd-language--tablet .nhd-language__panel::before { display: none; }
  .nhd-language--tablet .nhd-language__heading h2 { font-size: 18px; }
  .nhd-language--tablet .nhd-language__grid { gap: 6px; }
  .nhd-language--tablet .nhd-language__option { gap: 8px; padding: 8px 6px; }
  .nhd-language--tablet .nhd-language__flag { width: 26px; height: 18px; }
  .nhd-language--tablet .nhd-language__native { font-size: 14px; }
  .nhd-language--tablet .nhd-language__english { font-size: 11px; }
  /* Full-width menu keeps the selected two-column mobile composition readable. */
  [data-phoenix-drawer] { width: 100%; max-width: 100%; padding-inline: 20px; }
}
@media (max-width: 360px) {
  [data-phoenix-header] .mobileLogo_662cf3 .phoenix-logo-crop { width: 88px; }
  .nhd-language--tablet .nhd-language__panel { padding: 12px; }
  .nhd-language--tablet .nhd-language__option { position: relative; gap: 6px; }
  .nhd-language--tablet .nhd-language__native { font-size: 13px; }
  .nhd-language--tablet .nhd-language__check { position: absolute; left: 22px; top: calc(50% + 2px); width: 14px; height: 14px; margin: 0; }
  /* Prevent the logged-in WordPress toolbar wrapping over the menu trigger. */
  #wpadminbar #wp-admin-bar-wpseo-menu { display: none !important; }
  [data-phoenix-drawer] { padding-inline: 14px; }
  .nhd-language--drawer .nhd-language__panel { padding: 10px; }
  .nhd-language--drawer .nhd-language__option { position: relative; padding: 8px 5px; gap: 7px; }
  .nhd-language--drawer .nhd-language__flag { width: 24px; height: 17px; }
  .nhd-language--drawer .nhd-language__native { font-size: 13px; }
  .nhd-language--drawer .nhd-language__english { font-size: 11px; }
  .nhd-language--drawer .nhd-language__check { position: absolute; left: 21px; top: calc(50% + 2px); width: 14px; height: 14px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .nhd-language * { transition: none !important; } }
/* Keep Chinese emphasis intact instead of breaking a short phrase in half. */
html:lang(zh) #hero-title {
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: normal;
}
html:lang(zh) #hero-title .accent_05898b {
  white-space: nowrap;
}
/* Additional translation toolbar item must not wrap over mobile navigation. */
@media (max-width: 640px) {
  #wpadminbar #wp-admin-bar-wpseo-menu { display: none !important; }
}
@media (max-width: 360px) {
  #wpadminbar #wp-admin-bar-customize { display: none !important; }
}
/* Localized copy must remain readable when labels grow or the reading direction changes. */
html:not(:lang(en)) .nhd-language__native { overflow-wrap: anywhere; }
html:not(:lang(en)) .copy_05898b,
html:not(:lang(en)) .visual_05898b { min-width: 0; }
html:not(:lang(en)) #hero-title { overflow-wrap: anywhere; hyphens: auto; }
html:not(:lang(en)) .stat_05898b { min-width: 0; text-align: center; }
html:not(:lang(en)) .statLabel_05898b { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  html:not(:lang(en)) .stats_05898b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(:lang(en)) .ctaRow_05898b > a { min-width: 0; white-space: normal; text-align: center; overflow-wrap: anywhere; }
}
html:lang(ja) #hero-title { line-height: 1.35; letter-spacing: 0; }
html:lang(ar) #hero-title { line-height: 1.4; letter-spacing: 0; }
html:lang(ar) body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .nhd-language,
html[dir="rtl"] .nhd-language__option { text-align: right; }
html[dir="rtl"] .nhd-language--desktop { border-left: 0; padding-left: 0; border-right: 1px solid #dce4ee; padding-right: 18px; }
html[dir="rtl"] .nhd-language__panel { right: auto; left: 0; }
html[dir="rtl"] .nhd-language__panel::before { right: auto; left: 44px; }
html[dir="rtl"] .nhd-language__check { margin-left: 0; margin-right: auto; }
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"],
html[dir="rtl"] a[href*="wa.me"], html[dir="rtl"] a[href*="t.me/"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] #wpadminbar { direction: ltr; }
@media (max-width: 640px) {
  html[dir="rtl"] .nhd-language--tablet .nhd-language__panel { right: auto; left: 12px; }
}
@media (max-width: 360px) {
  html[dir="rtl"] .nhd-language--tablet .nhd-language__check { left: auto; right: 22px; margin: 0; }
  html[dir="rtl"] .nhd-language--drawer .nhd-language__check { left: auto; right: 21px; margin: 0; }
}
