/* Telugu uses its own shaping and spacing, including in the site identity. */
html[lang="te"] {
  --font: 'Noto Sans Telugu', 'Nirmala UI', sans-serif;
  --serif: 'Noto Sans Telugu', 'Nirmala UI', sans-serif;
}

html[lang="te"] body,
html[lang="te"] button,
html[lang="te"] input,
html[lang="te"] select,
html[lang="te"] textarea {
  font-family: var(--font);
}

html[lang="te"] .site-header .brand,
html[lang="te"] .footer-top .brand {
  min-width: 0;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: normal;
}

html[lang="te"] .brand > span {
  min-width: 0;
  overflow-wrap: normal;
}

html[lang="te"] .brand-name {
  display: block;
  white-space: nowrap;
}

html[lang="te"] .site-header .brand small,
html[lang="te"] .footer-top .brand small {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: normal;
  white-space: normal;
  overflow-wrap: normal;
}

html[lang="te"] .language-switch {
  flex-shrink: 0;
  width: auto;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: normal;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  html[lang="te"] .site-header .brand {
    font-size: 20px;
  }

  html[lang="te"] .site-header .brand small {
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  html[lang="te"] .site-header .brand {
    flex: 1 1 auto;
    max-width: none;
    font-size: 20px;
  }

  html[lang="te"] .site-header .header-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  html[lang="te"] .site-header .language-switch {
    min-width: 52px;
    min-height: 44px;
    padding-inline: 7px;
  }

  html[lang="te"] .footer-top .brand {
    font-size: 20px;
  }
}

.fallback-language { display: block; min-height: 44px; margin: 20px auto 0; padding: 8px 14px; border: 1px solid #8d9e84; border-radius: 6px; background: transparent; color: #243e32; font: inherit; cursor: pointer; }
