/**
 * Creajeux Modules - Watermark Styles
 * Styles pour le watermark sur les Rows Themify Builder
 */

/* Base pour les Rows avec watermark */
.cj-has-watermark {
    position: relative !important;
}

/* Overflow hidden seulement en frontend (pas dans le builder) */
body:not(.themify_builder_active) .cj-has-watermark {
    overflow: hidden;
}

.module_row.cj-row-bg-dark {
    background-color: #0b0a09 !important;
}

.cj-metiers-tri-section {
    padding-top: clamp(78px, 8vw, 136px) !important;
    padding-bottom: clamp(82px, 8.5vw, 148px) !important;
}

.cj-metiers-tri-section__heading {
    max-width: min(900px, 100%);
    margin-bottom: clamp(38px, 4.5vw, 76px);
}

.cj-metiers-tri-section__heading .cj-sectitle__text {
    font-size: clamp(48px, 5.4vw, 82px);
}

.cj-metiers-tri-section .cj-infoboard--compact-note {
    align-items: stretch;
}

.cj-metiers-tri-section .cj-infoboard--compact-note .cj-infoboard__item {
    min-height: clamp(340px, 30vw, 460px);
}

.cj-metiers-tri-section .cj-infoboard--compact-note .cj-infoboard__title,
.cj-metiers-tri-section .cj-infoboard--compact-note .cj-infoboard__item:not(.cj-infoboard__item--span-2) .cj-infoboard__title {
    font-size: clamp(38px, 3.5vw, 62px);
}

/* Couche superieure decorative : watermark et/ou degrade d'image */
.cj-has-watermark::after,
.cj-has-bg-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex !important;
    box-sizing: border-box;
    padding-block: 34px;
    pointer-events: none;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Watermark via pseudo-element */
.cj-has-watermark::after {
    content: var(--cj-wm-text, "");
    color: var(--cj-wm-color, rgba(21, 19, 15, 0.045));
    font-family: "Saira Condensed", sans-serif;
    font-weight: 900;
    font-size: clamp(78px, 17vw, 260px);
    line-height: 0.78;
    letter-spacing: 0;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* Positions horizontales */
.cj-has-watermark.cj-wm-right::after {
    justify-content: flex-end;
    text-align: right;
}

.cj-has-watermark.cj-wm-left::after {
    justify-content: flex-start;
    text-align: left;
}

.cj-has-watermark.cj-wm-center::after {
    justify-content: center;
    text-align: center;
    transform: none;
}

/* Positions verticales */
.cj-has-watermark.cj-wm-bottom::after {
    align-items: flex-end;
}

.cj-has-watermark.cj-wm-top::after {
    align-items: flex-start;
}

.cj-has-watermark.cj-wm-middle::after {
    align-items: center;
}


/* S'assurer que le contenu de la Row reste au-dessus */
.cj-has-watermark > .row_inner {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 720px) {
    .cj-has-watermark::after,
    .cj-has-bg-image::after {
        padding-block: 20px;
    }

    .cj-has-watermark::after {
        font-size: clamp(60px, 20vw, 130px);
    }
}

@media (max-width: 480px) {
    .cj-has-watermark::after,
    .cj-has-bg-image::after {
        padding-block: 10px;
    }

    .cj-has-watermark::after {
        font-size: clamp(40px, 18vw, 100px);
    }
}

/* ========================================
   IMAGE DE FOND DECORATIVE
   ======================================== */

/* Base pour les Rows avec image de fond */
.cj-has-bg-image {
    position: relative !important;
}

/* Overflow hidden seulement en frontend (pas dans le builder) */
body:not(.themify_builder_active) .cj-has-bg-image {
    overflow: hidden;
}

/* Image de fond via pseudo-element filtre */
.cj-has-bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: var(--cj-bg-width, 60%);
    height: var(--cj-bg-height, 100%);
    /* Centrer verticalement si la hauteur est différente de 100% */
    top: 50%;
    transform: translateY(-50%) scale(var(--cj-bg-scale, 1));
    transform-origin: center;
    background: var(--cj-bg-image, none) var(--cj-bg-render-origin, var(--cj-bg-origin, center)) / var(--cj-bg-sizing, contain) no-repeat;
    opacity: var(--cj-bg-opacity, 0.38);
    filter: var(--cj-bg-filter, saturate(1.05) contrast(1.05));
    pointer-events: none;
    z-index: 0;
}

/* Degrade au-dessus de l'image, volontairement non filtre */
.cj-has-bg-image::after {
    background:
        linear-gradient(
            var(--cj-bg-fade-direction, 90deg),
            rgba(var(--cj-bg-fade-rgb, 245, 242, 236), var(--cj-bg-fade-start, 1)) 0%,
            rgba(var(--cj-bg-fade-rgb, 245, 242, 236), var(--cj-bg-fade-mid, 0.96)) 42%,
            rgba(var(--cj-bg-fade-rgb, 245, 242, 236), var(--cj-bg-fade-end, 0)) 100%
        )
        var(--cj-bg-gradient-position, right center) / var(--cj-bg-width, 60%) var(--cj-bg-height, 100%) no-repeat;
}

