.vacancies-filter.swiper {
  overflow: initial;
}

.vacancies-filter__recommend {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  cursor: pointer;
}

.vacancies-filter__recommend input[type="checkbox"] {
  position: absolute;
  left: 0;
  overflow: hidden;
  width: 0;
  height: 0;
}

.vacancies-filter__recommend input[type="checkbox"] + span {
  font-size: 16px;
  line-height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  color: #ffffff;
  border: solid 1px #F2F2F2;
  border-radius: 20px;
  background: linear-gradient(169.76deg, rgba(189, 12, 30, 0.68) 32.45%, rgba(209, 30, 159, 0.85) 52.46%, rgba(189, 12, 30, 0.697) 82.46%, rgba(189, 12, 30, 0.85) 86.52%);
  gap: 4px;
}

.vacancies-filter__recommend input[type="checkbox"]:checked + span {
  background: #BD0C1E;
}

.vacancies-filter__recommend input[type="checkbox"] + span::after,
.vacancies-sort__recommend input[type="checkbox"] + span::after {
  display: flex;
  width: 14px;
  height: 14px;
  content: "";
  transition: all 0.3s ease;
  background: url(./images/double-arrow.svg) no-repeat center;
  background-size: contain;
}

.filter-item__search {
  font-size: 16px;
  font-weight: 300;
  width: 100%;
  padding: 0;
  color: #121217;
  border: 0;
}

.filter-item__search::placeholder {
  color: #121217;
}

.filter-item__search:focus::placeholder {
  color: rgba(18, 18, 23, 0.15);
}

.filter-item__search:read-only:focus::placeholder {
  color: #121217;
}

@media (max-width: 992px) {
  .hero-vacancy .vacancies-new__container {
    display: block;
    padding-right: 16px;
    padding-left: 16px;
  }

  .new-vacancies__filter {
    display: block;
  }

  .vacancies-filter__menu-last {
    margin-right: 0 !important;
  }

  [data-filter].sticky {
    position: fixed;
    top: 80px;
  }

  .filter-item__search {
    width: calc(var(--placeholder-length) * 1ch) !important;
  }
}

@media (max-width: 576px) {
  .vacancies-filter__recommend {
    font-size: 14px;
    padding: 0;
  }

  .vacancies-filter__recommend input[type="checkbox"] + span {
    padding: 4px 8px;
  }
}