

.masonry .grid-sizer{
    width: calc((100% - 60px) / 3); /* 3 colonnes + gutter 20px x2 */

}


.masonry .dac-post {
    width: calc((100% - 60px) / 3); /* 3 colonnes + gutter 20px x2 */
 float: left;
}


 .dac-post {
margin-bottom: 30px;
    background: #ffffff; 
    border-radius: 26px;
}
/* tablette : 2 colonnes */
@media (max-width: 900px) {
.masonry .grid-sizer,
.masonry .dac-post{
    width: calc((100% - 30px) / 2);
  }
 
 
 .wp-block-column.actuleft {
    flex-basis: 30% !important;
}
 
 
 
 
}

/* mobile : 1 colonne */
@media (max-width: 600px) {
 
 
 .wp-block-column.actuleft {
    flex-basis: 100% !important;
}
 
.masonry .grid-sizer,
.masonry .dac-post {
    width: 100%;
  }
}


.dac-post a {
    display: block;
}




.dac-post-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
	    border-radius: 0 0 26px 26px;    transition: all .4s ease;
}




.dac-post-info {
    display: flex;
    gap: 15px;    padding: 20px 20px 0 20px;    justify-content: space-between;
}
.dac-post-date {
    font-size: 0.7em;
    color: #666; white-space: nowrap;
}
.dac-post-cat {    font-family: 'Omnes Bold', sans-serif;
    font-size: 0.7em;
    color: #ffb500;
    text-transform: uppercase;
}


.dac-post-title {
       font-family: 'Omnes Bold', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all .4s ease;
    font-size: 21px;
    line-height: 1.2;    padding: 20px;    margin-bottom: 0;
}

.dac-post-title a {
    text-decoration: none;
    color: #222;
}

.dac-post a:hover .dac-post-thumb {
       filter: contrast(1.24);
}
