/*
Theme Name: Proactive
Theme URI: https://example.com/proactive
Author: Proactive
Author URI: https://example.com
Description: Standalone theme for Proactive. Uses theme.json for most styling and includes custom patterns and templates.
Version: 1.0.0
Text Domain: proactive
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Tweak breakpoints to your project */
.hide-mobile {
    display: none;
}
@media (min-width: 768px) {
    .hide-mobile {
        display: revert;
    }
}
.hide-desktop {
    display: revert;
}
@media (min-width: 768px) {
    .hide-desktop {
        display: none;
    }
}

.hide-mobile-important {
    display: none !important;
}

@media (min-width: 768px) {
    .hide-mobile-important {
        display: revert !important;
    }
}

.hide-desktop-important {
    display: revert !important;
}

@media (min-width: 768px) {
    .hide-desktop-important {
        display: none !important;
    }
}

figure {
    line-height: 0;
}

nav > button > svg {
    color: var(--wp--preset--color--primary);
}
@media (max-width: 768px) {
    .mobile-column-reverse {
        flex-direction: column-reverse;
    }
}
.relative-position {
    position: relative;
}
/* header nav hidden submenu */
.proactive-menu-row {
    /* position: relative; */
}
.has-panel {
    cursor: pointer;
    user-select: none;
    position: relative;
}
.chevron-up,
.chevron-down 
{
    width: 24px;
    height: 24px;
    position: absolute;
    right: -30px;
    top: -3px;
}
.has-panel[data-is-hidden="true"] .chevron-up,
.has-panel[data-is-hidden="false"] .chevron-down
{
    opacity: 0;
}
.has-panel[data-is-hidden="false"] .chevron-up,
.has-panel[data-is-hidden="true"] .chevron-down {
    opacity: 1;
}
.nav-panel {
    position: absolute;
    top: calc(100% + 20px);
    /* just below the nav item */
    /* left: calc(-50% + 30px); */
    left: calc(50% - (786px / 2));
    width: 786px;
    display: none;
    /* background: white; */
    /* border: 1px solid #ccc; */
    z-index: 1000;
    /* border-radius: 10px; */
    /* padding: 20px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav-panel[aria-hidden="false"] {
    display: block;
}
body.block-editor-iframe__body .nav-panel {
    display: block;
    position: relative;
    top: auto;
    left: auto;
}


.wp-block-search input
{
    height: 40px;
}
form.wp-block-search,
.wp-block-search button {
    /* height: 60px; */
}
.wp-block-search input {
    font-family: "Instrument Sans Regular", sans-serif !important;
    margin-top: auto;
    margin-bottom: auto;
}

