.mh-lang-item a,
.mh-lang-toggle {
  text-decoration: none;
}

.mh-lang-item + .mh-lang-item {
  margin-left: 0.75em;
}

.mh-has-dropdown {
  position: relative;
}

.mh-lang-toggle {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
}

.mh-lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  padding: 0.35rem;
  margin: 0.4rem 0 0;
  list-style: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 9999;
}

.mh-has-dropdown:hover .mh-lang-dropdown,
.mh-has-dropdown:focus-within .mh-lang-dropdown {
  display: block;
}

.mh-lang-subitem a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 0.45rem;
  text-decoration: none;
  line-height: 1.2;
}

.mh-lang-subitem.is-active a {
  font-weight: 700;
  text-decoration: underline;
}

.mh-lang-subitem a:hover,
.mh-lang-subitem a:focus-visible {
  background: rgba(0, 0, 0, 0.05);
}
