.tp-lang-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.tp-lang-footer-row .foot_menu[data-v-98a78b46] {
  margin: 0;
}

.tp-lang-switcher {
  position: relative;
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 6px;
  flex: 0 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  z-index: 3;
}

.tp-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tp-lang-toggle:hover,
.tp-lang-switcher.is-open .tp-lang-toggle {
  color: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.tp-lang-menu {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 124px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(18, 15, 36, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.tp-lang-switcher.is-open .tp-lang-menu {
  display: grid;
  gap: 4px;
}

.tp-lang-menu a {
  display: block;
  padding: 7px 9px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tp-lang-menu a:hover {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
}

.tp-lang-menu a[aria-current="true"] {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
}

@media screen and (max-width: 600px) {
  .tp-lang-footer-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
  }

  .tp-lang-switcher {
    align-items: center;
  }

  .tp-lang-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .tp-lang-toggle {
    min-height: 28px;
    padding: 0 9px;
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  html[lang="hi-IN"] h1,
  html[lang="hi-IN"] h2,
  html[lang="hi-IN"] .teen_text h1 {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    line-height: 1.18 !important;
  }
}
