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

.bnpp-gl-hero-carousel {
    position: relative;
    width: 100%;
    height: 666px;
    min-height: 590px;
}

.bnpp-gl-hero-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);
        margin-bottom:150px;
}

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

.bnpp-gl-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-gl-overlay h2 {
    font-size: 2.5em;
    margin: 0 0 15px 0;
    font-weight: 700;
}


.bnpp-gl-hero-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-gl-hero-carousel-nav button {
    color: #fff;
    OPACITY: 75%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    font-size: 0.85em;
}

.bnpp-gl-hero-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-gl-hero-carousel-nav button[aria-selected="true"] {
    border-left: 2px solid #ffffff;
    OPACITY: 100%;
}

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

.bnpp-gl-hero-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-gl-hero-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-gl-hero-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-gl-hero-carousel-nav-sub-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}


body:has(.bnpp-gl-hero-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-gl-hero-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-gl-hero-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-gl-hero-carousel-nav-mobile-indicators {
    display: flex;
    width: 100%;
    gap: 0;
}

.bnpp-gl-hero-carousel-nav-mobile-indicator {
    flex: 1;
    background:transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align:left;
    padding-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;

}
.slide_description_mobile {
   /* style to add */
}

.bnpp-gl-hero-carousel-nav-mobile-indicator.active {
    background: transparent;
    border-left: 3px solid #80df85;
    color:#ffffff;
    text-align:left;
        padding-left:10px; 

    span {
        color:#ffffff;
        opacity:1;
    }
}

.bnpp-gl-hero-carousel-nav-mobile-indicator:hover {
    background: transparent;
    border-left: 3px solid rgba(255, 255, 255, 0.7);
    color:#c1c6c4;
    text-align:left;
    padding-left:10px; 
    span {
        color:#c1c6c4;
        opacity:0.8;
    }
}

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

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


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

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

    .bnpp-gl-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-gl-hero-carousel-nav-sub-container {
        width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    .bnpp-gl-overlay p {
        width: unset;
    }


    .bnpp-gl-overlay .bnpp-button {
        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-gl-hero-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-gl-hero-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-gl-hero-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-gl-hero-carousel-wrapper button:focus {

        border:3px dotted green;
}
*/

.bnpp-gl-hero-carousel-nav button {
    min-height: 100px;             
    display: flex;              
    justify-content: center; 
}

.slide-title{
    margin: 16px 0;
    line-height: 1.6;
    width: 689px;
    font-family: "BNPP Sans Condensed";
    font-size: 100px;
    font-style: normal;
    font-weight: 400;
    line-height: 95px;
}

.slide-description{
    margin: 16px 0;
    line-height: 1.6;
    width: 689px;
    font-family: "BNPP Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 26px;
   
}


@media only screen and (max-width: 465px) {
    .bnpp-gl-hero-carousel-nav-mobile-indicators {
           display:block!important;
    }
    .bnpp-gl-hero-carousel-nav-mobile-title{
        display:none;
    }
    .bnpp-gl-hero-carousel-nav-mobile-indicator{
        padding:8px auto;
        display:block;
        border-left: 3px solid rgba(255, 255, 255, 0.7);
        margin-bottom:8px;
    }

    .gl-slide-title-category {
        color:#c1c6c4;
        font-family: "BNPP Sans Condensed";
        font-size: 22px;
        font-style: normal;
        font-weight: 400;
        opacity:0.8;
        display:block;
    }
    .gl-slide-title-mobile {
        color:#c1c6c4;
        font-family: "BNPP Sans Condensed";
        font-size: 30px;
        font-style: normal;
        font-weight: 400;
        opacity:0.8;
        display:block;
    }

    .slide-title{
        margin: 15px 0;
        line-height: 1.6;
        width: 689px;
        font-family: "BNPP Sans Condensed";
        font-size: 48px;
        font-style: normal;
        font-weight: 400;
        line-height: 46px;
        width:80%!important;
    }

    .slide-description{
        margin: 15px 0;
        line-height: 1.6;
        width: 689px;
        font-family: "BNPP Sans";
        font-size: 14px;
        font-style: normal;
        font-weight: 300;
        line-height: 20px;
         width:80%!important;
    }
    
    .bnpp-button {
        font-size: 14px !important;
        font-style: normal;
        font-weight: 400 !important;
        letter-spacing: .5px !important;
        line-height: normal;
        max-height: unset !important;
        min-height: unset !important;
        height: unset !important;
        padding: 8px 16px !important;
    }
}