/* FEATURED */

 .generic-block{
    align-items: center;
    margin: 16px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "fig1 fig2 fig3";
    justify-content: space-between;
    grid-gap: 20px;
    grid-template-rows: 476px;
    min-height: auto;
}
 .generic-block a{height:100%; border-radius: 20px;}
 .generic-block  figure:first-child{grid-area: fig1;}
 .generic-block  figure:nth-child(2){grid-area: fig2;}
 .generic-block  figure:last-child{grid-area: fig3;}

 .generic-block .figure{
    height: 100%;
    position: relative;
    padding: 0;
    text-align: left;
    border-radius: 20px;
}
 .generic-block .figure--image{
    display: block;
    height: 100%;
}
 .generic-block .figure--image img{
    width: 100%;
    height: 100%;
    transition: 0.2s;
    filter: brightness(0.8);
    object-fit: cover;
    border-radius: 20px;
}

.generic-block .figure--image img::after{
    border-radius: 20px;
}

.generic-block .figure--image img::before{
    border-radius: 20px;
}

 .generic-block .figure:hover img{
    filter: brightness(0.5);
}
 .generic-block .figure--figcaption{
    color: #fff;
    position: absolute;
    bottom: 0;
    font-family: 'Roboto-400';
    font-weight: 300;
    font-size: 1em;
    padding: 38px 29px;
}

.generic-block .figure--figcaption .flex{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.generic-block .figure--figcaption .flex .figure--figcaption_date{
    margin-bottom: 0;
}

.generic-block a:first-child .figure--figcaption .square--title{
    font-size: 12px;
    color: #686868;
    background: #F5F5F5;
    padding: 7px 18px;
    font-family: Roboto-700;
}

 .generic-block .figure--figcaption_text{
    min-height: 0;
    font-size: 1em;
    margin-bottom: 15px;
}
 .generic-block  .figure--figcaption_title{
    font-family: Roboto-700;
    text-shadow: 0 1px 1px black;
    font-size: 32px;
    padding: 0 20px 0 0;

    display: -webkit-box;
    -webkit-line-clamp: 3; /* Nombre maximum de lignes à afficher */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

 .shadowed-block .text--title{
    font-size: 20px;
    line-height: 1.2;
}

 .figure--figcaption .figure--figcaption_text,
.figure--figcaption .figure--figcaption_title,
.figure--figcaption .figure--figcaption_date{color: #fff}

 .featured .square--title{
     text-transform: lowercase;
 }
.figure--figcaption_date {
    font-size: 0.8em;
    margin-bottom: 8px;
    opacity: 0.9;
}

@media(max-width:991px) {
     .article .text--title {
        font-size: 1.25em;
    }
     .generic-block{
        grid-template-columns: 1fr;
        grid-template-areas: "fig1"
                            "fig2"
                            "fig3";
        grid-template-rows: 1fr 1fr 1fr;
    }
}

@media(max-width:550px) {
	   .generic-block figure:first-child .figure--figcaption_title{height: 38px;}
     .generic-block{
        grid-template-columns: 1fr;
        grid-template-areas:  "fig1"
                        "fig2"
                        "fig3";
        grid-template-rows: 250px 250px 250px;
    }
    #featured .generic-block a .figure--figcaption_title{font-size: 1em;}
}
