.elementor-716 .elementor-element.elementor-element-9d8d533{--display:flex;--min-height:45vh;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--overlay-opacity:0.055;}.elementor-716 .elementor-element.elementor-element-9d8d533:not(.elementor-motion-effects-element-type-background), .elementor-716 .elementor-element.elementor-element-9d8d533 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-9e6591a );}.elementor-716 .elementor-element.elementor-element-9d8d533::before, .elementor-716 .elementor-element.elementor-element-9d8d533 > .elementor-background-video-container::before, .elementor-716 .elementor-element.elementor-element-9d8d533 > .e-con-inner > .elementor-background-video-container::before, .elementor-716 .elementor-element.elementor-element-9d8d533 > .elementor-background-slideshow::before, .elementor-716 .elementor-element.elementor-element-9d8d533 > .e-con-inner > .elementor-background-slideshow::before, .elementor-716 .elementor-element.elementor-element-9d8d533 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:var( --e-global-color-accent );background-image:url("https://dev9.projets3-cgnumerik.com/wp-content/plugins/elementor/assets/images/placeholder.png");--background-overlay:'';background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-716 .elementor-element.elementor-element-85ee135{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--gap:15px 15px;--row-gap:15px;--column-gap:15px;}.elementor-716 .elementor-element.elementor-element-08fa957 .elementor-heading-title{color:var( --e-global-color-accent );}.elementor-716 .elementor-element.elementor-element-150df90{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:50px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;}.elementor-716 .elementor-element.elementor-element-150df90:not(.elementor-motion-effects-element-type-background), .elementor-716 .elementor-element.elementor-element-150df90 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5F5F3;}/* Start custom CSS for shortcode, class: .elementor-element-ff71609 *//* ======================================================
   ACEM — EVENTS PAGE FINAL CLEAN VERSION
====================================================== */

/* =========================
   GLOBAL
========================= */

.mec-wrap {
    background: #f5f5f3;
    padding: 50px 0 100px;
}

/* =========================
   MONTH TITLE
========================= */

.mec-month-divider {
    display: flex;
    justify-content: center;
    margin: 90px 0 45px;
    border: none;
    background: transparent;
    padding: 0;
}

.mec-month-divider h5 {
    position: relative;
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    color: #4E4D7B;
    letter-spacing: -1px;
}

.mec-month-divider h5::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 70px;
    height: 5px;
    background: #F05B4F;
    border-radius: 100px;
}

.mec-month-divider i {
    display: none;
}

/* =========================
   EVENT CARD
========================= */

.mec-past-event {
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 36px;
    border: 1px solid rgba(78,77,123,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    background: #fff;
}

.mec-past-event:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* =========================
   ALTERNATING COLORS
========================= */

.mec-past-event:nth-of-type(3n+2) {
    background: #F6EBDD;
}

.mec-past-event:nth-of-type(3n+3) {
    background: #EAF5F5;
}

/* =========================
   TOP SECTION
========================= */

.mec-topsec {
    display: flex;
    align-items: stretch;
    min-height: 260px;
}

/* =========================
   IMAGE
========================= */

.mec-event-image-wrap {
    width: 28%;
    padding: 0 !important;
}

.mec-event-image {
    height: 100%;
    overflow: hidden;
}

.mec-event-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mec-past-event:hover img {
    transform: scale(1.04);
}

/* =========================
   CONTENT
========================= */

.mec-event-content-wrap {
    width: 52%;
    padding: 34px 36px !important;

    display: flex;
    align-items: center;
}

.mec-event-content {
    width: 100%;
}

.mec-event-title {
    margin-bottom: 18px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.mec-event-title a {
    color: #4E4D7B !important;
    text-decoration: none;
}

.mec-event-title a:hover {
    color: #F05B4F !important;
}

.event-color {
    width: 10px !important;
    height: 10px !important;
    border-radius: 100px;
    display: inline-block;
    margin-left: 8px;
}

.mec-event-description {
    font-size: 15px;
    line-height: 1.8;
    color: #5f5f6f;
}

/* =========================
   RIGHT SIDEBAR
========================= */

.mec-event-meta-wrap {
    width: 20%;
    min-width: 210px;

    display: flex;
    align-items: center;

    padding: 34px 28px !important;

    border-left: 1px solid rgba(78,77,123,0.08);

    position: relative;
}

.mec-event-meta-wrap::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 0;

    width: 4px;
    height: calc(100% - 68px);

    background: #F05B4F;
    border-radius: 100px;
}

.mec-event-meta {
    width: 100%;
}

.mec-date-details,
.mec-time-details {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 16px;

    color: #4E4D7B;
    font-size: 14px;
    font-weight: 700;
}

.mec-date-details i {
    color: #F05B4F;
}

/* =========================
   FOOTER
========================= */

.mec-event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 28px !important;

    border-top: 1px solid rgba(78,77,123,0.08);

    background: rgba(255,255,255,0.5);
}

