.qts-language-bar {
  align-items: center;
  background: #152238;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font: 600 0.875rem/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 0.5rem clamp(1rem, 4vw, 3rem);
  position: relative;
  width: 100%;
  z-index: 1000;
}

.qts-language-bar a {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  line-height: 1.25;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.qts-language-bar a:hover,
.qts-language-bar a:focus-visible {
  background: #1769e0;
  border-color: #1769e0;
  color: #fff;
  outline: 0;
}

.qts-language-bar a:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75);
}

.qts-language-bar .qts-design-link {
  background: #1769e0;
  border-color: #1769e0;
}

.qts-language-bar .qts-design-link:hover,
.qts-language-bar .qts-design-link:focus-visible {
  background: #0f55bd;
  border-color: #0f55bd;
}

@media (max-width: 520px) {
  .qts-language-bar {
    gap: 0.5rem;
    justify-content: center;
    padding: 0.45rem 0.75rem;
  }

  .qts-language-bar a {
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
  }
}
