.vacancy-items-v2 {
    padding: 80px 0;
}

.vacancy-items-v2 .boxed {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.vacancy-items-v2 .vacancy-count {
    display: block;
    margin-bottom: 32px;
    font-size: 18px;
    font-weight: 330;
    font-style: normal;
    color: #636A75;
    line-height: 28px;
}

.vacancy-items-v2 .items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vacancy-items-v2 .item {
    position: relative;
    display: block;
    border-radius: 8px;
    box-shadow: 2px 4px 12px rgba(163, 177, 204, 0.35);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.vacancy-items-v2 .item:hover {
    transform: translateY(-4px);
}

.vacancy-items-v2 .image {
    position: relative;
    width: 100%;
    height: 376px;
    overflow: hidden;
}

.vacancy-items-v2 .image img {
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vacancy-items-v2 .image .label {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    padding: 4px 12px 4px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 330;
    font-style: normal;
    text-align: center;
    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: 1.12px;
    gap: 8px;
}

.vacancy-items-v2 .image .label.blue {
    background: #162032;
    color: #FFF;
}

.vacancy-items-v2 .image .label.yellow {
    background: #FEE600;
    color: #1A2233;
}

.vacancy-items-v2 .image .label.gray {
    background: #DFE6F1;
    color: #1A2233;
}



.vacancy-items-v2 .image .label.blue::before,
.vacancy-items-v2 .image .label.yellow::before {
    content: '';
    position: absolute;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;
    width: 20px;
    height: 20px;
    left: 6px;
    top: 3px;
}

.vacancy-items-v2 .image .label.blue::before {
    mask-image: url(/wp-content/themes/strevon/assets/images/icons/target.svg);
    -webkit-mask-image: url(/wp-content/themes/strevon/assets/images/icons/target.svg);
    background-color: #FFF;
}

.vacancy-items-v2 .image .label.yellow::before {
    mask-image: url(/wp-content/themes/strevon/assets/images/icons/alarm.svg);
    -webkit-mask-image: url(/wp-content/themes/strevon/assets/images/icons/alarm.svg);
    background-color: #1A2233;
}

.vacancy-items-v2 .item > .info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 62px 16px;
    gap: 8px;
}

.vacancy-items-v2 .item > .info::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 152px;
    height: 152px;
    content: '';
    background: url(/wp-content/themes/strevon/assets/images/elements/dots-gray.png) no-repeat;
    background-size: cover;
}


.vacancy-items-v2 .item > .info .heading {
    margin-bottom: 0;
    font-family: 'Panton', sans-serif;
    font-size: 28px;
    color: #162032;
    text-align: center;
    line-height: 36px;
}

.vacancy-items-v2 .item > .info .item-content {
    font-size: 18px;
    font-weight: 330;
    font-style: normal;
    color: #636A75;
    text-align: center;
    line-height: 28px; /* 155.556% */
}

.vacancy-items-v2 .item > .info .item-content .location {
    position: relative;
    margin-left: 24px;
}

.vacancy-items-v2 .item > .info .item-content .location::before {
    position: absolute;
    top: -3px;
    left: -24px;
    width: 20px;
    height: 20px;
    content: '';
    background-color: #636A75;
    mask-image: url(/wp-content/themes/strevon/assets/images/icons/location.svg);
    -webkit-mask-image: url(/wp-content/themes/strevon/assets/images/icons/location.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;
}

.vacancy-items-v2 .item > .read-more {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 8px 0 0 0;
    background: #F4F6FC;
}

.vacancy-items-v2 .item > .read-more::after {
    display: block;
    width: 24px;
    height: 24px;
    content: '';
    background-color: #636A75;
    mask-image: url(/wp-content/themes/strevon/assets/images/icons/arrow-right.svg);
    -webkit-mask-image: url(/wp-content/themes/strevon/assets/images/icons/arrow-right.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;
}

@media (max-width: 1024px) {
    .vacancy-items-v2 .items {
        grid-template-columns: 1fr;
    }

    .vacancy-items-v2 .image {
        height: 280px;
    }

    .vacancy-items-v2 .image .label {
        top: 8px;
        left: 8px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .vacancy-items-v2 .item > .info {
        padding: 24px 16px;
    }
    .vacancy-items-v2 .item > .info .heading {
        font-size: 18px;
        line-height: 28px;
    }

    .vacancy-items-v2 .item > .info .item-content {
        font-size: 12px;
        line-height: 20px;
    }

    .vacancy-items-v2 .vacancy-count {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 16px;
    }

    .vacancy-items-v2 .items {
        gap: 32px;
    }
}
