@media (min-width:768px){
    .newsroom-slider-wrapper {
        width:100%;
        display: grid;
        grid-template-columns: 60% 40%;
        height: 540px;
    }
}

.gridContainer.loading{
    opacity: .3;
}

.newsroom-slider-wrapper .swiper{
    width:100%;
    min-height: 100%;
    overflow: hidden;
}

.newsroom-slider-wrapper .text-swiper {
    background-color: #00aaa5;
    padding-top: 65px;
}

.swiper-slide .article-texte>h3 {
    color: white;
    font-weight: 500;
    line-height: 1.3;
    font-size: 30px;
    padding-left: 73px;
}

.swiper-slide .article-texte .categories>span {
    color: white;
    font-weight: 500;
    font-size: 20px;
}

.swiper-slide .article-texte>p {
    color: white;
    font-weight: 400;
    font-size: 20px;
    padding-right: 50px;
    padding-left: 73px;
    margin-bottom: 30px;
}

.swiper-slide .article-texte .categories {
    padding-left: 73px;
    margin-bottom: 20px;
}

@media (min-width:768px) {
    .newsroom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
}


.article-item {
    position: relative;
}

.article-item>a {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.article-texte>img {
    display: none;
}

.swiper-slide {
    display: flex;
}
.swiper-slide .article-image {
    width: 100%;
}.swiper-slide .article-image >img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.swiper-slide .article-texte .article-date {
    margin-left: 73px;
    color: white;
    font-weight: 500;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.swiper-slide .article-texte .swiper-pagination {
    position: absolute;
    bottom: 38px;
    margin-left: 35px;
}
.swiper-slide .article-texte .swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    padding: 0;
    margin: 0px 12px;
    color: #80d5d2;
    background-color: #fff;

}
.swiper-slide .article-texte .swiper-pagination .swiper-pagination-bullet-active {
    width: 6px;
    height: 6px;
    padding: 0;
    margin: 0px 12px;
}
.swiper-slide .article-texte .swiper-pagination .swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
}
#see_more {
    background-color: #00aaa5!important;
    border: solid 2px white!important;
    color: white;
    border-radius: 30px;
    padding: 12px 25px;
    width: max-content;
    margin-left: 73px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    line-height: normal;
}




.newsroom-grid .article-item{
    margin: 0 7px;
    margin-bottom: 20px;
}
.article-item .article-image>img {
    height: 298px;
    width: 100%;
    object-fit: cover;
}
.newsroom-grid .article-texte {
    position: relative;
    color: #000;
    padding: 20px 0 0 0;
    padding-bottom: 20px;
    border-bottom: solid 1px black;
    margin-bottom: 48px;
}
.newsroom-grid .article-texte>h3 {
    font-size: 22px;
    height: 140px;
    padding-right: 30px;
    color: black;
    font-weight: 500;
}
.newsroom-grid .article-texte .categories {
    color: #00AAA6;
    margin-bottom: 13px;
}
.newsroom-grid .article-texte .categories>span {
    font-weight: 400;

}

/*Boutons de filtre */


.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #3498db;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #2980b9;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}


/*Pagination*/
.pagination_newsroom>ul {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    align-items: center;
}
.pagination_newsroom > ul > li {
    position: relative;
    display: inline-block;
    padding: 0 37px;
}
.pagination_newsroom>ul>li>a {
    color: black;
}

.pagination_newsroom > ul > li.active a {
    position: relative;
    z-index: 1;
    color: black;
}

.pagination_newsroom > ul > li.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: solid 2px black;
    border-radius: 50%;
    background-color: transparent;
    z-index: 0;
}
@media(max-width:500px) {
    .pagination_arrow{
        display: none!important;
    }
}


@media(max-width:768px) {
    .text-swiper {
        padding-top: 10px;
        height: 70vw;
    }
    .text-swiper .swiper-slide-active {
        margin: 0;
    }
    .swiper-slide .article-image {
        height: 60vw;
    }
    .swiper-slide-active .article-texte {
        width: 324px;
    }
     .swiper-slide-active .article-texte .categories,  .swiper-slide-active .article-texte >h3,  .swiper-slide-active .article-texte .article-date {
        padding: 0;
        text-align: center;
        margin-left: 0;
    }
    .swiper-slide-active .article-texte a {
        display: flex;
        justify-content: center;
    }
    .swiper-slide-active .article-texte a #see_more {
        margin: 0;
        margin-top: 46px;
    }
    .swiper-slide-active .article-texte .swiper-pagination {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 25%);
        margin-left: 0;
        width: 100%;
    }
}
@media (min-width:768px) and (max-width:960px) {
    .newsroom-slider-wrapper .text-swiper {
        padding-left: 30px;
    }
    .swiper-slide-active .article-texte .article-date, #see_more, .swiper-slide-active .article-texte .swiper-pagination {
        margin-left: 0;
    }
    .swiper-slide-active .article-texte .categories, .swiper-slide-active .article-texte h3 {
        padding-left: 0;
    }
}
@media (max-width:530px) {
    .text-swiper {
        height: 400px;
    }
}
.newsroom-filters{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: end;
    gap: 10px;
}
.newsroom-filters select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 200px;
    border: none;
    margin: 0;
    padding:0 ;
    box-shadow: none;
    cursor: pointer;
}
.newsroom-filters >div  {
    padding: 15px;
    width: fit-content;
    border-radius: 50px;
    border: 2px solid black;
}


@media (max-width : 767px){
    .newsroom-filters{
        flex-direction: column;
        margin-bottom: 20px ;
    }
    .newsroom-filters >div , .newsroom-filters select{
        width: 100%;
    }

}