body.themify_builder_active .cj-has-bg-image::after {
    display: block !important;
    content: "" !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cj-has-bg-image.cj-has-watermark::after {
    content: var(--cj-wm-text, "");
}

body.themify_builder_active .cj-has-bg-image.cj-has-watermark::after {
    content: var(--cj-wm-text, "") !important;
}

/* Forcer l'affichage du pseudo-element dans le builder */
.cj-has-bg-image::before {
    display: block !important;
    visibility: visible !important;
}

/* Position gauche */
.cj-has-bg-image.cj-bg-left::before {
    right: auto;
    left: 0;
    transform: translateY(-50%) scaleX(-1) scale(var(--cj-bg-scale, 1));
}

/* Position droite (par défaut) */
.cj-has-bg-image.cj-bg-right::before {
    right: 0;
    left: auto;
}

.cj-has-bg-image.cj-bg-right::after {
    --cj-bg-gradient-position: right center;
    --cj-bg-fade-direction: 90deg;
}

.cj-has-bg-image.cj-bg-left::after {
    --cj-bg-gradient-position: left center;
    --cj-bg-fade-direction: 270deg;
}

/* Transform-origin adapté à la position horizontale */
.cj-has-bg-image.cj-bg-right::before {
    --cj-transform-origin-x: right;
}

.cj-has-bg-image.cj-bg-left::before {
    --cj-transform-origin-x: left;
}

/* S'assurer que le contenu de la Row reste au-dessus */
.cj-has-bg-image > .row_inner {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 720px) {
    .cj-has-bg-image::before {
        width: var(--cj-bg-mobile-width, 100%);
    }

    .cj-has-bg-image::after {
        background-size: var(--cj-bg-mobile-width, 100%) var(--cj-bg-height, 100%);
    }
}

@media (max-width: 480px) {
    .cj-has-bg-image::before {
        width: var(--cj-bg-mobile-width, 100%);
        opacity: calc(var(--cj-bg-opacity, 0.38) * 0.6);
    }

    .cj-has-bg-image::after {
        background-size: var(--cj-bg-mobile-width, 100%) var(--cj-bg-height, 100%);
    }
}

/* ================================================
   THEMIFY COLUMN PRESETS
   Classes a poser sur une row/subrow Themify.
   Le gap de 1.6% est integre dans le calcul des colonnes.
   ================================================ */

.cj-cols-55-45,
.cj-cols-60-40,
.cj-cols-65-35,
.cj-cols-45-55,
.cj-cols-40-60,
.cj-cols-35-65 {
    --cj-cols-gap: 1.6%;
    --cj-cols-half-gap: 0.8%;
}

.cj-cols-55-45 {
    --cj-col-first: 55%;
}

.cj-cols-60-40 {
    --cj-col-first: 60%;
}

.cj-cols-65-35 {
    --cj-col-first: 65%;
}

.cj-cols-45-55 {
    --cj-col-first: 45%;
}

.cj-cols-40-60 {
    --cj-col-first: 40%;
}

.cj-cols-35-65 {
    --cj-col-first: 35%;
}

@media (min-width: 769px) {
    .themify-subrow.cj-cols-55-45,
    .themify-subrow.cj-cols-60-40,
    .themify-subrow.cj-cols-65-35,
    .themify-subrow.cj-cols-45-55,
    .themify-subrow.cj-cols-40-60,
    .themify-subrow.cj-cols-35-65,
    .cj-cols-55-45 > .row_inner,
    .cj-cols-60-40 > .row_inner,
    .cj-cols-65-35 > .row_inner,
    .cj-cols-45-55 > .row_inner,
    .cj-cols-40-60 > .row_inner,
    .cj-cols-35-65 > .row_inner {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: var(--cj-cols-gap) !important;
    }

    .themify-subrow.cj-cols-55-45 > .module_column,
    .themify-subrow.cj-cols-60-40 > .module_column,
    .themify-subrow.cj-cols-65-35 > .module_column,
    .themify-subrow.cj-cols-45-55 > .module_column,
    .themify-subrow.cj-cols-40-60 > .module_column,
    .themify-subrow.cj-cols-35-65 > .module_column,
    .themify-subrow.cj-cols-55-45 > .sub_column,
    .themify-subrow.cj-cols-60-40 > .sub_column,
    .themify-subrow.cj-cols-65-35 > .sub_column,
    .themify-subrow.cj-cols-45-55 > .sub_column,
    .themify-subrow.cj-cols-40-60 > .sub_column,
    .themify-subrow.cj-cols-35-65 > .sub_column,
    .cj-cols-55-45 > .row_inner > .module_column,
    .cj-cols-60-40 > .row_inner > .module_column,
    .cj-cols-65-35 > .row_inner > .module_column,
    .cj-cols-45-55 > .row_inner > .module_column,
    .cj-cols-40-60 > .row_inner > .module_column,
    .cj-cols-35-65 > .row_inner > .module_column,
    .cj-cols-55-45 > .row_inner > .sub_column,
    .cj-cols-60-40 > .row_inner > .sub_column,
    .cj-cols-65-35 > .row_inner > .sub_column,
    .cj-cols-45-55 > .row_inner > .sub_column,
    .cj-cols-40-60 > .row_inner > .sub_column,
    .cj-cols-35-65 > .row_inner > .sub_column {
        float: none !important;
        clear: none !important;
        min-width: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .themify-subrow.cj-cols-55-45 > .module_column:first-child,
    .themify-subrow.cj-cols-60-40 > .module_column:first-child,
    .themify-subrow.cj-cols-65-35 > .module_column:first-child,
    .themify-subrow.cj-cols-45-55 > .module_column:first-child,
    .themify-subrow.cj-cols-40-60 > .module_column:first-child,
    .themify-subrow.cj-cols-35-65 > .module_column:first-child,
    .themify-subrow.cj-cols-55-45 > .sub_column:first-child,
    .themify-subrow.cj-cols-60-40 > .sub_column:first-child,
    .themify-subrow.cj-cols-65-35 > .sub_column:first-child,
    .themify-subrow.cj-cols-45-55 > .sub_column:first-child,
    .themify-subrow.cj-cols-40-60 > .sub_column:first-child,
    .themify-subrow.cj-cols-35-65 > .sub_column:first-child,
    .cj-cols-55-45 > .row_inner > .module_column:first-child,
    .cj-cols-60-40 > .row_inner > .module_column:first-child,
    .cj-cols-65-35 > .row_inner > .module_column:first-child,
    .cj-cols-45-55 > .row_inner > .module_column:first-child,
    .cj-cols-40-60 > .row_inner > .module_column:first-child,
    .cj-cols-35-65 > .row_inner > .module_column:first-child,
    .cj-cols-55-45 > .row_inner > .sub_column:first-child,
    .cj-cols-60-40 > .row_inner > .sub_column:first-child,
    .cj-cols-65-35 > .row_inner > .sub_column:first-child,
    .cj-cols-45-55 > .row_inner > .sub_column:first-child,
    .cj-cols-40-60 > .row_inner > .sub_column:first-child,
    .cj-cols-35-65 > .row_inner > .sub_column:first-child {
        width: calc(var(--cj-col-first) - var(--cj-cols-half-gap)) !important;
        flex: 0 1 calc(var(--cj-col-first) - var(--cj-cols-half-gap));
        max-width: calc(var(--cj-col-first) - var(--cj-cols-half-gap));
    }

    .themify-subrow.cj-cols-55-45 > .module_column:last-child,
    .themify-subrow.cj-cols-60-40 > .module_column:last-child,
    .themify-subrow.cj-cols-65-35 > .module_column:last-child,
    .themify-subrow.cj-cols-45-55 > .module_column:last-child,
    .themify-subrow.cj-cols-40-60 > .module_column:last-child,
    .themify-subrow.cj-cols-35-65 > .module_column:last-child,
    .themify-subrow.cj-cols-55-45 > .sub_column:last-child,
    .themify-subrow.cj-cols-60-40 > .sub_column:last-child,
    .themify-subrow.cj-cols-65-35 > .sub_column:last-child,
    .themify-subrow.cj-cols-45-55 > .sub_column:last-child,
    .themify-subrow.cj-cols-40-60 > .sub_column:last-child,
    .themify-subrow.cj-cols-35-65 > .sub_column:last-child,
    .cj-cols-55-45 > .row_inner > .module_column:last-child,
    .cj-cols-60-40 > .row_inner > .module_column:last-child,
    .cj-cols-65-35 > .row_inner > .module_column:last-child,
    .cj-cols-45-55 > .row_inner > .module_column:last-child,
    .cj-cols-40-60 > .row_inner > .module_column:last-child,
    .cj-cols-35-65 > .row_inner > .module_column:last-child,
    .cj-cols-55-45 > .row_inner > .sub_column:last-child,
    .cj-cols-60-40 > .row_inner > .sub_column:last-child,
    .cj-cols-65-35 > .row_inner > .sub_column:last-child,
    .cj-cols-45-55 > .row_inner > .sub_column:last-child,
    .cj-cols-40-60 > .row_inner > .sub_column:last-child,
    .cj-cols-35-65 > .row_inner > .sub_column:last-child {
        width: calc(100% - var(--cj-col-first) - var(--cj-cols-half-gap)) !important;
        flex: 0 1 calc(100% - var(--cj-col-first) - var(--cj-cols-half-gap));
        max-width: calc(100% - var(--cj-col-first) - var(--cj-cols-half-gap));
    }
}

@media (max-width: 768px) {
    .themify-subrow.cj-cols-55-45,
    .themify-subrow.cj-cols-60-40,
    .themify-subrow.cj-cols-65-35,
    .themify-subrow.cj-cols-45-55,
    .themify-subrow.cj-cols-40-60,
    .themify-subrow.cj-cols-35-65,
    .cj-cols-55-45 > .row_inner,
    .cj-cols-60-40 > .row_inner,
    .cj-cols-65-35 > .row_inner,
    .cj-cols-45-55 > .row_inner,
    .cj-cols-40-60 > .row_inner,
    .cj-cols-35-65 > .row_inner {
        display: block;
    }

    .themify-subrow.cj-cols-55-45 > .module_column,
    .themify-subrow.cj-cols-60-40 > .module_column,
    .themify-subrow.cj-cols-65-35 > .module_column,
    .themify-subrow.cj-cols-45-55 > .module_column,
    .themify-subrow.cj-cols-40-60 > .module_column,
    .themify-subrow.cj-cols-35-65 > .module_column,
    .themify-subrow.cj-cols-55-45 > .sub_column,
    .themify-subrow.cj-cols-60-40 > .sub_column,
    .themify-subrow.cj-cols-65-35 > .sub_column,
    .themify-subrow.cj-cols-45-55 > .sub_column,
    .themify-subrow.cj-cols-40-60 > .sub_column,
    .themify-subrow.cj-cols-35-65 > .sub_column,
    .cj-cols-55-45 > .row_inner > .module_column,
    .cj-cols-60-40 > .row_inner > .module_column,
    .cj-cols-65-35 > .row_inner > .module_column,
    .cj-cols-45-55 > .row_inner > .module_column,
    .cj-cols-40-60 > .row_inner > .module_column,
    .cj-cols-35-65 > .row_inner > .module_column,
    .cj-cols-55-45 > .row_inner > .sub_column,
    .cj-cols-60-40 > .row_inner > .sub_column,
    .cj-cols-65-35 > .row_inner > .sub_column,
    .cj-cols-45-55 > .row_inner > .sub_column,
    .cj-cols-40-60 > .row_inner > .sub_column,
    .cj-cols-35-65 > .row_inner > .sub_column {
        width: 100% !important;
        max-width: 100%;
        flex-basis: auto;
    }
}

/* Alumni page */
.alumni-copy-stack {
    display: grid;
    gap: 22px;
    max-width: 760px;
}

.alumni-copy-stack p,
.alumni-logo-intro p {
    margin: 0;
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 500;
    line-height: 1.55;
    color: #312b24;
}

.alumni-copy-stack--light p {
    color: rgba(245, 242, 236, 0.78);
}

.alumni-kicker {
    margin: 0 0 18px;
    width: fit-content;
    padding: 10px 18px;
    background: #eb5d0f;
    color: #0b0a09;
    font-family: "Saira Condensed", sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.alumni-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.alumni-button {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 52px;
    padding: 0 22px;
    font-family: "Saira Condensed", sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, filter 180ms ease;
}

.alumni-button::after {
    content: "\2197";
    margin-left: 18px;
    font-family: Arial, sans-serif;
    font-size: 17px;
    letter-spacing: 0;
}

.alumni-button:hover,
.alumni-button:focus-visible {
    transform: translateY(-2px);
}

.alumni-button--orange {
    background: #eb5d0f;
    color: #0b0a09;
}

.alumni-button--light {
    background: #f5f2ec;
    color: #0b0a09;
}

.alumni-logos .cj-logostrip__marquee {
    margin-inline: 0;
}

.alumni-sector {
    color: #f5f2ec !important;
}

.alumni-sector .cj-statsline,
.alumni-sector .alumni-sector-stats {
    margin-top: clamp(58px, 6vw, 92px);
    color: #f5f2ec;
}

.alumni-sector-stats-row .cj-statsline,
.alumni-sector-stats-row .alumni-sector-stats {
    margin-top: 0;
}

.alumni-logo-intro {
    display: grid;
    gap: 16px;
    max-width: 880px;
    margin-bottom: 26px;
}

@media (max-width: 640px) {
    .alumni-actions,
    .alumni-button {
        width: 100%;
    }

    .alumni-button {
        justify-content: space-between;
    }
}

/* ==========================================================================
   Agenda
   ========================================================================== */

.agenda-dates-section {
    overflow: visible !important;
}

.module_row:has(.agenda-dates-layout),
.themify_builder_row:has(.agenda-dates-layout),
.module_row:has(.agenda-dates-layout) > .row_inner,
.themify_builder_row:has(.agenda-dates-layout) > .row_inner,
.module_row:has(.agenda-dates-layout) .module_column,
.themify_builder_row:has(.agenda-dates-layout) .module_column,
.module_row:has(.agenda-dates-layout) .module-plain-text,
.themify_builder_row:has(.agenda-dates-layout) .module-plain-text,
.module_row:has(.agenda-dates-layout) .tb_text_wrap,
.themify_builder_row:has(.agenda-dates-layout) .tb_text_wrap,
.agenda-sticky-row,
.agenda-sticky-row > .row_inner,
.agenda-sticky-row .module_column,
.agenda-sticky-row .module-plain-text,
.agenda-sticky-row .tb_text_wrap,
.tb_agenda_r2,
.tb_agenda_r2 > .row_inner,
.tb_agenda_r2 .module_column,
.tb_agenda_r2 .module-plain-text,
.tb_agenda_r2 .tb_text_wrap {
    overflow: visible !important;
}

.agenda-dates-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
    overflow: visible !important;
}

.agenda-timeline {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.agenda-calendar-slot {
    position: sticky !important;
    top: 132px;
    align-self: start;
    height: fit-content;
    z-index: 2;
}

.agenda-event {
    position: relative;
}

.agenda-event__link {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 64px;
    align-items: stretch;
    min-height: 138px;
    color: #15130f;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(21, 19, 15, 0.12);
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.agenda-event__link:hover,
.agenda-event__link:focus-visible {
    background: #fff;
    border-color: rgba(235, 93, 15, 0.82);
    transform: translateX(6px);
}

.agenda-event__date {
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 18px;
    color: #0b0a09;
    background: #eb5d0f;
    font-family: "Saira Condensed", sans-serif;
    text-transform: uppercase;
}

.agenda-event__date span {
    font-size: clamp(48px, 5.6vw, 72px);
    font-weight: 900;
    line-height: 0.85;
}

.agenda-event__date strong {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.agenda-event__body {
    position: relative;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: clamp(22px, 3vw, 34px) clamp(90px, 9vw, 150px) clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px);
    overflow: hidden;
}

.agenda-event__body::after {
    content: "JPO + JI";
    position: absolute;
    top: 50%;
    right: clamp(18px, 2.5vw, 34px);
    color: rgba(21, 19, 15, 0.1);
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(42px, 5vw, 78px);
    font-weight: 900;
    line-height: 0.8;
    text-align: right;
    text-transform: uppercase;
    transform: translateY(-50%);
    white-space: nowrap;
}

.agenda-event--webinar .agenda-event__body::after {
    content: "WEBINAIRE";
}

.agenda-event--featured .agenda-event__body::after {
    color: rgba(245, 242, 236, 0.11);
}

.agenda-event h3,
.agenda-category h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #0b0a09 !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 900;
    line-height: 0.94;
    text-transform: uppercase;
}

.agenda-event p,
.agenda-category p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: #3c342b;
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 500;
    line-height: 1.48;
}

.agenda-event__type {
    position: relative;
    display: grid;
    place-items: center;
    color: #0b0a09;
    background: #eb5d0f;
    border-left: 1px solid #eb5d0f;
    padding: 0;
    transition: color 180ms ease, background 180ms ease;
}

.agenda-event__type::after {
    content: "↗";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #0b0a09;
    background: transparent;
    border: 0;
    font-size: 26px;
    line-height: 1;
    transition: color 180ms ease, transform 180ms ease;
}

.agenda-event__link:hover .agenda-event__type,
.agenda-event__link:focus-visible .agenda-event__type {
    background: #0b0a09;
}

.agenda-event__link:hover .agenda-event__type::after,
.agenda-event__link:focus-visible .agenda-event__type::after {
    color: #f5f2ec;
    transform: translate(2px, -2px);
}

.agenda-event--featured .agenda-event__link {
    background: #0b0a09;
    color: #f5f2ec;
    border-color: rgba(235, 93, 15, 0.8);
}

.agenda-event--featured h3 {
    color: #f5f2ec !important;
}

.agenda-event--featured .agenda-event__body p {
    color: rgba(245, 242, 236, 0.76);
}

.agenda-event--featured .agenda-event__link:hover .agenda-event__type,
.agenda-event--featured .agenda-event__link:focus-visible .agenda-event__type {
    background: #fff;
}

.agenda-event--featured .agenda-event__link:hover .agenda-event__type::after,
.agenda-event--featured .agenda-event__link:focus-visible .agenda-event__type::after {
    color: #0b0a09;
}

.agenda-calendar {
    display: grid;
    gap: 20px;
    padding: clamp(22px, 2.5vw, 30px);
    color: #f5f2ec !important;
    background: #0b0a09;
    border: 1px solid rgba(235, 93, 15, 0.55);
}

.agenda-calendar__head {
    display: grid;
}

.agenda-calendar__nav {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
}

.agenda-calendar__head h3 {
    display: grid;
    justify-items: center;
    margin: 0;
    color: #f5f2ec !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(32px, 2.5vw, 44px);
    font-weight: 900;
    line-height: 0.92;
    text-align: center;
    text-transform: uppercase;
}

.agenda-calendar__head h3 span {
    display: block;
}

.agenda-calendar__arrow {
    appearance: none;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(245, 242, 236, 0.76) !important;
    background: rgba(245, 242, 236, 0.08) !important;
    border: 1px solid rgba(245, 242, 236, 0.12) !important;
    border-radius: 0 !important;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    cursor: pointer;
}

.agenda-calendar__arrow:hover,
.agenda-calendar__arrow:focus-visible {
    color: #0b0a09 !important;
    background: #eb5d0f !important;
    border-color: #eb5d0f !important;
}

.agenda-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.agenda-calendar__weekday {
    display: grid;
    place-items: center;
    height: 28px;
    color: rgba(245, 242, 236, 0.5);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    font-weight: 700;
}

.agenda-calendar__day {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    aspect-ratio: 1;
    color: rgba(245, 242, 236, 0.7);
    background: rgba(245, 242, 236, 0.055);
    border: 1px solid rgba(245, 242, 236, 0.08);
    font-family: "Saira Condensed", sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.agenda-calendar__day.is-empty {
    background: transparent;
    border-color: transparent;
}

.agenda-calendar__day.is-marked {
    color: #0b0a09;
    background: #eb5d0f;
    border-color: #eb5d0f;
}

.agenda-calendar__day.has-webinar {
    background: #f5f2ec;
    border-color: #f5f2ec;
}

.agenda-calendar__day small {
    position: absolute;
    right: 4px;
    bottom: 4px;
    display: flex;
    gap: 2px;
}

.agenda-calendar__day i {
    display: block;
    width: 7px;
    height: 7px;
    border: 1px solid #0b0a09;
    border-radius: 50%;
    overflow: hidden;
    font-size: 0;
}

.agenda-calendar__day i.is-jpo {
    background: #0b0a09;
}

.agenda-calendar__day i.is-ji {
    background: #fff;
}

.agenda-calendar__day i.is-webinar {
    background: #eb5d0f;
}

.agenda-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: rgba(245, 242, 236, 0.8);
    font-family: "Saira Condensed", sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.agenda-calendar__legend span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 8px;
    color: #f5f2ec;
    background: rgba(245, 242, 236, 0.08);
    border: 1px solid rgba(245, 242, 236, 0.14);
}

.agenda-calendar__legend span:nth-child(1) {
    border-color: rgba(245, 242, 236, 0.32);
}

.agenda-calendar__legend span:nth-child(2) {
    color: #0b0a09;
    background: #f5f2ec;
}

.agenda-calendar__legend span:nth-child(3) {
    color: #0b0a09;
    background: #eb5d0f;
    border-color: #eb5d0f;
}

.agenda-calendar__note {
    margin: -6px 0 0;
    color: rgba(245, 242, 236, 0.56);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.agenda-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 32px);
    align-items: stretch;
}

.agenda-category {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 22px;
    min-height: 430px;
    padding: clamp(26px, 3vw, 38px);
    color: #f5f2ec;
    background: rgba(245, 242, 236, 0.08);
    border: 1px solid rgba(245, 242, 236, 0.14);
}

.agenda-category--orange {
    color: #0b0a09;
    background: #eb5d0f;
    border-color: #eb5d0f;
}

.agenda-category h3 {
    color: #f5f2ec !important;
}

.agenda-category--orange h3 {
    color: #0b0a09 !important;
}

.agenda-category p {
    color: rgba(245, 242, 236, 0.74);
}

.agenda-category--orange p {
    color: rgba(11, 10, 9, 0.78);
}

.agenda-date-leaves {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: center;
    gap: 10px;
}

.agenda-date-leaf {
    position: relative;
    display: grid;
    grid-template-rows: 26px 52px 18px;
    width: 72px;
    min-height: 96px;
    overflow: hidden;
    color: #0b0a09;
    background: #f5f2ec;
    border: 1px solid rgba(245, 242, 236, 0.22);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.16);
    transform-origin: center;
    transition: box-shadow 180ms ease, transform 180ms ease;
    z-index: 0;
}

