.careers {
    background: url("../img/careers_bg-1.webp") #F4F4F6 top center no-repeat;
}

.vacancy {
    background: url("../img/vacancy_bg.webp") #F4F4F6 top center no-repeat;
}

.btn2 {
    background: #FFFFFF;
    border: 1px solid #9A9BA0;
    color: #9A9BA0;
}

.careers__page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: "Mulish", sans-serif;
    font-size: 14px;
}
.careers__banner {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    height: 600px;
    padding-left: 24px;
}
.careers__title {
    color: #21252C;
    font-family: ClashDisplay-Variable;
    font-size: 56px;
    font-weight: 700;
    line-height: 70px;
    padding-top: 72px;
}
.careers__text {
    color: #3E424B;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    max-width: 530px;
    margin-bottom: 80px;
}
.careers__btn {
    width: 218px;
}

.careers__list {
    padding: 0 24px;
}
.careers__list-title {
    color: #292E37;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 32px;
}

.vacancies {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.vacancies__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 24px;
    align-self: stretch;
    border-radius: 12px;
    background: #FFFFFF;
}
.vacancies__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vacancies__meta div {
    display: flex;
    padding: 3px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #F4F4F6;
    color: #292E37;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}
.vacancies__title {
    color: #292E37;
    font-size: 24px;
    font-weight: 800;
    line-height: 120%;
    letter-spacing: -0.48px;
}
.vacancies__text {
    color: #3E424B;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}
.vacancies__controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
}
.vacancies__links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}
.vacancies__btn {
    width: 218px;
}
.vacancies__dop {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    margin-left: auto;
}

.vacancies__date {
   color: #9A9BA0
}

.careers-form {
    display: flex;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    flex: 1 0 0;
    border-radius: 12px;
    border: 1px solid #3E424B;
    background: #191C21;
    position: relative;
    color: #fff;
    width: 100%;
    margin-top: 112px;
}


.careers-form__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.careers-form__title {
    color: #FFF;
    font-family: ClashDisplay-Variable;
    font-size: 42px;
    font-weight: 700;
    line-height: 46px;
}
.careers-form__text {
    font-size: 18px;
}
.careers__form {
    width: 484px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.careers-form * {
    position: relative;
    z-index: 1;
}

.careers-form__girl {
    content: '';
    position: absolute !important;
    z-index: 0 !important;
    background: url(../img/girl.png) top center no-repeat;
    width: 445px;
    height: 665px;
    background-size: cover;
    bottom: 0;
    right: 0;
}
.form-block.form-block_half {
    width: calc(50% - 13px);
    min-width: calc(50% - 13px);
}


.careers-form .wpcf7-list-item {
    margin: 0;
}

.careers-form .form-block_privacy {
    margin-top: 18px;
    margin-bottom: 24px;
}

.careers-form .form-block_privacy p {
    flex-direction: row;
}
.careers-form .form-block_privacy p a {
    white-space: nowrap;
    color: #9A9BA0;
    text-decoration: underline;
}
.careers__form .form-block_privacy p a:hover {
    text-decoration: none;
}

.careers-form--vacancy {
    background: #FFF url(../img/vacancy-form-bg-1.webp) right bottom no-repeat;
    color: #3E424B;
    border: none;
}

.careers-form--vacancy .careers-form__title {
    color:  #292E37;
}

.careers-form--vacancy  .form-control, .careers-form--vacancy  .wpcf7-form-control-wrap {
    background: #F4F4F6;
}

.careers-form--vacancy .careers__form .form-block_file label {
    background: #F4F4F6;
    color: #292E37;
}

.careers-form--vacancy .careers__form .form-block_file label:before {
    background: url(../img/upload-dark.svg) center no-repeat;
}


.careers-form--vacancy .checkbox input + span:before {
    border: 1px solid #f4f4f6;
    background: #f4f4f6;
}


.careers-form--vacancy .form-block_privacy .wpcf7-form-control-wrap {
    background: transparent;
}

.checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;

}
.checkbox input {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
.checkbox input + span {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.checkbox input + span:before {
    content: "";
    margin-right: 8px;
    display: flex;
    width: 20px;
    height: 20px;
    padding: 2px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #9A9BA0;
    background: #292E37;
}
.checkbox input:checked + span:before {
    content: "✓";
    font-size: 19px;
}

.careers__form .wpcf7-response-output {
    width: 100%;
    text-align: center;
    border-color: #f22108;
}


.careers__form .form-block_file label {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    left: 0px;
    padding-left: 19px;
    width: 200px;
    border-radius: 8px;
    background: #3E424B;
    color:  #9A9BA0;
    cursor: pointer;
}

.careers__form .form-block_file label:before {
    content: '';
    background: url(../img/upload.svg) center no-repeat;
    display: inline-flex;
    width: 24px;
    height: 24px;
}

.careers__form .form-block_file .wpcf7-form-control-wrap {
    opacity: 0;
}
.careers__form .form-block_file .wpcf7-form-control-wrap input {

}

.article__shearing {
    position: relative;
    width: 32px;
    height: 32px;
}

.article__shearing-btn {
    gap: 10px;
    line-height: 15px;
}
.article__shering-links {
    display: flex;
    padding: 16px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 150px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 4px 10px 0 rgba(90, 15, 45, 0.25);
    position: absolute;
    left: 0;
    top: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.article__shearing.open .article__shearing-links {
    opacity: 1;
    visibility: visible;
}
.article__shearing-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px;

}
.article__shearing-link svg {
    width: 24px;
    height: 24px;
}


.vacancy__page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: "Mulish", sans-serif;
    font-size: 14px;
    padding-left: 24px;
    padding-right: 24px;
}
.vacancy__banner {
    display: flex;
    flex-direction: column;
    gap: 72px;
    padding-top: 60px;
    height: 380px;

}
.vacancy__title {
    color: #21252C;
    font-family: ClashDisplay-Variable;
    font-size: 56px;
    font-weight: 700;
    line-height: 70px;
    max-width: 500px;
}
.vacancy__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid #DCDCDE;
}
.vacancy__meta div {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vacancy__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}
.vacancy__subtitle {
    color: #292E37;
    font-size: 28px;
    line-height: 34px;
}
.vacancy__text {
    font-size: 18px;
}