/* mobile header dropdown menu */
.wp-block-navigation__responsive-container {
    top: 82px;
    height: calc(100vh - 82px);
    overflow-y: scroll;
    overflow-x: hidden !important; /* prevent horizontal scroll */
    padding: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
    background-color: white;
    /* padding: clamp(1rem, var(--wp--style--root--padding-top), 20rem) clamp(1rem, var(--wp--style--root--padding-right), 20rem) clamp(1rem, var(--wp--style--root--padding-bottom), 20rem) clamp(1rem, var(--wp--style--root--padding-left), 20rem); */
}
.wp-block-navigation__responsive-container-close {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0 !important;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Points clés — remplace les puces par une icône personnalisée */
.formation-category-points {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.formation-category-points li {
    position: relative;
    margin: 0.35em 0;
    padding-left: 32px; /* espace pour l’icône 22x22 */
}
.formation-category-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 22px;
    height: 22px;
    background: url('https://dev.proactiveacademy.fr/media-library/formations-pointscles.png') no-repeat center / contain;
}
/* .wp-block-navigation__responsive-container-content {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
} */

/* Drilldown mobile submenu (slide left/right) */
.wp-block-navigation__responsive-container-content {
    position: relative;
    /* Only hide horizontal overflow; allow vertical flow so the outer container handles scrolling */
    overflow-x: hidden;
    overflow-y: visible;
    gap: 12px;
    /* padding-top: 40px !important; */
    padding-top: 0px !important;
}
.wp-block-navigation__responsive-container .wp-block-navigation__submenu-container:not(.nav-submenu-list) {
    display: none !important; /* suppress default inline dropdowns in overlay */
}
.nav-submenu-list {
    display: block !important; /* show cloned submenu in drilldown */
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.nav-drilldown {
    position: relative;
    width: 100%;
    height: auto; /* collapse to content height to avoid leftover whitespace */
    /* padding-top: 40px !important; */
}
.nav-stage {
    display: flex;
    width: 200%;
    transition: transform 300ms ease;
}
.nav-level {
    box-sizing: border-box;
    flex: 0 0 50%;
    padding-inline: clamp(1rem, var(--wp--style--root--padding-left), 5rem);
}
.nav-level--root,
.nav-level--submenu {
    /* allow scrolling if content longer than viewport */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.wp-block-navigation__responsive-container .nav-level--root,
.wp-block-navigation__responsive-container .nav-level--submenu {
    /* In the mobile overlay, avoid nested scrollbars. Let the overlay scroll instead. */
    max-height: none;
    overflow: visible;
}
.nav-level--root {
    padding-top: 40px !important;
}
.nav-level--submenu {
    font-family: "Instrument Sans Regular", sans-serif;
}
.nav-drilldown.is-overlay-open .nav-stage {
    /* transform: translateX(-25%); */
}

/* Sliding submenu overlay (separate from main list) */
.wp-block-navigation__responsive-container .nav-submenu-overlay {
    position: absolute;
    inset: 0;
    height: 100%;
    background: var(--wp--preset--color--base, #fff);
    transform: translateX(100%);
    transition: transform 300ms ease;
    overflow-y: auto;
    padding-inline: clamp(1rem, var(--wp--style--root--padding-left), 5rem);
    z-index: 2;
}
.wp-block-navigation__responsive-container .nav-submenu-overlay.is-visible {
    transform: translateX(0);
}
.nav-drilldown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
    font-family: "Instrument Sans Semibold", sans-serif;
}
.nav-drilldown-back {
    appearance: none;
    border: none;
    background: none;
    padding: 8px 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    position: relative;
}
.nav-drilldown-back::before {
    /*content: "\2190";*/ /* left arrow */
    content: '';
    display: inline-block;
    margin-right: 6px;
    width: 18px;
    height: 18px;
    background: url('https://dev.proactiveacademy.fr/media-library/mobile-menu-submenu-back-arrow.png') no-repeat center / contain;
    vertical-align: middle;
}
.nav-drilldown-title {
    font-weight: 600;
}

/* Injected submenu template (mobile overlay) */
.wp-block-navigation__responsive-container .nav-submenu-divider {
    height: 1px;
    border: 0;
    margin: 12px 0;
    background: var(--wp--preset--color--beige-2, #eee);
}
.wp-block-navigation__responsive-container .nav-submenu-template .nav-panel {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    box-shadow: none;
    display: block; /* ensure injected panel shows inside overlay */
}

/* Submenu indicator arrow (mobile overlay + drilldown) */
.wp-block-navigation__responsive-container .wp-block-navigation__container > li.has-child,
.nav-submenu-list > li.has-child {
    display: flex;
    align-items: center;
    flex-direction: row !important;
    justify-content: space-between;
    width: 100%;
}
.wp-block-navigation__responsive-container .wp-block-navigation__container > li.has-child > .wp-block-navigation-item__content,
.nav-submenu-list > li.has-child > .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container .wp-block-navigation__container > li.has-child > a,
.nav-submenu-list > li.has-child > a {
    flex: 1 1 auto;
}
.wp-block-navigation__responsive-container .wp-block-navigation__container > li.has-child > .wp-block-navigation__submenu-icon,
.nav-submenu-list > li.has-child > .wp-block-navigation__submenu-icon {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}
/* Render a chevron if theme/core icon not present */
.wp-block-navigation__responsive-container .wp-block-navigation__container > li.has-child > .wp-block-navigation__submenu-icon::after,
.nav-submenu-list > li.has-child > .wp-block-navigation__submenu-icon::after {
    content: '';
}

/* Use custom chevron image for mobile submenu icon */
.wp-block-navigation__responsive-container .wp-block-navigation__container > li.has-child > .wp-block-navigation__submenu-icon,
.nav-submenu-list > li.has-child > .wp-block-navigation__submenu-icon {
    background: url('https://dev.proactiveacademy.fr/media-library/mobile-menu-chevron-right.png') no-repeat center / contain;
}
.wp-block-navigation__responsive-container .wp-block-navigation__container > li.has-child > .wp-block-navigation__submenu-icon svg,
.nav-submenu-list > li.has-child > .wp-block-navigation__submenu-icon svg {
    display: none !important; /* hide core-provided SVG to show custom image */
}

.prepend-phone-icon .wp-block-button__link::before,
.prepend-phone-icon-dark .wp-block-button__link::before,
.prepend-mail-icon .wp-block-button__link::before,
.prepend-linkedin-icon .wp-block-button__link::before,
.prepend-instagram-icon .wp-block-button__link::before,
.prepend-facebook-icon .wp-block-button__link::before,
.prepend-x-icon .wp-block-button__link::before,
.prepend-youtube-icon .wp-block-button__link::before,
.prepend-search-icon .wp-block-search__button::before
{
    margin-right: 0px;
    vertical-align: middle;
    transform: scale(0.5);
    margin-left: -8px;
}
.append-arrow-white-icon .wp-block-button__link::after,
.append-arrow-icon .wp-block-button__link::after
{
    margin-left: 0px;
    vertical-align: middle;
    transform: scale(0.5);
    margin-right: -8px;
}
.prepend-phone-icon .wp-block-button__link,
.prepend-phone-icon-dark .wp-block-button__link,
.prepend-mail-icon .wp-block-button__link,
.prepend-linkedin-icon .wp-block-button__link,
.prepend-instagram-icon .wp-block-button__link,
.prepend-facebook-icon .wp-block-button__link,
.prepend-x-icon .wp-block-button__link,
.prepend-youtube-icon .wp-block-button__link,
.prepend-search-icon .wp-block-search__button,
.append-arrow-icon .wp-block-button__link,
.append-arrow-white-icon .wp-block-button__link
{
    display: inline-flex;
    align-items: center;
}

.prepend-phone-icon .wp-block-button__link::before {
    content: url(https://dev.proactiveacademy.fr/media-library/icon-phone.png);
}
.prepend-phone-icon-dark .wp-block-button__link::before {
    content: url(https://dev.proactiveacademy.fr/media-library/icon-phone-dark.png);
}
.prepend-mail-icon .wp-block-button__link::before {
    content: url(https://dev.proactiveacademy.fr/media-library/icon-mail.png);
}
.prepend-linkedin-icon .wp-block-button__link::before {
    content: url(https://dev.proactiveacademy.fr/media-library/linkedin.png);
}
.prepend-instagram-icon .wp-block-button__link::before {
    content: url(https://dev.proactiveacademy.fr/media-library/instagram.png);
}
.prepend-facebook-icon .wp-block-button__link::before {
    content: url(https://dev.proactiveacademy.fr/media-library/facebook.png);
}
.prepend-x-icon .wp-block-button__link::before {
    content: url(https://dev.proactiveacademy.fr/media-library/x.png);
}
.prepend-youtube-icon .wp-block-button__link::before {
    content: url(https://dev.proactiveacademy.fr/media-library/youtube.png);
}
.prepend-search-icon .wp-block-search__button::before {
    content: url(https://dev.proactiveacademy.fr/media-library/search-icon.png);
}
.append-arrow-white-icon .wp-block-button__link::after {
    content: url(https://dev.proactiveacademy.fr/media-library/right-arrow-white.png);
}
.append-arrow-icon .wp-block-button__link::after {
    content: url(https://dev.proactiveacademy.fr/media-library/right-arrow.png);
}

.page-formation main,
.tax-formation_category main,
.post-type-catpage main {
    background-size: auto 100% !important;
    background-repeat: no-repeat;
    background-position: right;
}
.blog main,
.archive.category main > div.has-background:first-child, .archive.category .wp-site-blocks>div.has-background:first-of-type,
.page-template-page-no-hero-img main > div:first-child,
.page-qui-sommes-nous .entry-content>div:first-child,
.search .wp-block-group.alignwide.has-background {
    background-size: auto 180% !important;
    background-repeat: no-repeat;
    background-position: top right;
}
.blog .blog-filtre, .archive.category .blog-filtre {
    top: -100px;
}

.page-qui-sommes-nous .entry-content>div:first-child {
    background-size: 35vw auto !important;
}
@media (max-width: 767px) {
    .page-qui-sommes-nous .entry-content>div:first-child {
        background-position: top left 220px;
        background-size: 415px auto !important;
    }
    .page-formation main,
    .tax-formation_category main,
    .post-type-catpage main {
        background-size: auto 450px !important;
        background-position: right -150px top;
    }
    .blog main,
    .archive.category main>div.has-background:first-child,
    .archive.category .wp-site-blocks>div.has-background:first-of-type,
    .page-template-page-no-hero-img main>div:first-child,
    .page-qui-sommes-nous .entry-content>div:first-child,
    .search .wp-block-group.alignwide.has-background {
        background-size: auto 450px !important;
        background-position: right -150px top;
        background-repeat: no-repeat;
        background-position: top right -150px;
    }
}

.single-formation .entry-content main,
.page-accompagnement-qualiopi .entry-content main {
    background-image: url(https://dev.proactiveacademy.fr/media-library/formation-detail-hero2.webp);
    background-size: auto 100% !important;
    background-repeat: no-repeat;
    background-position: right -50px;
}
.page-accompagnement-qualiopi .entry-content main {
    background-size: auto 95% !important;
    background-position: top right;
    background-image: url(https://dev.proactiveacademy.fr/media-library/qualiopi-hero.webp);
}
.single-formation .entry-content #rank-math-toc {
    display: flex;
    align-items: center;
}
.single-formation .entry-content #rank-math-toc > div {
    font-family:"Museo Moderno Bold", sans-serif;
    font-size:15.2px;
    font-weight:400;
    padding-bottom: 20px;
    padding-right: 20px;
}
.single-formation .entry-content #rank-math-toc nav > div {
    display: flex;
    gap: 8px;
}
.single-formation .entry-content #rank-math-toc nav > div div {
    padding-left: 10px;
}
.single-formation .entry-content #rank-math-toc nav a {
    font-size:15.2px;
    text-decoration: none;
    line-height: 1.6;
    padding-bottom: 20px;
    display: block;
    border-bottom: 2px solid transparent;
    transition: border-bottom cubic-bezier(0.4, 0, 1, 1) .3s;
}
.single-formation .entry-content #rank-math-toc nav a:hover {
    border-bottom: 2px solid var(--wp--preset--color--primary);
}
@media (min-width: 1660px) {
    .single-formation .entry-content main,
    .page-accompagnement-qualiopi .entry-content main {
        /* background-position: right calc((100vw - var(--wp--style--global--wide-size)) / 2) bottom 50px; */
        background-size: calc(50% - 20px) auto !important;
        background-position: right bottom 50px;
    }
}
@media (max-width: 1027px) {
    .single-formation .entry-content main,
    .page-accompagnement-qualiopi .entry-content main {
        background-image: none;
        padding-right: 0;
    }
    .single-formation .entry-content main div:first-child {
        /* padding-right: var(--wp--style--root--padding-right); */
    }
    .single-formation .entry-content main .formation-hero-rhs-details,
    .page-accompagnement-qualiopi .entry-content main .formation-hero-rhs-details {
        /* background-color: red; */
        padding: 20px;
        padding-left: var(--wp--style--root--padding-left);
        /* margin-right: -var(--wp--style--root--padding-right); */
        margin-left: calc(var(--wp--style--root--padding-left) * -1);
        width: calc(100% + var(--wp--style--root--padding-left));
        padding-bottom: 40px;
        padding-top: 40px;
        background-image: url(https://dev.proactiveacademy.fr/media-library/formation-detail-hero2.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom left;
    }
    .page-accompagnement-qualiopi .entry-content main .formation-hero-rhs-details {
        background-image: url(https://dev.proactiveacademy.fr/media-library/qualiopi-hero.webp);
    }
    .single-formation .entry-content main .wp-block-spacer,
    .page-accompagnement-qualiopi .entry-content main .wp-block-spacer {
        display: none;
    }
    .single-formation .entry-content main .proactive-breadcrumbs,
    .page-accompagnement-qualiopi .entry-content main .proactive-breadcrumbs {
        padding-top: 20px;
        padding-bottom: 30px;
        overflow-x: scroll;
        white-space: nowrap;
    }
}

/* Formation categories chips */
.proactive-formation-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* uniform spacing */
}
.proactive-formation-categories li {
    margin: 0;
    padding: 0;
}
.proactive-formation-categories .chip {
    display: inline-flex;
    align-items: center;
    gap: 0; /* spacing handled by pseudo element margin */
    padding: 12px 18px;
    border-radius: 14px;
    background: var(--wp--preset--color--base, #fff);
    color: var(--wp--preset--color--primary, #2b1b60);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
    font-weight: 600;
}
.proactive-formation-categories .chip:hover {
    text-decoration: none;
    background: var(--wp--preset--color--secondary-light, #f3f0ff);
}
.proactive-formation-categories .chip.is-current:hover {
    background: var(--wp--preset--color--primary, #2b1b60);
    color: var(--wp--preset--color--base, #fff);
}
.proactive-formation-categories .chip:focus,
.proactive-formation-categories .chip:focus-visible { outline: none; box-shadow: none; }
.proactive-formation-categories .chip.is-current {
    background: var(--wp--preset--color--primary, #2b1b60);
    color: var(--wp--preset--color--base, #fff);
    box-shadow: none;
    position: relative;
}
.proactive-formation-categories .chip.is-current::before {
    content: '';
    display: inline-block;
    width: 18px; height: 18px;
    margin-right: 8px;
    background: url('https://dev.proactiveacademy.fr/media-library/LW-check.png') no-repeat center / contain;
}
.proactive-formation-categories .chip .count {
    opacity: .7;
    font-weight: 500;
    margin-left: 4px;
}

/* Blue variant (others list) */
.proactive-formation-categories--blue .chip {
    background: var(--wp--preset--color--secondary-blue-light);
    color: var(--wp--preset--color--secondary-blue-dark);
}
.proactive-formation-categories--blue .chip:hover {
    background: var(--wp--preset--color--secondary-light);
}
.proactive-formation-categories--blue .chip .chip-icon {
    width: 20px; height: 20px;
    display: inline-block;
    margin-right: 8px;
    object-fit: cover;
}

.fit-content {
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    /* prevents overflow on small screens */
}
.fit-content > * {
    max-width: max-content;
    /* stops Paragraph from stretching */
}

.spaced-paras > * > p,
.spaced-paras > * > div,
.spaced-paras > * > ul,
.spaced-paras > * > figure {
    margin-bottom: 2rem;
}
.spaced-paras > * > hr {
    margin-bottom: 2rem !important;
}
.category-spaced-paras > p {
    margin-bottom: 1rem;
}
.category-spaced-paras > h2,
.category-spaced-paras > h3,
.category-spaced-paras > h4,
.category-spaced-paras > h5,
.category-spaced-paras > h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.acces-rapides a {
    text-decoration: none;
}
.acces-rapides p:hover {
    border-top-style: none;
    border-top-width: 0px;
    border-right-style: none;
    border-right-width: 0px;
    border-bottom-color: var(--wp--preset--color--primary);
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-left-style: none;
    border-left-width: 0px;
    padding-bottom: var(--wp--preset--spacing--30);
}

.align-right {
    text-align: right;
}

/* Sticky tabs side menu: add 10px offset when stuck */
.wp-block-group.tabs.js-tabs { top: 10px; transition: top .24s ease; }
.has-visible-header .wp-block-group.tabs.js-tabs { top: calc(10px + var(--site-header-h, 0px)); }

/* Fallback: outline-gradient Button variation (frontend + editor)
   Ensures gradient border shows even if theme.json variation CSS isn't applied. */
.wp-block-button.is-style-outline-gradient .wp-element-button,
.wp-block-button.is-style-outline-gradient .wp-block-button__link {
    border: 2px solid transparent;
    border-radius: 16px;
    background:
        linear-gradient(var(--wp--preset--color--base, #fff), var(--wp--preset--color--base, #fff)) padding-box,
        linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    color: var(--wp--preset--color--primary, #2b1b60);
}
.wp-block-button.is-style-outline-gradient .wp-element-button:hover,
.wp-block-button.is-style-outline-gradient .wp-block-button__link:hover {
    background:
        linear-gradient(var(--wp--preset--color--base, #fff), var(--wp--preset--color--base, #fff)) padding-box,
        linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
}
/* Fallback: outline-gradient-beige Button variation (frontend + editor)
   Ensures gradient border shows even if theme.json variation CSS isn't applied. */
.wp-block-button.is-style-outline-gradient-beige .wp-element-button,
.wp-block-button.is-style-outline-gradient-beige .wp-block-button__link {
    border: 2px solid transparent;
    border-radius: 16px;
    background:
        linear-gradient(var(--wp--preset--color--site-bg), var(--wp--preset--color--site-bg)) padding-box,
        linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    color: var(--wp--preset--color--primary, #2b1b60);
}
.wp-block-button.is-style-outline-gradient-beige .wp-element-button:hover,
.wp-block-button.is-style-outline-gradient-beige .wp-block-button__link:hover {
    background: linear-gradient(0deg, #B9477C -54%, var(--wp--preset--color--primary, #2b1b60) 54%) padding-box, linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    background-color: var(--wp--preset--color--primary);
    color: white;
}

/* Optional: consistent padding for the outline gradient style */
.wp-block-button.is-style-outline-gradient .wp-element-button,
.wp-block-button.is-style-outline-gradient .wp-block-button__link {
    padding: calc(1rem - 2px) calc(1.3rem - 2px);
    font-weight: 600;
}

/* Fallback: Fill + contour variation */
.wp-block-button.is-style-fill-contour .wp-element-button,
.wp-block-button.is-style-fill-contour .wp-block-button__link {
    border: 2px solid transparent;
    border-radius: 16px;
    background:
        linear-gradient(var(--wp--preset--color--primary, #2b1b60), var(--wp--preset--color--primary, #2b1b60)) padding-box,
        linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    color: var(--wp--preset--color--base, #fff);
    text-decoration: none;
}
.wp-block-button.is-style-fill-contour .wp-element-button:hover,
.wp-block-button.is-style-fill-contour .wp-block-button__link:hover {
    filter: brightness(1.05);
    background: linear-gradient(0deg, #B9477C -54%, var(--wp--preset--color--primary, #2b1b60) 54%) padding-box, linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    background-color: var(--wp--preset--color--primary);
}

.shiny-outline.wp-block-read-more:hover, .shiny-outline.formation-card-button:hover {
    filter: brightness(1.05);
    background: linear-gradient(0deg, #B9477C -54%, var(--wp--preset--color--primary, #2b1b60) 54%) padding-box, linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    background-color: var(--wp--preset--color--primary);
}

.max-h-114px {
    max-height: 114px;
}

.w-100pc {
    width: 100%;
}

.max-w-50pc {
    max-width: 50%;
}

.max-w-118px {
    max-width: 118px;
}

.max-w-340px {
    max-width: 340px;
}

.max-w-359px {
    max-width: 359px;
}

.max-w-400px {
    max-width: 400px;
}

.max-w-500px {
    max-width: 500px;
}

.max-w-540px {
    max-width: 540px;
}

.max-w-552px {
    max-width: 552px;
}
.max-w-600px {
    max-width: 600px;
}
.max-w-610px {
    max-width: 610px;
}
.max-w-690px {
    max-width: 690px;
}
.max-w-750px {
    max-width: 750px;
}
.max-w-850px {
    max-width: 850px;
}

.tag a {
    text-decoration: none;
}

.proactive-breadcrumbs .crumb a {
    text-decoration: none;
    font-family: "Instrument Sans Semibold", sans-serif;
}
.proactive-breadcrumbs .crumb.current a {
    font-family: "Instrument Sans Regular", sans-serif;
}

/* Breadcrumb separators when using an image */
.proactive-breadcrumbs .sep img {
    display: block;
}

/* Inline formation categories chips (unstyled baseline) */
.proactive-formation-categories-inline .formation-category-chip {
    display: inline-block;
    text-decoration: none;
}
.proactive-formation-categories-inline .formation-category-chip:hover {
    text-decoration: underline;
}

.no-underline,
.no-underline * {
    text-decoration: none;
}

footer a {
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

.mobile-header-contact-button {
    width: 50px;
    height: 50px;
}
.mobile-header-contact-button img {
    width: 18px !important;
    height: 18px !important;
    margin-top:5px;
}

ul.mobile-menu {
    gap: 24px !important;
}

.mobile-contact-button {
    width: calc(100% - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right));
    margin-left: var(--wp--style--root--padding-left);
    margin-right: var(--wp--style--root--padding-right);
    margin-top: 20px;
}

.mobile-menu-search {
    margin-left: var(--wp--style--root--padding-left);
    width: calc(100% - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right));
    margin-top: 30px;
}
.mobile-menu-search button {
    padding: 0;
}
.mobile-menu-search button {
    content: '';
    /* width: 50px; */
    height: 50px;
    background: url('https://dev.proactiveacademy.fr/media-library/search-icon.png') no-repeat left;
    background-size: 20px 20px;
    flex-direction: row;
    display: flex;
}
.mobile-menu-search button svg {
    display: none;
}
.mobile-menu-search button::after {
    content: 'Recherche';
    /* width: 100%; */
    line-height: 50px;
    padding-left: 28px;
}

.mobile-menu-phone {
    margin-left: var(--wp--style--root--padding-left);
    display: flex !important;
    flex-direction: row !important;
    gap: 4px;
}
.mobile-menu-phone img {
    width: 20px !important;
    height: 20px !important;
    margin-right: 5px;
    vertical-align: middle;
}

.nav-submenu-template > .nav-panel {
    padding: 0 !important;
}
.nav-submenu-template .mobile-menu-formations-wrapper > p:first-child { /* mobile */
    color: var(--wp--preset--color--grayscale) !important;
}
.nav-submenu-template .proactive-formation-categories-inline {
    font-family: 'Instrument Sans Regular', sans-serif;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
}
.nav-submenu-template .js-formation-categories-inline + p > a {
    text-decoration: underline;
}
.nav-submenu-template figure {
    width: 118px !important;
    height: 114px !important;
}
.nav-submenu-template .wp-block-heading {
    font-family: 'Instrument Sans Semibold', sans-serif;
}
.nav-submenu-template .wp-block-heading {
    font-family: 'Instrument Sans Semibold', sans-serif;
}
.nav-submenu-template .wp-block-heading {
    font-family: 'Instrument Sans Semibold', sans-serif;
}
.mobile-nav-formation-group {
    display: flex;
    flex-direction: row;
    gap: 12px;
}
.mobile-nav-formation-group > .wp-block-group {
    flex-basis: 60%;
    padding-bottom: 0 !important;
}
.mobile-nav-formation-group>.wp-block-group h5 {
    margin-top: 0;
    margin-bottom: 0;
}
.mobile-menu-formations-wrapper {
    gap: 12px;
    display: flex;
    flex-direction: column;
}
.mobile-menu-formations-wrapper p {
    margin-bottom: 0;
}
.mobile-menu-formations-wrapper .wp-block-group {
    align-items: stretch;
}
.nav-submenu-template .mobile-menu-formations-wrapper .wp-block-group { /* mobile */
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.nav-submenu-template .mobile-menu-formations-wrapper .wp-block-post-excerpt__more-link { /* mobile */
    text-decoration: underline;
    color: var(--wp--preset--color--primary);
}
.mobile-menu-formations-wrapper .wp-block-group figure {
    height: auto !important;
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    margin-bottom: 0;
    max-height: 100%;
    width: 100%;
}
.mobile-menu-formations-wrapper .wp-block-group figure img {
    height: auto !important;
}

/* START FORMULAIRE */
.gradient-outline input,
.gradient-outline textarea {
    border: 1px solid transparent;
    border-radius: 16px;
    background:
        linear-gradient(var(--wp--preset--color--base, #fff), var(--wp--preset--color--base, #fff)) padding-box,
        linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    color: var(--wp--preset--color--primary, #2b1b60);
    font-size: var(--wp--preset--font-size--medium);
    padding: var(--wp--preset--spacing--30);
    width: calc(100% - var(--wp--preset--spacing--30) * 2);
    font-family: var(--wp--preset--font-family--instrument-sans-regular);
}
.checkbox-wrapper input[type="checkbox"] {
    margin-right: 8px !important;
    display: inline-block;
}
.wp-container-core-group-is-layout-ce187d37 {
    grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr));
    container-type: inline-size;
    gap: var(--wp--preset--spacing--20);
}
.wp-container-core-group-is-layout-fe9cc265 {
    flex-direction: column;
    align-items: flex-start;
}
.wp-container-core-group-is-layout-353c4f5a {
    flex-direction: column;
    align-items: stretch;
}
.wp-container-content-d8344436 {
    grid-column: span 2;
}
/* Mobile: force all columns to span full width */
@media (max-width: 1200px) {
    .wp-block-group-is-layout-grid {
        grid-template-columns: 1fr;
        /* only one column */
    }

    .wp-container-core-group-is-layout-fe9cc265 {
        grid-column: 1 / -1;
        /* take the full row */
    }
}
.sib_signup_form input[type="submit"] {
    background-color: var(--wp--preset--color--primary);
    border-radius: 16px;
    color: var(--wp--preset--color--base);
    font-family: var(--wp--preset--font-family--museo-moderno-bold);
    font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
}
/* END FORMULAIRE */

.align-middle-image img {
    vertical-align: sub;
}

.inline {
    display: inline;
}

/* Don't let the image block shrink inside a Row */
.wp-block-image.fixed-img {
    flex: 0 0 auto !important;
    /* no shrink, no grow */
}
/* Keep the bitmap exactly the size you set, don't auto-scale down */
.wp-block-image.fixed-img img {
    height: auto;
    max-width: none;
    /* override WP's max-width:100% */
}

.formation-detail-stats {
    overflow:scroll;
    justify-content: flex-start;
}
.formation-detail-stat {
    min-width: 172px;
}

.relative {
    position: relative;
}

.single-post main .wp-block-cover:first-child {
    background-color: var(--wp--preset--color--base);
    overflow-y: visible;
}
.single-post main .wp-block-cover:first-child > img {
    width: 44%;
    right: 0;
    left: auto;
    top: calc(-1 * var(--site-header-h));
    height: calc(100% + var(--site-header-h));
}
.single-blog-post-inside-cover-breadcrumbs {
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto !important;
    margin-right: auto !important;
}
.single-blog-post-inside-cover {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}
.single-blog-post-inside-cover-post-details {
    max-width: 50%;
}
@media (max-width: 767px) {
    .page-id-1782 main .wp-block-cover:first-child > img,
    .single-post main .wp-block-cover:first-child > img {
        display: none;
    }
    .single-blog-post-inside-cover-post-details {
        max-width: unset;
    }
    .single-post main .wp-block-cover {
        min-height: auto;
    }
}

.shiny-outline {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--wp--preset--color--primary), var(--wp--preset--color--primary)) padding-box,
        linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    color: var(--wp--preset--color--primary, #2b1b60);
}

/* START RANKMATH FAQ ACCORDION */
.rm-acc {
    overflow: visible;
}
.rm-acc__item {
    background-color: var(--wp--preset--color--base);
    border: 0px !important;
}
.rm-acc__btn {
    font-family: unset;
}
.rm-acc__btn:hover {
    background-color: var(--wp--preset--color--primary-grey);
    border-radius: 12px;
}
.rm-acc__btn:focus,
.rm-acc__btn:active {
    outline: 2px solid var(--wp--preset--color--black, #3b82f6);
        /* outline-offset: 2px; */
        /* border-radius: 8px; */
}
.rm-acc__panel {
    line-height: 1.6;
}
/* END RANKMATH FAQ ACCORDION */
/* TOC RANKMATH*/
.single-post #rank-math-toc {
    display: flex;
    align-items: center;
}
.single-post  #rank-math-toc > div {
    padding-bottom: 20px;
}
.single-post  #rank-math-toc nav > div {
    display: flex;
    gap: 15px;
    flex-direction: column;
    border-left: 2px solid var(--wp--preset--color--beige-2);
}
.single-post  #rank-math-toc nav a {
    font-size:1rem;
    text-decoration: none;
    line-height: 1.6;
    padding-left: 15px;
    display: block;
    border-left: 2px solid transparent;
    transition: all cubic-bezier(0.4, 0, 1, 1) .3s;
    margin-left: -2px;
}
.single-post  #rank-math-toc nav a:hover, .single-post  #rank-math-toc nav a.active {
    border-left: 2px solid var(--wp--preset--color--primary);
    font-weight:600;
}

/*END TOC RANKMATH */

.proactive-pagination {
    max-width: var(--wp--style--global--content-size);
}
@media (max-width: 767px) {
    .proactive-pagination {
        overflow-x: scroll;
        width: calc(100% + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right)) !important;
        left: calc(var(--wp--style--root--padding-left) * -1);
        padding-left: 5px;
        box-sizing: border-box;
        padding-right: 5px;
    }
}

.contact-hero-img {
    min-height: 100%;
}

.page-contactez-nous .parlez-nous-de-vos-enjeux,
.page-merci .parlez-nous-de-vos-enjeux {
    display: none;
}

.page-contactez-nous form input[type="submit"] {
    width: auto;
}

@media (max-width: 767px) {
    .page-contactez-nous .contact-hero-col2,
    .page-merci .contact-hero-col2 {
        margin-right: calc(var(--wp--style--root--padding-right) * -1);
        margin-left: calc(var(--wp--style--root--padding-left) * -1);
    }
    .page-merci .contact-hero-img {
        padding-top: var(--wp--preset--spacing--60);
    }
}

@media (max-width: 767px) {
    .footer-chez-proactive-academy {
        border-right: none;
        border-bottom: 1px solid var(--wp--preset--color--primary-medium);
        padding-bottom: var(--wp--preset--spacing--30);
    }
}

.page-template-page-no-hero-img .entry-content p {
    margin-bottom: 2rem;
}
.page-template-page-no-hero-img .entry-content hr {
    margin-bottom: 2rem !important;
}
.page-template-page-no-hero-img .entry-content p {
    margin-bottom: 1rem;
}
.page-template-page-no-hero-img .entry-content h2,
.page-template-page-no-hero-img .entry-content h3,
.page-template-page-no-hero-img .entry-content h4,
.page-template-page-no-hero-img .entry-content h5,
.page-template-page-no-hero-img .entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.grid-x-direction {
    overflow-x: hidden;
    grid-auto-flow: column;
    grid-auto-columns: min-content;
}
.grid-x-direction .about-grid-block {
    min-width: 344.25px;
    max-width: 344.25px;
}

@media (max-width: 767px) {
    .grid-x-direction .about-grid-block {
        min-width: 180px;
        max-width: 180px;
    }
}

@media (max-width: 767px) {
    .qui-sommes-nous-engagements-cover {
        min-height: 394px !important;
    }
    .qui-sommes-nous-engagements-col1 {
        width: 100%;
    }
    .qui-sommes-nous-engagements-col2 {
        max-width: fit-content;
    }
}

.none {
    display: none;
}

.team-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* overflow-y: scroll; */ /* causes ugliness on desktop */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.team-modal-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.pointer {
    cursor: pointer;
}

.equipe-image img {
    aspect-ratio: 0.93 !important;
}

.background-purple-p {
    background-image: url(https://dev.proactiveacademy.fr/media-library/proactive-p.svg);
    background-repeat: no-repeat;
    background-size: auto 130%;
    background-position: right;
}

/* BEGIN SEARCH PAGE */
.page-no-hero-img-content-top {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
}
.wp-block-query-pagination.is-layout-flex {
    gap: 25px;
}
.wp-block-query-pagination-numbers {
    gap: 25px;
    display: flex;
    align-items: center;
}
.wp-block-query-pagination-numbers a {
    text-decoration: none;
    font-size: var(--wp--preset--font-size--small);
}
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    width: 40px;
    height: 40px;
    background-color: var(--wp--preset--color--primary);
    border-radius: 50%;
    color: var(--wp--preset--color--base);
    line-height: 40px;
}
.wp-block-query-pagination-previous-arrow {
    margin-right: 0;
    margin-left: 1ch;
}
.wp-block-query-pagination-numbers {
    font-family: var(--wp--preset--font-family--instrument-sans-semibold);
}
.wp-block-query-pagination-numbers .current {
    border: 2px solid transparent;
    border-radius: 16px;
    background:
        linear-gradient(var(--wp--preset--color--base, #fff), var(--wp--preset--color--base, #fff)) padding-box,
        linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    color: var(--wp--preset--color--primary, #2b1b60);
    width: 30px;
    display: inline-block;
    text-align: center;
    height: 30px;
    line-height: 29px;
    font-size: var(--wp--preset--font-size--small);
}
/* END SEARCH PAGE */
.home-animated-banner {
    overflow-y: hidden;
}

/* Mobile header */
@media (max-width: 767px) {
    .site-header {
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
        border-bottom: none !important;
        /* background-color: transparent !important; */
    }
}
/* end mobile header */

@media (max-width: 767px) {
    .tax-formation_category .wp-site-blocks > main > .wp-block-spacer {
        height: 50px !important;
    }
}

header .wp-block-search__button {
    padding-top: 0;
    padding-bottom: 0;
}

body.page-formation,
body.tax-formation_category,
body.blog,
body.archive.category,
body.page-template-page-no-hero-img,
body.search,
body.error404 {
    background-color: var(--wp--preset--color--black);
}
body.page-formation main,
body.tax-formation_category main,
body.blog main,
body.archive.category main,
body.page-template-page-no-hero-img main,
body.search main {
    background-color: var(--wp--preset--color--site-bg);
}

body.single-post {
    background-color: var(--wp--preset--color--base);
}
/* START DARK MODE HEADER */
/* 
.page-formation
.tax-formation_category
.blog 
.page-template-page-no-hero-img 
.search 
.error404 
.page-contactez-nous 
*/
body:is(
        .page-formation,
        .tax-formation_category,
        .blog,
        .archive.category,
        .page-template-page-no-hero-img,
        .search,
        .error404,
        .page-contactez-nous
    ) .site-header.is-translucent:not(.is-submenu-open) {
    background-color: rgba(29, 17, 53, 0.1); /* theme "black" */
    backdrop-filter: blur(50px);
}
/* body:is(
        .page-formation,
        .tax-formation_category,
        .blog,
        .archive.category,
        .page-template-page-no-hero-img,
        .search,
        .error404,
        .page-contactez-nous
    ) .site-header.is-sticky:not(.is-submenu-open)
{
    background-color: rgba(29, 17, 53, 0.65);
    backdrop-filter: saturate(180%) blur(50px);
} */
body:is(
        .page-formation,
        .tax-formation_category,
        .blog,
        .archive.category,
        .page-template-page-no-hero-img,
        .search,
        .error404,
        .page-contactez-nous
    )
    .site-header.is-translucent:not(.is-submenu-open)
    :is(
        .header-logo img,
        .mobile-header-logo img,
        .proactive-menu-row .wp-block-navigation-item__label,
        nav.mobile-menu button svg,
        .desktop-search-button .wp-block-search__button,
        .header-button-phone,
        .header-button-formations
    ),
    /* following selector because "before" not allowed inside "is" */
    body:is(.page-formation,
        .tax-formation_category,
        .blog,
        .archive.category,
        .page-template-page-no-hero-img,
        .search,
        .error404,
        .page-contactez-nous) .site-header.is-translucent:not(.is-submenu-open) nav.mobile-menu button.wp-block-navigation__responsive-container-open::before
    {
    filter: brightness(0) invert(1);
}
body:is(
        .page-formation,
        .tax-formation_category,
        .blog,
        .archive.category,
        .page-template-page-no-hero-img,
        .search,
        .error404,
        .page-contactez-nous
    )
    .site-header.is-translucent:not(.is-submenu-open) .mobile-header-contact-button img {
    filter: brightness(1) invert(1);
}
body:is(
        .page-formation,
        .tax-formation_category,
        .blog,
        .archive.category,
        .page-template-page-no-hero-img,
        .search,
        .error404,
        .page-contactez-nous
    )
    .site-header.is-translucent:not(.is-submenu-open)
    :is(
        .contact-button .wp-block-button__link,
        .mobile-header-contact-button .wp-block-button__link
    ) {
    background: linear-gradient(var(--wp--preset--color--base), var(--wp--preset--color--base)) padding-box,
        linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    color: var(--wp--preset--color--black);
}
/* END DARK MODE HEADER */

/* START ACCUEIL PAGE (retours design) */
@media (max-width: 1200px) {
    .page-accueil .row-collaborateurs-logos {
        justify-content: flex-start;
    }
    .row-collaborateurs-logos {
        flex-wrap: wrap;
        gap: 20px 30px;
    }
    .row-collaborateurs-logos img {
        max-height: 50px;
        width: auto !important;
        max-width: 100px;
    }
}
.row-accueil-des-formations {
    align-items: stretch;
}
.accueil-des-formations-image {
    max-height: none;
    max-width: none;
}
.accueil-des-formations-image img {
    width: auto;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 1200px) {
    .group-accueil-des-formations {
        padding: 50px !important;
    }
}
@media (max-width: 767px) {
    .row-accueil-des-formations {
        flex-wrap: wrap;
    }
    .group-accueil-des-formations {
        padding: 24px !important;
    }
}
@media (max-width: 767px) {
    .columns-title-button .wp-block-buttons {
        justify-content: flex-start;
    }
}
.formation-card:hover {
    filter: none;
}
.blog-post-card:hover,
.formation-card:hover > div {
    outline: 2px solid var(--wp--preset--color--beige-2);
}
.blog-post-card:hover .shiny-outline,
.formation-card:hover .shiny-outline.formation-card-button {
    filter: brightness(1.05);
    background: linear-gradient(0deg, #B9477C -54%, var(--wp--preset--color--primary, #2b1b60) 54%) padding-box, linear-gradient(135deg, #513A7D, #B9477C, #CF98A2) border-box;
    background-color: var(--wp--preset--color--primary);
}
.blog-post-card figure {
    aspect-ratio: 3.52 / 2.16 !important;
    max-width: 100%;
}
.blog-post-card,
.submenu-formation-card {
    position: relative;
    /* transition: all 0.3s ease; */
}
.submenu-formation-card:hover {
    background-color: var(--wp--preset--color--primary);
}
.submenu-formation-card:hover h5,
.submenu-formation-card:hover p {
    color: var(--wp--preset--color--base);
}
.submenu-formation-card .wp-block-post-excerpt__more-link {
    display: none;
}
.blog-post-card .stretched-link,
.submenu-formation-card .stretched-link {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
    /* hide the visible text but keep it for a11y */
    color: inherit;
    overflow: hidden;
    text-indent: -9999px;
}
.blog-post-card .has-design-title-level-6-font-size a {
    font-size: 20px;
}
@media (max-width: 600px) { /* matches the CSS rule which sets grid-template-columns: 1fr; */
    .blog-post-card {
        min-height: auto !important;
    }
    .blog-post-card .blog-post-card-bottom-half {
        min-height: auto !important;
    }
}

.grid-x-direction .avis-card {
    min-width: 384px;
    max-width: 384px;
}
@media (max-width: 767px) {
    .grid-x-direction .avis-card {
        min-width: 296px;
        max-width: 296px;
    }
}

.arrow-scroll {
    --arrow-scroll-amount: 359px;
}
@media (max-width: 767px) {
    .arrow-scroll {
        --arrow-scroll-amount: 331px;
    }
}
.grid-x-direction .temoignage-card {
    min-width: 359px;
    max-width: 359px;
}
@media (max-width: 767px) {
    .grid-x-direction .temoignage-card {
        min-width: 311px;
        max-width: 311px;
    }
    .grid-x-direction .temoignage-card:first-child {
        margin-left: var(--wp--style--root--padding-left);
    }
    .grid-x-direction .temoignage-card:last-child {
        margin-right: var(--wp--style--root--padding-right);
    }
}
.temoignages-grid {
    grid-template-columns: unset;
}
.arrow-scroll-left,
.arrow-scroll-right {
    cursor: pointer;
    transition: all 0.3s ease;
}
.arrow-scroll-left img {
    transform: rotate(180deg);
}
.arrow-scroll-left.disabled,
.arrow-scroll-right.disabled {
    opacity: 1;
    background: none;
    background-color: var(--wp--preset--color--beige-2) !important;
}
.arrow-scroll-left.disabled img,
.arrow-scroll-right.disabled img {
    filter: brightness(0) invert(0.6);
}
.temoignages-wrapper:has(> .arrow-scroll)::before,
.temoignages-wrapper:has(> .arrow-scroll)::after {
    content: '';
    display: block;
    width: 80px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(-90deg, rgba(249, 247, 239, 0) 0%, #F9F7EF 100%);
    transition: opacity 0.2s;
}
.temoignages-wrapper:has(>.arrow-scroll)::after {
    right: 0;
    left: auto;
    background: linear-gradient(90deg, rgba(249, 247, 239, 0) 0%, #F9F7EF 100%);
}
.temoignages-wrapper:has(>.arrow-scroll.has-reached-end-right)::after,
.temoignages-wrapper:has(>.arrow-scroll.has-reached-end-left)::before {
    opacity: 0;
}
@media (max-width: 767px) {
    .temoignages-wrapper:has(> .arrow-scroll)::before,
    .temoignages-wrapper:has(> .arrow-scroll)::after {
        width: 40px;
    }
    .temoignages-wrapper {
        margin-left: calc(var(--wp--style--root--padding-left) * -1) !important; /* negative margin */
        margin-right: 0 !important;
        width: 100vw;
    }
}
/* END ACCUEIL PAGE */
/* START mobile breadcrumbs */
@media (max-width: 767px) {
    nav.proactive-breadcrumbs > * {
        display: none;
    }
    nav.proactive-breadcrumbs > span.crumb.before-current {
        display: block;
    }
    nav.proactive-breadcrumbs>span.crumb.before-current a span.sep {
        display: revert !important;
    }
}
/* END mobile breadcrumbs */

/*surcharge post blog*/
.wp-block-table {
    width: 100%;
    max-width: 100%;
}
.wp-block-table table {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-collapse: collapse;
}
@media (max-width: 980px) {
    .wp-block-table table {
        width: 200% !important;
    }
}
.wp-block-table table td, .wp-block-table table th {
    line-height: 1;
    max-width: 300px;
}

/* mobile menu close button */
nav.mobile-menu button.wp-block-navigation__responsive-container-open:has(+ div.is-menu-open) svg {
    display: none;
}
nav.mobile-menu button.wp-block-navigation__responsive-container-open:has(+ div.is-menu-open)::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" focusable="false"><path d="m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"></path></svg>') no-repeat center / contain;
}

/* home hero */
.home-animated-banner.wp-block-cover {
    padding: 0;
    min-height: 84vh;
    max-height: 84vh;
}
.home-animated-banner .wp-block-cover__inner-container {
    align-self: stretch;
}
@media (max-width: 767px) {
    .home-animated-banner.wp-block-cover {
        min-height: 0;
        max-height: none;
        padding: var(--wp--preset--spacing--20);
        border-top-right-radius: 24px;
        border-top-left-radius: 24px;
    }
    .home-animated-banner .wp-block-cover__inner-container > .wp-block-group {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .home-animated-banner .wp-block-cover__inner-container .x-scroll-set > .wp-block-group {
        min-width: 303px;
    }
}

.single-post .entry-content h2 {
    margin-bottom: 24px;
}
.position-absolute-top-left {
    position: absolute;
    top: 45px;
    z-index: 99;
}
.position-absolute-bottom-right {
    position: absolute;
    bottom: 45px;
    right: 10px;
}

/* START Numbered details elements */
.details-numerotes {
    counter-reset: details-counter;
    --detail-numerote-group-margin-right: 50px;
    --detail-numerote-group-margin-left: 40px;
}
.details-numerotes details summary {
    counter-increment: details-counter;
    list-style: none;
    margin-right: var(--detail-numerote-group-margin-right);
    margin-left: var(--detail-numerote-group-margin-left);
    position: relative;
}
.details-numerotes details summary::before {
    content: counter(details-counter);
    color: var(--wp--preset--color--secondary-light);
    background-color: var(--wp--preset--color--secondary-dark);
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 16px;
    text-align: center;
    line-height: 30px;
    position: absolute;
    left: calc(var(--detail-numerote-group-margin-left) * -1);
    top: -3px;
}
.details-numerotes details summary::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(https://dev.proactiveacademy.fr/media-library/chevron-down-purple.png);
    position: absolute;
    top: 0;
    right: calc(var(--detail-numerote-group-margin-right) * -1);
    transition: transform 0.3s ease;
}
.details-numerotes details[open] summary::after {
    transform: rotate(180deg);
}
/* END Numbered details elements */

.team-card > .wp-block-group:first-child {
    min-height: 100%;
}

.eb-item .is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
}
.eb-item .session-card-dates-group {
    display: flex;
    align-items: center;
}

.preinscription-date-group {
    text-align: center;
}