@font-face {
    font-family: "Yati Sans";
    src: url("../fonts/YatiSansVariation.ttf") format("truetype");
    font-style: normal;
}
.job-vacancies-container {
    background-image: var(--job-vacancy-background);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 20px;
    padding-bottom: 50px;
    /* margin-bottom: 50px; */
}

.job-vacancies-title {
    font-family: "Yati Sans";
    font-style: normal;
    letter-spacing: 0.001em;
    color: #1b141f;
    order: 0;
    text-align: left;
    font-size: 2.16666667rem;
    font-weight: 400;
}

.job-vacancies-prevNext {
    display: flex;
    justify-content: end;
    align-items: center;
    order: 1;
}

.job-vacancies-prevNext .prevButton,
.job-vacancies-prevNext .nextButton {
    border: none;
    box-shadow: none;
    background: transparent;
    color: #fcfafc;
}

.job-vacancies-prevNext .icon {
    width: 40px;
    height: auto;
}

.job-vacancies-prevNext .prevButton:hover,
.job-vacancies-prevNext .nextButton:hover {
    opacity: 0.8;
}

.job-vacancies-prevNext .slick-disabled {
    color: #cea9d2;
}

.job-vacancies-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    order: 2;
}

/* .job-vacancies-tabs .slick-track {
    width: calc(100vw) !important;
} */

.job-vacancies-tabs .slick-slide {
    margin: 0 0.938rem;
}

.job-vacancies-tabs .slick-list {
    margin-left: -0.938rem;
    margin-right: -0.938rem;
}

.job-vacancies-col {
    margin: 0 auto;
    /* padding-right: 12px;
    padding-left: 10px; */
}

.job-vacancies-tab {
    background: #ffffff;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    padding: 1.45833333rem 1.875rem;
    display: flex !important;
    flex-direction: column;
    /* height: 17em !important; */
    max-width: 27em;
    width: 100% !important;
    margin: 0 auto;
    /* margin: 20px 45px 20px 0; */

    /* height: 19rem; */
    /* gap: 0.3rem; */
}

.job-vacancies-tab .title {
    font-family: "Yati Sans";
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.001em;
    color: #1b141f;
    font-size: 1.45833333rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* min-height: 4.2rem; */
    text-overflow: ellipsis;
    overflow: hidden;
}

.job-vacancies-tab .type {
    height: auto;
    font-family: "Yati Sans";
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.001em;
    color: #77859f;
}
.job-vacancies-tab .description {
    font-family: "Yati Sans";
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.001em;
    color: #77859f;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    height: calc(
        var(--bs-body-font-size) * 1.6 * 2
    ) !important; /* font size * line-height * number of lines */
    margin-top: 1rem; /* 14px;*/
    margin-bottom: 1.428571428rem; /*  20px; */
}
.job-vacancies-tab .apply-now-container {
    /* height: 80px; */
}

.job-vacancies-tab .apply-now-container a {
    text-decoration: none;
}

.apply-now {
    background: linear-gradient(90deg, #8464ba 0%, var(--primary-color) 100%);
    color: #ffffff;
    border-radius: 40px;
    width: fit-content;
    /* padding: 0.41666667rem 0.41666667rem 0.41666667rem 1.375rem; */
    padding: 0.428571428rem 1.571428571428rem; /*6px 22px */
    font-family: "Yati Sans";
    font-style: normal;
    font-size: 1rem;
    line-height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 15px; */
    border: 2px solid var(--primary-color);
    transition: background-color 1s, color 0.5s;

    /* padding: 0.75rem 1.25rem; */
    gap: 1rem;
}

.apply-now .arrow-image {
    width: 1.58333333rem;
    height: 1.58333333rem;
    object-fit: contain;
    fill: var(--primary-color);
}

.apply-now:hover .arrow-image {
    fill: #fff;
}

@media screen and (max-width: 1200px) {
    .job-vacancies-tabs .slick-slide {
        margin: 0 1.071428571428571rem;
    }

    /* .job-vacancies-tabs .slick-list {
        margin-left: -1.071428571428571rem;
        margin-right: -1.071428571428571rem;
    } */
}

@media screen and (max-width: 820px) {
    .job-vacancies-tabs .slick-slide {
        margin: 0 1.153846153846154rem;
    }

    /* .job-vacancies-tabs .slick-list {
        margin-left: -1.153846153846154rem;
        margin-right: -1.153846153846154rem;
    } */
}

@media (max-width: 992px) {
    .job-vacancies-tab,
    .job-vacancies-title,
    .job-vacancies-prevNext {
        width: 100% !important;
    }

    .job-vacancies-title {
        text-align: center;
    }

    .job-vacancies-prevNext {
        order: 2;
        margin-top: 30px;
        margin-bottom: -30px;
    }

    .job-vacancies-tabs {
        order: 1;
    }
    .job-vacancies-tab .title {
        height: auto !important;
    }
    .job-vacancies-tab .apply-now-container {
        height: auto !important;
    }
}

@media (max-width: 576px) {
    .job-vacancies-title {
        font-size: 1.92307692rem;
    }
    .job-vacancies-tab .title {
        /* min-height: 4.7rem; */
        font-size: 1.692307692rem;
    }
    .job-vacancies-tab .type {
        font-size: 1.384615384rem;
    }
    .job-vacancies-tab .apply-now,
    .job-vacancies-tab .description {
        font-size: 1.23076923rem;
    }
    .job-vacancies-tab .description {
        height: calc(
            1.23076923rem * 1.6 * 2
        ) !important; /* font size * line-height * number of lines */
    }
    .job-vacancies-prevNext .icon {
        height: 35px;
        width: auto;
    }
    .job-vacancies-tabs .apply-now {
        /* padding: 6px 15px; */
        gap: 10px;
    }
}
@media screen and (max-width: 1200px) {
    .job-vacancies-tab .description {
        margin-top: 1.6666667rem; /* 20px;*/
        margin-bottom: 1.6666667rem; /*  20px; */
    }
    .job-vacancies-tab .apply-now {
        padding: 0.5rem 1.25rem; /*6px 15px*/
    }
}

@media screen and (max-width: 820px) {
    .job-vacancies-tab .description {
        margin-top: 1.8181818181818182rem; /* 20px;*/
        margin-bottom: 1.818181818181818rem; /*  20px; */
    }
    .job-vacancies-tab .apply-now {
        padding: 0.545454545rem 1.363636363636364rem; /*6px 15px*/
    }
}
