/* ============================================
   GEOT - LB Country Blocks
   Add this file to WP Rocket RUCSS exclusions
   ============================================ */

/* --- Main container --- */
.mp-custom-con {
    display: flex;
    flex-direction: column;
}

/* --- Section title --- */
.mp-headingTwo-underline {
    font-size: 28px;
    position: relative;
    margin-bottom: 40px;
    color: #111;
    text-align: center;
    font-weight: 700;
    text-transform: capitalize;
    margin-top: 0px;
}
.mp-headingTwo-underline::after {
    content: "";
    width: 200px;
    height: 3px;
    background-color: #B3181F;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%);
}

/* --- Second container (Seine Académie block, currently commented out) --- */
.mp-custom-second-con {
    background-color: #eceff1;
    border-radius: 23px;
}

/* --- Event combo block (currently commented out) --- */
.event-combo {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 0px 20px;
    border: 2px solid #d9d9d9;
    border-radius: 23px;
}
.mp-event-combo-title {
    background-color: #B3181F;
    width: 100%;
    border-radius: 10px;
}
.mp-event-combo-title h2 {
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0px;
    padding: 10px 0px;
}
.mp-custom-two-col {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0px 20px 0px;
}
.custom-event-image {
    width: 70%;
}
.custom-event-image img {
    border-radius: 10px;
    border: 2px solid #B3181F;
}
.mp-custom-event-fiche {
    width: 50%;
    display: flex;
    flex-direction: column;
    background-color: #eceff1;
    padding: 20px;
    margin: 0px;
    border-radius: 10px;
    justify-content: space-between;
    gap: 20px;
    border: 2px solid #d9d9d9;
}

/* --- Third container: Classe virtuelle + Dans votre structure --- */
.mp-custom-third-con {
    margin-top: 20px;
}
.mp-custom-third-con .mp-combo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}
.mp-combo-left {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 45%;
    background-color: #fff;
    border-radius: 23px;
    border: 2px solid #d9d9d9;
}
.mp-combo-right {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 45%;
    background-color: #fff;
    border-radius: 23px;
    border: 2px solid #d9d9d9;
}

/* --- Combo card title bar --- */
.mp-combo-title {
    background-color: #B3181F;
    width: 100%;
    border-radius: 10px;
}
.mp-combo-title h2 {
    text-align: center;
    color: #fff;
    font-size: 20px !important;
    font-weight: 600;
    margin: 0px;
    padding: 10px 0px;
}

/* --- Info fiche (grey card inside each combo) --- */
.mp-custom-fiche {
    background-color: #eceff1;
    padding: 20px;
    margin: 10px 0px 0px 0px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

/* --- Icon + text rows inside the fiche --- */
.mp-custom-ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}
.mp-icon-box {
    display: flex;
    flex-direction: row;
    gap: 5px;
}
.mp-icon-box img {
    height: fit-content;
}
.mp-icon-box p {
    font-size: 15px;
    color: #111;
}

/* --- CTA button --- */
.mp-custom-button {
    width: 100%;
    max-width: 200px;
    margin: auto;
}
#echo-msk-btn-link {
    text-align: center;
    display: block;
    font-weight: bold;
    transition: all 0.3s ease-out;
    margin: auto;
    background-color: #B3181F;
    color: #fff;
    padding: 5px 0px;
    border-radius: 10px;
    border: 1px solid #B3181F;
    cursor: pointer;
}
#echo-msk-btn-link:hover {
    background-color: #B3181Fa8;
}

/* --- Information footnotes (currently commented out) --- */
.mp-custom-information {
    color: #111;
    padding: 20px 0px;
}
.mp-custom-information ul {
    margin-left: 0px !important;
}
.mp-custom-information ul li {
    list-style-type: none;
}

/* --- Auto-eval CTA desktop/mobile (second geot block) --- */
#autoeval-cta-desktop {
    display: block;
}
#autoeval-cta-mobile {
    display: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet and below */
@media (max-width: 768px) {
    .mp-custom-two-col {
        display: flex;
        flex-direction: column !important;
    }
    .custom-event-image,
    .mp-custom-event-fiche,
    .mp-combo-left,
    .mp-combo-right {
        width: 100% !important;
    }
    .mp-custom-third-con .mp-combo {
        display: flex;
        flex-direction: column;
    }
}

/* Mobile: swap desktop CTA for mobile CTA */
@media (max-width: 500px) {
    #autoeval-cta-desktop {
        display: none;
    }
    #autoeval-cta-mobile {
        display: block;
    }
}