.jobs-hero {
    position: relative;
}
.jobs-hero__content {
    position: relative;
    z-index: 1;
}
 .jobs-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
 }
 .jobs-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
 }
.job-principle-cards {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.job-principle-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-radius: 30px;
    border: 2px solid var(--light, #E0D7D7);
    position: relative;
    padding: 40px;
    min-height: 280px;
    width: 415px;
    flex-shrink: 0;
    overflow: hidden;
}
.job-principle-card_accent {
    border: 2px solid transparent;
    background: var(--Yellow-gradient, linear-gradient(180deg, #FDEEC7 0%, #FDE4DC 100%));
}
.job-principle-card__index {
    position: absolute;
    right: -6px;
    bottom: -28px;
    font-family: "Great Vibes";
    font-size: 140px;
    font-style: normal;
    font-weight: 400;
    line-height: 120px;
    letter-spacing: 2.8px;
    color: var(--light, #E0D7D7);
}
.job-principle-card_accent-super {
    min-height: 466px;
    border: 2px solid transparent;
    background-image: url(../assets/img/advantage_cards.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.job-principle-card_accent .job-principle-card__index {
    color: white;
    right: 0;
}
.job-principle-card_accent-super .job-principle-card__index {
    color: white;
}
.vacancies {
    grid-column: 1 / span 6;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.vacancy {
    border-radius: 30px;
    border: 1px solid var(--Light-grey, #CAC3C3);
    padding: 40px;
}
.vacancy__title {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}
.vacancy__title::after {
    content: url(../assets/img/vacancy-arrow.svg);
    position: relative;
}
.vacancy__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}
.vacancy__content-slot {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.vacancy__content-slot ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vacancy__content-slot ul li {
    position: relative; 
    padding-left: 15px;
}
.vacancy__content-slot ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #CAC3C3;
    border-radius: 50%;
}
.vacancy__toggler {
    cursor: pointer;
    margin-top: 20px;
}
.vacancies__aside {
    grid-column: 8 / span 4;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.vacancies__contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 30px;
    padding: 60px;
    background: var(--Pink-gradient, linear-gradient(180deg, #FDC7D7 0%, #FDE4DC 100%));
}
.vacancies__hh-link {
    border-radius: 30px;
    border: 2px solid var(--light, #E0D7D7);
    padding: 60px;
    color: var(--Pink, #E5097F);
}
.jobs-video-guide {
    grid-column: 1 / span 4;
    height: 915px;
    border-radius: 60px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    background-image: url(../assets/img/factory.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}
.jobs-video-guide .play-btn {
    opacity: 0;
    transition: 0.3s;
}
.jobs-video-guide:hover .play-btn {
    opacity: 1;
}
.jobs-map {
    grid-column: 5 / -1;
    height: 915px;
    border-radius: 60px;
    overflow: hidden;
}
.apply-form {
    padding: 160px 0;
    position: relative;
    background: var(--Chocolad-gradient, linear-gradient(180deg, rgba(231, 218, 202, 0.25) -7.18%, rgba(147, 94, 85, 0.25) 100%), #593630);
}
.apply-form__content {
    grid-column: 1 / span 6;
}
.apply-form__content-title {
    color: var(--White, #FFF);
}
.apply-form__content-subtitle {
    color: var(--White, #FFF);
    font-feature-settings: 'liga' off, 'clig' off;
    margin-top: 20px;
}
.apply-form__form {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 3;
}
.apply-form__policy {
    color: white;
    display: flex;
    align-items: center;
}
.apply-form__btn {
    height: 56px;
}
.apply-form__img {
    position: absolute;
    bottom: 0;
    right: 0;
    max-height: 100%;
}
.apply-form__img img {
    width: 100%;
}
.apply-form__textarea {
    grid-column: 1 / -1;
}
.apply-form__file-input {
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
}
.apply-input__text {
    color: white;
}

@media (max-width: 1439px) {
    .job-principle-card {
        width: 418px;
    }
    .vacancies {
        grid-column: 1 / span 5;
    }
    .vacancies__aside {
        grid-column: 6 / -1;
    }
    .vacancies__contacts {
        padding: 40px;
    }
    .vacancies__hh-link {
        padding: 40px;
    }
    .jobs-video-guide {
        grid-column: 1 / span 3;
        height: 658px;
    }
    .jobs-map {
        grid-column: 4 / -1;
        height: 658px;
    }
    .apply-form {
        padding: 140px 0 616px;
        overflow: hidden;
    }
}
@media (max-width: 1023px) {
    .jobs-hero {
        height: 580px;
        background: linear-gradient(90deg, #B4B0A9 9.38%, #CDD4D5 47.45%);
    }
    .job-principle-card {
        width: 235px;
        min-height: 308px;
    }
    .job-principle-card_accent-super {
        min-height: 395px;
        background-size: 100% 100%;
    }
    .vacancies {
        grid-column: 1 / -1;
        order: 2;
        margin-top: 20px;
    }
    .vacancies__aside {
        grid-column: 1 / -1;
        order: 1;
    }
    .jobs-video-guide {
        grid-column: 1 / -1;
        height: 500px;
        border-radius: 30px;
    }
    .jobs-map {
        grid-column: 1 / -1;
        height: 500px;
        margin-top: 20px;
    }
    .jobs-video-guide .play-btn {
        opacity: 1;
        width: 60px;
        height: 60px;
    }
    .apply-form {
        padding: 80px 0 346px;
        overflow: hidden;
    }
    .apply-form__content {
        grid-column: 1 / -1;
    }
    .apply-form__form {
        grid-template-columns: 1fr;
    }
    .apply-form__img {
        width: 100%;
    }
    .apply-form__file-input {
        padding: 5px 20px;
    }
    .apply-form__policy {
        margin-top: 20px;
    }
}