.vacancies {
  padding: var(--section-padding);
  min-height: 100vh;
}
.vacancies h1 {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: 100%;
  color: #fff;
}
.input__vacancies {
  position: relative;
  width: 292px;
  height: 46px;
}
.clear-btn {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none ;
  background: none ;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  padding: 10px 8px;
  border-radius: 5px;
  transition: 0.3s;
}
.clear-btn:hover {
  background: #252836;
}
.vacancies__search {
  width: 100%;
  height: 46px;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  position: absolute;
  padding: 0 40px 0 16px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #fff;
  background: transparent;
  background: #111218;
}
.vacancies__search::placeholder {
  color: #fff;
}
.search__btn {
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  background: #111218;
  height: 46px;
  width: 46px;
  cursor: pointer;
}
.vacancies__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 20px;
}
.vacancies__search-bar {
  display: flex;
  align-items: center;
  /* width: 100%; */
  gap: 12px;

}

.vacancies__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
  row-gap: 32px;
  column-gap: 20px;
  width: 100%;
}
.vacancies__container .hidden {
  display: none;
}
.vacancy {
  padding: 32px 44px;
  max-width: 710px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  border: 1px solid #3a3a3a;
  border-radius: 32px;
}
.vacancy .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.vacancy .tags span {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #9e9e9e;
}
.vacancy h2 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--card-title-size);
  line-height: 100%;
  color: #fff;
}
.vacancy p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--section-description-size);
  line-height: 130%;
  color: #fff;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.no-vacancies {
  width: 100%;
  height: auto;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.no-vacancies img {
  width: 30%;
}
.no-vacancies h3{
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 35px;
  line-height: 120%;
  color: #fff;
}
.no-results {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--section-description-size);
  line-height: 130%;
  color: #fff;
  text-align: center;
  padding-top: 15%;
}
@media (max-width: 1010px) {
  .vacancies__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  row-gap: 32px;
  column-gap: 20px;
  width: 100%;
}
}
@media (max-width: 650px) {
  .vacancies__search-bar {
    width: 100%;
  }
  .vacancies__header {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
  }
  .input__vacancies {
    width: 100%;
  }
  .vacancies__search {
    flex-basis: 100%;
  }
}

@media (max-width: 500px) {
  .vacancies__container {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  .vacancy {
    padding: 30px;
  }
  .input__vacancies {
    display: flex;
  }
  .vacancies__search-bar {
    width: 100%;
  }
  .vacancies__search {
    display: flex;
    padding: 16px;
    width: 100%;
    height: 46px;

    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #fff;
    background: transparent;
    background: #111218;
  }

}