/* ====================================================================
   AGENDA CIBLES — Feuille de style dédiée
   Chargée uniquement sur : page-agenda.php, single cibles_event,
   taxonomies cibles_event_type / cibles_event_departement.

   Palette
   -------
   Rouge signature  : #c51a1b (+ hover #a01516)
   Rouge accent     : #e53935
   Noir titre       : #0d0d0d
   Noir alt         : #1a1a1a
   Gris texte       : #4a4a4f  (meta : #6b6b70)
   Gris bordure     : #e5e5ea (soft : #eeeef1)
   Gris bg tuile    : #f5f5f7 (alt : #fafafa)
   Vert « à venir » : #1e8449
   Rouge « annulé » : #c62828

   Le contenu agenda est inséré dans .mvp-main-box (1200px) pour
   s'aligner sur le reste du site.
   ==================================================================== */

/* Neutralise le soulignement rouge global des liens de contenu
   (défini dans style.css du child) sur le périmètre agenda : chaque
   composant décide de son propre style. */
.cibles-agenda-scope a,
.cibles-agenda-scope a:link,
.cibles-agenda-scope a:visited {
    box-shadow: none !important;
    text-decoration: none;
}

.cibles-agenda-scope,
.cibles-agenda-scope * {
    box-sizing: border-box;
}

.cibles-agenda-scope {
    color: #1a1a1a;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.55;
    padding: 40px 24px 80px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Un conteneur intérieur qui reste lisible sur XL screens */
.cibles-agenda-inner {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}

/* ====================================================================
   HERO d'entrée (page /agenda/ + archives)
   ==================================================================== */
.cibles-evt-archive-header {
    margin: 0 0 48px;
    padding: 0;
}

.cibles-evt-archive-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c51a1b;
    margin: 0 0 10px;
    font-weight: 600;
}
.cibles-evt-archive-eyebrow a {
    color: inherit;
}
.cibles-evt-archive-eyebrow a:hover {
    color: #a01516;
}

.cibles-evt-archive-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.6rem;
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: #0d0d0d;
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: none;
    position: relative;
}

.cibles-evt-archive-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #c51a1b;
    margin-top: 18px;
    border-radius: 2px;
}

.cibles-evt-archive-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    line-height: 1.55;
    color: #4a4a4f;
    max-width: 780px;
    margin: 0 0 36px;
    font-weight: 400;
}

/* ====================================================================
   3 GRANDES CARTES CATÉGORIES (page /agenda/)
   ==================================================================== */
.cibles-evt-cat-cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 0 40px;
}

.cibles-evt-cat-card {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 260px;
    flex: 1 1 260px;
    background: #fff;
    border: 1px solid #e5e5ea;
    border-left: 4px solid #c51a1b;
    padding: 26px 28px 28px;
    position: relative;
    -webkit-transition: all 0.22s ease;
    transition: all 0.22s ease;
    text-decoration: none;
    color: #0d0d0d;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    min-height: 160px;
}

.cibles-evt-cat-card:hover {
    border-color: #c51a1b;
    border-left-width: 8px;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.cibles-evt-cat-card__icon {
    font-size: 1.9rem;
    color: #c51a1b;
    margin-bottom: 12px;
    line-height: 1;
    opacity: 0.9;
}

.cibles-evt-cat-card__name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #0d0d0d;
    line-height: 1.15;
    margin-bottom: 10px;
    text-transform: none;
}

.cibles-evt-cat-card__count {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6b70;
    font-weight: 500;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eeeef1;
    width: 100%;
    display: block;
}

.cibles-evt-cat-card:hover .cibles-evt-cat-card__count {
    color: #c51a1b;
}

/* ====================================================================
   NAV taxonomies (chips)
   ==================================================================== */
.cibles-evt-tax-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    padding: 16px 0 0;
    border-top: 1px solid #eeeef1;
    margin-top: 8px;
}

.cibles-evt-tax-label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: #6b6b70;
    font-weight: 600;
    margin-right: 4px;
}

.cibles-evt-tax-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a4a4f;
    background: #f5f5f7;
    border: 1px solid transparent;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    -webkit-transition: all 0.16s ease;
    transition: all 0.16s ease;
    line-height: 1.4;
}

