/* Language switcher — last item in main nav <ul>, aligned with menu links (see main.css nav ul top:40px) */

#navigation nav ul li.nav-lang {
  display: inline-block;
  float: left;
  margin: -5px 0 0 6px;
  padding: 0 0 0 14px;
  border-left: 1px solid rgba(40, 92, 125, 0.22);
  list-style: none;
}

#navigation nav ul li.nav-lang .lang-switcher {
  position: static;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.lang-switcher {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang-switcher .lang-sep {
  color: #c5c5c5;
  font-weight: 400;
  user-select: none;
}

.lang-switcher .lang-link {
  color: #285c7d;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  line-height: normal;
  font-weight: bold;
}

.lang-switcher .lang-link:hover {
  color: #f05a26;
  text-decoration: none;
}

.lang-switcher .lang-link--active {
  color: #fff;
  background: linear-gradient(to right, #ff741f 0%, #fa3912 51%, #db3b00 100%);
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}

/* Mobile menu: full-width row under links, readable on orange panel */
@media all and (max-width: 768px) {
  #navigation nav ul li.nav-lang {
    float: none;
    display: block;
    width: 100%;
    margin: 14px 0 0 0;
    padding: 14px 10px 6px 10px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    text-align: center;
  }

  #navigation nav ul li.nav-lang .lang-switcher {
    justify-content: center;
  }

  #navigation nav ul li.nav-lang .lang-switcher .lang-link:not(.lang-link--active) {
    color: #ffffff;
  }

  #navigation nav ul li.nav-lang .lang-switcher .lang-link:not(.lang-link--active):hover {
    color: #fff8f0;
  }

  #navigation nav ul li.nav-lang .lang-sep {
    color: rgba(255, 255, 255, 0.65);
  }
}
