.bnpp-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.bnpp-carousel {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 648px;
}

.bnpp-carousel.bnpp-single-slide-no-paragraph {
    height: 489px;
    min-height: 489px;
}

.bnpp-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    background-image: 
       linear-gradient(270deg, rgba(12, 39, 40, 0.03) 38.74%, rgba(12, 39, 40, 0.70) 57.43%),
        var(--bnpp-bg-image);
}

.bnpp-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.bnpp-overlay {
    color: #fff;
    text-align: left;
    width: 80%;
    margin: 0 auto;
    max-width: var(--wp--style--global--wide-size);
    padding-top: 40px;
    padding-left: 10px;
    display: block !important;
}

.bnpp-overlay h2 {
    font-size: 2.5em;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.bnpp-overlay p {

    margin: 15px 0;
    line-height: 1.6;
    width: 689px;
    font-family: "BNPP Sans Condensed";
    font-size: 100px;
    font-style: normal;
    font-weight: 400;
    line-height: 95px;
    /* 95% */
}

.bnpp-carousel-nav {
    position: absolute;
    bottom: 20px;
    z-index: 10;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    background: rgba(12, 39, 40, 0.30);
    backdrop-filter: blur(7.5px);
    padding: 8px 0px 8px 0px;
}

.bnpp-carousel-nav button {
    color: #fff;
    OPACITY: 75%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    font-size: 0.85em;
}

.bnpp-carousel-nav button {
    /* tailel 1920px 3 bouton*/
    font-family: "BNPP Sans Condensed";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 45px;
    min-width: 393px;
    padding-left: 22px;
    text-align: left;
    border: 0px solid transparent;
    border-left: 2px solid #C8CED1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bnpp-carousel-nav button[aria-selected="true"] {
    border-left: 2px solid #ffffff;
    OPACITY: 100%;
}

.bnpp-carousel-nav button[aria-selected="false"] .slide-title-category{
  font-weight:400;
}

.bnpp-carousel-nav button[aria-selected="true"] .slide-title-category{
  font-weight:700;
}

.bnpp-pause-btn {
    position: absolute;
    top: 40px;
    right: 10%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 2px solid #fff;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    z-index: 15;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bnpp-pause-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.sr-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.bnpp-carousel-wrapper {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
}

.carousel-wrapper {
    overflow-x: hidden;
}

/*
.bnpp-container:has(> section.bnpp-carousel-wrapper:first-child){
    padding-top:0!important;
}
*/
.bnpp-slide {
    justify-content: left;
    align-items: unset;
    border-radius: 1px;
}

.slide-title-category {
    display: block;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;
}

.bnpp-carousel-nav-sub-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}


body:has(.bnpp-carousel-wrapper) {
    main.site-main>article>.entry-content.bnpp-container {
        padding: 0;
    }
}

html {
    scrollbar-gutter: stable;
}


#bnpp-slide-paragraph-section {
    padding-left: 20px;
    margin-top: 70px;
    border-left: 2px solid #fff;
    border-radius: 3px;
    background: rgba(12, 39, 40, 0.30);
    backdrop-filter: blur(7.5px);
    width: 700px;
}

#bnpp-slide-description-title {
    color: #FFF;
    font-family: "BNPP Sans Condensed";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    width: 680px;
}

#bnpp-slide-description {
    font-family: "BNPP Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 26px;
    width: 680px;

}



.bnpp-carousel-nav-mobile {
    position: absolute;
    bottom: 20px;
    z-index: 10;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    background: rgba(12, 39, 40, 0.30);
    backdrop-filter: blur(7.5px);
    padding: 8px 0px 8px 0px;
    padding: 19px 20px 40px 20px;

}

.bnpp-carousel-nav-mobile-title {
    width: 100%;
    padding: 0 15px 15px 15px;
    font-family: "BNPP Sans Condensed";
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: left;

}

.bnpp-carousel-nav-mobile-indicators {
    display: flex;
    width: 100%;
    gap: 0;
}

.bnpp-carousel-nav-mobile-indicator {
    flex: 1;
    height: 4px;
    border-radius: 40px;

    background: #808B93;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 10px;
}



.slide_title_mobile {
    color: #FFF;
    /* Mobile H2 */
    font-family: "BNPP Sans Condensed";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 10px;

}


.bnpp-carousel-nav-mobile-indicator.active {
    background: rgba(255, 255, 255, 1);
}

.bnpp-carousel-nav-mobile-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.bnpp-carousel-nav-mobile {
    display: none;
}

@media only screen and (max-width: 768px) {


    .bnpp-carousel-nav {
        display: none;
    }

    .bnpp-carousel-nav-mobile {
        display: block;
    }

    .bnpp-overlay {
        width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
    }

   .bnpp-slide {
        background-image: 
            linear-gradient(180deg, rgba(12, 39, 40, 0.70) 0%, rgba(12, 39, 40, 0.03) 100%),
            var(--bnpp-bg-image);
    }

    .bnpp-carousel-nav-sub-container {
        width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    .bnpp-overlay p {
        width: unset;
        font-size: 48px !important;
        line-height: 45px !important;
    }


    .bnpp-overlay .bnpp-button {
        margin-top: 150px;
        width: 100% !important;
        padding: 10px 24px !important;
        border-radius: 3px !important;
        justify-content: center !important;
    }

    .slide-title-category {
        font-size: 22px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        opacity:0.8;
    }

    .slide_title {
        font-size: 30px;
        font-style: normal;
        font-weight: 400;
        line-height: 36px;
    }

    div.bnpp-carousel-nav>div {
        width: 100px;
    }

    .bnpp-slide {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    /* Si l'image est trop grande */
    .bnpp-slide img {
        width: 100% !important;
        height: auto !important;
    }


    .bnpp-carousel-nav button[aria-selected="true"] {
        display: block;
    }


    #bnpp-slide-paragraph-section {
        margin-top: 4px;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
        max-width: 100vw;
        border-left: 0px solid #ffffff;
        padding: 24px 20px;
    }

    #bnpp-slide-description-title {
        font-family: "BNPP Sans Condensed";
        font-size: 22px;
        font-style: normal;
        font-weight: 400;
        width: 100%;
    }

    #bnpp-slide-description {
        font-family: "BNPP Sans";
        font-size: 14px !important;
        font-style: normal;
        font-weight: 300;
        line-height: 20px !important;
        width: 100%
    }

    .bnpp-pause-btn {
        top: 10px;
        right: 10px;
    }


    .bnpp-carousel-wrapper a.bnpp-button {

        padding: 10px 24px 10px 24px !important;

        height: 40px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 3px;
        text-align: center;
        font-family: "BNPP Sans";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.5px;
    }


}


/*
.bnpp-carousel-wrapper button:focus {

        border:3px dotted green;
}
        */
