.bb-home-language {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #061226;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(6, 18, 38, 0.2);
}

.bb-home-language a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.bb-home-language__flag {
  display: block;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.bb-home-language a:hover,
.bb-home-language a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.bb-home-language a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.bb-home-language a.active {
  color: #061226;
  background: #fff;
}

.bb-home-language--header {
  position: fixed;
  z-index: 10050;
  top: 48px;
  right: 22px;
}

.bb-home-language--footer {
  align-self: flex-start;
  width: max-content;
  margin-top: 28px;
  padding: 2px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

@media (max-width: 900px) {
  .bb-home-language--header {
    top: 42px;
    right: 68px;
  }

  .anav.menu-open .anav-pill { top: 100px; }
  .bb-home-language a { min-width: 44px; min-height: 44px; }
}

@media (max-width: 768px) {
  .bb-home-language--header { top: 42px; }
}
