/******************************** ADMINBAR  *******************************/
html {
    margin-top: 0px !important;
    margin-bottom: 32px !important;
}

#wpadminbar {
    position: fixed;
    top: unset !important;
    bottom: 0 !important;
}

/**************************************************************************/

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    font-family: var(--main-font);
    font-weight: var(--regular);
    font-size: 16px;
    background-color: var(--grey);
    overflow-x: hidden;
    min-width: 100vw;
}

#smooth-content {
    display: flex;
    flex-direction: column;
}

* {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

main {
    flex: 1;
}

section {

    h1,
    .h1_like,
    h2,
    h2_like,
    h3,
    .h3_like,
    h4,
    .h4_like {
        margin-bottom: 0px;
        margin-top: 0px;
    }
}

section:not(.cartes) {

    h1:has(+p),
    .h1_like:has(+.p),
    h2:has(+p),
    .h2_like:has(+.p),
    h3:has(+p),
    .h3_like:has(+.p),
    h4:has(+p),
    .h4_like:has(+p) {
        margin-bottom: 20px;
    }
}

section {

    .section__title:has(h1+p),
    .section__title:has(.h1_like+p),
    .section__title:has(h2+p),
    .section__title:has(.h2_like+p),
    .section__title:has(h3+p),
    .section__title:has(.h3_like+p),
    .section__title:has(h4+p),
    .section__title:has(.h4_like+p) {
        margin-bottom: 50px;
    }
}

section {
    &:not(.onglets):not(.team) {
        .section__title {
            p {
                max-width: 720px;
            }
        }
    }

    .section__title {
        display: flex;
        flex-direction: column;
        margin: 0 auto 50px auto;

        .title_picto {
            display: flex;
            align-items: start;
            gap: 20px;
            margin-bottom: 40px;
            flex-direction: column;

            @media (min-width: 992px) {
                flex-direction: row;
                align-items: center;
            }
        }

        &.text-center {
            text-align: center;
        }

        &.text-end {
            text-align: end;
        }

        &.text-start {
            text-align: start;
        }
    }
}

section:not(.galerie, .form, .cpt, .onglets, .team) {
    .section__title {


        p {
            margin: 0 auto;
        }
    }
}

section:not(.hdp, [data-color]) {
    +section:not([data-color], .form, .cpt) {
        padding-top: 0 !important;
    }
}

h1,
.h1_like {
    font-family: var(--main-font);
    font-size: 38px;
    line-height: 48px;
    font-weight: var(--bold);

    @media (min-width: 992px) {
        font-size: 55px;
        line-height: 70px;
    }
}

h2,
.h2_like {
    font-family: var(--main-font);
    font-size: 28px;
    line-height: 38px;
    font-weight: var(--bold);

    @media (min-width: 992px) {
        font-size: 30px;
        line-height: 40px;
    }
}

h3,
.h3_like {
    font-family: var(--main-font);
    font-size: 22px;
    line-height: 32px;
    font-weight: var(--bold);

    @media (min-width: 992px) {
        font-size: 35px;
        line-height: 45px;
    }
}

h4,
.h4_like {
    font-family: var(--main-font);
    font-size: 20px;
    line-height: 25px;
    font-weight: var(--bold);

    @media (min-width: 992px) {
        font-size: 16px;
        line-height: 22px;
    }
}

h5,
h6,
.h5_like,
.h6_like {
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 22px;
    font-weight: var(--medium);

    @media (min-width: 992px) {
        font-size: 16px;
        line-height: 22px;
    }
}

p,
li:not(.menu-item),
button {
    font-family: var(--main-font);
    font-size: 14px;
    line-height: 24px;
    margin-top: 0;
}

p,
button {
    margin-bottom: 16px;
}

button {
    pointer-events: all;
    cursor: pointer;
}

strong {
    font-weight: var(--bold);
}

a {
    color: var(--blue);
    text-decoration: none;
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

a:hover {
    color: var(--dark-blue);
}

div.cta_element_bas:not(.white, .purple) {
    &:hover {
        background: var(--light-blue) !important;
    }
}

.cta .bouton,
.bouton,
.menu-cta,
.cta.surtitre,
.cta_element_bas,
#calcom-embed-link {
    padding: 10px 16px !important;
    text-decoration: none;
    display: flex;
    width: fit-content;
    border-radius: var(--border-radius-cta);
    color: var(--white);
    transition: var(--transition);
    gap: 6px;
    min-height: 40px;
    align-items: center;

    &:not(&.purple, &.white) {
        font-size: 14px;
        font-weight: var(--regular);
        background-color: var(--red);

        &:hover {
            background-color: var(--dark-red);
            color: var(--white);
        }
    }

    &.purple {
        background: var(--gradient-purple);

        span {
            font-size: 16px;
            font-weight: var(--light);
        }
    }

    &.white {
        background: transparent;
        border: 1px solid var(--white);

        span {
            font-size: 14px;
            font-weight: var(--light);
        }

        &:hover {
            background: var(--white);

            &:before {
                filter: brightness(0) saturate(100%) invert(9%) sepia(35%) saturate(3885%) hue-rotate(205deg) brightness(93%) contrast(108%);
            }
        }
    }

    &.teaser__more {
        margin-top: auto;
    }
}

.cta:has(.bouton + .bouton) {
    display: flex;
    width: fit-content;
    gap: 8px;
    flex-wrap: wrap;

    @media (max-width: 991px) {
        .bouton {
            margin-right: auto;
            margin-left: auto;
        }
    }
}

.bouton+.bouton,
.bouton--alt {
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: var(--semibold);
    transition: var(--transition);
    border-radius: var(--border-radius-cta);
    background: var(--blue);
    border: 1px solid var(--blue);
    color: var(--white);

    &:hover {
        background-color: var(--dark-blue);
        border: 1px solid var(--dark-blue);
    }
}

.bouton,
.bouton--alt {
    &.has-picto {
        justify-content: center;
        align-items: center;
        width: fit-content;
        display: flex;
        gap: 6px;

        &.before {
            &:hover {
                &:before {
                    left: -3px;
                }
            }

            &:before {
                content: '';
                background-image: var(--picto-url);
                display: inline-block;
                width: 18px;
                height: 18px;
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
                transition: var(--transition);
                position: relative;
                left: 0px;
            }
        }

        &.after {
            flex-direction: row;

            &:hover {
                &:after {
                    right: -3px;
                }
            }

            &:after {
                content: '';
                background-image: var(--picto-url);
                display: inline-block;
                width: 14px;
                height: 14px;
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
                transition: var(--transition);
                position: relative;
                right: 0px;
            }
        }
    }
}

@media (min-width: 992px) {
    .hdp__intro {
        .cta:has(.bouton + .bouton) {
            .bouton {
                margin-right: auto;
                margin-left: auto;
            }
        }
    }
}

section {
    &.pb-0 {
        padding-bottom: 0px;
    }

    &.pt-0 {
        padding-top: 0px;
    }
}

section {
    padding: 20px 0;
}

@media (min-width: 768px) {
    section {
        padding: 30px 0;
    }
}

@media (min-width: 992px) {
    section {
        padding: 40px 0;
    }
}

@media (min-width: 1200px) {
    section {
        padding: 50px 0;
    }
}

@media (min-width: 1400px) {
    section {
        padding: 60px 0;
    }
}

section {
    &[data-color="#ffffff"] {
        background-color: var(--white);
        position: relative;

        &:has(+ [data-color="#ffffff"]) {
            padding-bottom: 25px;

        }

        &+section[data-color="#ffffff"] {
            padding-top: 25px;
        }

        h1,
        h2,
        h3,
        h4,
        h5 {
            color: var(--blue);
        }

        p,
        li {
            color: var(--dark);
        }
    }

    &[data-color="#00355f"] {
        background: var(--blue);
        position: relative;

        &:has(+ [data-color="#00355f"]) {
            padding-bottom: 25px;
        }

        &+section[data-color="#00355f"] {
            padding-top: 25px;
            margin-top: -1px;
        }

        .section__title {
            * {
                color: var(--white);
            }
        }

        &:not(.cpt) {

            h1,
            h2,
            h3,
            h4,
            h5,
            p,
            li,
            span,
            a:not(.bouton) {
                color: var(--white);
            }
        }

        /* .wrapper_slider .splide__arrows .splide__arrow--prev,
        .wrapper_slider .splide__arrows .splide__arrow--next {
            &:not(:hover) {
                border: 1px solid var(--white) !important;
            }
        } */

        .wrapper_slider .splide__arrows .splide__arrow--prev::after,
        .wrapper_slider .splide__arrows .splide__arrow--next::before {
            color: var(--white) !important;
        }

        .wrapper_slider .splide__arrows .splide__arrow--prev::before,
        .wrapper_slider .splide__arrows .splide__arrow--next::after {
            filter: brightness(0) saturate(100%) invert(91%) sepia(92%) saturate(32%) hue-rotate(106deg) brightness(108%) contrast(107%) !important;
        }
    }

    &:not([data-color]) {
        background: var(--grey);

        h1,
        h2,
        h3,
        h4,
        h5 {
            color: var(--blue);
        }

        p,
        li {
            color: var(--dark);
        }
    }
}

.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    width: 100%;
    padding-right: calc(var(--gutter-x) * 0.5);
    padding-left: calc(var(--gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

.container {
    max-width: 100%;
}

/* Containers fixés sur breakpoints */
@media (min-width: 576px) {

    .container,
    .container-sm {
        max-width: var(--container-sm);
    }
}

@media (min-width: 768px) {

    .container,
    .container-sm,
    .container-md {
        max-width: var(--container-md);
    }
}

@media (min-width: 992px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg {
        max-width: var(--container-lg);
    }
}

@media (min-width: 1200px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: var(--container-xl);
    }
}

@media (min-width: 1400px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: var(--container-xxl);
    }
}

/** Custom grid layout **/
.grid_layout {

    display: grid;
    gap: 40px;

    @media (max-width: 992px) {
        gap: 20px
    }

    @media (max-width: 576px) {
        grid-template-columns: 1fr;
    }


    &.nb_cols_2 {
        @media (min-width: 577px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    &.nb_cols_3 {
        @media (min-width: 768px) {
            grid-template-columns: repeat(3, 1fr);
        }

        @media (min-width: 577px) and (max-width: 767px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    &.nb_cols_4 {
        @media (min-width: 992px) {
            grid-template-columns: repeat(4, 1fr);
        }

        @media (min-width: 768px) and (max-width: 991px) {
            grid-template-columns: repeat(3, 1fr);
        }

        @media (min-width: 577px) and (max-width: 767px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    &.nb_cols_5 {
        @media (min-width: 992px) {
            grid-template-columns: repeat(5, 1fr);
        }

        @media (min-width: 768px) and (max-width: 991px) {
            grid-template-columns: repeat(3, 1fr);
        }

        @media (min-width: 577px) and (max-width: 767px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    &.nb_cols_6 {
        @media (min-width: 992px) {
            grid-template-columns: repeat(6, 1fr);
        }

        @media (min-width: 768px) and (max-width: 991px) {
            grid-template-columns: repeat(3, 1fr);
        }

        @media (min-width: 577px) and (max-width: 767px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    &.nb_cols_7 {
        @media (min-width: 1200px) {
            grid-template-columns: repeat(7, 1fr);
        }

        @media (min-width: 992px) and (max-width: 1199px) {
            grid-template-columns: repeat(4, 1fr);
        }

        @media (min-width: 768px) and (max-width: 991px) {
            grid-template-columns: repeat(3, 1fr);
        }

        @media (min-width: 577px) and (max-width: 767px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

/********** Pagination slider splide js ***********/
/* Pagination au centre */
section.builder .wrapper_slider.place_center .splide__arrows .splide__arrow--next {
    right: -30px;

    @media (min-width: 992px) {
        right: -60px;
    }
}

section.builder .wrapper_slider.place_center .splide__arrows .splide__arrow--prev {
    left: -30px;

    @media (min-width: 992px) {
        left: -60px;
    }
}

section.builder .wrapper_slider:not(.place_center) .splide__arrows .splide__arrow--next {
    right: 0px;
}

section.builder .wrapper_slider:not(.place_center) .splide__arrows .splide__arrow--prev {
    left: 0px;
}

/* Pagination en bas */
section.builder .wrapper_slider.place_bottom .splide__arrows {
    width: 100%;
    position: absolute;
    bottom: 20px;

    /* @media (max-width: 992px) {
        justify-content: center !important;
    } */
}

section.builder .wrapper_slider.place_bottom {
    padding-bottom: 70px;
}

/* Pagination en haut  */
section.builder .wrapper_slider.place_up .splide__arrows {
    position: relative;
    top: -50px;
}

section.builder .wrapper_slider.place_up {
    padding-top: 70px;
}

section.builder .wrapper_slider.align_right .splide__arrows,
section.builder .wrapper_slider.align_left .splide__arrows {
    display: flex;
    gap: 10px;
    bottom: 0px;

    .splide__arrow {
        position: relative;
        margin: 0;
    }
}

section.builder .wrapper_slider.align_right .splide__arrows {
    justify-content: end;

    @media (min-width: 1400px) {
        padding-right: 90px;
    }
}

section.builder .wrapper_slider.align_left .splide__arrows {
    justify-content: start;

    @media (min-width: 1200px) {
        padding-right: 40px;
    }

    @media (min-width: 1400px) {
        padding-left: 125px;
    }
}

section.builder .wrapper_slider .splide__arrows .splide__arrow svg {
    display: none;
}

section.builder .wrapper_slider .splide__arrows .splide__arrow--prev,
section.builder .wrapper_slider .splide__arrows .splide__arrow--next {
    background: transparent;
    width: 40px;
    background: var(--red);
    border-radius: 100px;
    transition: var(--transition);
    transform: unset !important;
    height: 40px;

    &:hover {
        background: var(--blue);
    }
}

section.builder .wrapper_slider .splide__arrows .splide__arrow--prev {
    padding: 0px 5px 0 15px;
}

section.builder .wrapper_slider .splide__arrows .splide__arrow--next {
    padding: 0px 15px 0 5px;
}


section.builder .wrapper_slider .splide__arrows .splide__arrow--prev::before {
    margin-right: 10px;
}

section.builder .wrapper_slider .splide__arrows .splide__arrow--next::after {
    margin-left: 10px;
    transform: rotate(180deg);
}

section.builder .wrapper_slider .splide__arrows .splide__arrow--prev::before,
section.builder .wrapper_slider .splide__arrows .splide__arrow--next::after {
    content: url('../../img/arrow_slider.svg');
    display: inline-block;
    filter: brightness(100);
}

section.builder .wrapper_slider .splide__arrows .splide__arrow--prev::after,
section.builder .wrapper_slider .splide__arrows .splide__arrow--next::before {
    font-size: 14px;
    color: var(--light-blue);
    display: inline-block;
}

img,
video {
    height: auto;
    max-width: 100%;
}

figure {
    background: #f2f4fa;
    max-width: 100%;
    overflow: hidden;
}

figure img.size-full {
    border-radius: 0;
}

figure figcaption {
    padding: 10px 40px;
    text-align: center;
}

iframe {
    max-width: 100%;
}

iframe[src*=youtube] {
    aspect-ratio: 16/9;
    border-radius: 8px;
    display: block;
    height: auto;
    overflow: hidden;
    width: 100%;
}

ul:not([class]),
ol:not([class]) {
    line-height: 1.5;
    margin-bottom: 24px;
    padding-left: 24px;
}

ul:not([class]) {
    list-style: none !important;
}

ul:not([class]) li::before {
    background: var(--red);
    border-radius: 100%;
    content: "";
    display: inline-block;
    height: 5px;
    margin: -2px 7px 0 -12px;
    vertical-align: middle;
    width: 5px;
}

b,
strong {
    font-weight: var(--bold);
}

[type=text],
[type=email],
[type=number],
[type=tel],
[type=password],
textarea,
select {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--white);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 12.5px 0;
    width: 100%;
}

textarea {
    border: 1px solid var(--white);
    padding: 16px;
}

.aligncenter,
.alignleft,
.alignright {
    display: block;
    margin: 0 auto 15px;
}

.txtcenter {
    text-align: center;
}

.txtright {
    text-align: right;
}

.txtjustify {
    text-align: justify;
}

blockquote {
    border: 1px solid var(--dark-blue);
    padding: 20px;
    margin: 0 0 20px 0;

    &>*:first-child {
        &:before {
            content: '«';
            font-size: 40px;
            color: var(--red);
            margin-top: -3px;
        }
    }

    &>*:last-child {
        &:after {
            content: '»';
            font-size: 40px;
            color: var(--red);
            margin-bottom: 3px;
        }
    }
}

blockquote p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: var(--bold);
    font-size: 16px;
}

.cta:not(.menu-cta, .surtitre) {
    margin-top: 40px;
    margin-bottom: 0px;
}

@media (max-width: 768px) {
    .cta {
        text-align: center;
    }
}

p[style="text-align: center"] {
    a {
        margin: auto !important;
    }
}

.wp-pagenavi {
    grid-column: 1 / -1;
}

.wp-pagenavi .pages {
    border: 0px !important;
}

.wp-pagenavi {
    border-top: 0px solid;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    margin: 40px;
    padding-top: 40px;
    position: relative;
    text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
    border: 1px solid var(--dark-blue) !important;
    border-radius: 2rem;
    color: var(--dark-blue);
    display: inline-block;
    font-weight: 500;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 5px 10px;
    text-align: center;
}

.wp-pagenavi .page,
.wp-pagenavi .current,
.wp-pagenavi .extend {
    height: 40px;
    padding: 8px 2px 8px 2px;
    width: 40px;
}

.wp-pagenavi .first,
.wp-pagenavi .last {
    padding: 8px;
}

.wp-pagenavi .page:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.wp-pagenavi .current {
    background: var(--dark-blue);
    color: var(--white);
}

.wp-pagenavi [class*=postslink] {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-color: var(--dark-blue);
    color: var(--dark-blue);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 40px;
    padding: 4px 1rem;
}

.wp-pagenavi [class*=postslink]:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    margin: 0 auto 10px;
}

.socials {
    margin: 0;
    padding: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.5rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.socials li {
    list-style: none;
    margin: 0px;
    line-height: normal;
    font-size: 0px;
}

.socials li::before {
    display: none;
}

.socials__item a {
    height: 16px;
    width: 16px;
    display: inline-block;
}

.socials__item a:not(:hover) {
    color: #fff;
}

.socials__item a::before {
    content: '';
    width: 100%;
    height: 100%;
    filter: invert(1);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
}

.socials__item a:hover {
    color: #28385a;
}

.socials__item a[data-social*=facebook]::before {
    background-image: url('../../img/facebook.svg');

}

.socials__item a[data-social*=X]::before {
    background-image: url('../../img/x.svg');
}

.socials__item a[data-social*=linkedin]::before {
    background-image: url('../../img/linkedin.svg');
}

.socials__item a[data-social*=instagram]::before {
    background-image: url('../../img/instagram.svg');
}

.socials__item a[data-social*=youtube]::before {
    background-image: url('../../img/youtube.svg');
}

.socials__item a[data-social*=whatsapp]::before {
    background-image: url('../../img/whatsapp.svg');
}

.socials__item a[data-social*=mail]::before {
    background-image: url('../../img/icon_mail.svg');
}

.sharing {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-top: 1px solid #e8eaf0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 16px 12px 32px;
    text-align: right;
}

.sharing__list {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
}

.sharing__list li {
    list-style: none;
}

.sharing__list li::before {
    display: none;
}

.sharing__icon {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid #50a0f0;
    border-radius: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 32px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 3px;
    width: 32px;
}

.sharing__icon::before {
    content: "";
    display: block;
    font-family: "FontAwesome";
    font-size: 1rem;
}

.sharing__item[data-rs*=facebook] .sharing__icon::before {
    content: "\f39e";
}

.sharing__item[data-rs*=twitter] .sharing__icon::before {
    content: "\e61b";
}

.sharing__item[data-rs*=linkedin] .sharing__icon::before {
    content: "\f0e1";
}

.sharing__item[data-rs*=instagram] .sharing__icon::before {
    content: "\f16d";
}

.sharing__item[data-rs*=youtube] .sharing__icon::before {
    content: "\f167";
}

.sharing__item[data-rs*=vimeo] .sharing__icon::before {
    content: "\f27d";
}

.twitter-tweet {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .content .limited {
        max-width: 824px;
    }
}

@media (min-width: 768px) {
    .alignleft {
        float: left;
        margin-right: 20px;
    }

    .alignright {
        float: right;
        margin-left: 15px;
    }

    .wp-pagenavi {
        padding-left: 150px;
        padding-right: 150px;
    }

    .wp-pagenavi [class*=postslink] {
        position: absolute;
        top: 40px;
        width: 135px;
    }

    .wp-pagenavi .previouspostslink {
        left: 0;
        margin-right: 1rem;
        margin-bottom: 0;
    }

    .wp-pagenavi .nextpostslink {
        margin-left: 1rem;
        margin-top: 0;
        right: 0;
    }

    ul:not([class]),
    ol:not([class]) {
        padding-left: 2rem;
    }
}

.builder.content {
    .section__btn {
        .bouton {
            margin: auto;
        }
    }
}

.single:not(.single-offre-daccompagnemen),
.page:not(.home),
.search {
    .hdp {
        &.hdp--head {
            position: relative;
            display: flex;
            align-items: center;
            z-index: 1;
            background-repeat: no-repeat;
            background-size: cover;
            min-height: 350px;

            @media (min-width: 992px) {
                min-height: 450px;
            }

            &:before {
                content: '';
                background: var(--dark) !important;
                width: 100%;
                height: 100%;
                position: absolute;
                z-index: 2;
                opacity: 0.7;
                top: 0;
            }

            .container {
                height: 100%;
                display: flex;
                z-index: 3;
                position: relative;

                .hdp__content {
                    &>span {
                        text-align: left;
                    }

                    &>.hdp__title {
                        margin-top: 10px !important;

                        .rank-math-breadcrumb {
                            opacity: 0.5;
                        }
                    }

                    * {
                        color: var(--white);
                    }

                    .section__btn {
                        margin: auto;
                    }

                    @media (max-width: 767px) {
                        padding-top: 80px;
                    }

                    .cta {
                        margin: auto;
                    }

                    .hdp__intro {
                        max-width: 740px;
                        margin: 0;
                        color: var(--dark-grey);
                        opacity: 0.7;

                        p {
                            margin: 0;
                        }
                    }
                }
            }
        }
    }
}


/* .search {
    .section_search {
        padding-top: 150px !important;

        @media (min-width: 992px) {
            padding-top: 80px !important;
        }
    }
} */