/* Style de base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f9f9f9;
}

h1 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
}

/* Conteneur pour chaque annonce */
.event-item {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* Titre de l'événement */
.event-item h3 {
    color: #333;
    margin-top: 0;
    font-size: 1.5em;
}

/* Détails de l'événement */
.event-item p {
    margin: 5px 0;
    color: #555;
}

/* Style de la date */
.event-item .event-date {
    font-weight: bold;
    color: #4CAF50;
}

/* Séparateur pour chaque table dans le tableau */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

/* Styles pour les cellules */
th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

/* En-tête du tableau */
th {
    background-color: #e0f7de;
    color: #333;
    font-weight: bold;
    text-align: center;
}

/* Couleur de fond alternée pour les lignes du tableau */
tr:nth-child(even) {
    background-color: #f3f3f3;
}

/* Colonne de la description (assurez-vous qu'elle est assez large) */
td:nth-child(4) {
    width: 60%;
}

/* Responsive */
@media only screen and (max-width: 800px) {
    .event-item {
        padding: 10px;
    }

    table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    th, td {
        font-size: 14px;
        padding: 8px;
    }

    .event-item h3 {
        font-size: 1.3em;
    }
}