.cibles-evt-tax-link:hover {
    background: #ececef;
    color: #0d0d0d;
}

.cibles-evt-tax-link.is-active {
    background: #c51a1b;
    color: #fff;
    border-color: #c51a1b;
}

.cibles-evt-tax-sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #e5e5ea;
    margin: 0 6px;
}

/* ====================================================================
   SECTION « À venir » — titre + mois
   ==================================================================== */
.cibles-evt-avenir {
    margin: 0 0 48px;
}

.cibles-evt-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #0d0d0d;
    margin: 0 0 24px;
    text-transform: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1.2;
}
.cibles-evt-section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 24px;
    background: #c51a1b;
    margin-right: 12px;
    border-radius: 2px;
}

/* En-tête de mois (ex : « Août 2026 ») */
.cibles-evt-month-head {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0d0d0d;
    margin: 32px 0 14px;
    padding: 10px 16px;
    background: -webkit-gradient(linear, left top, right top, from(#0d0d0d), to(#1a1a1a));
    background: linear-gradient(90deg, #0d0d0d 0%, #1a1a1a 100%);
    color: #fff;
    border-left: 4px solid #c51a1b;
    line-height: 1.2;
}
.cibles-evt-month-head:first-child {
    margin-top: 0;
}

/* ====================================================================
   LISTE d'événements (cartes)
   ==================================================================== */
.cibles-evt-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.cibles-evt-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e5e5ea;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-transition: all 0.18s ease;
    transition: all 0.18s ease;
    position: relative;
}

.cibles-evt-item:hover {
    border-color: #c51a1b;
    -webkit-transform: translateX(2px);
    transform: translateX(2px);
    -webkit-box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Pastille date à gauche : chiffre du jour + mois abrégé */
.cibles-evt-item-date {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 118px;
    min-height: 90px;
    background: #f5f5f7;
    border-right: 1px solid #eeeef1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 14px 8px;
    font-family: 'Oswald', sans-serif;
    color: #0d0d0d;
    line-height: 1;
    position: relative;
}
.cibles-evt-item-date::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    background: #c51a1b;
    border-radius: 0 2px 2px 0;
}
.cibles-evt-item-date-num {
    display: block;
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;
    color: #0d0d0d;
    letter-spacing: -0.01em;
    width: 100%;
}
.cibles-evt-item-date-mon {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #c51a1b;
    text-transform: uppercase;
    margin-top: 4px;
    line-height: 1;
    width: 100%;
}
.cibles-evt-item-date-sep {
    display: block;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: #6b6b70;
    text-transform: lowercase;
    margin: 4px 0 2px;
    line-height: 1;
}
.cibles-evt-item--annule .cibles-evt-item-date::before {
    background: #c62828;
    opacity: 0.5;
}
.cibles-evt-item--annule .cibles-evt-item-date-num,
.cibles-evt-item--annule .cibles-evt-item-date-mon {
    color: #6b6b70;
}

.cibles-evt-item-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 16px 22px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 0;
}

.cibles-evt-item-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #0d0d0d;
    line-height: 1.22;
    margin: 0 0 6px;
    text-decoration: none;
    display: block;
    text-transform: none;
}
.cibles-evt-item-title:hover {
    color: #c51a1b;
}

