
/* ----- GRID ----- */
.mbp-events-full-section {
    width: 100%;
    padding: 80px 20px 80px 20px; /* 80px haut et bas, 20px gauche et droite */
    background-color: transparent; 
}

.mbp-events-full-section h1 {
    font-family: 'Amarante', cursive;
    color: #E49925;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 400;
}

.mbp-events-full-section p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.mbp-events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* ----- CARD ----- */
.mbp-event-card {
    background: #fff;
    border-radius: 14px;
    width: 350px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    opacity: 1;
    transform: translateY(0);
}

.mbp-event-card:hover {
    transform: translateY(-5px);
    border-color: #E49925;
}

/* ----- IMAGE ----- */
.mbp-event-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

/* ----- CONTENT ----- */
.mbp-event-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.mbp-event-content h3 {
    color: #E49925;
    font-size: 1.4em;
    margin-bottom: 8px;
}

.mbp-event-date {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
}

.mbp-event-desc {
    font-size: 1em;
    color: #333;
    margin-bottom: 20px;
    min-height: 60px;
}


.mbp-button:hover {
    background-color: #E49925;
    color: #000;
}

/* ----- NO EVENTS MESSAGE ----- */
.mbp-no-events {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    .mbp-event-card {
        width: 90%;
    }
}
/* TITRE de la carte */
.mbp-event-content h3 {
    font-family: 'Amarante';
    color: #E49925;
    font-size: 1.4em;
    margin-bottom: 8px;
    font-weight: 400;
}

/* DATE et DESCRIPTION */

.mbp-event-desc {
    font-family: 'Source Sans Pro', sans-serif;
    color: #000;
}
.mbp-event-date{
font-family: 'Source Sans Pro', sans-serif;
color: #555;
}

/* BOUTON */
.mbp-button {
    font-family: 'Source Sans Pro', sans-serif;
    display: inline-block;
    background-color: #457687;
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    font-size: 0.95em;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    width: 160px;
    margin-top: auto;
}
.mbp-event-science-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    align-items: flex-start;
}

/* Colonne gauche : Image */
.mbp-event-left {
    flex: 0 0 40%;
    text-align: center;
    display: flex;
    justify-content: center; /* centre l’image horizontalement */
    align-items: flex-start;
}

.mbp-event-left img {
    width: 100%;
    max-width: 350px;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
    background-color: #f0f0f0;
}

/* Colonne droite : Texte */
.mbp-event-right {
    flex: 0 0 55%;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: left;
}

/* Titre */
.mbp-event-right h1 {
    font-family: 'Amarante', cursive;
    color: #E49925;
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 400;
}

/* Date */
.mbp-event-date {
    color: #555;
    font-size: 1em;
    margin-bottom: 15px;
}

/* Description courte */
.mbp-event-description {
    font-size: 1.1em;
    color: #000;
    margin-bottom: 20px;
    text-align: justify;
}

/* Détails */
.mbp-event-details {
    font-size: 1.1em;
    color: #000;
    text-align: justify;
    line-height: 1.6;
}

/* Responsive : mobile */
@media (max-width: 900px) {
    .mbp-event-science-row {
        flex-direction: column;
        gap: 0;
    }

    .mbp-event-left,
    .mbp-event-right {
        flex: 1 1 100%;
    }

    .mbp-event-left {
        margin-bottom: 20px;
    }

    .mbp-event-right h1 {
        text-align: center;
    }

    .mbp-event-date,
    .mbp-event-description,
    .mbp-event-details {
        text-align: justify;
    }
}





