/* Taalschakelaar, gedeeld door alle pagina's van deze site. */
.langswitch {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.langswitch a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .62rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  color: inherit;
  opacity: .62;
  text-decoration: none;
  transition: opacity .24s ease, border-color .24s ease, background-color .24s ease;
}

.langswitch a:hover,
.langswitch a:focus-visible {
  opacity: 1;
  border-color: currentColor;
}

.langswitch a[aria-current] {
  opacity: 1;
  border-color: rgba(201,168,76,.55);
  background: rgba(201,168,76,.12);
}

.langswitch svg {
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  flex: none;
}

/* Losse regel boven de tekst, voor pagina's zonder header. */
.langswitch--standalone {
  justify-content: flex-end;
  margin-bottom: 1.6rem;
}

@media (max-width: 720px) {
  .langswitch a { padding: .34rem .5rem; }
}
