.hf-lang-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hf-lang-select::after {
  content: "⌄";
  position: absolute;
  right: 11px;
  top: 50%;
  color: var(--hf-white);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-55%);
}

.hf-lang-select select {
  min-width: 72px;
  padding: 8px 27px 8px 12px;
  border: 1px solid var(--hf-green);
  border-radius: 999px;
  color: var(--hf-white);
  background: var(--hf-green);
  box-shadow: 0 5px 14px rgba(31, 75, 57, 0.14);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
}

.hf-lang-select select:hover,
.hf-lang-select select:focus {
  border-color: var(--hf-green);
  background: #234d3d;
  outline: none;
}

.hf-lang-select select:focus-visible {
  outline: 2px solid rgba(31, 75, 57, 0.35);
  outline-offset: 3px;
}

.hf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hf-lang-select select {
    color: var(--hf-white);
    background: var(--hf-green);
  }
}
