@import url('/wp-content/themes/cqjdc-2025-block/assets/css/fonts.css');
@import url('/wp-content/themes/cqjdc-2025-block/assets/css/general.css');

.section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}

.section__left--image {
    margin-right: 100px;
    border-bottom-right-radius: 250px;
    background-color: #ff7800;
    padding-bottom: 30px;
}

.section__left--image img {
    display: block;
    border-bottom-right-radius: 250px;
    max-width: 100%;
}

.section__right--image img {
    display: block;
    border-top-left-radius: 250px;
    max-width: 100%;
    margin-bottom: 0;
}

.section__right--image {
    margin-left: 100px;
    border-top-left-radius: 250px;
    background-color: #0078C9 ;
    padding-top: 30px;
}

.section__left--content {
    max-width: 650px;
    margin-left: 150px;
}

.section__right--content {
    max-width: 650px;
    margin-right: 150px;
}

.section__right--content h2 {
    color: #ff7800;
}

.main__content>section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

.home-activities,
.speaker-bio {
    background: #e5f1f9;
}

.home-resources {
    background: #fff6ed;
}

/* .home-resources,
.home-activities,
.all-activities {
    padding-top: 90px;
}

.home-resources,
.home-activities,
.all-activities {
    padding-bottom: 150px;
} */

/* .home-activities, .all-activities {
    padding-bottom: 90px;
} */

/* .optimal-content-width,
.optimal-content-width-list {
    margin: 0 50px;
    max-width: calc(100% - (2 * 50px));
} */

.optimal-content-width-list {
    width: 1215px;
}

.home-activities h2.section-title,
.all-activities h2.section-title {
    color: #0078c9;
}

.home-resources h2.section-title {
    color: #ff7800;
}


.section-title {
    font-size: 36px;
    margin-bottom: 35px;
}

.elements-list {
    width: 100%;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 385px));
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    overflow: visible;
}

.elements-list--cards {
    padding: 16px 12px 32px;
    overflow: visible;
}

.single-element-card-wrap {
    overflow: visible;
    padding: 0 6px 6px;
    border-radius: 15px;
    -webkit-box-shadow: 0 4px 15px 2px rgba(0, 120, 201, .25);
    box-shadow: 0 4px 15px 2px rgba(0, 120, 201, .25);
}

.elements-list--cards > .single-element-card-wrap > .single-element {
    overflow: visible;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.elements-list--cards > .single-element {
    overflow: visible;
}

section.blocs:has(.elements-list--cards),
section.full-content-width:has(.elements-list--cards),
section.blocs:has(.elements-list--cards) .full-content-width,
section.blocs:has(.elements-list--cards) .bloc__content,
section.blocs:has(.elements-list--cards) .bloc-text__content,
section.blocs:has(.elements-list--cards) .content-writable-full,
.full-content-width .optimal-content-width:has(.elements-list--cards),
.bloc-text__content:has(.elements-list),
.content-writable-full:has(.elements-list),
.content-writable:has(.elements-list),
.wp-block-cqjdcblocktheme-revues,
.wp-block-cqjdcblocktheme-toutesrevues {
    overflow: visible;
}

section.blocs:has(.elements-list--cards):not(.section-type-1) {
    padding-bottom: 48px;
}

section.full-content-width:has(.elements-list--cards) .optimal-content-width > div {
    overflow: visible;
}

/* Ensure grid doesn't overflow on smaller screens */
@media (max-width: 991px) {
    .elements-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .elements-list.four-columns,
    .elements-list.three-columns {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 20px !important;
    }

    .bloc-mini-cards__tile-content {
        padding: 15px !important;
    }
}

/* Very small screens - single column layout */
@media (max-width: 480px) {
    .elements-list {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .elements-list.four-columns,
    .elements-list.three-columns {
        grid-template-columns: 1fr !important;
    }
}

.elements-list.four-columns {
    width: 100%;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    overflow: visible;
}

.elements-list.three-columns {
    width: 100%;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    overflow: visible;
}

.single-element {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* justify-content: space-between; */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: #fff;
    border-radius: 15px;
    -webkit-box-shadow: 0 4px 15px 2px rgba(133, 133, 133, .25);
    box-shadow: 0 4px 15px 2px rgba(133, 133, 133, .25);
    /* margin: 5px; */
    /* border: 1px solid rgba(0,120,201,.55); */
}

.single-element__image-container {
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
    overflow: hidden;
}

.single-element__image-container_revue {
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: contain;
    overflow: hidden;
}

.single-element__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    padding: 30px 0;
    min-height: 300px;
}

.single-element.revues {
    height: 100%;
}

.revues .single-element__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.revues .single-element__resume {
    flex: 1 1 auto;
    min-height: 80px;
    max-height: 150px;
    margin-right: 25px;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    border-radius: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    word-wrap: break-word;
}

.revues .single-element__resume p {
    margin: 0 0 0.75em;
}

.revues .single-element__resume p:last-child {
    margin-bottom: 0;
}

.single-element.revues > .single-element__footer {
    margin-top: auto;
}

/* Formation cards: pin price + button row to bottom */
.single-element:not(.revues):not(.ressource) {
    height: 100%;
}

.single-element:not(.revues):not(.ressource) .single-element__body {
    flex: 1 1 auto;
}

.single-element:not(.revues):not(.ressource) > .single-element__footer {
    margin-top: auto;
    width: 100%;
}

.revues .single-element__date {
    margin-top: -5px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .single-element__body {
        min-height: 0;
    }
}

.single-element__body h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 2px;
    padding: 0 30px;
    min-height: 100px;
}

