#main-blog .banniere_b {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: var(--couleur-16);
}

#main-blog .banniere_b .sectionsBlog1_img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#main-blog .banniere_b h1 {
    font-size: 3.5rem;
    z-index: 1;
}

#main-blog .sectionsPage_blog2 {
    display: flex;
    position: relative;
}

#main-blog .sectionsPage_blog2 .sectionsPage_blog2_img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#main-blog .sectionsPage_blog2 .content {
    z-index: 1;
    width: 100%;
}

#main-blog .mainPost {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 75px;
    padding: 0;
}

#main-blog .mainPost .post {
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 5px;
    overflow: hidden;
    width: 47%;
    flex-direction: column;
}

#main-blog .mainPost .post .post_img {
    width: 100%;
    object-fit: cover;
    transition: transform .2s;
}

#main-blog .mainPost .post .texts {
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1rem 5px 0;
}

#main-blog .mainPost .post .texts h2 a {
    text-decoration: none;
    color: black;
    font-size: 1.5rem;
    font-family: var(--police-balthazar-regular);
}

#main-blog .mainPost .post .texts a {
    color: var(--couleur-1);
    font-family: var(--police-worksans-bold);
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: underline;
}

#main-blog .mainPost .post .texts a img {
    height: .7rem;
}

#main-blog .mainPost .post:hover .post_img {
    transform: scale(1.1);
}


.class_non-classe {
    display: none !important;
}

.FiltresAndArticles {
    display: flex;
    gap: 3rem;
    padding-top: 5rem;
}


.FiltresAndArticles .filtresDiv {
    display: flex;
    flex-direction: column;
    width: 25rem;
    border: 1px solid var(--couleur-1);
    border-radius: 5px;
    position: sticky;
    top: 7rem;
    height: fit-content;
}

.FiltresAndArticles .filtresDiv p {
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid var(--couleur-1);
    font-size: 1.5rem;
    font-family: var(--police-balthazar-regular);
    font-weight: bold;
}

