/* Site chrome: i18n language dropdown + nav action button alignment */
html[lang="zh-HK"] body {
  font-family: "Noto Sans TC", system-ui, sans-serif;
}
html[lang="zh-CN"] body {
  font-family: "Noto Sans SC", system-ui, sans-serif;
}
html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", system-ui, sans-serif;
}

.le-nav-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 0.5rem 0.75rem;
}

.le-lang-wrap {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.35rem;
}

.le-lang-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.le-lang-select {
  min-width: 9.5rem;
  max-width: 11rem;
  background-color: #fff !important;
  color: #212529 !important;
  border: 2px solid #ffc107 !important;
  font-weight: 600;
}

.le-lang-select option {
  color: #212529;
  background: #fff;
}

.le-nav-actions > .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

#leCanvasBtn {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    align-items: center;
  }

  .navbar-expand-lg .le-nav-actions.ms-lg-auto {
    margin-left: auto !important;
  }
}

@media (max-width: 991.98px) {
  .le-nav-actions {
    width: 100%;
    padding: 0.5rem 0 0.25rem;
    flex-wrap: wrap;
  }

  .le-lang-wrap-mobile {
    padding: 0.25rem 0 0.5rem;
    width: 100%;
  }

  .le-lang-wrap-mobile .le-lang-select {
    width: 100%;
    max-width: none;
  }
}
