/* Global */
.post-content a:not(.fusion-button) {
    text-decoration: underline;
}
.post-content .entry-title a {
    text-decoration: none;
}

.text__lined {
    position: relative;
    background-color: #fff;
    padding: 32px 20px;
    border-radius: 8px;
}

@media only screen and (min-width: 769px) {
    .clipped {
        clip-path: url(#clip_img);
    }
    
    .text__lined::before {
        content: "";
        position: absolute;
        top: 38px;
        bottom: 39px;
        left: 0;
        width: 2px;
        height: calc(100% - 79px);
        background-color: #97AA83;;
        z-index: 1;
    }
}

@media only screen and (max-width: 768px) {
    .clipped {
        border-radius: 8px;
        overflow: hidden;
    }

    .text__lined {
        padding: 20px;
        border-radius: 8px 8px 0 0;
    }

    body.fusion-body .fusion-title.fusion-title-size-one {
        --awb-font-size: var(--h1_typography-font-size) !important;
    }
}
/* End global */

/* Header */
.page__header {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 108px;
    min-height: 300px !important;
}

.fusion-flex-column.page__header__content {
    position: absolute !important;
    top: -18px !important;
    left: 0 !important;
    z-index: 10 !important;
    z-index: 10;
    display: flex;
    padding: 28px 42px 46px 37px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 14px 14px 100px 14px;
    background: #FFFDFA;
}

.back__link {
    display: flex;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 300;
    position: relative;
}
.back__link::before,
.back__link::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background: url(../img/arrow-back.svg) no-repeat;
    background-size: contain;
    transition: opacity 250ms ease-in-out;
}
.back__link::after {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../img/arrow-back-hover.svg);
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
}
.back__link:hover::before {
    opacity: 0;
}
.back__link:hover::after {
    opacity: 1;
}
.post-content .back__link a {
    text-decoration: none;
}

.page__description p {
    margin: 0 0 28px 0 !important;
}

.inscription-button {
    margin: 20px 0;
}

.page__icon {
    position: absolute;
    width: 140px;
    height: 140px;
    top: 20%;
    left: 40%;
    z-index: 10;
}

