.language-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
  padding: .28rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(10,14,10,.35);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.language-switch a,
.language-switch span {
  min-width: 2.35rem;
  padding: .35rem .55rem;
  border-radius: 999px;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

.language-switch [aria-current="page"] {
  background: #efe4bf;
  color: #183326;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  background: rgba(239,228,191,.22);
}

.release-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.release-status > article {
  padding: 1.25rem;
  border: 1px solid rgba(87,112,92,.3);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}

.release-status .language {
  display: block;
  margin-bottom: .45rem;
  color: #8b6834;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.historic-note {
  padding: 1rem 1.2rem;
  border-left: 4px solid #b18b49;
  background: #f3efe2;
}

/* English navigation labels need slightly more room than their German pairs.
   Switch to the existing accessible menu before the header can overflow. */
@media (max-width: 1300px) {
  .refresh-header .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 24px 5vw;
    flex-direction: column;
    align-items: stretch;
    background: #14231d;
  }

  .refresh-header .navlinks.open {
    display: flex;
  }

  .refresh-header .menu {
    display: block;
  }

  .refresh-header > nav {
    padding-block: 19px;
  }
}

@media (max-width: 860px) {
  .language-switch {
    order: 2;
    margin-left: 0;
    margin-right: 3.2rem;
  }

  .release-status {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .language-switch {
    margin-right: 0;
  }
}