.FiltresAndArticles .filtresDiv ul {
    width: 100%;
    padding: 1rem 1.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.FiltresAndArticles .filtresDiv ul li {
    width: fit-content;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.FiltresAndArticles .filtresDiv ul li input {
    cursor: pointer;
    margin-top: 0.2rem;
    width: 0.75rem;
    accent-color: #be825a;
}

.FiltresAndArticles .filtresDiv ul li label {
    cursor: pointer;
    transition: color .2s;
    color: var(--couleur-1);
}

.FiltresAndArticles .filtresDiv ul li input:checked+label {
    font-family: var(--police-worksans-bold);
    color: var(--couleur-11);
}

.FiltresAndArticles .filtresDiv ul li label span {
    font-size: inherit;
    font-family: inherit;
}


.FiltresAndArticles .rightDiv {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}


.FiltresAndArticles .rightDiv .topFilters {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.FiltresAndArticles .rightDiv .topFilters .sortbyDiv {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.FiltresAndArticles .rightDiv .topFilters .sortbyDiv .label {
    text-wrap: nowrap;
    font-family: var(--police-worksans-bold);
    min-width: 100px;
}

/* select personnalisees (trier par) */
.FiltresAndArticles .rightDiv .topFilters .select {
    width: 100%;
    min-width: 16rem;
    height: 3rem;
    background-color: #FAFAFA;
    color: #272621;
    cursor: pointer;
    z-index: 1;
    border: 1px solid var(--couleur-1);
    position: relative;
    border-radius: 5px
}

.FiltresAndArticles .rightDiv .topFilters .select .options {
    max-height: 0;
    display: flex;
    flex-direction: column;
    transition: max-height .2s;
    z-index: 1;
    position: absolute;
    top: 95%;
    left: -1px;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
}

.FiltresAndArticles .rightDiv .topFilters .select.active {
    z-index: 2
}

.FiltresAndArticles .rightDiv .topFilters .select.active .options {
    max-height: 250px;
    border: 1px solid var(--couleur-1);
    overflow-y: scroll
}

.FiltresAndArticles .rightDiv .topFilters .select .chosenOption,
.FiltresAndArticles .rightDiv .topFilters .select .option {
    width: 100%;
    height: 2.5rem;
    background-color: #FAFAFA;
    color: var(--couleur-9);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
    text-align: left;
    padding: 0 1rem;
    transition: background-color .2s
}

.FiltresAndArticles .rightDiv .topFilters .select .option {
    padding: .2rem 1rem
}

.FiltresAndArticles .rightDiv .topFilters .select .chosenOption {
    height: 100%;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.FiltresAndArticles .rightDiv .topFilters .select .chosenOption img {
    height: .6rem;
    width: .6rem;
    object-fit: contain;
    margin: 0
}

.FiltresAndArticles .rightDiv .topFilters .select .option.active {
    background-color: #e0e0e0;
}

.FiltresAndArticles .rightDiv .topFilters .select .option:hover {
    background-color: #e0e0e0;
}

/* select personnalisees (trier par) */


.FiltresAndArticles .rightDiv .AllPosts {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1rem;
}

.FiltresAndArticles .rightDiv .AllPosts .post {
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 5px;
    overflow: hidden;
    width: calc(33.33% - 1rem);
    flex-direction: column;
}

.FiltresAndArticles .rightDiv .AllPosts .post .post_img {
    width: 100%;
    object-fit: cover;
    transition: transform .2s;
}

.post .haut_image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 12vw;
    overflow: hidden;
    border-radius: 5px;
    width: 100%;
}

#main-blog .mainPost .post .haut_image {
    height: 18vw !important;
}

.FiltresAndArticles .rightDiv .AllPosts .post .texts {
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1rem 5px 0;
}

.FiltresAndArticles .rightDiv .AllPosts .post .texts h2 a {
    color: black;
    font-size: 1.5rem;
    font-family: var(--police-balthazar-regular);
    text-decoration: none;
}

.FiltresAndArticles .rightDiv .AllPosts .post .texts a {
    color: var(--couleur-11);
    font-family: var(--police-worksans-bold);
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: underline;
}

.FiltresAndArticles .rightDiv .AllPosts .post .texts a img {
    height: .7rem;
}

.FiltresAndArticles .rightDiv .AllPosts .post:hover .post_img {
    transform: scale(1.1);
}

#breadcrumbs {
    left: 10%;
}

@media screen and (max-width: 1400px) {
    .post .haut_image {
        height: 17vw;
    }

    .FiltresAndArticles .rightDiv .AllPosts .post {
        width: calc(50% - 0.5rem);
    }

    .FiltresAndArticles .rightDiv .AllPosts .post .texts h2 a {
        font-size: 1rem;
    }

    .FiltresAndArticles .rightDiv .AllPosts .post .texts a {
        font-size: .8rem;
    }
}

@media screen and (max-width: 1024px) {
    .post .haut_image {
        height: 28vw;
    }

    .FiltresAndArticles .rightDiv .AllPosts .post {
        width: 100%;
    }

    .FiltresAndArticles .rightDiv .AllPosts .post .texts h2 a {
        font-size: 1rem;
    }

    .FiltresAndArticles .rightDiv .AllPosts .post .texts a {
        font-size: .8rem;
    }
}

@media screen and (max-width: 768px) {
    #breadcrumbs {
        left: 5%;
    }
}

@media screen and (max-width: 728px) {
    .post .haut_image {
        height: 52vw;
    }

    #main-blog .banniere_b h1 {
        font-size: 2.5rem;
    }

    #main-blog .mainPost .post .texts h2 a {
        font-size: 1.2rem;
    }

    .FiltresAndArticles {
        flex-direction: column;
        align-items: center;
    }

    .FiltresAndArticles .filtresDiv {
        position: unset;
    }

    .FiltresAndArticles .rightDiv .topFilters {
        justify-content: center;
    }
}


@media screen and (max-width: 600px) {
    #main-blog .mainPost {
        flex-wrap: wrap;
        gap: 30px;
    }

    #main-blog .mainPost .post {
        width: 100%;
    }

    #main-blog .mainPost .post .haut_image {
        height: 50vw !important;
    }

}


@media screen and (max-width: 500px) {
    #main-blog .banniere_b {
        padding-bottom: 7rem;
    }

    #main-blog .banniere_b h1 {
        font-size: 2rem;
    }

    #main-blog .mainPost .post {
        height: 10rem;
    }

    #main-blog .mainPost .post .texts h2 a {
        font-size: 1rem;
    }

    #main-blog .mainPost .post .texts a {
        font-size: .7rem;
    }

    .FiltresAndArticles {
        gap: 1rem;
    }

    .FiltresAndArticles .filtresDiv {
        width: 100%;
    }

    .FiltresAndArticles .rightDiv .topFilters .sortbyDiv {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .FiltresAndArticles .rightDiv .topFilters .sortbyDiv .select {
        min-width: unset;
    }


}