/*
 * Page Événements — styles complémentaires.
 * Tailwind utilities first ; CSS custom uniquement si nécessaire.
 * NE PAS importer dans app.css (convention projet).
 */

/* top-3 (0.75rem) ancré explicitement — la classe Tailwind peut être absente du bundle prod
   si tailwind:build a tourné sur un cache antérieur à l'ajout de _card.html.twig */
.event-card__badge {
    top: 0.75rem;
}

/* line-clamp (3 lignes : résumé court sur la carte, le détail est sur la fiche) */
.event-card__description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Module Événements (liste + fiche) ── */
.event-card { transition: box-shadow .3s ease, transform .3s ease; }
.event-card:hover { box-shadow: 0 14px 34px -18px rgba(30, 58, 76, .35); transform: translateY(-2px); }
.event-card__badge { background: #F4C542; }
.event-card__badge-txt { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-size: 14px; font-weight: 600; color: #1E3A4C; }
.event-card__badge-txt svg { width: 15px; height: 15px; flex: none; }
.event-card--past .event-card__badge { background: #e8e2d6; }
.event-card--past img { filter: saturate(.75); }
.event-card__past { position: absolute; top: .75rem; right: .75rem; padding: 4px 10px; background: rgba(30, 58, 76, .82); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.event-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 13px; font-weight: 600; color: #1E3A4C; }
.event-card__more svg { width: 14px; height: 14px; transition: transform .2s ease; }
.event-card:hover .event-card__more svg { transform: translateX(3px); }

.events-head { margin-bottom: 26px; }
.events-head h2 { font-size: 30px; line-height: 1.15; margin-top: 8px; }
.events-head--past { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(30, 58, 76, .1); }
.events-empty { color: rgba(30, 58, 76, .6); font-size: 15px; }
.events-empty a { color: #1E3A4C; text-decoration: underline; text-underline-offset: 2px; }

/* Fiche */
.event-dates { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #F4C542; color: #1E3A4C; font-size: 14px; font-weight: 600; }
.event-dates svg { width: 16px; height: 16px; flex: none; }
.event-dates--past { background: #e8e2d6; }
.event-status { display: inline-block; padding: 3px 9px; background: rgba(30, 58, 76, .08); color: rgba(30, 58, 76, .7); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.event-cta { margin-top: 48px; padding: 32px 28px; background: #fff; border: 1px solid rgba(30, 58, 76, .1); text-align: center; }
.event-cta h2 { font-size: 26px; line-height: 1.2; }
.event-cta p { margin-top: 10px; color: rgba(30, 58, 76, .65); font-size: 15px; }
.event-cta .event-cta__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.event-cta .event-cta__link { font-size: 14px; font-weight: 600; color: #1E3A4C; text-decoration: underline; text-underline-offset: 3px; }