@media (max-width: 991px) {

    .careers {
        background: #F4F4F6;
    }

    .vacancy {
        background: url(../img/vacancy_bg-tablet.webp) #F4F4F6 top right no-repeat;
    }

    .careers__banner {
        height: 576px;
        background: url("../img/careers_bg-tablet.webp") bottom right no-repeat;
    }


    .careers-form {
        margin: 0 24px;
        width: auto;
    }
.careers-form__heading {
    max-width: 416px;
}
    .careers-form form {
        max-width: 416px;
    }
    .vacancies__links {
        gap: 16px;
    }

    .careers-form__girl {
        width: 319px;
        right: -20px;
    }

    .vacancy__banner {
        height: 310px;
        padding-top: 24px;
    }


    .vacancy__title {
        font-size: 48px;
    }
    .careers-form--vacancy {
        background: #FFF url(../img/vacancy-form-bg-2.webp) right bottom no-repeat;
    }
}

@media (max-width: 767px) {
    .careers__banner {
        height: 576px;
        background: url("../img/careers_bg-mobile.webp") top right no-repeat;
        padding-top: 12px;
    }

    .careers__title {
        font-size: 52px;
        padding-top: 210px;
    }
    .careers__text {
    margin-bottom: 24px;
}
    .careers__list {
        padding: 0 16px;
    }

    .vacancies__item {
        padding: 16px;
    }
    .vacancies__controls {
        flex-direction: column;
        gap: 12px;
    }

    .vacancies__links {
        flex-direction: column;
        gap: 12px;
        order: 1;
        width: 100%;
    }

    .vacancies__btn {
       width: 100%;
    }

    .vacancies__dop {
        order: 0;
        width: 100%;
    }

    .careers-form {
        margin: 0 16px;
        width: auto;
        padding-top: 200px;
    }

    .careers-form__title {
        font-size: 32px;
    }
    .careers-form__text {
        font-size: 16px;
    }

    .careers-form__girl {
        background: url("../img/girl-shadow.webp") top no-repeat;
        top: 0;
        right: 0;
    }

    .vacancy {
        background: #F4F4F6 ;
    }
    .vacancy__page {
        padding-left: 16px;
        padding-right: 16px;
    }


    .vacancy__banner {
        height: 262px;
        gap: 40px;
        background: url(../img/vacancy_bg-mobile.webp) #F4F4F6 bottom right no-repeat;
    }
    .vacancy__title {
        font-size: 40px;
    }
    .careers-form--vacancy {
        background: #FFF;
        padding: 16px;
    }
    .careers-form--vacancy .careers-form__title {
        font-size: 32px;
    }
    .careers__form {
        width: 100%;
    }
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 11;
}

.form-popup {
    width: 100%;
    max-width: 1040px;
    height: 633px;
    display: none;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background: #CACCCE;
    padding: 4px 6px;
    border-radius: 0 12px 0 16px;
}
