.vacancies-wrapper {
    padding-top: 160px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 40%);
    margin-bottom: 100px;
}

.vacancies-single-page .vacancies-wrapper {
    margin-bottom: 0;
}

.vacancies-title {
    font-size: 64px;
    line-height: 100%;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -4px;
}

.vacancies {
    margin-top: 70px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vacancies-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    min-height: 236px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(33.3% - 15px);
}
.vacancies-item:hover {
    cursor: pointer;
}

.vacancies-item__title {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
}

.vacancies-item__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.vacancies-item__close {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    line-height: 100%;
}

.vacancies-item__close-caption {
    color: #00000066;
}

/*

Single

*/

.vacancies-single {
    display: flex;
    gap: 15px;
}

.vacancies-single__left {
    width: 330px;
    flex-shrink: 0;
}

.vacancies-single__button {
    display: flex;
    align-items: center;
}

.vacancies-single__button-icon {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #C6CEDC;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.vacancies-single__button span {
    background: white;
    border: 1px solid #C6CEDC;
    border-radius: 100px;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    margin-left: -10px;
    z-index: 1;
    position: relative;
}

.vacancies-single__right {
    width: 100%;
    flex: 1;
}


.vacancies-single__close {
    font-size: 14px;
    color: #00000099;
    font-weight: 400;
    margin-bottom: 35px;
}

.vacancies-single__title {
    line-height: 120%;
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 55px;
}

.vacancies-single__form-button {
    display: flex;
    width: fit-content;
    margin-bottom: 80px;
}

.vacancies-single__form-button::before {
    content: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99988 0.813647L7.99988 14.7096M14.8269 8.5118L7.99988 15.1863L1.17285 8.5118' stroke='%23CF141F' stroke-width='2'/%3E%3C/svg%3E%0A");
}

/* text spaces */
.vacancies-single__form-button {
    margin-bottom: 0px;
    margin-top: 30px;
}

.vacancies-single__other {
    background: white;
    padding: 64px 0;
}

.vacancies-single__other-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 40px;
}

.vacancies-single__other-items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vacancies-single__other-items .vacancies-item {
    border: 1px solid #C6CEDC;
}


body.vacancies-single-page .footer::before {
    background: white;
}

.vacancy-form__wrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 421px;
    margin-bottom: 40px;
    margin-top: 104px;
}
.vacancy-form__checkbox {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
/* custom checkbox */
.vacancy-form__checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vacancy-form__checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    cursor: pointer;
}

.vacancy-form__checkbox label::before {
    background: #ffffff0a;
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #bdbdbd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease-in-out, border 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.vacancy-form__checkbox input[type="checkbox"]:checked+label::before {
    background: #CF141F;
    border-color: #CF141F;
    content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDEyIDEyIj4KICA8cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTkuNzY1IDMuMjA1YS43NS43NSAwIDAgMSAuMDMgMS4wNmwtNC4yNSA0LjVhLjc1Ljc1IDAgMCAxLTEuMDc1LjAxNUwyLjIyIDYuNTNhLjc1Ljc1IDAgMCAxIDEuMDYtMS4wNmwxLjcwNSAxLjcwNGwzLjcyLTMuOTM5YS43NS43NSAwIDAgMSAxLjA2LS4wMyIvPgo8L3N2Zz4K");
    color: white;
    padding-top: 4px;
}


.vacancy-form__checkbox input[type="checkbox"]:not(:disabled):hover+label::before {
    filter: brightness(1.1);
}

.vacancy-form__checkbox input[type="checkbox"]:disabled+label {
    opacity: .5;
    cursor: not-allowed;
}

.vacancy-form__checkbox input[type="checkbox"]:disabled+label::before {
    box-shadow: none;
}

