/* Discreet language and detected-region selector in the cinematic footer. */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.language-switch-label {
  padding: 0 7px;
  color: #a7abb3;
  font-size: 0.6875rem;
}

.language-switch-region {
  padding: 0 5px 0 7px;
  color: #7eb9f2;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer a.language-switch-option {
  display: inline-flex;
  min-width: 34px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #c8cbd1;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.site-footer a.language-switch-option:hover,
.site-footer a.language-switch-option:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.site-footer a.language-switch-option.is-active {
  color: #fff;
  border-color: rgba(77, 157, 255, 0.45);
  background: rgba(47, 130, 197, 0.22);
}

@media (max-width: 639px) {
  .site-footer-meta {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .language-switch-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a.language-switch-option {
    transition: none;
  }
}