.cibles-evt-item-lieu {
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    color: #6b6b70;
    font-weight: 400;
    line-height: 1.35;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.cibles-evt-item-lieu::before {
    content: "\f041"; /* fa-map-marker */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    margin-right: 8px;
    color: #c51a1b;
    font-size: 0.9rem;
    line-height: 1;
}

/* Tag catégorie à droite */
.cibles-evt-item-cat {
    -ms-flex-item-align: center;
    align-self: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c51a1b;
    background: #fdecea;
    padding: 6px 12px;
    border-radius: 3px;
    margin: 0 22px 0 0;
    line-height: 1.2;
    white-space: nowrap;
}

/* Annulé */
.cibles-evt-item--annule {
    opacity: 0.72;
}
.cibles-evt-item--annule .cibles-evt-item-title {
    text-decoration: line-through;
    color: #6b6b70;
}
.cibles-evt-badge {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 3px;
    line-height: 1.2;
    vertical-align: middle;
    margin-left: 8px;
}
.cibles-evt-badge--annule {
    background: #c62828;
    color: #fff;
}
.cibles-evt-badge--type {
    background: #fdecea;
    color: #c51a1b;
    text-decoration: none;
}
a.cibles-evt-badge--type:hover {
    background: #c51a1b;
    color: #fff;
}

/* ====================================================================
   ÉTAT VIDE (aucun événement à venir)
   ==================================================================== */
.cibles-evt-empty {
    background: #fafafa;
    border: 1px dashed #e5e5ea;
    border-radius: 6px;
    padding: 48px 32px;
    text-align: center;
    color: #4a4a4f;
    font-family: 'Roboto', sans-serif;
    font-size: 1.02rem;
    line-height: 1.55;
    margin: 0 0 32px;
    position: relative;
}
.cibles-evt-empty::before {
    content: "\f073"; /* fa-calendar */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    display: block;
    font-size: 2.4rem;
    color: #c51a1b;
    opacity: 0.75;
    margin-bottom: 14px;
    line-height: 1;
}

/* ====================================================================
   ÉVÉNEMENTS PASSÉS — details/summary discret
   ==================================================================== */
.cibles-evt-passes {
    margin: 32px 0 0;
    border-top: 1px solid #eeeef1;
    padding-top: 24px;
}
.cibles-evt-passes-toggle {
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b6b70;
    padding: 12px 16px;
    background: #fafafa;
    border: 1px solid #eeeef1;
    border-radius: 4px;
    -webkit-transition: all 0.15s;
    transition: all 0.15s;
    list-style: none;
    outline: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.cibles-evt-passes-toggle::-webkit-details-marker { display: none; }
.cibles-evt-passes-toggle::marker { content: ""; }
.cibles-evt-passes-toggle::before {
    content: "\f0da"; /* fa-caret-right */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    margin-right: 10px;
    color: #c51a1b;
    font-size: 0.9rem;
    -webkit-transition: transform 0.15s ease;
    transition: transform 0.15s ease;
}
.cibles-evt-passes[open] .cibles-evt-passes-toggle::before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.cibles-evt-passes-toggle:hover {
    background: #f0f0f2;
    color: #0d0d0d;
}
.cibles-evt-passes-inner {
    padding-top: 20px;
}

/* Pagination */
.cibles-evt-pagination {
    margin-top: 24px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
}
.cibles-evt-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    background: #f5f5f7;
    color: #0d0d0d;
    border-radius: 3px;
    text-decoration: none;
    -webkit-transition: all 0.15s;
    transition: all 0.15s;
    box-shadow: none;
}
.cibles-evt-pagination .page-numbers:hover {
    background: #e5e5ea;
}
.cibles-evt-pagination .page-numbers.current {
    background: #c51a1b;
    color: #fff;
}

/* ====================================================================
   FICHE événement (single)
   ==================================================================== */
.cibles-evt-article {
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
}

.cibles-evt-header {
    margin: 0 0 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeef1;
    position: relative;
}

.cibles-evt-cats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cibles-evt-cats .cibles-evt-badge--type {
    margin-left: 0;
    font-size: 0.78rem;
    padding: 5px 12px;
    letter-spacing: 0.16em;
}

.cibles-evt-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #0d0d0d;
    margin: 0 0 18px;
    text-transform: none;
}

.cibles-evt-date {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #c51a1b;
    letter-spacing: 0.02em;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1.35;
}
.cibles-evt-date .cibles-evt-icon {
    display: none; /* on remplace par pseudo pour cohérence FA */
}
.cibles-evt-date::before {
    content: "\f073"; /* fa-calendar */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    margin-right: 10px;
    color: #c51a1b;
    font-size: 1.05rem;
    line-height: 1;
}

.cibles-evt-thumb {
    margin: 0 0 32px;
    background: #f5f5f7;
    overflow: hidden;
    border-radius: 4px;
}
.cibles-evt-thumb__img {
    display: block;
    width: 100%;
    height: auto;
}