.page__header__img {
    position: relative;
    width: calc(100% - 9.3vw);
}
.page__header__img img:first-child {
    -webkit-clip-path: url(#clip_stage);
    clip-path: url(#clip_stage);
    aspect-ratio: 1166 / 398;
    object-fit: cover;
    width: 100%;
    /* transition: object-position .1s ease; */
    object-position: var(--awb-object-position);
}

.page__header.simple .page__header__img img:first-child {
    -webkit-clip-path: none;
    clip-path: none;
    border-radius: 8px;
    overflow: hidden;
}

.fusion-flex-column.page__others {
    position: absolute !important;
    bottom: 0px !important;
    right: 0px !important;
    z-index: 10 !important;
    width: calc(16% - 4px);
    border-radius: 8px;
    padding: 12px;
    font-family: Rosarivo;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    min-height: clamp(100px, 5vw, 300px);
}
.contact .fusion-flex-column.page__others {
    background-color: transparent;
    padding: 0 10px;
    bottom: 0 !important;
}
.contact .img__full {
    --awb-aspect-ratio: 100/40 !important;
}
.program .fusion-flex-column.page__others {
    background-color: #F7F7F7;
}
.page__others strong {
    color: #97AA83;
    font-weight: 400;
    text-transform: uppercase;
}
.program .page__others strong {
    color: #3D4338;
}
.contact .page__others .fusion-text:last-child {
    letter-spacing: -.5px;
}
.page__others ul {
    /* list-style: none; */
    padding: 0 0 0 20px;
    margin: 0;
    line-height: 1.2;
}
.page__others ul li::marker {
    color: var(--awb-color4);
}
.page__others a {
    text-decoration-line: underline;
    text-decoration-color: currentColor;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
    display: inline-block;
}
.page__others p {
    margin-bottom: 0 !important;
}
.fusion-flex-column.page__header__img {
    width: calc(100% - 9.3vw) !important;
    margin-left: auto !important;
}

.back__link {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 300;
}
.back__link::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background: url(../img/arrow-back.svg) no-repeat;
    background-size: contain;
}

@media only screen and (min-width: 769px) {
    .fusion-flex-column.page__header__content {
        --h1_typography-font-size: 63px;
        --h1_typography-line-height: 108%;
        --h1_typography-margin-top: 0;
        --h1_typography-margin-bottom: 28px;
    }
}

@media only screen and (max-width: 768px) {
    .fusion-flex-container.page__header {
        margin-top: -32px;
    }
    .fusion-flex-column.page__header__content,
    .fusion-flex-column.page__others {
        position: relative !important;
    }

    .fusion-flex-column.page__header__content {
        width: 100% !important;
        border-radius: 0 0 60px 60px;
        top: 0 !important;
        padding: 32px 16px;
    }

    .fusion-flex-column.page__header__img {
        width: 100% !important;
        margin-top: -62px !important;
    }
    .page__header__img img:first-child {
        --awb-aspect-ratio: 1400 / 1028 !important;
        -webkit-clip-path: none;
        clip-path: none;
        aspect-ratio: 1400 / 1028;
    }
    .inscription .page__header__img img:first-child {
        --awb-aspect-ratio: 1400 / 800 !important;
    }
    .page__header__img .fusion-image-element:has(.focus--top)  {
        --awb-object-position: 50% 0% !important;
    }
    .page__header__img .fusion-image-element:has(.focus--quarter)  {
        --awb-object-position: 50% 25% !important;
    }
    .page__header__img .fusion-image-element:has(.focus--bottom)  {
        --awb-object-position: 50% 75% !important;
    }
    .fusion-flex-column.page__others {
        min-width: 100%;
        border-radius: 0;
        text-align: center;
        min-height: 1px;
    }
    .page__others ul {
        display: flex;
        flex-wrap: wrap;
        margin-top: 8px;
        padding-left: 0;
        justify-content: center;
        gap: 8px 50px;
    }
    .fusion-text.back__link {
        margin-bottom: 9px;
        margin-left: 20px;
    }
    .page__header__content .title__lined h1::before {
        top: -30px;
        height: calc(100% + 20px);
    }

    .contact .fusion-flex-column.page__header__img img:first-child {
        --awb-object-position: 32% 61% !important;
    }

    .contact .page__header__content .fusion-text:not(.back__link) {
        --awb-font-size: 14px !important;
        --awb-margin-bottom: 0 !important;
    }
    .page__header.samedi .fusion-title-size-three,
    .page__header.samedi .page__header__content .fusion-text:not(.back__link) {
        --awb-font-size: 14px !important;
        padding-left: 20px;
    }
    .page__header.samedi .fusion-title-size-three h3 {
        line-height: 21px !important;
    }
    .page__header.simple .page__header__img img:first-child {
        border-radius: 0;
    }
}

@media only screen and (max-width: 1280px) and (min-width: 981px) {
    .page__header__img .fusion-imageframe.has-aspect-ratio {
        --awb-aspect-ratio: 100 / 50 !important;
    }
    .fusion-flex-column.page__others {
        min-height: clamp(110px, 11vw, 200px);
    }
}

@media only screen and (max-width: 980px) and (min-width: 769px) {
    .page__header__img .fusion-imageframe.has-aspect-ratio {
        --awb-aspect-ratio: 100 / 60 !important;
    }
}
/* Fin header */

/* 404 */
@media only screen and (max-width: 768px) {
    body.error404 .error__wrp .fusion-image-element {
        --awb-max-width: 83% !important;
    }
    body.error404 #content {
        margin-bottom: 0;
    }
    body.error404 .mdn__header .logo {
        width: 56.3vw;
    }
    body.error404 .mdn__header .fusion-image-element {
        --awb-margin-right-small: auto;
        --awb-margin-left-small: auto;
    }
    .error__btns .fusion-content-layout-row {
        flex-direction: column !important;
    }
    .error__btns .fusion-button {
        --button_margin-right: 0 !important;
        --button_margin-left: 0 !important;
        --button_font_size: 14px;
    }
    .error__btns .fusion-button:first-of-type {
        --button_margin-bottom: 20px !important;
    }
}
/* Fin 404 */

