/**/

#main-reglementations {
    background-image: url(../../../../uploads/2023/10/fond-papier-peint.jpg);
    background-size: cover;
}

#main-reglementations h1 {
    text-align: center;
    margin-bottom: 65px;
}


#main-reglementations .liste-reglementations {
    padding-bottom: 0;
}

#main-reglementations .AllPosts {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1rem;
    border-bottom: 1px solid var(--couleur-15);
    padding-bottom: clamp(15px, 8vw, 90px);
    justify-content: space-between;
}

#main-reglementations .AllPosts .bloc-post {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    width: calc(33.33% - 0.7rem);
    margin: 35px 0;
}

#main-reglementations .AllPosts .post {
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 5px;
    height: 17.6vw;
    overflow: hidden;
    margin-bottom: 30px;
}

#main-reglementations .AllPosts .post .post_img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .2s;
}

#main-reglementations .AllPosts .post .texts {
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 2rem;
    padding-top: 5rem;
    background: transparent linear-gradient(180deg, #150B0700 0%, #1108055D 35%, #0E0604A2 100%) 0% 0% no-repeat padding-box;
}

#main-reglementations .AllPosts .post .texts h2 a {
    color: var(--couleur-10);
    font-size: 1.2rem;
    font-family: var(--police-balthazar-regular);
}

#main-reglementations .AllPosts .post .texts a {
    color: var(--couleur-10);
    font-family: var(--police-worksans-bold);
    display: flex;
    align-items: center;
    gap: .5rem;
}

#main-reglementations .AllPosts .post .texts a img {
    height: .7rem;
}

#main-reglementations .AllPosts .post:hover .post_img {
    transform: scale(1.1);
}



/* Rajout section */
.sectionsPage_reglementations2 {
    position: relative;
    display: flex;
}

.sectionsPage_reglementations2 .sectionsPage_reglementations2_img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.sectionsPage_reglementations2 .content {
    z-index: 1;
    width: 100%;
}

.sectionsPage_reglementations2 .content section:nth-child(2) {
    padding: 0 7% clamp(50px, 10vw, 125px);
}

/***/

@media screen and (max-width: 1300px) {
    #main-reglementations .AllPosts .bloc-post {
        width: calc(50% - 1.7rem);
        margin: 10px 0 35px;
    }

    #main-reglementations .AllPosts .post {
        height: 25.4vw;
    }
}


@media screen and (max-width: 650px) {
    #main-reglementations .AllPosts .bloc-post {
        width: 100%;
        margin: 0px 0 35px;
    }

    #main-reglementations .AllPosts .post {
        height: 60.5vw;
    }
}