/* TDYU Endowment — language switcher (top-bar safe) */
.tdyu-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: "Maitree", "Bitter", Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.tdyu-lang-item {
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 10px !important;
}

.tdyu-lang-item::before,
.tdyu-lang-item::after {
  content: none !important;
  display: none !important;
}

.tdyu-lang a {
  color: inherit;
  text-decoration: none !important;
  opacity: 0.78;
  padding: 4px 6px;
  border-radius: 2px;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.tdyu-lang a:hover {
  opacity: 1;
}

.tdyu-lang a.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

.tdyu-lang .sep {
  opacity: 0.4;
  user-select: none;
  padding: 0 1px;
}

/* Dark cyan top bar: force readable light text */
.elementor-element-ece0dc7 .tdyu-lang,
.elementor-element-ece0dc7 .tdyu-lang a,
.elementor-element-ece0dc7 .tdyu-lang .sep {
  color: #ffffff !important;
}

.elementor-element-ece0dc7 .tdyu-lang a.is-active,
.elementor-element-ece0dc7 .tdyu-lang a:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

/* Fixed fallback (only if top menu missing) */
.tdyu-lang-fixed {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 99999;
  background: #0c5776;
  color: #fff;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tdyu-lang-fixed a,
.tdyu-lang-fixed .sep {
  color: #fff !important;
}