/* Bloc infos pratiques */
.cibles-evt-meta-block {
    background: #fafafa;
    border: 1px solid #eeeef1;
    border-left: 4px solid #c51a1b;
    border-radius: 4px;
    padding: 22px 26px;
    margin: 0 0 32px;
}

.cibles-evt-meta-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #eeeef1;
    font-family: 'Roboto', sans-serif;
    font-size: 0.98rem;
    line-height: 1.5;
}
.cibles-evt-meta-row:first-child {
    padding-top: 0;
}
.cibles-evt-meta-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cibles-evt-meta-label {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 150px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6b70;
    padding-right: 16px;
    line-height: 1.5;
}

.cibles-evt-meta-val {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    color: #1a1a1a;
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
}
.cibles-evt-meta-val strong {
    font-weight: 700;
    color: #0d0d0d;
}
.cibles-evt-meta-val a {
    color: #c51a1b;
    font-weight: 500;
    box-shadow: inset 0 -1px 0 rgba(197, 26, 27, 0.3);
    -webkit-transition: box-shadow 0.15s;
    transition: box-shadow 0.15s;
}
.cibles-evt-meta-val a:hover {
    box-shadow: inset 0 -2px 0 #c51a1b;
}

/* Contenu éditorial libre */
.cibles-evt-content {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0 0 40px;
}
.cibles-evt-content p {
    margin: 0 0 1.1em;
}

/* Maillage interne — retour aux archives */
.cibles-evt-nav-back {
    margin-top: 40px;
    padding: 22px 24px;
    background: #f5f5f7;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a4a4f;
}
.cibles-evt-nav-back strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0d0d0d;
    margin-bottom: 10px;
}
.cibles-evt-nav-back a {
    display: inline-block;
    margin-right: 14px;
    color: #c51a1b;
    text-decoration: none;
    font-weight: 500;
    box-shadow: inset 0 -1px 0 rgba(197, 26, 27, 0.3);
    -webkit-transition: box-shadow 0.15s;
    transition: box-shadow 0.15s;
}
.cibles-evt-nav-back a:hover {
    box-shadow: inset 0 -2px 0 #c51a1b;
    color: #a01516;
}

/* Header cibles-evt-header — badge annulé */
.cibles-evt-cats .cibles-evt-badge--annule {
    margin-left: 4px;
}

/* ====================================================================
   RESPONSIVE — tablette / mobile
   ==================================================================== */
@media (max-width: 900px) {
    .cibles-agenda-scope {
        padding: 24px 16px 60px;
    }
    .cibles-evt-archive-title {
        font-size: 2.6rem;
    }
    .cibles-evt-title {
        font-size: 2.1rem;
    }
    .cibles-evt-archive-desc {
        font-size: 1.05rem;
    }
    .cibles-evt-cat-cards {
        gap: 14px;
    }
    .cibles-evt-cat-card {
        min-height: 140px;
        padding: 22px 22px 24px;
    }
    .cibles-evt-item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .cibles-evt-item-date {
        width: 100%;
        min-height: 0;
        padding: 10px 14px 10px 18px;
        border-right: none;
        border-bottom: 1px solid #eeeef1;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
        text-align: left;
    }
    .cibles-evt-item-date::before {
        top: 10px;
        bottom: 10px;
    }
    .cibles-evt-item-date-num {
        display: inline-block;
        width: auto;
        font-size: 1.5rem;
        margin-right: 8px;
    }
    .cibles-evt-item-date-mon {
        display: inline-block;
        width: auto;
        font-size: 0.78rem;
        margin-top: 0;
    }
    .cibles-evt-item-date-sep {
        display: inline-block;
        width: auto;
        margin: 0 8px;
    }
    .cibles-evt-item-body {
        padding: 14px 18px;
    }
    .cibles-evt-item-title {
        font-size: 1.2rem;
    }
    .cibles-evt-item-cat {
        margin: 0 18px 16px;
        -ms-flex-item-align: start;
        align-self: flex-start;
    }
    .cibles-evt-meta-label {
        width: 118px;
        font-size: 0.72rem;
    }
    .cibles-evt-meta-block {
        padding: 18px 20px;
    }
}