.agenda-date-leaf:hover,
.agenda-date-leaf:focus-within {
    z-index: 4;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    transform: scale(1.9);
}

.agenda-category--orange .agenda-date-leaf {
    background: #fff;
    border-color: rgba(11, 10, 9, 0.16);
    box-shadow: 0 8px 0 rgba(11, 10, 9, 0.14);
}

.agenda-date-leaf span {
    display: grid;
    place-items: center;
    color: #0b0a09;
    background: #eb5d0f;
    font-family: "Saira Condensed", sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.agenda-category--orange .agenda-date-leaf span {
    background: #0b0a09;
    color: #f5f2ec;
}

.agenda-date-leaf strong {
    display: grid;
    place-items: center;
    font-family: "Saira Condensed", sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 0.8;
}

.agenda-date-leaf em {
    display: grid;
    place-items: center;
    color: rgba(11, 10, 9, 0.82);
    font-family: "Saira Condensed", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.agenda-category .cj-button {
    align-self: end;
    width: fit-content;
}

.agenda-category--orange .cj-button--dark > span:last-child {
    background: #fff;
}

@media (max-width: 980px) {
    .agenda-dates-layout {
        grid-template-columns: 1fr;
    }

    .agenda-calendar-slot {
        position: static;
    }

    .agenda-category-grid {
        grid-template-columns: 1fr;
    }

    .agenda-category {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .agenda-event__link {
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 0;
    }

    .agenda-event__type {
        display: none;
    }

    .agenda-event__body {
        padding: 20px;
    }

    .agenda-event__body::after {
        display: none;
    }

    .agenda-event h3,
    .agenda-category h3 {
        font-size: clamp(30px, 12vw, 42px);
    }

    .agenda-category a {
        width: 100%;
        justify-content: space-between;
    }

    .agenda-date-leaf {
        width: 64px;
        grid-template-rows: 24px 50px;
    }

    .agenda-date-leaf strong {
        font-size: 36px;
    }
}

/* ==========================================================================
   Event Pages
   ========================================================================== */

.event-page-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.42fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: start;
}

.event-page-intro--balanced {
    align-items: center;
}

.event-page-copy {
    display: grid;
    gap: 18px;
    max-width: 900px;
}

.event-page-copy p {
    margin: 0;
    color: #332d25;
    font-size: clamp(18px, 1.55vw, 22px);
    font-weight: 500;
    line-height: 1.5;
}

.discovery-call-intro-copy {
    max-width: 1040px;
}

.discovery-call-intro-copy p {
    max-width: 880px;
}

.event-page-facts {
    display: grid;
    gap: 10px;
    align-self: center;
}

.event-page-fact {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    color: #f5f2ec;
    background: #0b0a09;
    border-left: 6px solid #eb5d0f;
}

.event-page-fact strong {
    font-family: "Saira Condensed", sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.event-page-fact span {
    color: rgba(245, 242, 236, 0.72);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.event-page-dates-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: center;
    margin-top: clamp(38px, 5vw, 70px);
    padding: clamp(24px, 4vw, 42px);
    color: #f5f2ec;
    background: #0b0a09;
    border-top: 8px solid #eb5d0f;
}

.event-page-dates-copy {
    display: grid;
    gap: 12px;
}

.event-page-dates-copy h3 {
    margin: 0;
    color: #f5f2ec !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
}

.event-page-dates-copy p {
    margin: 0;
    color: rgba(245, 242, 236, 0.72);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 600;
    line-height: 1.45;
}

.event-page-date-leaves {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.event-page-dates-panel--align-left .event-page-date-leaves {
    justify-content: flex-start;
}

.event-page-dates-panel--align-center .event-page-date-leaves {
    justify-content: center;
}

.event-page-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(28px, 4vw, 48px);
}

.event-page-related-card {
    display: grid;
    gap: 16px;
    align-content: space-between;
    min-height: 260px;
    padding: clamp(22px, 3vw, 34px);
    color: #f5f2ec;
    background: rgba(245, 242, 236, 0.08);
    border: 1px solid rgba(245, 242, 236, 0.18);
}

.event-page-related-card--orange {
    color: #0b0a09;
    background: #eb5d0f;
    border-color: #eb5d0f;
}

.event-page-related-card h3 {
    margin: 0;
    color: inherit !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 900;
    line-height: 0.92;
    text-transform: uppercase;
}

.event-page-related-card p {
    margin: 0;
    color: rgba(245, 242, 236, 0.72);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 600;
    line-height: 1.45;
}

.event-page-related-card--orange p {
    color: rgba(11, 10, 9, 0.78);
}

.event-page-related-card .cj-button {
    width: fit-content;
}

.event-page-related-card--orange .cj-button--dark > span:last-child {
    background: #f5f2ec;
}

.event-page-related-infoboard {
    margin-top: clamp(28px, 4vw, 48px);
}

.event-page-related-infoboard .cj-infoboard__item {
    min-height: 290px;
}

.discovery-call-next-steps {
    margin-top: 0;
}

.discovery-call-next-steps .cj-infoboard__item {
    min-height: 330px;
}

.page-layout--contact {
    background: #f5f2ec;
}

.contact-details-list .cj-contentlist__items {
    display: grid;
    gap: 0;
    border: 1px solid rgba(11, 10, 9, 0.18);
    background: #fff;
    box-shadow: 0 18px 48px rgba(11, 10, 9, 0.08);
}

.contact-details-list.cj-contentlist--compact .cj-contentlist__item,
.contact-details-list.cj-contentlist--marker-none .cj-contentlist__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr) auto;
    gap: clamp(18px, 3vw, 48px);
    align-items: center;
    min-height: 118px;
    padding: clamp(22px, 2.4vw, 34px) clamp(20px, 3vw, 42px);
    border-bottom: 1px solid rgba(11, 10, 9, 0.12);
    background: #fff;
    box-sizing: border-box;
    color: #0b0a09;
}

.contact-details-list.cj-contentlist--compact .cj-contentlist__item:nth-child(even),
.contact-details-list.cj-contentlist--marker-none .cj-contentlist__item:nth-child(even) {
    background: rgba(245, 242, 236, 0.48);
}

.contact-details-list.cj-contentlist--compact .cj-contentlist__item::before,
.contact-details-list.cj-contentlist--marker-none .cj-contentlist__item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: #eb5d0f;
    transform: scaleY(0.55);
    transform-origin: center;
}

