
/* Vacancies */

.vacancies {
    padding: 80px 0 100px;
    background: #ffffff;
    position: relative;
    /* overflow: hidden; */
}

.vacancies .container {
    max-width: 1410px;
    position: relative;
    z-index: 2;
}

.vacancies__top {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* variation */

.vacancies-circle-top::before {
    content: "";

    position: absolute;
    left: calc((100% - 1410px) / 2 - 368px);
    top: 20px;
    z-index: 0;

    width: 670px;
    height: 670px;

    background: url("../../img/PP/element2.svg") center / contain no-repeat;
    pointer-events: none;
}


.vacancies-circle-center::before {
    content: "";

    position: absolute;

    left: calc((100% - 1410px) / 2 - 720px);
    top: 612px;

    transform: translateY(-50%);
    z-index: 1;

    width: 900px;
    height: 900px;

    background:
        url('../../img/PP/element2.svg')
        center / contain no-repeat;

    pointer-events: none;
}

.vacancies.vacancies-no-top {
    padding-top: 0;
    position: relative;
    z-index: 2;
}

.vacancies-circle-no-top::before {
    content: "";

    position: absolute;
    left: calc((100% - 1410px) / 2 - 368px);
    top: -133px;
    z-index: -1;

    width: 670px;
    height: 670px;

    background: url("../../img/PP/element2.svg") center / contain no-repeat;
    pointer-events: none;
}

.vacancies__title {
    margin: 0;

    font-family: 'RoadRadio', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;

    color: #1D3F77;
}

.vacancies__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 0 24px;

    border: 1px solid rgba(29, 63, 119, 0.2);
    border-radius: 60px;

    background: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #F7941D;
}

.vacancies__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Vacancy card */

.vacancy-card {
    padding: 40px 50px;

    border-radius: 10px;
    background: #F5F5F5;
}

.vacancy-card__top {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 20px;

    margin-bottom: 34px;
}

.vacancy-card__bottom {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 30px;
}

.vacancy-card__title {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;

    color: #1D3F77;
}

.vacancy-card__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;

    flex-wrap: wrap;
}

.vacancy-card__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;
}

.vacancy-card__meta-item img {
    width: 14px;
    height: 14px;

    flex-shrink: 0;
}

.vacancy-card__meta-item span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;

    color: #1D3F77;
}

.vacancy-card__divider {
    width: 1px;
    height: 18px;

    flex-shrink: 0;

    background: rgba(29, 63, 119, 0.2);
}

.vacancy-card__text {
    max-width: 520px;
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.45;

    color: rgba(29, 63, 119, 0.6);
}

.vacancy-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.vacancy-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 284px;
    min-height: 58px;
    padding: 0 28px;

    border: 1px solid rgba(29, 63, 119, 0.15);
    border-radius: 60px;

    background: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #F7941D;
}

/* =========================
   Vacancies adaptive
========================= */

@media (max-width: 767px) {
    .vacancies {
        padding: 40px 0;
        overflow: hidden;
    }

    .vacancies.vacancies-no-top {
        padding-top: 0;
    }

    .vacancies .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .vacancies::before,
    .vacancies-circle-top::before,
    .vacancies-circle-center::before,
    .vacancies-circle-no-top::before {
        display: none;
    }

    .vacancies__top {
        margin-bottom: 20px;
    }

    .vacancies__top .col-auto {
        display: none;
    }

    .vacancies__title {
        font-size: 28px;
        line-height: 1;
    }

    .vacancies__list {
        gap: 10px;
    }

    .vacancy-card {
        padding: 30px 22px;
        border-radius: 10px;
    }

    .vacancy-card__top,
    .vacancy-card__bottom {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    .vacancy-card__top {
        margin-bottom: 22px;
    }

    .vacancy-card__title {
        margin-bottom: 22px;

        font-size: 18px;
        line-height: 1.15;
    }

    .vacancy-card__meta {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .vacancy-card__divider {
        display: none;
    }

    .vacancy-card__meta-item {
        gap: 10px;
    }

    .vacancy-card__meta-item img {
        width: 18px;
        height: 18px;
    }

    .vacancy-card__meta-item span {
        white-space: normal;

        font-size: 13px;
        line-height: 1.3;
    }

    .vacancy-card__text {
        max-width: 100%;
        margin-bottom: 60px;

        font-size: 16px;
        line-height: 1.45;
    }

    .vacancy-card__actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
    }

    .vacancy-card__button {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        padding: 0 18px;

        font-size: 11px;
    }
}