@media (max-width: 600px) {
    .cibles-agenda-scope {
        padding: 20px 14px 50px;
    }
    .cibles-evt-archive-title {
        font-size: 2.1rem;
    }
    .cibles-evt-archive-title::after {
        margin-top: 14px;
        width: 44px;
        height: 3px;
    }
    .cibles-evt-archive-desc {
        font-size: 1rem;
        margin-bottom: 26px;
    }
    .cibles-evt-cat-cards {
        gap: 12px;
    }
    .cibles-evt-cat-card {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        min-height: 0;
        padding: 20px 20px 22px;
    }
    .cibles-evt-cat-card__name {
        font-size: 1.35rem;
    }
    .cibles-evt-cat-card__icon {
        font-size: 1.6rem;
    }
    .cibles-evt-section-title {
        font-size: 1.5rem;
    }
    .cibles-evt-section-title::before {
        height: 20px;
    }
    .cibles-evt-month-head {
        font-size: 1rem;
        padding: 9px 14px;
    }
    .cibles-evt-title {
        font-size: 1.7rem;
    }
    .cibles-evt-date {
        font-size: 1rem;
    }
    .cibles-evt-meta-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 0;
    }
    .cibles-evt-meta-label {
        width: 100%;
        padding-right: 0;
        padding-bottom: 2px;
    }
    .cibles-evt-nav-back a {
        display: block;
        margin: 6px 0;
    }
    .cibles-evt-tax-nav {
        gap: 6px;
    }
    .cibles-evt-tax-link {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    .cibles-evt-tax-sep {
        display: none;
    }
    .cibles-evt-tax-label {
        display: block;
        width: 100%;
        margin: 4px 0 2px;
    }
    .cibles-evt-empty {
        padding: 36px 20px;
        font-size: 0.98rem;
    }
    .cibles-evt-passes-toggle {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
    .cibles-evt-content {
        font-size: 1rem;
    }
    .cibles-evt-article {
        max-width: 100%;
    }
}

/* ====================================================================
   REFONTE 2026-08 : hero compact + KPIs
   ==================================================================== */
.cibles-evt-archive-header--compact {
    margin: 0 0 28px;
}
.cibles-evt-archive-header--compact .cibles-evt-archive-title {
    font-size: 2.6rem;
    margin-bottom: 12px;
}
.cibles-evt-archive-header--compact .cibles-evt-archive-title::after {
    margin-top: 12px;
    width: 48px;
    height: 3px;
}
.cibles-evt-archive-header--compact .cibles-evt-archive-desc {
    font-size: 1.02rem;
    margin: 0 0 20px;
    max-width: 720px;
}

/* Ligne de KPIs (à venir / départements / catégories) */
.cibles-evt-kpi {
    list-style: none;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 32px;
    padding: 14px 0 0;
    border-top: 1px solid #eeeef1;
}
.cibles-evt-kpi__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    gap: 10px;
    line-height: 1.2;
}
.cibles-evt-kpi__num {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #c51a1b;
    letter-spacing: -0.01em;
    line-height: 1;
}
.cibles-evt-kpi__lbl {
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4a4a4f;
    line-height: 1.2;
}

/* ====================================================================
   REFONTE 2026-08 : cartes catégories DENSES (variante page /agenda/)
   ==================================================================== */
