
/* grid flex */

/* 
 * Box home
 */ 
.box-archive {
    display: grid;
    grid-template-columns: repeat(2, 3fr);
    grid-gap: 0px;
    padding: 0;
    margin-bottom: 0px;
    filter: grayscale(1);
    transition: all 0.5s;
    min-height: 350px;
    border-bottom: 0px solid #fff;
    padding: 80px;
}
.box-archive:hover {
    filter: grayscale(0);
        border-bottom: 0px solid #fff;
}

.box-archive-thumb,
.box-archive-content {
     /* Pour que chaque élément occupe la totalité de la colonne */
}
.box-archive-content {
    position: relative;
    display: table;
}
.box-archive-content-center {
    padding-top: 0px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 0px;
    vertical-align: middle;
    display: table-cell;
}
.box-archive-date {
    background-color: #111;
    top: 0px;
    left: 0px;
    height: 30px;
    position: absolute;
    display: table;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 9;
}
.box-archive-date-content {
    vertical-align: middle;
    display: table-cell;
    position: relative;
}
.box-archive-date p {
color: #fff;
font-size: 12px;
text-align: center;
margin: 0;
padding: 0;
}
.box-archive-copyright {
    bottom: 0px;
    right: 0px;
    height: 30px;
    position: absolute;
    display: table;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 9;
    padding-bottom: 10px;
    mix-blend-mode: difference;
}
.box-archive-copyright-content {
    vertical-align: middle;
    display: table-cell;
    position: relative;
}
.box-archive-copyright p {
    color: #fff;
    font-size: 10px;
    text-align: center;
    margin: 0;
    padding: 0;
}



/* Pour chaque deuxième .box-archive, alterner l'ordre */
.box-archive:nth-child(even) .box-archive-thumb {
    order: 2; /* Pour les .box-archive pairs, .box-archive-thumb en second */
}

.box-archive:nth-child(even) .box-archive-content {
    order: 1; /* Pour les .box-archive pairs, .box-archive-content en premier */
}

.box-archive:nth-child(odd) .box-archive-thumb {
    order: 1; /* Pour les .box-archive impairs, .box-archive-thumb en premier */
}

.box-archive:nth-child(odd) .box-archive-content {
    order: 2; /* Pour les .box-archive impairs, .box-archive-content en second */
}






/* Pour chaque deuxième .box-archive, alterner l'ordre */
.box-archive:nth-child(even)  {
    order: 2; /* Pour les .box-archive pairs, .box-archive-thumb en second */
    

}

.box-archive:nth-child(even)  {
    order: 1; 
    
}

.box-archive:nth-child(odd)  {
    order: 1; 
    background-color: #f5f5f5;
}

.box-archive:nth-child(odd)  {
    order: 2; /* Pour les .box-archive impairs, .box-archive-content en second */
    background-color: #f5f5f5;
}

/* Style spécifique pour l'image */
.box-archive-image {
width: 100%;
height: calc(30vw);
position: relative;
display: block;
overflow: hidden;
border-radius: 0px;
}
.box-archive-image-content {
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.box-archive-image-content:hover {

    -webkit-transform: scale(1.01);
    transform: scale(1.01);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}


.long-read-bt-link-tag-item {
    padding: 2px 15px 2px 15px;
    border-radius: 7px;
    margin: 0px 10px 20px 0px;
    text-align: center;
    display: inline-block;
    border: 1px solid #111;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    color: #111;
}
.long-read-bt-link-tag-item p {
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
}
.long-read-bt-link-tag-item:hover {
    background-color: #111;
    color: #fff;
}
.box-voir p{
    padding: 0;
    margin: 0;

}
.box-voir a{
    font-weight: 400;
    text-decoration: underline;
    color: #111;
    text-decoration-color: #111;
    text-decoration-line: revert-layer;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.box-voir a:hover{

    text-decoration-color: #111;
}