.wmt-site-language {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.wmt-site-language-bar {
  display: flex;
  justify-content: flex-end;
  padding: 8px clamp(12px, 4vw, 40px);
  background: #0b2136;
  color: #fff;
}

.wmt-site-language-error {
  position: absolute;
  inset: 0 0 auto;
}

[data-wmt-locale="en"] .careers-lang[lang="es"],
[data-wmt-locale="es"] .careers-lang:not([lang="es"]) {
  display: none;
}

[data-wmt-locale] .careers-grid {
  grid-template-columns: minmax(0, 1fr);
}

.wmt-site-language button,
.wmt-site-language a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.78rem;
  border: 1px solid rgba(209, 173, 106, 0.58);
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.wmt-site-language [data-wmt-portal] {
  color: #142338;
  background: #e7c17f;
  border-color: #e7c17f;
}

.wmt-site-language > :hover {
  box-shadow: 0 0 0 2px rgba(209, 173, 106, 0.32);
}

.wmt-site-language > :focus-visible {
  outline: 2px solid #e7c17f;
  outline-offset: 3px;
}

.wmt-site-language [hidden] {
  display: none;
}

@media (max-width: 640px) {
  .tour .tour-nav .tour-btn {
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .site-header { gap: 8px; }
  .header-actions { gap: 8px; }
  .menu-toggle { padding-inline: 4px 0; }
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .wmt-site-language { gap: 0.25rem; }
  .wmt-site-language button, .wmt-site-language a {
    font-size: 0.72rem;
    padding-inline: 0.43rem;
  }
}

@media (max-width: 355px) {
  .site-header .brand-text { display: none; }
}
