.vacancies-header {
  padding-top: 40px;
}
.vacancies-header__title {
  color: #000;
  font-family: var(--TildaSans);
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
@media (max-width: 1023px) {
  .vacancies-header__title {
    font-size: 48px;
  }
}
@media (max-width: 767px) {
  .vacancies-header__title {
    font-size: 36px;
  }
}
.vacancies-header__count {
  position: absolute;
  color: var(--primary);
  top: 10px;
  right: -10px;
  font-family: var(--montserrat);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 200% */
}
@media (max-width: 1023px) {
  .vacancies-header__count {
    top: 0;
  }
}
@media (max-width: 767px) {
  .vacancies-header__count {
    font-size: 12px;
    top: -3px;
    right: -13px;
  }
}

.vacancies {
  margin-top: 56px;
}
@media (max-width: 1023px) {
  .vacancies {
    margin-top: 20px;
  }
}
.vacancies__item {
  padding: 40px 0;
  display: flex;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1023px) {
  .vacancies__item {
    padding: 20px 0;
  }
}
@media (max-width: 767px) {
  .vacancies__item {
    flex-direction: column;
    gap: 30px;
  }
}
@media (hover: hover) {
  .vacancies__item:hover .vacancies__item-title {
    color: var(--primary);
  }
  .vacancies__item:hover .vacancies__item-desc {
    color: var(--base-black-bg);
  }
}
.vacancies__item-left {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.vacancies__item-title {
  color: #1a1a1a;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  font-family: var(--TildaSans);
  transition: var(--transition);
}
.vacancies__item-info {
  display: flex;
  gap: 33px;
  align-items: center;
}
.vacancies__item-date {
  color: var(--line);
  font-family: var(--TildaSans);
}
.vacancies__item-place {
  font-family: var(--TildaSans);
}
.vacancies__item-right {
  flex: 1 1 50%;
}
.vacancies__item-descs {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.vacancies__item-desc {
  position: relative;
  padding-left: 28px;
  color: var(--line);
  font-family: var(--TildaSans);
  transition: var(--transition);
}
.vacancies__item-desc::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4.5px;
  width: 10px;
  height: 10px;
  background-image: url("/wp-content/themes/dvernoyton/assets/images/svg/vac-dot.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.vacancies__item-specs {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
@media (max-width: 767px) {
  .vacancies__item-specs {
    margin-top: 30px;
  }
}
.vacancies__item-spec {
  flex: 1 1 40%;
}
.vacancies__item-spec-title {
  font-family: var(--TildaSans);
}
.vacancies__item-spec-value {
  font-family: var(--TildaSans);
  margin-top: 5px;
  color: var(--line);
}

.vacancy-header {
  padding-top: 40px;
}
.vacancy-header__container {
  display: flex;
  gap: 383px;
}
@media (max-width: 1439px) {
  .vacancy-header__container {
    gap: 60px;
  }
}
@media (max-width: 424px) {
  .vacancy-header__container {
    flex-direction: column;
    gap: 20px;
  }
}
.vacancy-header__back {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.vacancy-header__back svg {
  min-width: 14px;
}
@media (hover: hover) {
  .vacancy-header__back:hover {
    color: var(--primary);
  }
  .vacancy-header__back:hover svg path {
    stroke: var(--primary);
  }
}
.vacancy-header__date {
  color: var(--line);
  font-family: var(--TildaSans);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.vacancy-header__title {
  color: var(--base-black-bg);
  margin-top: 20px;
}
@media (max-width: 1023px) {
  .vacancy-header__title {
    margin-top: 10px;
  }
}
.vacancy-header__specs {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 50px;
  -moz-column-gap: 30px;
       column-gap: 30px;
}
@media (max-width: 1023px) {
  .vacancy-header__specs {
    margin-top: 30px;
    row-gap: 20px;
  }
}
.vacancy-header__spec {
  flex: 1 1 40%;
}
.vacancy-header__spec-title {
  color: var(--base-black-bg);
  /* p */
  font-family: var(--TildaSans);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.vacancy-header__spec-value {
  color: var(--line);
  margin-top: 5px;
  /* p */
  font-family: var(--TildaSans);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.vacancy-image {
  padding-top: 100px;
  height: 437px;
  position: relative;
}
@media (max-width: 1023px) {
  .vacancy-image {
    padding-top: 50px;
    height: auto;
  }
}
.vacancy-image__image {
  height: 337px;
  position: absolute;
  left: 0;
  right: calc(50% - 568px);
  overflow: hidden;
  border-radius: 0px 22px 22px 0px;
}
@media (max-width: 1023px) {
  .vacancy-image__image {
    border-radius: 0;
    position: static;
    width: 100%;
  }
}

.vacancy-info {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 1023px) {
  .vacancy-info {
    padding: 50px 0;
  }
}
.vacancy-info__block {
  display: flex;
  gap: 125px;
}
@media (max-width: 1439px) {
  .vacancy-info__block {
    gap: 30px;
    flex-direction: column;
  }
}
@media (max-width: 1023px) {
  .vacancy-info__block {
    flex-direction: column;
  }
}
.vacancy-info__block + .vacancy-info__block {
  margin-top: 100px;
}
@media (max-width: 1023px) {
  .vacancy-info__block + .vacancy-info__block {
    margin-top: 50px;
  }
}
.vacancy-info__title {
  color: var(--base-black-bg);
  min-width: 215px;
  display: flex;
}
.vacancy-info__text {
  padding-right: 453px;
}
@media (max-width: 1023px) {
  .vacancy-info__text {
    padding-right: 353px;
  }
}
@media (max-width: 767px) {
  .vacancy-info__text {
    padding-right: 0;
  }
}
.vacancy-info__form {
  position: absolute;
  padding: 50px 62px 100px 35px;
  display: flex;
  flex-direction: column;
  top: 100px;
  bottom: 0px;
  border-radius: 29px 0px 0px 29px;
  right: 0;
  left: calc(50% + 338px);
  background-color: #f3f3f3;
}
@media (max-width: 1439px) {
  .vacancy-info__form {
    left: calc(100% - 400px);
  }
}
@media (max-width: 1023px) {
  .vacancy-info__form {
    left: calc(100% - 300px);
  }
}
@media (max-width: 767px) {
  .vacancy-info__form {
    position: static;
    max-width: 1440px;
    margin: 30px auto;
    padding-left: 50px;
    padding-right: 50px;
  }
}
@media (max-width: 767px) and (max-width: 1023px) {
  .vacancy-info__form {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 0;
  }
}
@media (max-width: 767px) and (max-width: 767px) {
  .vacancy-info__form {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.vacancy-info__form-title {
  color: var(--base-black-bg);
}
.vacancy-info__form-info {
  margin-top: 35px;
}
.vacancy-info__form-info + .vacancy-info__form-info {
  margin-top: 25px;
}
.vacancy-info__form-info-title {
  color: #1a1a1a;
  /* p */
  font-family: var(--TildaSans);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.vacancy-info__form-info-value {
  color: var(--line);
  margin-top: 5px;
  /* p */
  font-family: var(--TildaSans);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.vacancy-info__form-button {
  margin-top: auto;
  max-width: 293px;
  min-height: 56px;
  background-color: var(--primary);
  color: var(--base-bg);
  font-size: 16px;
  align-items: center;
  gap: 10px;
}
@media (max-width: 1439px) {
  .vacancy-info__form-button {
    margin-top: 30px;
  }
}
@media (hover: hover) {
  .vacancy-info__form-button:hover {
    background-color: var(--primary-hover);
  }
}
.vacancy-info__form-link {
  margin-top: 20px;
  color: var(--base-black-bg);
  /* p */
  font-family: var(--TildaSans);
  text-decoration: underline !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: var(--transition);
}
@media (hover: hover) {
  .vacancy-info__form-link:hover {
    color: var(--primary);
  }
}

.vacancy-form {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: #f8f8f8;
  padding: 90px 70px;
  max-width: 100%;
  border-radius: 18px 0px 0px 18px;
  box-shadow: -2px 0px 13.3px -2px rgba(125, 125, 125, 0.25);
  transform: translateX(100%);
  transition: var(--transition);
  overflow-y: scroll;
}
.vacancy-form--active {
  visibility: visible;
  transform: translateX(0);
}
@media (max-width: 767px) {
  .vacancy-form {
    padding: 40px 20px;
    border-radius: 0;
  }
}
.vacancy-form__wrapper {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  visibility: hidden;
  margin-top: 0 !important;
}
.vacancy-form__wrapper:has(.vacancy-form--active) {
  visibility: visible;
}
.vacancy-form__title {
  color: #1a1a1a;
}
.vacancy-form__fields {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vacancy-form__field {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #999;
  background: #f4f4f4;
  padding: 25px 35px;
  flex: 1 1 50%;
}
.vacancy-form .iti {
  flex: 1 1 50%;
}
.vacancy-form__field-row {
  display: flex;
  gap: 20px;
}
@media (max-width: 424px) {
  .vacancy-form__field-row {
    flex-direction: column;
  }
}
.vacancy-form__file {
  position: relative;
  max-width: 293px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary);
  color: var(--base-bg);
  font-size: 16px;
}
@media (hover: hover) {
  .vacancy-form__file:hover {
    background-color: var(--primary-hover);
  }
}
.vacancy-form__file input {
  width: 0;
  height: 0;
  top: 0;
  left: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
}
@media (max-width: 1023px) {
  .vacancy-form__file {
    max-width: 256px !important;
  }
}
.vacancy-form__textarea {
  border-radius: 10px;
  border: 1px solid #999;
  background: #f4f4f4;
  padding: 25px 35px;
  height: 150px;
  resize: none;
}
.vacancy-form__lower {
  display: flex;
  gap: 103px;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .vacancy-form__lower {
    gap: 20px;
    flex-direction: column;
  }
}
.vacancy-form__checkbox {
  max-width: 284px;
  color: #babdc3;
  font-family: var(--TildaSans);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
  padding-left: 31px;
}
.vacancy-form__checkbox input {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 0;
  height: 0;
  opacity: 0;
}
.vacancy-form__checkbox::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--primary);
}
.vacancy-form__checkbox:has(input:checked)::after {
  background: var(--primary) url("/wp-content/themes/dvernoyton/assets/images/svg/checkbox-checked.svg") center center no-repeat;
}
.vacancy-form__submit {
  max-width: 197px;
  min-height: 47px;
  background-color: var(--primary);
  color: var(--base-bg);
}
@media (max-width: 1023px) {
  .vacancy-form__submit {
    max-width: 256px !important;
  }
}
@media (hover: hover) {
  .vacancy-form__submit:hover {
    background-color: var(--primary-hover);
  }
}

body:has(.vacancy-form--active) {
  overflow: hidden;
}