#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;
}

/* =====================================================================
						AGENDA HOME
===================================================================== */

#agenda-home .lastEvents {
    background: #fff !important;
    position: relative;
}

#agenda-home .card-date {
    color: var(--default-color);
    margin-bottom: 10px;
    padding: 0 10px 0 0;
    border: 1px solid var(--default-color);
    width: fit-content;
    font-size: 12px;
    line-height: 1.6em;
}

#agenda-home .card-date::before {
    color: #fff;
    padding: 1px 10px;
    margin-right: 11px;
    content: "Date";
    background-color: var(--default-color);
    border: 1px solid var(--default-color);
}

#agenda-home h4.card-title {
    color: #000 !important;
    font-size: clamp(1.3rem, 1.3vw, var(--h2-size)) !important;
    font-weight: var(--title-weight-extrabold);
}

#agenda-home .card-text {
    line-height: 1.4em;
    font-size: 15px;
}

#agenda-home a.moreEvent {
    font-size: 14px;
    padding: 10px 25px;
    margin-top: 15px;
    border-radius: 60px 0 0 0;
    position: absolute;
    bottom: -2px;
    right: -2px;
}

#agenda-home .lastEvents .card-body {
    padding: 15px 15px 50px 15px;
}

@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;
    }
}
