.miniature{
    display: flex;
    flex-direction: column;
}

.miniature img{
    display: block;
    aspect-ratio: 420/270;
    height: auto;
    width: 100%;
    border-radius: 4px 4px 0px 0px;
}

.miniature figcaption{
    background-color: var(--primary);
    padding: 30px 40px;
    border-radius: 0px 0px 4px 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

main.agenda .miniature figcaption{
    max-width: 90%;
    margin-top: -40px;
    z-index: 1;
    position: relative;
}

.miniature figcaption .titre{
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    color: #fff;
    font-family: "Varena";
}

.miniature figcaption .date,
.miniature figcaption .extrait{
    margin-top: 15px;
}

.miniature figcaption .date,
.miniature figcaption .date p,
.miniature figcaption .extrait,
.miniature figcaption .extrait p{
    font-size: 14px;
    line-height: 18px;
    color: #fff;
}

@media(max-width: 500px){
    .miniature figcaption{
        padding: 26px 18px;
        gap: 15px;
    }
    .miniature figcaption .titre{
        font-size: 16px;
        line-height: 22px;
    }  
}