.job-block__list {
    margin: 0 -10px;
}

.job-block__item-wrapper {
    padding: 0 10px;
    margin-bottom: 20px;
}

.job-block__item {
    display: block;
    position: relative;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    transition: background 0.3s ease;
    text-decoration: none !important;
    text-align: center;
}

.job-block__item:before,
.job-block__item:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.job-block__item:after {
    opacity: 0;
}

.job-block__item:before {
    background: linear-gradient(270deg, rgba(244, 246, 251, 0) 0%, #F4F6FB 67.31%);
}

.job-block__item:after {
    z-index: 2;
    background: linear-gradient(257.11deg, rgba(0, 99, 189, 0) 40.69%, #0063BD 110.69%);
}

.job-block__item:hover:before {
    opacity: 0;
}

.job-block__item:hover:after {
    opacity: 1;
}

.job-block__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.job-block__bg:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    background: linear-gradient(90deg, #F4F6FB 37%, rgba(244, 246, 251, 0) 100%);
}

.job-block__bg_wide:after {
    background: linear-gradient(90deg, #F4F6FB 71%, rgba(244, 246, 251, 0) 100%);
}

.job-block__bg-img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    aspect-ratio: 3/2;
    transition: transform 0.7s ease;
}

.job-block__item:hover .job-block__bg-img {
    transform: scale(1.1);
}

.job-block__content {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px 30px;
    position: relative;
    z-index: 3;
}

.job-block__content-inner {
    max-width: 420px;
    transition: transform 0.3s ease;
}

.job-block__content-inner_wide {
    max-width: 620px;
}

.job-block__name {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.47;
    color: black;
    margin-bottom: 10px;
}

.job-block__text {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
}

.job-block__btn {
    margin-top: 20px;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.3s ease;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
    background: var(--color-primary);
    border-radius: 4px;
    padding: 0 14px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    min-width: 170px;
    border: none;
}

.job-block__btn:hover {
    color: #fff;
}

@media screen and (max-width: 767px) {
    .job-block__bg {
        opacity: 0.3;
    }

    .job-block__bg-img {
        width: 100%;
    }

    .job-block__content {
        padding: 20px;
    }

    .job-block__name {
        font-size: 20px;
    }

    .job-block__text {
        font-size: 14px;
    }

    .job-block__btn {
        font-weight: 300;
        font-size: 14px;
        height: 36px;
    }

    .job-block__bg:after {
        background: linear-gradient(90deg, #F4F6FB 46%, rgba(244, 246, 251, 0) 100%);
    }

    .job-block__bg_wide:after {
        background: linear-gradient(90deg, #F4F6FB 46%, rgba(244, 246, 251, 0) 100%);
    }
}

@media screen and (max-width: 500px) {
    .job-block__bg:after {
        opacity: 0;
    }

    .job-block__bg_wide:after {
        opacity: 0;
    }

    .job-block__item:hover .job-block__bg-img {
        transform: none;
    }
}

@media screen and (min-width: 768px) {
    .job-block__item-wrapper.col-md-6 .job-block__content {
        justify-content: flex-start;
    }
}