.lang-switcher {
  /* Local variables only - not available globally */
  --switcher-margin-top: 10px;
  --link-padding-vertical: 8px;
  --link-padding-horizontal: 19px;
  --link-border-radius: 999px;
  --link-font-size: 14px;
  --active-text-color: #000;
  
  display: flex;
  justify-content: center;
  margin-top: var(--switcher-margin-top);
}

/* --- LIGHT THEME OVERRIDES --- */
html.light .lang-switcher {
  --active-text-color: #ffffff;
}

/* Optional (recommended): make hover slightly more visible in light mode */
html.light .lang-switcher a:not(.active):hover {
  background: var(--light-bg-color);
}

/* Container */
.lang-switcher ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

/* Links */
.lang-switcher a {
  display: block;
  padding: var(--link-padding-vertical) var(--link-padding-horizontal);
  text-decoration: none;
  border-radius: var(--link-border-radius);
  font-size: var(--link-font-size);
  font-weight: bold;
  text-transform: uppercase;
  font-family: sans-serif;
}

/* Hover for inactive items: white text */
.lang-switcher a:not(.active):hover {
  background: var(--light-bg-color);
}

/* Active language: black text */
.lang-switcher a.active {
  background-color: var(--text-color);
  color: var(--active-text-color);
}