.contact-details-list.cj-contentlist--compact .cj-contentlist__item:last-child,
.contact-details-list.cj-contentlist--marker-none .cj-contentlist__item:last-child {
    border-bottom: 0;
}

.contact-details-list .cj-contentlist__body {
    display: contents;
}

.contact-details-list .cj-contentlist__item-title {
    margin: 0;
    color: inherit;
    font-size: clamp(25px, 2.3vw, 38px);
}

.contact-details-list .cj-contentlist__text {
    max-width: none;
    margin: 0;
    color: currentColor;
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(26px, 3vw, 48px);
    font-weight: 900;
    line-height: 0.95;
    opacity: 1;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.contact-details-list .cj-button--outline {
    margin: 0;
    color: #f5f2ec;
    background: #0b0a09;
    border-color: #0b0a09;
}

.contact-details-list .cj-button--outline > span:last-child {
    background: #eb5d0f;
    color: #0b0a09;
}

.contact-details-list .cj-contentlist__item:nth-child(even) .cj-button--outline {
    color: #f5f2ec;
    background: #0b0a09;
    border-color: #0b0a09;
}

.module-eventform.contact-message-form.event-page-form-layout {
    grid-template-columns: minmax(0, 880px);
    justify-content: center;
    text-align: center;
}

.contact-message-form .event-page-form-copy {
    justify-items: center;
    grid-column: 1;
}

.contact-message-form .event-page-form-copy p {
    max-width: 760px;
}

.contact-message-form .event-page-form-shell {
    grid-column: 1;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}

.contact-events-stepped .cj-stepped__timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admission-intro-summary.cj-summary--editorial {
  grid-template-columns: minmax(0, 840px);
  max-width: 840px;
  margin-inline: 0;
  padding-inline: 0;
}

.admission-intro-summary .cj-summary__heading {
  display: none;
}

.admission-intro-summary .cj-summary__body {
  grid-column: 1;
  padding-top: 0;
}

.admission-intro-summary .cj-summary__paragraph {
  color: rgba(11, 10, 9, 0.74);
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 600;
  line-height: 1.48;
}

.event-page-infoboard .cj-infoboard__item--span-2 {
  min-height: 500px;
}

.event-page-infoboard .cj-infoboard__item:not(.cj-infoboard__item--span-2) {
    min-height: 239px;
}

.event-page-form-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
}

