.actualities-feed-container{
    display: flex;
    justify-content: center;
    & .actualities-feed-group{
        display: flex;
        width: 100%;
        max-width: 1440px;
        position: relative;
        & .actualities-feed-wrapper{
            display: flex;
            width: 60%;
            justify-content: space-between;
            flex-wrap: wrap;
            padding-top: 100px;
            &:nth-child(1){
                flex-direction: column;
                width: 40%;
                justify-content: flex-start;
                position: sticky;
                top: 0;
                left: 0;
                height: fit-content;
                & .actualities-feed-title{
                    color: var(--wp--preset--color--blanc);
                }
                & .actualities-feed-filter{
                    display: flex;
                    flex-direction: column;
                    color: var(--wp--preset--color--blanc);
                    & .actualities-feed-filter-categories, .actualities-feed-filter-years{
                        display: flex;
                        flex-direction: column;
                        & h2{
                            font-size: 22px;
                            font-weight: 900;
                            text-transform: uppercase;
                        }
                        & .actualities-feed-filter-btn{
                            display: flex;
                            font-size: 20px;
                            font-weight: 600;
                            padding-bottom: 1rem;
                            transition: color .6s ease-in-out;
                            cursor: pointer;
                            &.active{
                                color: var(--wp--preset--color--vert);
                            }
                        }
                    }
                }
            }
            &:nth-child(2){
                & .actualities-feed-posts-container{
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    width: 100%;
                    & .actualities-feed-posts-item{
                        display: flex;
                        width: 33.33%;
                        height: 360px;
                        padding: 1rem;
                        align-items: center;
                        transition: all .6s ease-in-out;
                        margin-bottom: 1rem;
                        & a{
                            display: flex;
                            flex-direction: column;
                            height: 100%;
                            border-radius: 28px;
                            position: relative;
                            width: 100%;
                            background-color: var(--wp--preset--color--blanc);
                            padding: 1rem;
                            gap: 1rem;
                            & .actualities-feed-img-wraper{
                                display: flex;
                                width: 100%;
                                height: 70%;
                                overflow: hidden;
                                border-radius: 28px;
                                & img{
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                    object-position: top;
                                    border-radius: 28px;
                                    transition: all .6s ease-in-out;
                                    scale: 1.2;
                                }
                            }
                            & .actualities-feed-infos{
                                display: flex;
                                flex-direction: column;
                                width: 100%;
                                padding-top: 0;
                                gap: 0.5rem;
                                & .actualities-feed-infos-group{
                                    display: flex;
                                    color: var(--wp--preset--color--vert);
                                    text-transform: uppercase;
                                    font-weight: 700;
                                    font-size: var(--wp--preset--font-size--xs-text);
                                    align-items: center;
                                    flex-wrap: wrap;
                                    & span{
                                        color: var(--wp--preset--color--bleu);
                                        padding: 0 0.5rem;
                                    }
                                }
                                & p{
                                    margin: 0;
                                    &:first-child, &.actualities-feed-year{
                                        font-size: var(--wp--preset--font-size--xs-text);
                                    }
                                }
                                & .actualities-feed-text{
                                    color: var(--wp--preset--color--bleu);
                                    font-size: var(--wp--preset--font-size--xs-title);
                                    font-weight: 700;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                }
                            }
                            &:hover{
                                & img{
                                    scale: 1;
                                }
                            }
                        }
                    }
                    & .actualities-feed-posts-item.toHide{
                        /* display: none; */
                        height: 0;
                        padding: 0;
                        margin: 0;
                        opacity: 0;
                        & a {
                            & .actualities-feed-infos {
                                display: none;
                            }
                        }
                    }
                    &.desktop{
                        overflow-y: hidden;
                        & .actualities-feed-column{
                            display: flex;
                            flex-direction: column;
                            width: 50%;
                            /* gap: 1rem; */
                            & .actualities-feed-posts-item{
                                width: 100%;         
                            }
                        }
                    }
                    &.mobile{
                        display: none;
                    }
                }
            }
        }
        & .actualities-feed-bkg{
            display: flex;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--wp--preset--color--bleu-clair);
            z-index: -1;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            transition: all .6s ease-in-out;
            &::after{
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0,0,0,0.4);
            }
        }
    } 
}
@media (max-width: 1600px){
    .actualities-feed-container{
        padding: 0 var(--container-space);
    }
}
@media (max-width: 1100px){
    .actualities-feed-container{
        & .actualities-feed-group{
            max-width: 100%;
            flex-direction: column;
            & .actualities-feed-wrapper{
                padding-top: 50px;
                &:nth-child(1){
                    width: 100%;
                    position: unset;
                    & .actualities-feed-filter {
                        & .actualities-feed-filter-categories, .actualities-feed-filter-years{
                            & h2{
                                display: flex;
                                width: 80%;
                                justify-content: space-between;
                                & span{
                                    display: flex;
                                    background: url(../../../assets/svg/chevron-white.svg) no-repeat;
                                    height: 16px;
                                    width: 16px;
                                    transition: transform .6s ease-in-out;
                                    transform: rotate(90deg);
                                }
                            }
                           & div.filter-dropdown {
                                display: grid;
                                grid-template-rows: 0fr;
                                transition: grid-template-rows ease .3s;
                                & div.filter-dropdown-inner{
                                    overflow: hidden;
                                }
                                &.active{
                                    grid-template-rows: 1fr;
                                }
                            }
                        }
                    }
                }
                &:nth-child(2){
                    width: 100%;
                    & .actualities-feed-posts-container{
                        flex-direction: column;
                        &.desktop{
                            & .actualities-feed-column{
                                width: 100%;
                                & .actualities-feed-posts-item{
                                    width: 100%;
                                }
                            }
                        }
                        
                    }
                }
            }
            & .actualities-feed-bkg{
                &::after{
                    background-color: rgba(0,0,0,0.6);
                }
            }
        } 
    }
}
@media (max-width: 576px){

}
