.edition-header .edition-languages {
  display: flex;
  flex: none;
  width: auto;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #304858;
  border-radius: 999px;
  background: #111f2b;
}

.edition-header .edition-languages a {
  display: grid;
  min-width: 38px;
  min-height: 36px;
  place-items: center;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.edition-header .edition-languages a[aria-current="page"] {
  color: #06141d;
  background: var(--brand);
}

.edition-header .edition-languages a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (max-width: 1100px) {
  .edition-header .shell { flex-wrap: wrap; gap: .2rem 1rem; padding-block: .55rem; }
  .edition-header .edition-languages { order: 1; margin-left: auto; }
  .edition-header .header-paths { order: 2; flex: 1; }
  .edition-header .shell > nav:not(.edition-languages) {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    padding-block: .35rem;
    gap: .35rem 1rem;
  }
}

@media (max-width: 580px) {
  .edition-header .header-paths { flex-basis: 100%; justify-content: space-between; }
  .edition-header .edition-languages a { min-height: 34px; min-width: 33px; }
}