.event-page-form-layout--form-only {
    display: block;
}

.event-page-form-layout--form-only .event-page-form-shell {
    width: min(100%, 980px);
    margin-inline: auto;
}

.event-page-form-copy {
    display: grid;
    gap: 18px;
    color: #f5f2ec;
}

.event-page-form-copy h2 {
    margin: 0;
    color: #f5f2ec !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 900;
    line-height: 0.88;
    text-transform: uppercase;
}

.event-page-form-copy p {
    margin: 0;
    color: rgba(245, 242, 236, 0.72);
    font-size: clamp(17px, 1.45vw, 21px);
    font-weight: 500;
    line-height: 1.5;
}

.event-page-form-shell {
    padding: clamp(22px, 3vw, 36px);
    color: #0b0a09;
    background: #f5f2ec;
    border-top: 8px solid #eb5d0f;
}

.event-page-form-section--light .event-page-form-copy h2 {
    color: #0b0a09 !important;
}

.event-page-form-section--light .event-page-form-copy p {
    color: rgba(11, 10, 9, 0.72);
}

.event-page-form-section--light .event-page-form-shell {
    background: #fff;
    border: 1px solid rgba(11, 10, 9, 0.12);
    border-top: 8px solid #eb5d0f;
}

.event-page-form-shell .gform_wrapper {
    margin: 0;
}

