/* Agenda et actualités des partenaires (agenda.php, evenement.php) */

.evt-intro { text-align: center; max-width: 760px; margin: 0 auto 22px; color: #4a3a58; line-height: 1.55; }

/* recherche et filtres */
.evt-outils { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(83, 19, 120, .15); padding: 14px 16px; margin-bottom: 24px; }
.evt-recherche { width: 100%; box-sizing: border-box; padding: 11px 16px; font-size: 1rem; border: 1px solid #c9b3dd; border-radius: 24px; background: #fff; }
.evt-recherche:focus { outline: 2px solid #7A4CA3; }
.evt-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.evt-filtres button { border: 2px solid #7A4CA3; background: #fff; color: #531378; padding: 7px 18px; border-radius: 20px; font-size: .95rem; font-weight: bold; cursor: pointer; transition: background .15s, color .15s; }
.evt-filtres button:hover { background: #f6eefb; }
.evt-filtres button.actif { background: #7A4CA3; color: #fff; }
.evt-compte { font-size: .9rem; color: #7A4CA3; font-weight: bold; margin-top: 10px; min-height: 18px; }

/* sections et cartes */
.evt-section { margin: 26px 0 14px; font-size: 1.2rem; color: #531378; display: flex; align-items: center; gap: 12px; }
.evt-section::after { content: ""; flex: 1; height: 2px; background: #E6D6F0; }
.evt-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; align-items: stretch; }
.evt-carte {
	--c: #7A4CA3; background: #fff; border: 1px solid #e1d3ee; border-left: 6px solid var(--c); border-radius: 10px;
	padding: 16px 18px; box-shadow: 0 1px 5px rgba(83, 19, 120, .14); display: flex; flex-direction: column; gap: 6px;
	transition: transform .15s, box-shadow .15s;
}
.evt-carte:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(83, 19, 120, .22); }
.evt-passes .evt-carte { opacity: .78; }
.evt-date { color: #531378; font-weight: bold; font-size: 1.1rem; }
.evt-etat { background: #CD0C45; color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 10px; vertical-align: middle; text-transform: uppercase; letter-spacing: .5px; }
.evt-badge { align-self: flex-start; background: var(--c); color: #fff; font-size: .78rem; font-weight: bold; padding: 3px 11px; border-radius: 12px; }
.evt-titre { margin: 4px 0 0 0; font-size: 1.05rem; line-height: 1.35; }
.evt-titre a { color: #222; text-decoration: none; }
.evt-titre a:hover { color: var(--c); text-decoration: underline; }
.evt-resume { margin: 0; line-height: 1.45; color: #333; text-align: left; }
.evt-meta { margin: 0; font-size: .9rem; color: #444; text-align: left; }
.evt-actions { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.evt-btn { display: inline-block; background: var(--c); color: #fff !important; text-decoration: none; padding: 7px 18px; border-radius: 18px; font-weight: bold; font-size: .9rem; border: 2px solid var(--c); }
.evt-btn:hover { opacity: .88; }
.evt-btn-clair { background: #fff; color: var(--c) !important; }
.evt-vide { display: none; text-align: center; background: #fff; border-radius: 10px; padding: 28px 18px; color: #555; margin-top: 18px; }

/* fiche d'un événement */
.evt-infos { --c: #7A4CA3; background: #fff; border: 1px solid #e1d3ee; border-left: 6px solid var(--c); border-radius: 10px; padding: 12px 18px; margin: 0 auto 22px; max-width: 820px; }
.evt-infos p { margin: 5px 0; text-align: left; }

@media (max-width: 700px) { .evt-grille { grid-template-columns: 1fr; gap: 14px; } }

/* localisation : fil d'Ariane sous le titre */
.evt-fil { text-align: center; font-size: .9rem; color: #7A4CA3; margin: -12px 0 18px 0; }
.evt-fil a { color: #7A4CA3; text-decoration: none; }
.evt-fil a:hover { text-decoration: underline; }
.evt-fil strong { color: #531378; }
