.cards {
    position: relative;
    z-index: 30;
    margin: -15px -15px 0 0;
}

.card {
    margin-top: 15px;
}

.card__mr {
    margin-right: 15px;
}

.w-50 {
    width: 50%;
}

@media(max-width: 767px) {
    .card {
        width: 100%;
    }
}

.cards--abs {
    position: absolute;
    width: -webkit-fill-available;
    min-width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media(max-width: 991px) {
    .cards--abs {
        position: relative;
        width: auto;
        top: auto;
        transform: none;
    }
}

.card__block {
    position: relative;
    height: 265px;
    border-radius: 15px;
    text-align: center;
    overflow: hidden;
}

@media(max-width: 1260px) {
    .card__block {
        height: 240px;
    }
}

.card__block:after {
    content: '';
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.card__block h6 {
    position: absolute;
    z-index: 10;
    width: 100%;
    left: 0;
    bottom: 27px;
    padding: 0 15px;
}