/* Fond jaune/ocre de la section complète */
.events-main-section {
    background-color: #d19200; /* Teinte ocre jaune institutionnelle */
    padding: 50px 0;
}

/* En-tête de section centré */
.events-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.events-section-header h2 {
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Petite ligne blanche centrée sous le titre */
.header-line-white {
    width: 60px;
    height: 3px;
    background-color: #ffffff;
    margin: 10px auto 0 auto;
}

/* Liste et espacement des lignes */
.events-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Espace entre les rangées d'événements */
}

/* Ligne d'événement (Fond sombre marron/kaki) */
.event-row-card {
    background-color: #8c6d12; /* Fond sombre texturé de l'image */
    display: flex;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-row-card:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Partie gauche : Dimensionnement de l'image fixe */
.event-image-side {
    padding: 25px 30px;
    width: 320px;
    min-width: 320px;
    /*background-color: #444;*/
}

.event-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Partie droite : Textes et alignements */
.event-content-side {
    padding: 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.event-content-side h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

/* Ligne de métadonnées (Dates en italique gras) */
.event-meta-info {
    font-size: 12px;
    margin-bottom: 12px;
    color: #f1f1f1;
}

.event-date-highlight {
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
}

.event-location-text {
    font-weight: 600;
    opacity: 0.9;
}

/* Corps de description */
.event-description-text {
    font-size: 13.5px;
    line-height: 1.6;
    text-align: justify;
    opacity: 0.95;
    margin-bottom: 15px;
}

/* Bouton rouge "VOIR +" */
.event-action-wrap {
    margin-top: auto;
}

.btn-event-more {
    display: inline-block;
    background-color: #990000; /* Rouge foncé vif */
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 24px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.btn-event-more:hover {
    background-color: #cc0000;
}

/* RESPONSIVE TABLETTE & MOBILE */
@media (max-width: 850px) {
    .event-row-card {
        flex-direction: column; /* L'image passe au-dessus des textes sur mobile */
    }
    
    .event-image-side {
        width: 100%;
        min-width: 100%;
        height: 220px;
    }
    
    .event-content-side {
        padding: 20px;
    }
    
    .events-section-header h2 {
        font-size: 30px;
    }
}
