.language-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  padding: 3px;
  border: 1px solid #D7DED8;
  border-radius: 999px;
  background: #F3F5F2;
  font: 600 0.8rem/1.5 system-ui, "Nirmala UI", Mangal, sans-serif;
}
.language-switch a {
  display: block;
  padding: 5px 10px;
  border-radius: 999px;
  color: #34473A;
  white-space: nowrap;
  text-decoration: none;
}
.language-switch a[aria-current="true"] { background: #166534; color: #FFFFFF; }
.language-switch a:hover { text-decoration: underline; }
.language-switch a:focus-visible { outline: 3px solid #C59B27; outline-offset: 2px; }
.download-language { display: flex; justify-content: flex-end; margin: -12px 0 24px; }
main h1 { overflow-wrap: anywhere; }
html[lang="hi"] body { font-family: "Nirmala UI", Mangal, "Noto Sans Devanagari", system-ui, sans-serif; line-height: 1.8; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 { font-family: inherit; line-height: 1.5; }
html[lang="hi"] .hero-title { line-height: 1.45; }
html[lang="hi"] .topbar { line-height: 1.8; }
html[lang="hi"] .nav-links { gap: 18px; }
html[lang="hi"] .nav-links a { line-height: 1.5; }
html[lang="hi"] .sponsor-btn { white-space: normal; text-align: center; }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    width: 100%; background: #FFFFFF; border-bottom: 1px solid var(--bdr);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 20px 18px; z-index: 1001;
  }
  .nav-links.active { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--bdr-light); }
  html[lang="hi"] .nav-links { gap: 0; }
}
@media (max-width: 420px) {
  .nav-inner { height: auto; min-height: 64px; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .nav-brand { font-size: 1.05rem; }
  .nav-brand-logo { width: 30px; height: 30px; }
  .nav-actions { gap: 6px; margin-left: auto; }
  .language-switch { font-size: 0.75rem; padding: 2px; }
  .language-switch a { padding: 5px 7px; }
}
