.vs_blocs {
    height: 45vh;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 0px;
    margin-top: 60px;
}
/*.rev_slider {
    height: 80vh !important;
}*/

.vs_blocs .block {
    position: relative;
}

.vs_blocs .block:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 2;
}
.vs_blocs .block:nth-of-type(2) {
    grid-area: 1 / 2 / 2 / 3;
    color: white;
}
.vs_blocs .block:nth-of-type(3) {
    grid-area: 1 / 3 / 2 / 4;
    color: white;
}
.vs_blocs .block:nth-of-type(4) {
    grid-area: 1 / 4 / 2 / 5;
}

.vs_blocs .block .text {
    min-width: webkit-fill-available;
    position: absolute;
    text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    width: calc(100% - 30px - 30px);
    color: White;
    bottom: 0;
    top: initial;
    margin: 30px;
    padding: 20px;
    font-weight: bold;
    line-height: 1.2em;
}
@media screen and (min-width: 1000px) {
    .vs_blocs .block .text {
        height: 150px;
    }
}

.vs_blocs .block .subtitle {
    font-size: 18px;
    text-transform: initial;
    font-weight: lighter;
}

.vs_blocs .block .img {
    height: 100%;
}

.vs_blocs .block .img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
@media screen and (min-width: 1000px) {
    .vs_blocs .block a:hover img{
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        box-shadow: 5px 10px 15px rgba(204, 166, 119, 0.5);
    }
}


@media (min-width: 491px) and (max-width: 1100px) {
    .vs_blocs .block .text {
        font-size: 22px;
    }
}


@media (min-width: 491px) and (max-width: 991px) {
    .vs_blocs {
        margin-top: 20px;
    }
}
@media screen and (min-width : 492px) and (max-width : 1024px) {
    .vs_blocs {
        height: auto;
        min-height                : 70vh;
        display               : grid;
        grid-template-columns : repeat(2, 1fr);
        grid-template-rows    : repeat(2, 1fr);
        grid-column-gap       : 10px;
        grid-row-gap          : 10px;
        margin-top            : 60px;
        margin-bottom         : 60px;
    }

    .vs_blocs .block:nth-of-type(1) {
        grid-area : 1 / 1 / 2 / 2;
        /*margin-right: 5px;*/
    }

    .vs_blocs .block:nth-of-type(2) {
        grid-area : 1 / 2 / 2 / 3;
    }

    .vs_blocs .block:nth-of-type(3) {
        grid-area : 2 / 1 / 3 / 2;
        /*margin-top: 15px;*/
        /*margin-right: 5px;*/
    }

    .vs_blocs .block:nth-of-type(4) {
        grid-area : 2 / 2 / 3 / 3;
        /*margin-top: 15px;*/
    }

    .block-info > div > div > div > div > div {
        width : 100% !important;
    }

}

@media (max-width: 491px) {
    .vs_blocs {
        height: initial;
        display: block;
        grid-template-columns: none;
        grid-gap: initial;
        grid-auto-rows: initial;
        margin-top: 30px;
    }
    .vs_blocs .block {
        margin: 15px 0 15px 0;
        height: 55vw;
        overflow: hidden;
    }
    .vs_blocs .block .text {
        font-size: 18px;
    }
}
