.agenda-liste,
.agenda-prochains {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.agenda-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.agenda-item-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.agenda-en-avant {
    border: 2px solid var(--agenda-couleur, #1d4e89);
}

.agenda-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--agenda-couleur, #1d4e89);
    color: white;
    font-size: 0.8em;
    border-radius: 4px;
}

.agenda-item-date {
    font-weight: bold;
    color: var(--agenda-couleur, #1d4e89);
}

.agenda-item-lieu,
.agenda-item-categories {
    font-size: 0.9em;
    color: #666;
}

.agenda-pagination {
    text-align: center;
    margin-top: 2rem;
}

.agenda-pagination a,
.agenda-pagination span {
    margin: 0 4px;
}

.agenda-item-titre {
    font-family: var(--agenda-police-titre, inherit);
    color: var(--agenda-titre, inherit);
}

.agenda-item-contenu {
    font-family: var(--agenda-police-texte, inherit);
    color: var(--agenda-texte, inherit);
}

@media (max-width: 600px) {
    .agenda-liste,
    .agenda-prochains {
        grid-template-columns: 1fr;
    }
}