.mason {
    position: relative;
   /* overflow: hidden;*/
    text-align: center;
}
 
.mason.wide {
    border-radius: 0rem 1.875rem 0rem 0rem;
    background: var(--pro-fond-4);
}

.mason.tall {
    border-radius: 0rem 0rem 1.875rem 0rem;
    background: var(--pro-fond-4);
}

.mason.tall.newsletter {
    border-radius: 0rem 1.875rem 0rem 0rem;
    background: var(--pro-fond-5);

}

.resume_actu {
    text-align: left;
}

#list-actu h2 {
    margin-top:0;
    margin-bottom:0;
    text-decoration:none;
    text-align:left;
}

#list-actu .mason.tall.newsletter h2 {
    padding-top:1.5em;
    margin-bottom: 1em;
    color: var(--pro-fonc-texte-footer);
    text-align: center;
    font-family: 'Anybody';
    font-size: 1.875rem;
    font-style: normal;
    font-weight: 900;

}
#list-actu .mason.tall.newsletter p {
    margin-left:2.25em;
    margin-right:2.25em;
    margin-bottom:1.5em;
}

@media (max-width: 768px) {
    .grid-wrapper div.mason { 
        margin-top:1.5em;
        margin-bottom:1.5em;
    }
    .grid-wrapper div.mason:first-of-type { 
        margin-top:0;
    }
    .mason img {
      object-fit: cover;
      height:220px;
      width:100%;
  }

}

@media (min-width: 768px) {

    .mason {
      margin-left: 0;
      margin-right: 0;
    }

    .grid-wrapper img.img_actu {
        width: 100%;
        object-fit: cover;
    }

    .grid-wrapper {
        display: grid;
        grid-gap: 2rem;
        margin: 0 auto;
        max-width: 100%;
        padding: 0;
    }
    .grid-wrapper.next-rows,
    .grid-wrapper.first-row {
        margin-top:2rem;
    }
    .grid-wrapper:first-of-type { 
        margin-top:0;
    }

    .grid-wrapper.first-row,
    .grid-wrapper.next-rows {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(100px, auto);
    }

    .grid-wrapper.first-row:nth-of-type(odd) .wide {
        grid-column-start: 1;
        grid-column-end: 3;
    }
   
   /* .grid-wrapper.first-row .tall:nth-of-type(1) {
       grid-column-start: 1;
        grid-row-start: 2;
        grid-row-end: 3;  
    }
    */

    .grid-wrapper.first-row:nth-of-type(even) .wide {
       grid-column-start: 2;
        grid-column-end: 4;
    }
    .grid-wrapper.first-row:nth-of-type(even) .tall:nth-of-type(2){       
        grid-column-start: 1;
        grid-row-start: 1;
        grid-row-end: 1;     
    }


    .grid-wrapper.next-rows .wide:nth-of-type(odd) {
        grid-column-start: 2;
        grid-column-end: 4;
    }
    .grid-wrapper.next-rows .tall:nth-of-type(odd) {
        grid-column-start: 3;
        grid-row-start: 2;
        grid-row-end: 2;
    }

    .grid-wrapper.next-rows .wide:nth-of-type(even) {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .grid-wrapper.next-rows .tall:nth-of-type(even) {
        grid-column-start: 1;
        grid-row-start: 1;
        grid-row-end: 1;       
    }

}


@media (min-width: 768px) and (max-width: 992px) {
    /*.grid-wrapper .tall img {
        height:130px;
    }*/
    #list-actu h2 {
        font-size:1.4em;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
        .grid-wrapper .tall img {
        height:140px;
    }
}
@media (min-width: 1199px) and (max-width: 1299px) {
        .grid-wrapper .tall img {
        height:180px;
    }
}

@media (min-width: 1299px) and (max-width: 1399px) {
    .grid-wrapper .tall img {
        height:200px;
    }
}


@media (min-width: 1399px) {
    .grid-wrapper .tall img {
        height:220px;
    }
}

#list-actu a {
    text-decoration: none;
}
#list-actu .resume_actu {
    margin:1em 1.5em;
}

@media (min-width: 992px) {
    #list-actu .wide .resume_actu {
        margin:0 1.5em 1em 1.5em;
    }
}

.entry-content #list-actu a .resume_actu {
    text-decoration:none;
    color: #888888;
    font-weight:normal;
}

#list-actu p.date-cat {
    color: var(--pro-fond-2);

    /* courant petit */
    font-family: 'Roboto';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 125% */

    margin-bottom:1em;
}
#list-actu h2 {
    margin-top:0;
    margin-bottom:.25em;

    color: var(--pro-fonc-texte-footer);

    font-family: 'Roboto';
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.75rem; /* 140% */
}

.mason img.img_actu {
    transition: transform .5s, filter 0.7s ease-in-out;
    padding:1.5em 1.5em 0 1.5em;
}
.mason a:hover img.img_actu {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .img_actu_phare {
        display:none;
    }
    .mason.tall.newsletter {
        padding-bottom: 1em;
    }
}

@media (min-width: 768px) {
    .img_actu_phare {
        margin-top:-3em;
        max-width: 15vw !important;
        margin-left: 9vw;
    }

    .mason.wide img.img_actu {
        padding-bottom:1.5em;
        max-width:340px !important;
    }
}