

#listLastEvents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}

/* .lastEvents {
    width: calc((100% - 30px) / 3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
} */
#listLastEvents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    box-sizing: border-box;
}


.lastEvents .card-img {
    /*height: 200px;*/
    flex-grow: 2;
    width: 100%;
}

#listLastEvents .lastEvents .card-img img.card-img-top {
    width: 100%;
   /* height: 100%; */
    object-fit: cover;

}

.lastEvents .card-body {
    padding: 15px;
    /*flex-grow: 2;*/
    display: flex;
    flex-direction: column;
}

.lastEvents .card-body .card-text {
    /*flex-grow: 2;*/
}
@media only screen and (max-width:1380px){
    #listLastEvents {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media only screen and (max-width:890px){
    #listLastEvents {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
}