.fusion-imageframe.bottes {
    position: absolute;
    bottom: -20px;
    right: -100px;
}

.listed.fusion-text ul {
    padding-left: 12px;
    margin-top: 0;
    margin-bottom: 0;
}
.listed.fusion-text.glued ul {
    padding-left: 0;
}
.listed.fusion-text ul li:not(:last-child) {
    margin-bottom: 8px;
}
.listed.large__space.fusion-text ul li:not(:last-child) {
    margin-bottom: 30px;
}

@media only screen and (max-width: 768px) {
    .listed.fusion-text.glued ul {
        padding-left: 26px;
    }
    .stages__wrp {
        --awb-background-size: auto 50px !important;
    }
}

/* FAQ */
.fusion-accordian .panel-title .fusion-toggle-heading,
body .fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-title a {
    position: relative;
    padding: 0;
}
body .fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-body {
    padding: 12px 20px 0 0;
}
.fusion-faqs-wrapper .fusion-accordian .fusion-panel:has(a[aria-expanded="true"]) {
    background-color: #f8f8f8 !important;
    border-color: #f8f8f8 !important;
}
.fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-title a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 2px;
    height: 100%;
    background: #97AA83;
    transition: background 250ms ease-in-out;
}
body .fusion-accordian .fusion-panel {
    border-radius: 8px;
}
.fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-title a[aria-expanded="true"]::before {
    background: #3D4338;
}
.fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode a[aria-expanded="true"] .fusion-toggle-heading {
    font-weight: 600;
}
body .fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-body p:last-child {
    margin-bottom: 0;
}
body .fusion-accordian .fusion-toggle-icon-unboxed .panel-title a .fa-fusion-box.fa-plus::before {
    content: "";
    width: 24px;
    height: 24px;
    display: inline-block;
    background: url(../img/croix.svg) no-repeat;
    background-size: contain;
    background-position: center;
    transform-origin: center;
    transform: rotate(45deg);
    transition: all 250ms linear;
    filter: invert(72%) sepia(11%) saturate(696%) hue-rotate(47deg) brightness(89%) contrast(88%);
}
body .fusion-accordian .fusion-toggle-icon-unboxed .panel-title a.active .fa-fusion-box.fa-plus::before {
    transform: rotate(0deg);
    filter: none;
}

@media only screen and (max-width: 768px) {
    body .fusion-faqs-wrapper .fusion-accordian #accordian-1 .fusion-panel {
        padding-top: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
    }
    .fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-title a::before {
        left: -16px;
    }
}
/* Fin FAQ */