.vacancy-form__checkbox input[type="checkbox"]:focus-visible+label::before {
    outline: 2px solid #b6111b;
    outline-offset: 2px;
}
/*  */
.vacancy-form__wrapper .vacancy-form-section {
    height: 100%;
    width: 50%;
    padding: 32px 40px;
    border-radius: 24px;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(1) {
    background: #CF141F;
    color: white;
    box-shadow: inset #FFFFFFB2 0px 0px 64px 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(1) .vacancy-form__title {
    font-family: 'Oswald';
    font-size: 48px;
    word-wrap: break-word;
    line-height: normal;
}

.vacancy-form__wrapper .vacancy-form-section:nth-child(2) {
    background: white;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .vacancy-form__inputs {
    display: flex;
    align-items: center;
    width: 100%;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .vacancy-form__file-wrapper {
    width: 100%;
    height: 100%;
    border: 2px dotted#0000004D;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .vacancy-form__file-wrapper .vacancy-form__file-title {
    font-size: 14px;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .vacancy-form__file-wrapper .vacancy-form__file-desc {
    color: #00000070;
    font-size: 12px;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .vacancy-form__file-wrapper .vacancy-form__file-desc.hidden {
    display: none;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .button-red {
    width: 100%;
    background: #CF141F;
    color: white;
    font-family: 'eUkraine';
    display: flex;
    justify-content: flex-start;
    border: none;
    padding-left: inherit;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .button-red::before {
    display: none;
}
.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .button-red::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuMTI1NzJlLTA3IDhMMTMuNTM1NiA4TTcuNDk4NTQgMTVMMTQgOEw3LjQ5ODU0IDAuOTk5OTk5IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiLz4KPC9zdmc+Cg==");
    background: #CF141F14;
    width: 40px;
    height: 40px;
    display: inline-flex;
    position: absolute;
    right: 8px;
    top: 8px;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    filter: brightness(100);
}

.vacancy-form__wrapper .vacancy-form-section:nth-child(2) .button-red:disabled {
    background: #A6A6A6;
    cursor: default;
}

@media (max-width: 768px) { 
    .vacancy-form__wrapper {
        display: flex;
        flex-direction: column;
        margin-bottom: 400px;
    }
    .vacancy-form__wrapper .vacancy-form-section {
        width: 100%;
        padding: 40px;
    }
    .vacancy-form__wrapper .vacancy-form-section:nth-child(1) .vacancy-form__title {
        font-size: 35px;
        font-weight: 400;
        margin-bottom: 42px;
        line-height: 100%;
        letter-spacing: 1px;
    }
    .vacancy-form__wrapper .popup-form-wrapper {
        display: flex;
        flex-direction: column;
    }
    .vacancy-form__wrapper .vacancy-form-section:nth-child(1) .vacancy-form__desc {
        font-size: 14px;
    }
    .vacancy-form__wrapper .vacancy-form-section:nth-child(2) {
        gap: 16px;
        height: auto;
    }
    .vacancy-form__wrapper .vacancy-form-section:nth-child(2) .vacancy-form__file-wrapper {
        height: 132px;
        padding: 24px;
        text-align: center;
    }
    .vacancy-form__wrapper .vacancy-form-section:nth-child(2) .button-red {
        min-width: 0px;
    }
    .vacancy-form__checkbox label {
        flex-wrap: nowrap;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    .vacancies-wrapper {
        margin-bottom: 120px;
        padding-top: 120px;   
    }
    .vacancies-single__left {
        width: 100%;
    }
    .vacancies-single__other_swiper {
        display: block!important;
    }
    .vacancies-single__nav {
        display: flex!important;
        gap: 10px;
    }
    .vacancies-single__prev, .vacancies-single__next {
        background: white;
        border-radius: 100%;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .vacancies {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .vacancies-single__other-title {
        font-size: 24px;  
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .vacancies-title {
        font-size: 40px;
        text-align: center;
    }
    .vacancies-item {
        width: 100%;
        min-height: 200px;
    }


    .vacancies-item__title {
        font-size: 14px;
    }
    .vacancies-single {
        display: flex;
        flex-direction: column;
    }
    .vacancies-single__button span {
        display: none;
    }
    .vacancies-single__title {
        font-size: 32px;
        margin-bottom: 0px;
    }
    .vacancies-single__form-button {
        display: flex;
        justify-content: flex-start;
        min-width: 0px;
        margin-bottom: 50px;
    }
    .vacancies-single__content p {
        font-size: 16px;
        max-width: 100%;
    }
    .vacancies-single__content p strong {
        color: black;
    }
    .vacancies-single__content ul {
        max-width: 100%;
    }

    .vacancy-form__checkbox label::before {
        flex-shrink: 0;
    }
}