/* =========================
   SHARE
========================= */

.mec-event-sharing-wrap {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.mec-event-sharing {
    display: none !important;
}

.mec-event-share-icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(78,77,123,0.08);

    color: #4E4D7B;

    transition: all 0.3s ease;
}

.mec-event-share-icon:hover {
    background: #4E4D7B;
    color: #fff;
}

/* =========================
   BUTTON FIXED PROPERLY
========================= */

.mec-booking-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 14px 24px !important;

    min-width: 170px;

    background: #4E4D7B !important;
    color: #fff !important;

    border-radius: 14px !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    position: static !important;
    float: none !important;

    box-shadow: none !important;
    border: none !important;

    line-height: 1;

    transition: all 0.3s ease;
}

.mec-booking-button:hover {
    background: #F05B4F !important;
    transform: translateY(-2px);
}

/* =========================
   REMOVE PLUGIN ISSUES
========================= */

.mec-event-article,
.mec-event-footer,
.mec-topsec,
.mec-col-table-c {
    border: none !important;
    height: auto !important;
}

.mec-event-footer:after,
.mec-topsec:after {
    display: none !important;
    content: none !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {

    .mec-topsec {
        flex-wrap: wrap;
    }

    .mec-event-image-wrap {
        width: 35%;
    }

    .mec-event-content-wrap {
        width: 65%;
    }

    .mec-event-meta-wrap {
        width: 100%;
        min-width: 100%;

        border-left: none;
        border-top: 1px solid rgba(78,77,123,0.08);
    }

}

@media (max-width: 767px) {

    .mec-wrap {
        padding: 20px 0 60px;
    }

    .mec-month-divider {
        margin: 55px 0 30px;
    }

    .mec-month-divider h5 {
        font-size: 28px;
    }

    .mec-topsec {
        display: block;
    }

    .mec-event-image-wrap,
    .mec-event-content-wrap,
    .mec-event-meta-wrap {
        width: 100%;
        min-width: 100%;
    }

    .mec-event-image img {
        min-height: 220px;
    }

    .mec-event-content-wrap {
        padding: 26px 22px !important;
    }

    .mec-event-title {
        font-size: 22px;
    }

    .mec-event-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .mec-event-meta-wrap {
        padding: 24px 22px !important;

        border-left: none;
        border-top: 1px solid rgba(78,77,123,0.08);
    }

    .mec-event-meta-wrap::before {
        top: 0;
        left: 22px;

        width: calc(100% - 44px);
        height: 4px;
    }

    .mec-event-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;

        padding: 20px 22px !important;
    }

    .mec-booking-button {
        width: 100%;
    }

}




/* =========================
   FIX BOUTON / SHARE
========================= */

.mec-event-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px;
}

.mec-event-sharing-wrap {
    flex-shrink: 0;
}

.mec-booking-button {
    margin-left: auto !important;
    position: relative !important;
    z-index: 2;
    margin-bottom: 20px ;
}

/* masque complètement les icônes share ouvertes du plugin */
.mec-event-sharing {
    display: none !important;
}

/* =========================
   BORDS ARRONDIS CARTES
========================= */

.mec-past-event {
    border-radius: 24px !important;
    overflow: hidden !important;
}

.mec-event-image img {
    border-radius: 0 !important;
}/* End custom CSS */