
/* grid flex */

/* 
 * Box home
*/ 

.main-box {
    display: grid;
    grid-template-columns: repeat(4, 4fr);
    grid-gap: 40px;
    padding: 40px;
    background-color: #282D57;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.main-content-infinite {
    width: 100%;
    display: inline-block;
}
.box-content {
border: 1px solid #282D57;
transition: opacity 0.5s ease-in-out;
position: relative;
}
.box-picto-medical{
    position: absolute;
    z-index: 2;
    right: 20px;
    top:20px;
}
.box-picto-medical img{
    width: 25px;
    height: 25px;
}
.box-note {
position: absolute;
z-index: 2;
left: 20px;
bottom: 20px;
display: flex;
}
.box-note-positif{
        width: 5px;
    height: 5px;
        margin-right: 5px;
    background-color: #00C95A;
    border-radius: 20px;

}
.box-note-negatif{
    width: 5px;
    height: 5px;
      margin-right: 5px;
      background-color: #E24E4E;
          border-radius: 20px;
}

.box-content .box {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
}

/* Garde l'aspect carré ou autre ratio */
.box-content .box:before {
    content: '';
    display: block;
    height: 0;
    padding-bottom: 100%; /* carré - ajustable si tu veux un autre ratio */
}

/* Style direct sur l'image */
.box-content .box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    background-color: #fff;
}

/* Optionnel : effet hover ou autre */
/* Effet de zoom au hover */
.box-content .box:hover img {
    transform: scale(1.05); /* Zoom léger */
}


.box-info {
    background-color: #F2EEE2;
    padding: 10px 20px 60px 20px;
    border-top: 1px solid #282D57;
}
.box-titre {
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.box-titre a {
    border-bottom: 0px solid #ccc;
}
.page-numbers a {
    color: #fff;
    mix-blend-mode: difference;
}
.archive-pagination {
    width: 100%;
    height: 80px;

    display: flex;
    justify-content: center; /* centrage horizontal */
    align-items: center;     /* centrage vertical */
}
.page-numbers {
color: #282D57;
margin-right: 5px;
margin-left: 5px;
}