/* Slider simple */
.simple__slider {
    position: relative;
}
.simple__slider.fusion-slider-sc:not(.fusion-has-margin) .flexslider {
    margin-bottom: 0;
}
.simple__slider.flexslider .slides {
    overflow: initial;
}
  .simple__slider .splide__list {
    
  }
  .simple__slider .image {
    width: 24.4vw;
    min-width: 24.4vw;
    list-style: none;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 32px;
  }
  .simple__slider img {
    width: 100%;
    aspect-ratio: 352 / 263;
    object-fit: cover;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
  }
  .simple__slider .splide__track {
    border-radius: 8px;
  }

   .simple__slider .splide__arrow {
        display: block;
        background-image: url("../img/arrow-nav.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        border: none;
        width: 17px; /* Ajustez selon vos besoins */
        height: 27px; /* Ajustez selon vos besoins */
        cursor: pointer;
        background-color: transparent;
    }
    .simple__slider .splide__arrow svg {
        display: none;
    }
    .simple__slider .splide__arrow:not(:disabled) {
        opacity: 1;
    }

    .simple__slider .splide__arrow--prev {
        left: -132px; /* Ajustez la position */
    }

    .simple__slider .splide__arrow--next {
        left: -62px;
        transform: translateY(-50%) rotate(180deg);
    }
    .simple__slider .splide__pagination {
        top: 50%;
        left: -107px;
        max-width: 40px;
        transform: translateY(-50%);
        bottom: auto;
        width: auto;
        right: auto;
        padding: 0;
    }
    .simple__slider .splide__pagination__page {
        width: 6px;
        height: 6px;
        background-color: #E9ECE1;
    }
    .simple__slider .splide__pagination__page.is-active {
        background-color: #97AA83;
        transform: none;
    }

.profs .fusion-builder-row-inner {
    gap: 28px 38px;
}

@media only screen and (min-width: 769px) {
    .profs {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .profs.equipe {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
}

@media only screen and (max-width: 768px) {
    .profs .fusion-builder-row-inner {
        gap: 20px;
        justify-content: center;
    } 
    .profs .lbs-badge {
        display: none;
    }

    .tarif {
        --awb-background-image-small: linear-gradient(180deg, #F7F7F7 0%, rgba(247, 247, 247, 0.00) 100%) !important;
    }
}


/* Header avec bloc qui rentre dans image */
.header__info .fusion-imageframe {
    border-radius: 13px;
    background: #97AA83;
    padding: 8px 7px;
}


@media only screen and (min-width: 769px) {
    .header__stages__img > .fusion-column-wrapper {
        --awb-bg-position: 50% 90% !important;
        -webkit-clip-path: url(#clip_stages);
        clip-path: url(#clip_stages);
        aspect-ratio: 1166 / 398;
    }
    .header__stages__img > .fusion-column-wrapper img {
        aspect-ratio: 1166 / 398;
    }
    .fusion-flex-container .fusion-row .fusion-flex-column.header__info:not(.item),
    .fusion-flex-container .fusion-row .fusion-builder-row-inner:has(.fusion-flex-column.header__info.item) {
        position: absolute;
        top: clamp(150px, 24.5vw, 252px);
        left: clamp(302px, 33.5vw, 492px);
        width: clamp(100px, 11.5vw, 166px);
        white-space: nowrap;
    }
    .header__stages.fusion-flex-container .fusion-row .fusion-flex-column.header__info:not(.item) {
        left: clamp(302px, 33.5vw, 538px);
    }
    .header__stages.cours.fusion-flex-container .fusion-row .fusion-flex-column.header__info:not(.item) {
        left: clamp(302px, 33.5vw, 508px);
    }

    .header__stages > .fusion-builder-row > .fusion_builder_column:first-child,
    .header__stages .fusion-column-wrapper:has(.header__info),
    .header__stages .fusion-builder-row:has(>.header__info) {
        position: static;
    }

    .fusion-text.content-max {
        width: clamp(300px, 80vw, 772px);
        margin-left: auto;
        margin-right: auto;
    }
    .fusion-text.content-max.large {
        width: clamp(300px, 80vw, 950px);
    }
    .fusion-text.content-max.small {
        /* width: clamp(250px, 80vw, 412px); */
    }
    .header__stages > .fusion-builder-row > .fusion_builder_column:first-child .stages__desc {
        --awb-margin-right: 40px !important;
    }
}

@media only screen and (min-width: 1441px) {
    .header__stages.cours.fusion-flex-container .fusion-row .fusion-flex-column.header__info:not(.item),
    .fusion-flex-container .fusion-row .fusion-builder-row-inner:has(.fusion-flex-column.header__info.item) {
        left: 33.9vw;
        width: 12.7vw;
    }
    .header__stages.fusion-flex-container .fusion-row .fusion-flex-column.header__info:not(.item) {
        left: 33.6vw;
        width: 12.7vw;
    }
    .header__stages__img > .fusion-column-wrapper {
        --awb-bg-position: 50% 75% !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1180px) {
    .fusion-flex-container .fusion-row .fusion-flex-column.header__info:not(.item) {
        left: clamp(300px, 38vw, 450px);
    }
}

@media only screen and (min-width: 769px) and (max-width: 980px) {
    .fusion-flex-container .fusion-row .fusion-flex-column.header__info:not(.item) {
        top: 31.5vh;
    }
}

@media only screen and (max-width: 768px) {
    .header__stages > .fusion-builder-row > .fusion_builder_column:first-child,
    .header__stages > .fusion-builder-row > .fusion_builder_column:last-child,
    .header__stages > .fusion-builder-row > .fusion_builder_column:first-child > .fusion-column-wrapper {
        display: contents !important;
    }

    body .fusion-flex-container.header__stages > .fusion-builder-row {
        display: grid;
        grid-template-areas:
        "title"
        "image"
        "subtitle"
        "text"
        "button";
    }

    .header__stages > .fusion-builder-row > .fusion_builder_column:first-child > .fusion-text {
        grid-area: subtitle;
    }
    .header__stages .fusion-title {
        grid-area: title;
    }
    .header__stages .header__stages__img {
        grid-area: image;
    }
    .header__stages > .fusion-builder-row > .fusion_builder_column:first-child .fusion-builder-row-inner {
        grid-area: subtitle;
    }
    .header__stages > .fusion-builder-row > .fusion_builder_column:first-child .stages__desc {
        grid-area: text;
        margin-bottom: 20px;
    }
    .header__stages div:has(>.fusion-button) {
        grid-area: button;
    }

    .header__stages__img {
        --awb-bg-position: 50% 72% !important;
    }
    .header__stages__img > .fusion-column-wrapper {
        aspect-ratio: 361 / 176;
        border-radius: 8px 8px 0 0 !important;
    }
    .header__stages__img > .fusion-column-wrapper img {
        aspect-ratio: 361 / 176;
    }

    .header__info {
        --awb-border-radius: 0 0 8px 8px !important;
    }
    .header__info > .fusion-column-wrapper {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center;
        gap: 12px;
    }
    .header__info .fusion-text {
        margin: 0;
    }
    
    .cours .header__stages__img {
        --awb-bg-position: center !important;
    }

    .fusion-text.content-max {
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;
    }
}

.girls__books {
    position: absolute !important;
    bottom: -18px;
    right: -41px;
}

.acc__mesure .badge-image {
    top: 49%;
}

@media only screen and (max-width: 768px) {
    .accompagnement {
        background: linear-gradient(180deg, rgba(255, 253, 250, 0.36) 0%, rgba(230, 232, 215, 0.36) 100%) !important;
    }
    .accompagnement .fusion-imageframe {
        --awb-aspect-ratio: 361 / 176 !important;
        --awb-object-position: 51% 86% !important;
    }
    .accompagnement::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 36px;
        width: 100vw;
        background: url(/wp-content/uploads/2024/11/banner-simple.svg);
        background-repeat: repeat-x;
        background-size: cover;
    }

    .acc__mesure,
    .acc__mesure .fusion_builder_column {
        --awb-border-radius: 0 !important;
    }
    .acc__mesure .fusion_builder_column .fusion-column-wrapper {
        background-image: none !important;
    }
}

/* Contact */

/* Fin contact */

.fusion-imageframe.fluency__quote {
    position: absolute;
    bottom: 26px;
    right: 16px;
    transform: rotate(180deg);
}

.fondateurs .sun {
    position: absolute;
    top: -25px;
    right: clamp(150px, 15.5vw, 224px);
}

.btns__group > .fusion-column-wrapper {
    gap: 20px;
}

@media only screen and (max-width: 768px) {
    .btns__group > .fusion-column-wrapper {
        flex-direction: column !important;
        gap: 16px;
    }
    .btns__group .fusion-button.fusion-button.fusion-button-default {
        width: 100% !important;
    }
}

.fusion-imageframe.zog {
    position: absolute;
    left: 3%;
    bottom: -13px;
    transform: rotate(25deg);
}

.header__details:has(.stage__dates p:empty) {
    display: none;
}

.header__details .fusion-text:not(:has(br)) {
    white-space: pre-line;
}

@media only screen and (min-width: 1024px) {
    .page__header.program:has(.header__details .stage__dates p:empty) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page__header.program:has(.header__details .stage__dates p:empty) .page__header__content {
        --awb-width-large: 45% !important;
        padding-bottom: 5px !important;
    }
    .page__header.program:has(.header__details .stage__dates p:empty) .stages__desc  {
        --awb-text-font-family: var(--body_typography-font-family) !important;
    }
}