.cibles-evt-cat-cards--dense {
    gap: 14px;
    margin: 0 0 28px;
}
.cibles-evt-cat-card--dense {
    min-height: 0;
    padding: 18px 22px 20px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.cibles-evt-cat-card--dense .cibles-evt-cat-card__icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fdecea;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.cibles-evt-cat-card--dense .cibles-evt-cat-card__name {
    font-size: 1.15rem;
    margin-bottom: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
.cibles-evt-cat-card--dense .cibles-evt-cat-card__count {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    padding-top: 0;
    border-top: none;
    width: auto;
    margin-top: 0;
    background: #f5f5f7;
    padding: 5px 10px;
    border-radius: 3px;
    color: #4a4a4f;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ====================================================================
   CARTE DE FRANCE INTERACTIVE (nouveau bloc)
   ==================================================================== */
.cibles-evt-map {
    background: #fff;
    border: 1px solid #e5e5ea;
    border-radius: 6px;
    padding: 28px 32px 24px;
    margin: 0 0 40px;
    position: relative;
}
.cibles-evt-map-head {
    margin: 0 0 18px;
}
.cibles-evt-map-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #0d0d0d;
    margin: 0 0 6px;
    line-height: 1.2;
    text-transform: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.cibles-evt-map-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 22px;
    background: #c51a1b;
    margin-right: 12px;
    border-radius: 2px;
}
.cibles-evt-map-lede {
    font-family: 'Roboto', sans-serif;
    font-size: 0.94rem;
    color: #6b6b70;
    margin: 0;
    line-height: 1.5;
    padding-left: 16px;
}

.cibles-evt-map-canvas {
    position: relative;
    margin: 0 auto;
    max-width: 620px;
    width: 100%;
}

.cibles-evt-map-svg-wrap {
    width: 100%;
    line-height: 0; /* neutralise l'espace baseline autour du SVG inline */
}
.cibles-evt-map-svg {
    width: 100%;
    height: auto;
    display: block;
    /* on offre un fond subtil pour aider à distinguer les zones inertes */
    background: #fafafa;
    border-radius: 4px;
}

/* Départements inertes (aucun événement) : gris clair, non cliquables */
.cibles-evt-map-dept.is-inactive {
    fill: #ececef;
    stroke: #d9d9de;
    stroke-width: 0.7;
    pointer-events: none;
    -webkit-transition: fill 0.15s ease;
    transition: fill 0.15s ease;
}

/* Départements actifs : rouge Cibles avec 3 paliers d'intensité */
.cibles-evt-map-link {
    cursor: pointer;
    outline: none;
}
.cibles-evt-map-link:focus {
    outline: 2px solid #0d0d0d;
    outline-offset: 1px;
}
.cibles-evt-map-dept.is-active {
    stroke: #ffffff;
    stroke-width: 0.7;
    -webkit-transition: fill 0.15s ease, stroke-width 0.15s ease;
    transition: fill 0.15s ease, stroke-width 0.15s ease;
}
.cibles-evt-map-dept.is-count-1 { fill: #f4b6b6; }
.cibles-evt-map-dept.is-count-2 { fill: #e05e5f; }
.cibles-evt-map-dept.is-count-3 { fill: #a01516; }

.cibles-evt-map-link:hover .cibles-evt-map-dept,
.cibles-evt-map-dept.is-hover {
    fill: #0d0d0d;
    stroke: #ffffff;
    stroke-width: 1.2;
}

/* Tooltip flottant */
.cibles-evt-map-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    background: #0d0d0d;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.86rem;
    line-height: 1.35;
    white-space: nowrap;
    opacity: 0;
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    -webkit-transition: opacity 0.12s ease, -webkit-transform 0.12s ease;
    transition: opacity 0.12s ease, transform 0.12s ease;
    z-index: 5;
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    max-width: 240px;
}
.cibles-evt-map-tooltip.is-visible {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.cibles-evt-map-tooltip__label {
    display: block;
    font-weight: 600;
    color: #fff;
}
.cibles-evt-map-tooltip__count {
    display: block;
    font-size: 0.78rem;
    color: #c51a1b;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* Légende compacte sous la carte */
.cibles-evt-map-legend {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 14px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid #eeeef1;
    font-family: 'Oswald', sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b6b70;
}
.cibles-evt-map-legend__label {
    font-weight: 600;
    margin-right: 4px;
}
.cibles-evt-map-legend__scale {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.cibles-evt-map-legend__swatch {
    display: inline-block;
    width: 16px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.06);
}
.cibles-evt-map-legend__swatch.is-count-1 { background: #f4b6b6; }
.cibles-evt-map-legend__swatch.is-count-2 { background: #e05e5f; }
.cibles-evt-map-legend__swatch.is-count-3 { background: #a01516; }
.cibles-evt-map-legend__num {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0;
    text-transform: none;
    color: #4a4a4f;
    margin-right: 6px;
}

/* Liste secours (accessibilité + mobile), repliée par défaut */
.cibles-evt-map-list-wrap {
    margin: 18px 0 0;
    border-top: 1px solid #eeeef1;
    padding-top: 14px;
}
.cibles-evt-map-list-toggle {
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4a4a4f;
    list-style: none;
    outline: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 6px 0;
}
.cibles-evt-map-list-toggle::-webkit-details-marker { display: none; }
.cibles-evt-map-list-toggle::marker { content: ""; }
.cibles-evt-map-list-toggle::before {
    content: "\f0da"; /* fa-caret-right */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    margin-right: 10px;
    color: #c51a1b;
    -webkit-transition: transform 0.15s ease;
    transition: transform 0.15s ease;
}
.cibles-evt-map-list-wrap[open] .cibles-evt-map-list-toggle::before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.cibles-evt-map-list-toggle:hover { color: #0d0d0d; }
.cibles-evt-map-list {
    list-style: none;
    padding: 12px 0 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 12px;
}
.cibles-evt-map-list__item { margin: 0; }
.cibles-evt-map-list__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 7px 12px;
    background: #f5f5f7;
    border-radius: 3px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #1a1a1a;
    text-decoration: none;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    line-height: 1.3;
}
.cibles-evt-map-list__link:hover {
    background: #c51a1b;
    color: #fff;
}
.cibles-evt-map-list__count {
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #c51a1b;
    background: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 10px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.cibles-evt-map-list__link:hover .cibles-evt-map-list__count {
    color: #c51a1b;
    background: #fff;
}

/* ====================================================================
   REFONTE 2026-08 : LISTE événements plus scannable
   ==================================================================== */
/* Renforce la pastille date (plus étroite, plus dense) */
.cibles-evt-list .cibles-evt-item {
    border-radius: 3px;
    margin-bottom: 8px;
}
.cibles-evt-list .cibles-evt-item-date {
    width: 96px;
}
.cibles-evt-list .cibles-evt-item-date-num {
    font-size: 1.9rem;
}
.cibles-evt-list .cibles-evt-item-body {
    padding: 14px 20px;
}
.cibles-evt-list .cibles-evt-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.cibles-evt-list .cibles-evt-item-lieu {
    font-size: 0.88rem;
}
.cibles-evt-list .cibles-evt-item-cat {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    padding: 5px 10px;
    margin-right: 18px;
}

/* ====================================================================
   RESPONSIVE, carte + refonte
   ==================================================================== */
@media (max-width: 900px) {
    .cibles-evt-archive-header--compact .cibles-evt-archive-title {
        font-size: 2.2rem;
    }
    .cibles-evt-cat-cards--dense {
        gap: 10px;
    }
    .cibles-evt-cat-card--dense {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        padding: 16px 18px;
    }
    .cibles-evt-map {
        padding: 22px 20px 20px;
    }
    .cibles-evt-map-canvas {
        max-width: 100%;
    }
    .cibles-evt-map-lede {
        padding-left: 0;
        font-size: 0.9rem;
    }
    .cibles-evt-kpi {
        gap: 22px;
    }
    .cibles-evt-kpi__num {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .cibles-evt-archive-header--compact .cibles-evt-archive-title {
        font-size: 1.9rem;
    }
    .cibles-evt-archive-header--compact .cibles-evt-archive-desc {
        font-size: 0.98rem;
    }
    .cibles-evt-kpi {
        gap: 18px;
    }
    .cibles-evt-kpi__num {
        font-size: 1.35rem;
    }
    .cibles-evt-kpi__lbl {
        font-size: 0.7rem;
    }
    .cibles-evt-map {
        padding: 18px 14px 16px;
        margin-bottom: 32px;
    }
    .cibles-evt-map-title {
        font-size: 1.25rem;
    }
    .cibles-evt-map-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 5px 8px;
    }
    .cibles-evt-map-list__link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    /* Sur mobile, la carte reste utilisable mais le tooltip est un peu réduit */
    .cibles-evt-map-tooltip {
        font-size: 0.8rem;
        padding: 6px 10px;
        max-width: 180px;
    }
    .cibles-evt-map-legend {
        font-size: 0.7rem;
        gap: 6px;
    }
}
