/* Вакансии */
.vacancies {
  margin-bottom: 50px;
}

.vacancies__grid {
  display: flex;
  gap: 40px;
  align-items: start;
}

.vacancies__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
}

.vacancies__title {
  font-size: 30px;
  font-weight: 600;
  color: #004158;
  margin: 0;
  line-height: 36px;
}

.vacancies__contacts {
  display: flex;
  gap: 12px;
  font-size: 17px;
  color: #a1aeb8;
  line-height: 1.5;
}

.vacancies__contact {
  display: block;
}

.vacancies__contact a {
  color: #004158;
  text-decoration: none;
  transition: color 0.2s ease;
}

.vacancies__contact a:hover {
  color: #AECC53;
}

.vacancies__list {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.vacancies__link {
  color: #8ab439;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  display: inline-block;
  width: fit-content;
}

.vacancies__link:hover {
  color: #9bb848;
  border-color: #9bb848;
}

.vacancies__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0px 145px 145px 0px;
  height: 100%;
  max-height: 290px;
  max-width: 431px;
}

.vacancies__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vacancies__button {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 5px 30px;
  background-color: #fff;
  color: #004158;
  text-decoration: none;
  border-radius: 0px 17px 17px 0px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.vacancies__button:hover {
  color: #8ab439;
}

/* Адаптивность для вакансий */
@media (max-width: 1024px) {
  .vacancies__grid {
    flex-direction: column;
    gap: 30px;
  }

  .vacancies__image-wrap {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .vacancies__title {
    font-size: 28px;
  }

  .vacancies__contacts {
    font-size: 14px;
  }

  .vacancies__link {
    font-size: 14px;
  }

  .vacancies__button {
    padding: 12px 20px;
    font-size: 14px;
  }
}