/* ==============================================
   /assets/css/evenements.css - Version 1.0 - 26/11/2026 - SOSRomandie.ch
   Liste publique des événements, aux couleurs de la charte (variables de sosr.css)
   ============================================== */

.evt-liste { max-width: 980px; margin: 0 auto; }

.evt-titre-page {
    font-weight: 700;
    color: var(--sosr-black);
    border-left: 6px solid var(--sosr-red);
    padding-left: .6rem;
}

.evt-filtres {
    background: #fff;
    border: 1.5px solid #ffeaea;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 37, 37, .08);
    padding: 1rem;
}

/* Carte : image à gauche, texte à droite */
.evt-carte {
    display: flex;
    background: #fff;
    border: 1.5px solid #f1dede;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(44, 37, 37, .08);
    overflow: hidden;
    margin-bottom: 1.4rem;
    transition: box-shadow .18s, border-color .18s;
}
.evt-carte:hover { border-color: var(--sosr-red); box-shadow: 0 6px 22px rgba(44, 37, 37, .16); }

.evt-image { flex: 0 0 300px; position: relative; min-height: 210px; background: #f6f1f1; }
.evt-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.evt-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 1rem 1.3rem; }

.evt-infos { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; font-size: .9rem; color: #555; }
.evt-type {
    background: var(--sosr-red);
    color: #fff;
    border-radius: 2em;
    padding: .1rem .75rem;
    font-weight: 600;
    font-size: .8rem;
}

.evt-titre { font-size: 1.3rem; font-weight: 700; line-height: 1.3; margin: .55rem 0 .4rem; overflow-wrap: anywhere; }
.evt-titre a { color: var(--sosr-black); text-decoration: none; }
.evt-titre a:hover, .evt-titre a:focus-visible { color: var(--sosr-red); }

.evt-extrait { color: #333; margin-bottom: .9rem; }

.evt-actions { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; }
.evt-source { color: var(--sosr-red); font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; }
.evt-source:hover, .evt-source:focus-visible { color: var(--sosr-black); }

@media (max-width: 700px) {
    .evt-carte { flex-direction: column; }
    .evt-image { flex: 0 0 190px; min-height: 190px; }
}