.single-element__resume {
    margin-top: 20px;
    padding: 0 30px;
    font-size: 18px;
    min-height: 80px;
}

.revues .single-element__body h3 {
    min-height: 0;
    font-size: 22px;
    text-align: left;
    margin-bottom: 8px !important;
}

/* .single-element__body h4 {
    padding: 0 30px;
} */

.single-element__sub-title {
    margin-bottom: 0;
}

.center {
    text-align: center;
}

.color-quaternary {
    color: #0078c9;
}

.single-element__body h4.color-quaternary {
    color: #0078c9;
}

.single-element__body h4.center {
    text-align: center;
}

.single-element__body h4 {
    font-size: 18px;
    color: #ff7800;
    font-weight: bold;
    text-align: left;
    /* padding: 0 30px; */
}

.color-primary {
    color: #333;
}

.single-element__boxspeaker {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    min-height: 85px;
    padding: 10px 30px;
    text-align: center;
}

.single-element__speaker {
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
}

.single-element__speaker h4 {
    display: inline-block;
    width: auto;
    max-width: 100%;
    margin: 0;
    color: #000000 !important;
}

/* Formation cards: keep text centered on all screen sizes */
.all-activities .single-element:not(.ressource) .single-element__body h3,
.all-activities .single-element:not(.ressource) .single-element__date,
.home-activities .single-element .single-element__body h3,
.home-activities .single-element .single-element__date {
    text-align: center;
}

.single-element__imagespeaker img {
    width: 80px;
    height: auto;
}

.single-element__date {
    font-size: 18px;
    font-weight: bold;
    color: #ff7800;
    margin-top: 25px;
    min-height: 20px;
}

.revues .single-element__date {
    padding: 0px 30px;
}

.single-element__summary {
    margin-top: 20px;
    padding: 0 30px;
    min-height: 90px;
}

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

