.news-articles-container{
    display: flex;
    margin-top: 5rem;
    justify-content: center;
    & .news-articles-wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1700px;
        padding: 0 var(--container-space);
        & .news-articles-header{
            display: flex;
            flex-direction: column;
            max-width: 500px;
            align-items: center;
            gap: 1rem;
            padding-bottom: 2rem;
            & .news-articles-return-btn{
                display: flex;
                font-size: var(--wp--preset--font-size--s-text);
                font-weight: 600;
                color: var(--wp--preset--color--vert);
                align-items: center;
                gap: 1rem;
                transition: gap 0.6s ease-in-out;
                border-bottom: 1px solid var(--wp--preset--color--vert);
                padding: 0.5rem 0;
                &::before{
                    content: "";
                    background: url(../svg/btn_arrow_green.svg) no-repeat;
                    width: 16px;
                    height: 14px;
                    transform: rotate(-180deg);
                    transition: transform 0.6s ease-in-out;
                }
                &:hover{
                    gap: 2rem;
                }
            }
            & .news-articles-last-title{
                text-align: center;
                font-size: var(--wp--preset--font-size--xxxl-title);
                font-weight: 600;
                margin: 0.5rem 0;
            }
            & .news-articles-text{
                text-align: center;
                font-size: var(--wp--preset--font-size--xl-text);
            }
        }
        & .news-articles-banner-container{
            display: flex;
            width: 100%;
            padding-bottom: 3rem;
            & .news-articles-banner-wrapper{
                display: flex;
                width: 100%;
                border-radius: 18px;
                height: 200px;
                position: relative;
                & .news-articles-banner-image{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    border-radius: 18px;
                    opacity: 0;
                    z-index: 1;
                    transition: all 0.3s ease-in-out;
                    pointer-events: none;
                    & img{
                        width: 100%;
                        height: 100%;
                        border-radius: 18px;
                        object-fit: contain;
                    }
                    &.active{
                        opacity: 1;
                        z-index: 1;
                        pointer-events: auto;
                    }
                }
            }
            &:nth-child(2){
                padding-top: 3rem;
            }
        }
        & .news-articles-gallery{
            display: flex;
            width: 100%;
            flex-wrap: wrap;
            gap: 1.33%; 
            & .news-articles-item{
                display: flex;
                flex-direction: column;
                width: 24%;
                aspect-ratio: 1;
                border-radius: 18px;
                border: 1.5px solid var(--wp--preset--color--vert);
                position: relative;
                overflow: hidden;
                margin-bottom: 1rem;
                & img{
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 18px;
                    left: 0;
                    top: 0;
                    z-index: -1;
                    transition: all 0.3s ease-in-out;
                }
                .news-articles-item-infos{
                    display: flex;
                    flex-direction: column;
                    position: absolute;
                    bottom: 0;
                    width: 100%;
                    padding: 1rem;
                    color: var(--wp--preset--color--blanc);
                    gap: 0.5rem;
                    & .news-articles-item-date{
                        font-size: var(--wp--preset--font-size--s-text);
                    }
                    & .news-articles-item-title{
                        font-size: var(--wp--preset--font-size--m-text);
                        font-weight: 600;
                    }
                }
                &::after {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    border-radius: 18px;
                    background-color: rgba(0, 0, 0, 0.3);
                    z-index: -1;
                }
                &:hover {
                    & img {
                        transform: scale(1.5);
                    }
                }
            }
        }
        & .news-articles-pagination{
            display: flex;
            padding: 2rem 0;
            gap: 1rem;
            color: var(--wp--preset--color--vert);
            font-size: var(--wp--preset--font-size--xs-title);
            font-weight: 600;
            align-items: center;
            width: 100%;
            overflow-x: scroll;
            & .news-articles-pagination-btn {
                border: 1px solid var(--wp--preset--color--blanc);
                border-radius: 100%;
                transition: all 0.3s ease-in-out;
                cursor: pointer;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 0;
                &.active{
                    color: var(--wp--preset--color--blanc);
                    font-weight: 600;
                    background-color: var(--wp--preset--color--vert);
                    color: var(--wp--preset--color--blanc);
                    border: 1px solid var(--wp--preset--color--vert);
                }
            }
        }
    }
}
@media (max-width: 576px) {
    .news-articles-container{
        & .news-articles-wrapper{
            & .news-articles-gallery{
                & .news-articles-item{
                    width: 100%;
                    aspect-ratio: 2/1;
                }
            }
        }
    }
}