.inscription-form-shell {
    width: min(100%, 980px);
    margin-inline: auto;
    padding: clamp(22px, 3vw, 36px);
    color: #0b0a09;
    background: #fff;
    border: 1px solid rgba(11, 10, 9, 0.12);
    border-top: 8px solid #eb5d0f;
}

.inscription-form-shell .gform_wrapper {
    margin: 0;
}

.inscription-return-buttons {
    padding-block: clamp(54px, 7vw, 88px);
}

@media (max-width: 980px) {
    .event-page-intro,
    .event-page-dates-panel,
    .event-page-form-layout {
        grid-template-columns: 1fr;
    }

    .event-page-related {
        grid-template-columns: 1fr;
    }

    .event-page-date-leaves {
        justify-content: flex-start;
    }

    .contact-events-stepped .cj-stepped__timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .contact-details-list.cj-contentlist--compact .cj-contentlist__item,
    .contact-details-list.cj-contentlist--marker-none .cj-contentlist__item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 24px;
    }

    .contact-details-list .cj-contentlist__text {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 720px) {
    .contact-events-stepped .cj-stepped__timeline {
        grid-template-columns: 1fr;
    }

    .contact-details-list.cj-contentlist--compact .cj-contentlist__item,
    .contact-details-list.cj-contentlist--marker-none .cj-contentlist__item {
        grid-template-columns: 1fr;
    }

    .contact-details-list .cj-contentlist__text {
        grid-column: auto;
    }
}