.single-element__footer--withPrice {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

.single-element__price {
    font-size: 18px;
    font-weight: bold;
    padding-left: 30px;
}

.single-element__footer .call-to-action {
    border-radius: 0 0 15px 0;
}

.home-resources .see-all,
.home-activities .see-all,
.all-activities .see-all {
    margin-top: 48px;
    text-align: center;
}

.bloc-text__content {
    display: flex;
    justify-content: space-between;
    gap: 5%;
}

.bloc-text__content .content-writable p:last-child {
    margin-bottom: 0;
}

.bloc-text__media {
    flex: 1 1 35%;
    max-width: 35%;
}

.bloc-text__media--image img {
    max-width: 100%;
}

.blocs .content-writable h3,
.blocs .content-writable-full h3 {
    margin: 0px 0px 18px;
}

h3.single-element__title.speaker {
    font-size: 22px !important;
}

.single-element__title.speaker {
    margin: 18px 0 12px !important;
}

.content-writable,
.bio-section {
    flex: 1 1 60%;
    max-width: 60%;
}

.bloc-accordion {
    width: 100%;
    max-width: 100%;
}

.bloc-accordion > .bloc.bloc-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.bloc-accordion .bloc__content-2,
.bloc-accordion .bloc__content-front,
.bloc-accordion .bloc-text__accordion-radio~.bloc-text__accordion-label,
.bloc-accordion .bloc-text__accordion-radio:checked~.bloc-text__content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.bloc-accordion .bloc__content-2 {
    margin-left: 0;
    margin-right: 0;
}

.bloc-accordion .content-writable {
    flex: 1 1 100%;
    max-width: 100%;
}

.bloc-accordion > .bloc.bloc-text + .bloc.bloc-text {
    margin-top: 24px;
}

.bloc-accordion--two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.full-content-width--stretch {
    align-items: stretch;
}

.full-content-width--stretch > .bloc-accordion--two-columns {
    width: 100%;
    max-width: 100%;
}

.bloc-accordion--two-columns > .bloc.bloc-text {
    min-width: 0;
    width: 100%;
    max-width: none;
    margin-top: 0;
}

.bloc-accordion--two-columns > .bloc.bloc-text + .bloc.bloc-text {
    margin-top: 0;
}

.bloc-accordion--two-columns .bloc__content-2 {
    margin-bottom: 0;
}

.content-writable-full {
    flex: 1 1 100%;
    max-width: 100%;
    overflow: visible;
}

.content-writable-full p:last-child {
    margin-bottom: 0;
}

.blocs .content-writable p:not(:last-child),
.blocs .content-writable-full p:not(:last-child),
.bloc-accordion .content-writable p:not(:last-child) {
    margin-bottom: 12px;
}

.bloc-text__content.left {
    flex-direction: row;
}

.bloc-text__content.right {
    flex-direction: row-reverse;
}

/* Columns */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 50px 0;
}

.two-columns>* {
    min-width: 0;
}

.bloc__content {
    padding: 0px 0;
}

/* Buttons row */
.buttons-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.buttons-wrapper .cta-btn {
    margin-top: 0px;
}

.btns--left {
    justify-content: start;
}

.btns--center {
    justify-content: center;
}

.btns--right {
    justify-content: end;
}

/* Banner */
.main__banner {
    width: 100%;
    background-size: cover;
    background-position: center;
    height: 190px;
}

/* Spécialistes */
.specialistes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
}

.specialiste-box {
    display: flex;
    align-items: center;
    gap: 1em;
}

.specialiste-image img {
    width: 100px;
    height: auto;
}

/* Search bar */
.search_formations {
    background: #e5eef8;
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
}

.search_formations form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    width: 100%;
    gap: 20px;
    max-width: initial;
}

.search_formations form>div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.search_formations form>div:not(:last-child) {
    flex: 1;
}

.search_formations label {
    color: #0078C9 ;
    font-weight: bold;
    font-size: 22px;
    font-family: 'Nunito', sans-serif;
}

.search_formations select,
.search_formations button {
    width: 100%;
}

.search_formations form select {
    cursor: pointer;
    padding: .25em 2em .25em 1em;
    box-shadow: 0 4px 8px 2px rgba(133, 133, 133, .15);
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('../images/icons/dropdown.png');
    background-repeat: no-repeat;
    background-position: right 0.8em center;
    background-size: 1em;
    border: none;
    border-radius: 10px;
    color: #333;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    height: 50px;
    opacity: 1;
}

/* Categories tabs */
.activity-tabs ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.activity-tabs li a {
    display: block;
    padding: 10px 20px;
    border-radius: 10px;
    background: #e5eef8;
    color: #0078C9 ;
    text-decoration: none;
    font-weight: bold;
}

.activity-tabs li a.active {
    background: #0078C9 ;
    color: #fff;
}

.formation-category {
    padding: 50px 0;
}

.activity-type-title {
    margin-bottom: 35px;
    font-size: 36px;
    color: #0078C9 ;
}

/* Ressources */
.ressource-body {
    min-height: 150px;
}

.single-element.ressource {
    height: 100%;
}

.single-element.ressource .single-element__body {
    flex: 1 1 auto;
}

.single-element.ressource > .single-element__footer {
    margin-top: auto;
    width: 100%;
}

.ressource-body h3.single-element__title {
    min-height: auto !important;
    margin-bottom: 8px;
    color: #0078C9;
}

.ressource-body .single-element__sub-title {
    font-size: 18px;
    color: #ff7800 !important;
    padding: 0 30px;
    line-height: 1.4;
}

