/* Agenda : photos visibles en entier, mise en page en grille de 3 */
.ag-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
.ag-card { transition: box-shadow .2s; }
.ag-card:hover { transform: none !important; box-shadow: 0 8px 24px rgba(22,35,46,0.10); }
.ag-card.is-past { opacity: 1 !important; }
.ag-photo { height: 280px !important; }
.ag-photo img { object-fit: contain !important; object-position: center !important; }
.ag-card:hover .ag-photo img { transform: none !important; }
.ag-photo.tecfit img { padding: 3rem; object-fit: contain !important; background: #fff; }
.ag-body { padding: 18px 20px 20px !important; }
.ag-desc { -webkit-line-clamp: 4 !important; font-size: 0.86rem !important; }
.ag-card.is-reported { border-color: #E3B341; }
@media (max-width: 980px) { .ag-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 640px) { .ag-grid { grid-template-columns: 1fr !important; } .ag-photo { height: 240px !important; } }

/* v17 : fonds de photos toujours blancs, plus de sélecteur d'année, badge "en cours" */
.ag-photo, .ag-photo.is-logo, .ag-photo.tecfit { background: #fff !important; border-bottom: 1px solid #EEF0F2; }
.ag-photo img { background: #fff; }
.ag-badge.b-live { background: #E1F5EE; color: #00A855; }
.ag-year { margin-top: 0.5rem !important; }
