.vacancy{
  padding: 30px 0 50px;
}
.vacancy__header{
  padding-bottom: 30px;
  border-bottom: 1px solid var(--light-gray-1);
  margin-bottom: 30px;
}
.vacancy__description{
  margin-bottom: 52px;
}
.vacancy__description h2{
  font-size: 20px;
  margin-bottom: 18px;
}
.vacancy__description ul{
  margin-bottom: 26px;
}
.vacancy__description li{
  padding-left: 18px;
  position: relative;
  margin-bottom: 12px;
}
.vacancy__description li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--blue);
}
.steps{
  background-color: var(--light-gray-2);
  border-radius: 11px;
}
.steps__list{
  list-style: none;
}
.steps__item{
  counter-increment: item;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 60px;
  padding-right: 24px;
  position: relative;
  border-bottom: 1px solid var(--light-gray-1);
}
.steps__item::before{
  content: '0' counter(item);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
  display: inline-block;
  margin-right: 12px;
  position: absolute;
  left: 20px;
  top: 20px;
}
.steps__item:last-child{
  border-bottom: none;
}
.steps__item h3{
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.vacancy__detail{
  display: inline-block;
  padding-left: 28px;
  position: relative;
  color: var(--black);
  margin-right: 20px;
}
.vacancy__detail:last-child{
  margin-right: 0;
}
.vacancy__detail::before{
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
}
.vacancy__detail-loc::before{
  background-image: url(../img/icons/loc.svg);
}
.vacancy__detail-time::before{
  background-image: url(../img/icons/time.svg);
}

@media screen and (min-width: 768px){
  .vacancy{
    padding: 60px 0 100px;
  }
  .vacancy__header{
    margin-bottom: 40px;
  }
  .vacancy h2{
    font-size: 24px;
    margin-bottom: 28px;
  }
  .vacancy__description ul{
    margin-bottom: 52px;
  }
  .vacancy__description li{
    padding-left: 24px;
  }
  .steps__list{
    display: flex;
  }
  .steps__item{
    flex-basis: 33.3%;
    border-bottom: none;
    border-right: 1px solid var(--light-gray-1);
  }
  .steps__item:last-child{
    border-right: none;
  }
  .steps__item h3{
    font-size: 16px;
    margin-bottom: 24px;
  }
}
@media screen and (min-width: 1200px){
  .vacancy__description{
    width: 55%;
    margin-bottom: 0;
  }
  .vacancy__description ul:last-child{
    margin-bottom: 0;
  }
  .vacancy__wrapper{
    display: flex;
    justify-content: space-between;
  }
  .steps{
    max-width: 435px;
    height: fit-content;
    box-sizing: border-box;
  }
  .steps.bottom{
    margin-top: auto;
  }
  .steps.fixed{
    position: fixed;
    top: 24px;
    right: calc((100% - 1160px) /2);
  }
  .steps__list{
    flex-direction: column;
  }
  .steps__item{
    /* padding: 28px 0; */
    padding-left: 86px;
    padding-right: 32px;
    padding-top: 28px;
    padding-bottom: 28px;
    border-right: none;
    border-bottom: 1px solid var(--light-gray-1);
  }
  .steps__item::before{
    left: 32px;
    top: 26px;
  }
}