.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    color: #2c7a7b; /* Couleur thème */
    font-weight: bold;
    font-size: 0.9rem;
}

/* Page Détail */
.detail-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 2rem 0;
}

.detail-description img {
    width: 100%;
}

.detail-description ul {
  list-style: disc;
  padding-left: 1.5rem; /* important pour voir les puces */
}
.detail-description strong {
    font-weight: bold;
}
.detail-description em {
    font-style: italic;
}

#event-detail-container img {
    max-width: 550px;
}