.vacancy{
  padding: 30px 0 90px;
}
.vacancy__info{
  display: flex;
  column-gap: 12px;
}
.vacancy__experience{
  height: 250px;
  box-sizing: border-box;
  padding: 20px;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--light-gray-2);
  border-radius: var(--border-radius);
  flex-basis: 50%;
}
.vacancy__experience>p{
  font-size: 16px;
  color: var(--black);
}
.vacancy__office{
  overflow: hidden;
  flex-basis: 50%;
}
.vacancy__img{
  height: 250px;
}

.vacancy__text h2{
  font-size: 18px;
  margin-bottom: 16px;
}
.vacancy__text span,
.vacancy__text p,
.vacancy__text li{
  color: var(--dark-gray-1);
}
.vacancy__text li{
  margin-bottom: 8px;
}
.vacancy__text ul,
.vacancy__text ol{
  margin-bottom: 34px;
}


@media screen and (min-width: 768px){
  .vacancy{
    padding-top: 120px;
    padding-bottom: 180px;
  }
  .vacancy__info{
    flex-direction: column;
    row-gap: 20px;
  }
  .vacancy__experience{
    flex-basis: unset;
  }
  .vacancy__img{
    width: 150px;
  }
  .vacancy__wrapper{
    display: flex;
    column-gap: 32px;
  }
  .vacancy__text h2{
    font-size: 20px;
    margin-bottom: 32px;
  }
  .vacancy__text ul,
  .vacancy__text ol{
    margin-bottom: 68px;
  }
  .vacancy__text li{
    margin-bottom: 12px;
  }
  .vacancy__text ul:last-child,
  .vacancy__text ol:last-child{
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1024px){
  .vacancy__wrapper{
    display: flex;
    align-items: flex-start;
  }
  .vacancy__info{
    flex-direction: row;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 50%;
    margin-right: auto;
    column-gap: 20px;
    /* column-gap: 0; */
    margin-top: 0;
    width: calc(50% - 32px - 32px);
  }
  .vacancy__info.fixed{
    position: fixed;
    top: 72px;
  }
  .vacancy__info.bottom{
    margin-top: auto;
  }
  .vacancy__experience{
    flex-basis: 50%;
    flex-shrink: 1;
    flex-grow: 0;
    padding: 24px;
  }
  .vacancy__office{
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 0;
  }
  .vacancy__img{
    width: 100%;
    height: auto;
  }
  .vacancy__desc{
    flex-basis: 50%;
    flex-shrink: 0;
    margin-left: auto;
  }
}
@media screen and (min-width: 1400px){
   .vacancy__experience{
    flex-basis: 255px;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 24px;
  }
  .vacancy__office{
    flex-basis: 295px;
    flex-grow: 0;
    flex-shrink: 0;
  }
}