.vgallery {
    margin-bottom: 120px;
}

.vgallery-title {
    font-family: 'Oswald';
    font-weight: bold;
    font-size: 40px;
    line-height: 60px;
    color: #434343;
    margin-bottom: 8px;
}
.vgallery-subtitle {
    font-family: 'Lato';
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 89px;
    color: #1E1E1E;
}

.vgallery-items {
    position: relative;
}
.vgallery-items:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background:#A8A4A4;
    top: -49px;
    left: 0;
}

.vgallery-item {
    max-width: 47%;
    width: 100%;
    height: 295px;
    position: relative;
}
.vgallery-item a {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}
.vgallery-item a:after {
    content: url(/catalog/view/theme/autopragma/images/play.svg);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all .2s linear;
}
.vgallery-item a:hover:after {
    transform: translate(-50%, -50%) scale(1.1);
}
.vgallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.vgallery-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 50px;
}

.vgallery-item__title {
    font-family: 'Lato';
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    position: absolute;
    width: 100%;
    padding: 0 30px;
    bottom: 20px;
    left: 0;
    text-align: center;
    pointer-events: none;
}



@media (max-width: 768px) {
    .vgallery-item {
        height: 170px;
        max-width: 48%;
    }
    .vgallery-items {
        row-gap: 30px;
    }
    .vgallery-item__title {
        font-size: 14px;
        line-height: 16px;
        bottom: 10px;
    }
}

@media(max-width: 767px) {
    .vgallery-title {
        font-size: 28px;
        line-height: 36px;
    }
    .vgallery-subtitle {
        margin-bottom: 60px;
    }
    .vgallery-items:before {
        top: -36px;
    }
}

@media (max-width: 560px) {
    .vgallery-item {
        max-width: 100%;
        height: 228px;
    }
    .vgallery {
        margin-bottom: 60px;
    }
}