.header-l18n {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 68px;
  font-size: 18px;
}

.header-l18n__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50%;
  color: #999999 !important;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.header-l18n__item:hover {
  color: var(--color-secondary) !important;
}

.header-l18n__item_active {
  font-weight: 700;
  color: #ffffff !important;
  background-color: var(--color-secondary);
}

.header-l18n__item_active:hover {
  color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
  .header-l18n__item {
    transition: none;
  }
}

@media (min-width: 768px) {
  .header-l18n {
    width: 72px;
    font-size: 14px;
  }
}

@media (min-width: 1250px) {
  .header-l18n {
    width: auto;
    flex-direction: row;
    align-items: center;
    font-size: 18px;
  }

  .header-l18n__item {
    padding: 8px;
  }

  .header-l18n__item_active {
    color: var(--color-secondary) !important;
    background-color: transparent;
  }

  .header-l18n__item_active:hover {
    color: var(--color-secondary) !important;
  }
}
