.posts-actualites-block .container{
    padding: 35px 15px 0 15px;
}

.posts-actualites-block img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.posts-actualites-block .posts a div:hover h2,
.posts-actualites-block .posts a div:hover p,
.posts-actualites-block .posts a h2:hover{
    color: #6C6C6C;
}

.posts-actualites-block .posts.desktop{
    display: none;
}

.pagination.desktop {
    display: none;
}

.posts-actualites-block .posts.desktop .post{
    margin-bottom: 23px;
}

.posts-actualites-block .posts .post a .img{
    height: 143px;
}

.posts-actualites-block .posts h2:first-child{
    margin-bottom: 10px;
}

.posts-actualites-block .posts h2{
    margin-bottom: 0;
}

.posts-actualites-block .posts figure{
    position: relative;
    font-size: 12px;
    line-height: 16px;
    overflow: hidden;
    border-radius: 10px;
}

.posts-actualites-block .posts figure img{
    transition: 0.5s;
}

.posts-actualites-block .posts .post:first-child figure img{
    opacity: 0.7;
}

.posts-actualites-block .posts figure:hover img{
    transform-origin: bottom center;
    transform: scale(1.1);

}

.posts-actualites-block .posts figure:hover .hover{
    height: 100%;
    width: 100%;
    background: #0000008c;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 0;
}

.posts-actualites-block .posts figure p{
    position: absolute;
    bottom: 37px;
    color: #fff;
    font-weight: 700;
    left: 17px;
}

.posts-actualites-block .posts figure div figure img{
    width: 8.5px;
    height: 8.5px;
}

.posts-actualites-block .posts figure .hover{
    display: none;
}

.posts-actualites-block .posts figure .hover img{
    width: 31px;
    height: 31px;
}

.posts-actualites-block .posts figure div{
    position: absolute;
    bottom: 21px;
    color: #fff;
    left: 17px;
    display: flex;
    grid-gap: 9px;
}

.posts-actualites-block .posts figure div span{
    color: #fff;
}

.posts-actualites-block .posts h2{
    font-size: 12px;
    line-height: 16px;
}

.posts-actualites-block .posts p{
    font-size: 14px;
    line-height: 18px;
    max-height: 54px;
    overflow: hidden;
}

.posts-actualites-block .posts .desc{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.posts-actualites-block .posts .desc p,
.posts-actualites-block .posts .desc span{
    font-size: 10px;
    line-height: 13px;
    color: #7C7C7C;
    margin:0;
}

.posts-actualites-block .posts a .desc:hover p{
    color: #7C7C7C;
}

.posts-actualites-block .posts .desc div{
    display: flex;
    grid-gap: 5px;
    align-items: center;
}

.posts-actualites-block .right{
    margin-top: 26px;
}

.posts-actualites-block .right .post{
    display: flex;
    grid-gap: 10px;
    margin: 0 0 12px 6px;
}

.posts-actualites-block .right .post:hover span,
.posts-actualites-block .right .post:hover p{
    color: #6C6C6C;
}

.posts-actualites-block .right .post figure{
    width: 108px;
    height: 73px;
    overflow: hidden;
    border-radius: 10px;
}

.posts-actualites-block .post figure img{
    object-fit: cover;
    transition: .5s;
}

.posts-actualites-block .post:hover figure img{
    transform: scale(1.1);
    transform-origin: center bottom;
}

.posts-actualites-block .right .post div{
    width: 66%;
}

.posts-actualites-block .right .post span{
    font-size: 10px;
    color: #7C7C7C;
    vertical-align: text-top;
    line-height: 13px;
}

.posts-actualites-block .right .post p{
    font-size: 12px;
    margin: 0;
    line-height: 16px;
    max-height: 48px;
    overflow: hidden;
}


@media screen and (min-width: 768px) {
    .posts-actualites-block .container{
        padding-top: 50px;
    }

    .posts-actualites-block .posts.mobile,
    .posts-actualites-block .right.mobile{
        display: none;
    }
    .posts-actualites-block .container .posts.desktop {
        display: grid;
        grid-gap: 27px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .posts-actualites-block .container .posts.desktop .post:first-child{
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .posts-actualites-block .container .posts.desktop .post:first-child a{
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
    }

    .posts-actualites-block .container .posts.desktop .post:first-child a figure{
        height: 100%;
    }

    /* Styles pour les posts non-premiers dans la grille desktop */
    .posts-actualites-block .container .posts.desktop .post:not(:first-child) figure img {
        height: 200px;
        object-fit: cover;
    }

    .posts-actualites-block .container .posts.desktop .post:not(:first-child) a {
        display: block;
        height: 100%;
    }

    .pagination.desktop {
        display: flex;
    }

    .pagination.mobile {
        display: none;
    }
}

.pagination a {
    background: transparent linear-gradient(279deg, var(--accent-color) 0%, var(--accent-color) 100%) 0% 0% no-repeat padding-box;    text-align: center;
    border-radius: 4px;
    padding: 0 15px 0 23px;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    display: flex;
    align-items: center;
}

.posts-actualites-block .pagination a:hover {
    background: transparent linear-gradient(87deg, #fdb003 0%, #fd8d02 100%) 0% 0% no-repeat padding-box;
}

.posts-actualites-block .pagination a svg {
    height: 50%;
    margin-top: 8px;
}