.ressource-body .single-element__sub-title p,
.ressource-body .single-element__sub-title a,
.ressource-body .single-element__sub-title strong,
.ressource-body .single-element__sub-title b,
.ressource-body .single-element__sub-title em,
.ressource-body .single-element__sub-title span {
    color: #ff7800 !important;
}

.ressource-body .single-element__sub-title p {
    margin: 0;
}

.ressource-body .single-element__sub-title p + p {
    margin-top: 0.5em;
}

/* Bio membre équipe */
.two-columns-bio {
    display: flex;
    gap: 2rem;
    padding: 50px 0;
}

.two-columns-bio>div {
    flex: 1 1 50%;
    min-width: 0;
}

.two-columns-bio > div:only-child {
    flex: 1 1 100%;
}

.two-columns-bio .bloc-accordion,
.two-columns-bio .bloc.bloc-text,
.two-columns-bio .bloc__content-2 {
    width: 100%;
}

.bio-content {
    margin: 50px 0;
}

.bloc-text__accordion-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    clear: both;
    cursor: pointer;
    border-radius: 15px;
}

.bloc-text__accordion-label h2 {
    margin-bottom: 12px;
}

.section-activites,
.section-ressources {
    background-color: #e5f1f9;
    border-radius: 15px;
}

/* .section-activites ul,
.section-ressources ul {
    margin-left: 12px;
} */

.bio-content h4 {
    color: #0078C9 ;
    margin-top: 30px;
}

/* Speakers cards */
.bloc-mini-cards__tile-content {
    padding: 30px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-height: 100px;
}

.elements-list.four-columns:not(:last-child),
.elements-list.three-columns:not(:last-child) {
    margin-bottom: 100px;
}

/* Page équipe */
.buttons-wrapper.membres-equipe {
    margin-bottom: 30px;
}

/* Page partners */
.single-element__header.partners .single-element__image-container {
    background-size: contain !important;
    overflow: hidden;
}

.single-element__header.partners {
    padding: 2px 30px;
}

.partner-admin-title {
    background: #ffeeba;
    border: 1px solid #f0ad4e;
    margin: 16px;
    padding: 10px !important;
    min-height: auto !important;
}

.partner-admin-title__badge {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 10px;
    background: #f0ad4e;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.partner-admin-title .single-element__title {
    margin: 0;
    font-size: 18px;
}

body .wp-block-group.is-layout-flex,
body .wp-block-columns.is-layout-flex,
body .is-layout-flex {
    gap: 50px;
    align-items: flex-start;
}

.see-all.tablet-only {
    display: none;
}

.see-all.desktop-mobile-only {
    display: block;
}

/* Projets */
.section-projets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.section-projets a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.section-projets img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.section-projets a:hover img {
    transform: scale(1.05);
}

/* Plan du site */
.plan-du-site .menu-item a[href="#"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none !important;
    color: #000000;
}

.plan-du-site #mainSearchBtn {
    display: none;
}

/* Search */
.results-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.results-row .one-third h2 {
    font-size: 24px;
}

.results-row .one-third h2:not(:first-child) {
    margin-top: 30px;
}

.results-row .one-third li {
    margin-bottom: 10px;
}

.plus-resultats {
    border: 1px solid #ff7800;
    padding: 10px 11px;
    text-decoration: none;
    display: inline-block;
    border-radius: 15px;
    margin-top: 15px;
    width: fit-content;
    color: #ff7800;
}

/* Responsive Design - Following existing breakpoint pattern */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .section {
        flex-direction: column;
        align-items: start;
        gap: 40px;
    }

    .section.reverse {
        flex-direction: column-reverse;
    }

    .section__left--image,
    .section__right--image {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .section__left--image img,
    .section__right--image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .section__left--content,
    .section__right--content {
        margin: 0;
        max-width: 100%;
        padding: 0 20px;
    }

    /* .section__right--content {
        margin-right: 20px !important;
    }

    .section__left--content {
        margin-left: 20px !important;
    } */

    .bloc-text__content {
        flex-direction: column;
        gap: 30px;
    }

    .bloc-text__media {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .content-writable,
    .bio-section {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bloc-accordion--two-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .specialistes {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .search_formations form {
        flex-direction: column;
        align-items: stretch;
    }

    .search_formations form>div {
        width: 100%;
    }

    .activity-tabs ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .results-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-projets {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .section__left,
    .section__right {
        width: 100%;
    }

    .section__left--image img,
    .section__right--image img {
        border-radius: 0px;
    }

    .section__left--image,
    .section__right--image {
        border-radius: 0px;
        padding: 15px 0;
    }

    .elements-list {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        -webkit-box-pack: center;
        gap: 20px;
    }

    /* .single-element__body h4 {
        padding: 0 70px;
    }
 */
    .see-all.tablet-only {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0px;
    }

    .see-all.desktop-mobile-only {
        display: none;
    }
}

/* Tablets */
@media (max-width: 991px) {

    .single-element__body h4 {
        text-align: left;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .elements-list.four-columns,
    .elements-list.three-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .single-element__body h3,
    .single-element__body h4,
    .single-element__resume,
    .ressource-body .single-element__sub-title {
        padding: 0 20px;
    } */

    .single-element__body {
        padding: 20px 0;
    }

    .single-element__date {
        padding: 0 15px;
        min-height: 0;
    }

    .single-element__image-container,
    .single-element__image-container_revue {
        height: 300px;
    }

    .bloc-text__content.left,
    .bloc-text__content.right {
        flex-direction: column;
    }

    .buttons-wrapper {
        justify-content: center;
        align-items: center;
        margin-top: 30px;
    }

    .buttons-wrapper.btns--left {
        justify-content: flex-start;
    }

    .buttons-wrapper.btns--right {
        justify-content: right;
    }

    .main__banner {
        width: 100%;
        max-height: 190px;
    }

    .search_formations {
        padding: 25px;
    }

    .search_formations label {
        font-size: 22px;
    }

    .activity-type-title {
        font-size: 28px;
    }

    .bloc-text__accordion-radio~.bloc-text__accordion-label {
        padding: 15px 20px;
    }

    .bloc-text__accordion-radio~.bloc-text__accordion-label h2 {
        font-size: 20px;
    }

    /* .single-element__boxspeaker {
        min-height: 0;
    } */

    .ressource-body {
        min-height: 0px;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    .section {
        gap: 30px;
    }

    .main__banner {
        max-height: 150px;
    }


    .section__left--image,
    .section__right--image {
        border-radius: 0px;
        padding: 15px 0;
    }

    .section__left--image img,
    .section__right--image img {
        border-radius: 0px;
    }

    .section__left--content,
    .section__right--content {
        padding: 0 15px;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .elements-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .elements-list.four-columns,
    .elements-list.three-columns {
        grid-template-columns: 1fr;
    }

    .single-element__body h3 {
        padding: 0 15px;
        text-align: left;
        font-size: 20px;
        /* min-height: 0; */
    }

    .single-element__body h4,
    .single-element__resume {
        /* padding: 0 15px; */
        text-align: left;
    }

    .ressource-body .single-element__sub-title {
        padding: 0 15px;
    }

    .single-element__date {
        padding: 0 15px;
        min-height: 0;
    }

    .ressource-body {
        min-height: 0px;
    }

    .single-element__boxspeaker {
        /* min-height: 0; */
        padding: 10px 15px;
        justify-content: center;
    }

    .single-element__body {
        padding: 15px 0;
    }

    .single-element__image-container,
    single-element__image-container_revue {
        height: 250px;
    }

    .single-element__summary {
        padding: 0 15px;
        min-height: 70px;
    }

    .single-element__price {
        padding-left: 15px;
    }

    .bloc-text__content {
        gap: 20px;
    }

    .two-columns {
        gap: 1rem;
        padding: 30px 0;
    }

    .two-columns-bio {
        flex-direction: column;
        gap: 1rem;
        padding: 30px 0;
    }

    .two-columns-bio>div {
        flex: 1 1 100%;
    }

    .buttons-wrapper {
        gap: 8px;
        margin-top: 20px;
    }

    .specialiste-box {
        flex-direction: column;
        align-items: start;
        gap: 0.5em;
    }

    .specialiste-image img {
        width: 80px;
    }

    .search_formations {
        padding: 35px;
        margin-bottom: 20px;
    }

    .search_formations label {
        font-size: 22px;
    }

    .activity-tabs ul {
        flex-direction: column;
        gap: 8px;
    }

    .activity-tabs li a {
        padding: 8px 15px;
        font-size: 14px;
    }

    .activity-type-title {
        margin-bottom: 25px;
    }

    .formation-category {
        padding: 30px 0;
    }

    .bio-content {
        margin: 30px 0;
    }

    .bloc-text__accordion-radio~.bloc-text__accordion-label {
        padding: 12px 16px;
        gap: 12px;
    }

    .bloc-text__accordion-radio~.bloc-text__accordion-label h2 {
        font-size: 18px;
    }

    .results-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section-projets {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .elements-list.four-columns:not(:last-child),
    .elements-list.three-columns:not(:last-child) {
        margin-bottom: 50px;
    }

    .border-top.membres-equipes:not(:first-of-type) {
        margin-bottom: 50px;
    }

    .section-activites,
    .section-ressources {
        padding: 20px;
    }

    .section-activites ul,
    .section-ressources ul {
        margin-left: 0px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .section {
        gap: 20px;
    }

    .see-all.tablet-only {
        display: none;
    }

    .see-all.desktop-mobile-only {
        display: block;
    }

    .single-element__body h3,
    .single-element__boxspeaker,
    .single-element__resume {
        min-height: 0px;
    }

    /* .cta-btn {
        padding: 15px 20px;
    } */

    /* .section__left--image,
    .section__right--image {
        border-radius: 75px;
        padding: 10px;
    } */

    /* .section__left--image img,
    .section__right--image img {
        border-radius: 75px;
    } */

    .section__left--content,
    .section__right--content {
        padding: 0 10px;
    }

    .section-title {
        margin-bottom: 15px;
    }

    .single-element__body {
        padding: 10px 0;
    }

    .single-element__image-container,
    .single-element__image-container_revue {
        height: 250px;
    }

    .single-element__summary {
        padding: 0 10px;
        min-height: 60px;
        font-size: 14px;
    }

    .bloc-text__content {
        gap: 15px;
    }

    .two-columns {
        gap: 0.5rem;
        padding: 20px 0;
    }

    .two-columns-bio {
        gap: 20px;
        padding: 20px 0;
    }

    .buttons-wrapper {
        gap: 6px;
        margin-top: 15px;
    }

    .specialiste-image img {
        width: 60px;
    }

    .search_formations {
        padding: 35px;
        margin-bottom: 15px;
    }

    .search_formations label {
        font-size: 22px;
    }

    .activity-tabs li a {
        padding: 6px 12px;
        font-size: 12px;
    }

    .activity-type-title {
        margin-bottom: 20px;
    }

    .formation-category {
        padding: 20px 0;
    }

    .bio-content {
        margin: 20px 0;
    }

    .bloc-text__accordion-radio~.bloc-text__accordion-label {
        padding: 10px 12px;
        gap: 10px;
    }

    .bloc-text__accordion-radio~.bloc-text__accordion-label h2 {
        font-size: 18px;
    }

    .bloc-text__accordion-radio:checked~.bloc-text__content {
        padding: 2px 24px 12px;
    }
}

/* Large desktops - maintain existing four-column layout */
@media only screen and (max-width: 1200px) {
    .elements-list.four-columns {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Accordéon */

.accordeon-editor {
    background-color: #e5f1f9;
    padding: 20px;
    border: 1px solid black;
}

.bloc__content-2 {
    margin-bottom: 30px;
}

section.blocs .bloc:not(.bloc--bleed) .bloc__content-2,
.bloc-accordion .bloc .bloc__content-2 {
    position: relative;
}

section.blocs .bloc .bloc__content-2>*:first-child,
.bloc-accordion .bloc .bloc__content-2>*:first-child {
    margin-top: 0;
}

section.blocs .bloc .bloc__content-front,
.bloc-accordion .bloc .bloc__content-front {
    margin-top: 16px;
}

[type=checkbox],
[type=radio] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

.bloc-text__accordion-radio~.bloc-text__accordion-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    border-radius: 15px;
    padding: 20px 24px;
    box-sizing: border-box;
    gap: 16px;
}

.bloc-text__accordion-radio~.bloc-text__accordion-label:not([class*="bg--"]) {
    background: #e5f1f9;
}

.bloc-accordion .accordion-panel-text,
.bloc-accordion .accordion-panel-text :where(p, h1, h2, h3, h4, h5, h6, li),
.bloc-accordion .accordion-panel-text a:not([class]):not(:has([class*="-color"])):not(.has-inline-color),
.bloc-accordion .accordion-panel-text a:not([class]):not(:has([class*="-color"])):not(.has-inline-color):link,
.bloc-accordion .accordion-panel-text a:not([class]):not(:has([class*="-color"])):not(.has-inline-color):visited {
    color: var(--accordion-text-color) !important;
    -webkit-text-decoration-color: var(--accordion-text-color) !important;
    text-decoration-color: var(--accordion-text-color) !important;
}

section.blocs .bloc .bloc__content-title,
.bloc-accordion .bloc .bloc__content-title {
    font-size: 36px;
    font-family: "Nunito", sans-serif;
    font-weight: bold;
    line-height: .9em;
    margin: calc(-0 * .2) 0 0 0 !important;
}

section.blocs .bloc .bloc__content-title.headline--orange,
.bloc-accordion .bloc .bloc__content-title.headline--orange {
    color: #ff7800;
}

section.blocs .bloc .bloc__content-title.headline--blue,
section.blocs .bloc .bloc__content-title.headline--saturated-blue,
.bloc-accordion .bloc .bloc__content-title.headline--blue,
.bloc-accordion .bloc .bloc__content-title.headline--saturated-blue {
    color: #0078c9;
}

section.blocs .bloc .bloc__content-title.headline--black,
.bloc-accordion .bloc .bloc__content-title.headline--black {
    color: #000000;
}

section.blocs .bloc .bloc__content-title.headline--white,
.bloc-accordion .bloc .bloc__content-title.headline--white {
    color: #ffffff;
}

section.blocs .bloc .bloc__content-title.headline--baby-blue,
.bloc-accordion .bloc .bloc__content-title.headline--baby-blue {
    color: #e5f1f9;
}

section.blocs .bloc .bloc__content-title.headline--baby-yellow,
.bloc-accordion .bloc .bloc__content-title.headline--baby-yellow {
    color: #fff6ed;
}

section.blocs .bloc .bloc__content-title.headline--bright-blue,
.bloc-accordion .bloc .bloc__content-title.headline--bright-blue {
    color: #3598db;
}

.bloc-text__accordion-radio~.bloc-text__accordion-label h2 {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    font-size: 24px;
    white-space: normal;
    overflow-wrap: break-word;
}

.bloc-text__accordion-radio:checked~.bloc-text__accordion-label .bloc-text__accordion--plus {
    display: none;
}

.bloc-text__accordion-radio~.bloc-text__accordion-label .bloc-text__accordion--plus {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: transparent;
}

.bloc-text__accordion-label .bloc-text__accordion--plus,
.bloc-text__accordion-label .bloc-text__accordion--minus {
    width: 48px;
    height: 48px;
    background-color: transparent;
}

.bloc-text__accordion-label span {
    flex-shrink: 0;
}

.bloc-text__summary-label span,
.bloc-text__accordion-label span {
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    float: right;
    color: #333;
    width: 24px;
    height: 24px;
}

.bloc-text__accordion-radio:checked~.bloc-text__accordion-label .bloc-text__accordion--minus {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.bloc-text__accordion-radio~.bloc-text__accordion-label .bloc-text__accordion--minus {
    display: none;
    background: transparent;
}

.bloc-text__accordion-radio~.bloc-text__accordion-label .bloc-text__accordion--plus:after,
.bloc-text__accordion-radio~.bloc-text__accordion-label .bloc-text__accordion--minus:after {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    background-color: var(--accordion-heading-color, #0078C9);
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
}

.bloc-text__accordion-radio~.bloc-text__accordion-label .bloc-text__accordion--plus:after {
    -webkit-mask-image: url("../images/icons/plus-lg.svg");
    mask-image: url("../images/icons/plus-lg.svg");
}

.bloc-text__accordion-radio~.bloc-text__accordion-label .bloc-text__accordion--minus:after {
    -webkit-mask-image: url("../images/icons/dash-lg.svg");
    mask-image: url("../images/icons/dash-lg.svg");
}

.bloc-text__accordion-radio~.bloc-text__content {
    display: none;
}

.bloc-text__content>.content-writable {
    font-size: 18px;
}

.bloc-text__accordion-radio:checked~.bloc-text__content {
    display: block;
    overflow: hidden;
    padding: 2px 24px 16px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    margin-top: -10px;
}

.bloc-text__accordion-radio:checked~.bloc-text__content:not([class*="bg--"]) {
    background: #e5f1f9;
}

.no-bottom-padding {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.no-top-padding {
    padding-top: 0px !important;
    margin-top: 0px !important;
}

.justify-between-columns {
    justify-content: space-between;
}