/* Agenda public (V2) — s'appuie sur les variables --depl-* définies dans views/v2/includes/head.ejs */

.ev-hero { min-height: 56vh !important; }
.ev-hero--small { min-height: 46vh !important; }
.v2-btn--outline { background: transparent !important; color: var(--depl-orange) !important; }
.v2-btn--outline:hover { background: var(--depl-orange) !important; color: #fff !important; }

/* ---------- Liste ---------- */
.ev-list-section { padding: 70px 0 110px; background: var(--depl-cream-soft); }
.ev-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.ev-chip { padding: 9px 16px; border: 1px solid rgba(43,46,42,.15); background: #fff; color: var(--depl-ink); font-size: .85rem; text-decoration: none !important; transition: border-color .2s, background .2s, color .2s; }
.ev-chip:hover { border-color: var(--depl-orange); color: var(--depl-ink); }
.ev-chip.is-active { background: var(--depl-ink); border-color: var(--depl-ink); color: var(--depl-cream); }
.ev-month { margin-bottom: 64px; }
.ev-month-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; color: var(--depl-ink); margin: 0 0 26px; display: flex; align-items: baseline; gap: 14px; }
.ev-month-title span { font-family: Roboto, sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--depl-orange); font-weight: 600; }
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 992px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ev-grid { grid-template-columns: 1fr; } }

.ev-card { display: flex; flex-direction: column; background: #fff; text-decoration: none !important; color: inherit; transition: transform .5s var(--ease-out-quart), box-shadow .5s var(--ease-out-quart); }
.ev-card:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,46,42,.1); }
.ev-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--depl-cream); }
.ev-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out-expo); }
.ev-card:hover .ev-card-media img { transform: scale(1.05); }
.ev-card-noimg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--depl-cream), #e8dfcc); }
.ev-date { position: absolute; left: 14px; top: 14px; background: #fff; text-align: center; padding: 7px 11px 8px; line-height: 1.05; min-width: 58px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.ev-date span { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--depl-ink-soft); font-weight: 600; }
.ev-date strong { display: block; font-family: Montserrat, sans-serif; font-size: 1.6rem; font-weight: 600; color: var(--depl-orange); margin: 2px 0; }
.ev-ribbon { position: absolute; right: 14px; top: 14px; background: #b4432f; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.ev-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ev-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--depl-orange); font-weight: 600; margin-bottom: 10px; }
.ev-card-title { font-family: Montserrat, sans-serif; font-size: 1.15rem; line-height: 1.3; font-weight: 600; color: var(--depl-ink); margin: 0 0 10px; }
.ev-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; color: var(--depl-ink-soft); margin: 0 0 18px; }
.ev-card-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--depl-orange); opacity: .6; margin: 0 12px 2px -6px; vertical-align: middle; }
.ev-state { margin-top: auto; align-self: flex-start; font-size: .78rem; font-weight: 600; padding: 5px 10px; background: rgba(93,111,78,.12); color: var(--depl-moss-deep); }
.ev-state.is-urgent { background: rgba(230,142,35,.14); color: var(--depl-orange-deep); }
.ev-state--full, .ev-state--cancelled { background: rgba(180,67,47,.1); color: #b4432f; }
.ev-state--closed, .ev-state--past { background: rgba(43,46,42,.07); color: var(--depl-ink-soft); }
.ev-state--external { background: rgba(43,46,42,.07); color: var(--depl-ink); }
.ev-card--cancelled .ev-card-media img, .ev-card--past .ev-card-media img { filter: grayscale(.8); }
.ev-card--cancelled .ev-card-title { text-decoration: line-through; text-decoration-color: rgba(180,67,47,.5); }

.ev-empty { background: #fff; padding: 64px 40px; text-align: center; }
.ev-empty h2 { font-size: 1.5rem; font-weight: 600; color: var(--depl-ink); margin: 0 0 14px; }
.ev-empty p { color: var(--depl-ink-soft); max-width: 520px; margin: 0 auto 28px; }
.ev-empty-actions { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ev-archive-link { text-align: center; margin-top: 20px; }

/* ---------- Page d'un événement ---------- */
.ev-show-hero { min-height: 62vh !important; align-items: flex-end !important; padding-bottom: 64px !important; }
.ev-show-hero.is-muted .v2-hero-image { filter: grayscale(.7); }
.ev-crumb { display: table; color: var(--depl-cream) !important; opacity: .8; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 26px; text-decoration: none !important; }
.ev-crumb:hover { opacity: 1; color: var(--depl-orange-soft) !important; }
.ev-preview-flag { display: inline-block; background: var(--depl-orange); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; margin: 0 0 18px 14px; }
.ev-show-title { font-size: clamp(2.1rem, 5vw, 4rem) !important; max-width: 900px; }
.ev-show-when { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--depl-cream); font-size: 1.05rem; }
.ev-show-when span + span::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--depl-orange); vertical-align: middle; margin-right: 14px; }

.ev-banner { background: var(--depl-cream); padding: 16px 0; font-size: .98rem; color: var(--depl-ink); }
.ev-banner a { color: var(--depl-orange-deep); text-decoration: underline; }
.ev-banner--cancelled { background: #fbe9e5; color: #7c2a1b; }

.ev-show { padding: 72px 0 100px; background: #fff; }
.ev-show-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
@media (max-width: 992px) { .ev-show-grid { grid-template-columns: 1fr; gap: 40px; } .ev-show-side { order: -1; } }
.ev-lede { font-size: 1.28rem; line-height: 1.55; color: var(--depl-ink); margin: 0 0 32px; font-weight: 400; }
.ev-prose { font-size: 1.06rem; line-height: 1.8; color: var(--depl-ink); }
.ev-prose p { margin: 0 0 1.1em; color: var(--depl-ink); font-size: inherit; line-height: inherit; }
.ev-prose h2 { font-family: Montserrat, sans-serif; font-size: 1.6rem; font-weight: 600; color: var(--depl-ink); margin: 1.6em 0 .6em; line-height: 1.25; }
.ev-prose h3 { font-family: Montserrat, sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--depl-ink); margin: 1.4em 0 .5em; }
.ev-prose ul, .ev-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.ev-prose ul { list-style: none; padding-left: 0; }
.ev-prose ul li { position: relative; padding-left: 24px; margin-bottom: .4em; }
.ev-prose ul li::before { content: ""; position: absolute; left: 0; top: .9em; width: 12px; height: 1px; background: var(--depl-orange); }
.ev-prose ol li { margin-bottom: .4em; padding-left: 4px; }
.ev-prose blockquote { margin: 1.4em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--depl-orange); font-size: 1.12rem; color: var(--depl-ink-soft); }
.ev-prose a { color: var(--depl-orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.ev-prose strong { color: var(--depl-ink); }
.ev-addcal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(43,46,42,.1); display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center; font-size: .92rem; color: var(--depl-ink-soft); }
.ev-addcal a { color: var(--depl-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--depl-orange); }
.ev-addcal a:hover { color: var(--depl-orange-deep); }

/* Panneau infos + inscription */
.ev-show-side { position: sticky; top: 100px; }
@media (max-width: 992px) { .ev-show-side { position: static; } }
.ev-panel { background: var(--depl-cream-soft); padding: 32px 30px; border-top: 3px solid var(--depl-orange); }
@media (max-width: 600px) { .ev-panel { padding: 26px 20px; } }
.ev-facts { margin: 0 0 26px; display: grid; gap: 18px; }
.ev-facts div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; }
.ev-facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--depl-orange); font-weight: 600; padding-top: 3px; }
.ev-facts dd { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--depl-ink); }
.ev-facts dd a { color: var(--depl-ink-soft); font-size: .88rem; text-decoration: underline; }
.ev-places-label { display: block; font-weight: 600; margin-bottom: 8px; }
.ev-places-label.is-urgent { color: var(--depl-orange-deep); }
.ev-gauge { display: block; height: 6px; background: rgba(43,46,42,.1); }
.ev-gauge span { display: block; height: 100%; background: var(--depl-moss); transition: width .6s var(--ease-out-quart); }

.ev-reg { border-top: 1px solid rgba(43,46,42,.1); padding-top: 24px; }
.ev-reg-title { font-size: 1.4rem; font-weight: 600; color: var(--depl-ink); margin: 0 0 18px; }
.ev-reg p { color: var(--depl-ink-soft); font-size: .98rem; }
.ev-form { display: grid; gap: 14px; }
.ev-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .ev-row { grid-template-columns: 1fr; } }
.ev-field { display: grid; gap: 6px; margin: 0; }
.ev-field > span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--depl-ink-soft); font-weight: 600; }
.ev-field input { width: 100%; padding: 13px 14px; border: 1px solid rgba(43,46,42,.2); background: #fff; font-size: 1rem; color: var(--depl-ink); outline: none; transition: border-color .2s, box-shadow .2s; border-radius: 0; }
.ev-field input:focus { border-color: var(--depl-orange); box-shadow: 0 0 0 3px rgba(230,142,35,.15); }
.ev-field small { font-size: .82rem; color: var(--depl-ink-soft); }
.ev-stepper { display: inline-grid; grid-template-columns: 46px 70px 46px; border: 1px solid rgba(43,46,42,.2); background: #fff; width: max-content; }
.ev-stepper button { border: 0; background: none; font-size: 1.3rem; color: var(--depl-ink); cursor: pointer; transition: background .2s, color .2s; }
.ev-stepper button:hover { background: var(--depl-cream); color: var(--depl-orange-deep); }
.ev-stepper button:disabled { opacity: .3; cursor: default; background: none; }
.ev-stepper input { border: 0 !important; border-left: 1px solid rgba(43,46,42,.12) !important; border-right: 1px solid rgba(43,46,42,.12) !important; text-align: center; font-weight: 600; font-size: 1.1rem; padding: 11px 4px; -moz-appearance: textfield; box-shadow: none !important; }
.ev-stepper input::-webkit-outer-spin-button, .ev-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ev-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; line-height: 1.5; color: var(--depl-ink-soft); cursor: pointer; margin: 4px 0 0; font-weight: 400; }
.ev-consent input { accent-color: var(--depl-orange); width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.ev-submit { width: 100%; justify-content: center; margin-top: 6px; }
.ev-submit[aria-busy="true"] { opacity: .7; pointer-events: none; }
.ev-form-error { background: #fbe9e5; color: #7c2a1b; padding: 12px 14px; font-size: .92rem; border-left: 3px solid #b4432f; }
.ev-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation */
.ev-confirm { animation: ev-pop .5s var(--ease-out-quart); outline: none; }
@keyframes ev-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ev-confirm-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--depl-moss); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ev-confirm-link { background: #fff; padding: 16px 18px; margin: 18px 0; border-left: 3px solid var(--depl-moss); }
.ev-confirm-link p { margin: 0 0 10px; font-size: .92rem; }
.ev-confirm-link p:last-child { margin-bottom: 0; }
.ev-manage-url { display: inline-block; color: var(--depl-ink); font-weight: 600; border-bottom: 1px solid var(--depl-orange); text-decoration: none !important; margin-right: 14px; }
.ev-copy { background: none; border: 1px solid rgba(43,46,42,.2); padding: 6px 10px; font-size: .78rem; cursor: pointer; color: var(--depl-ink); }
.ev-copy:hover { border-color: var(--depl-orange); }
.ev-support { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(43,46,42,.1); }
.ev-support p { font-size: .95rem; color: var(--depl-ink); margin-bottom: 16px; }
.ev-support-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ev-support-actions .v2-btn { flex: 1; justify-content: center; padding: 14px 16px; }

.ev-already { margin-top: 22px; border-top: 1px solid rgba(43,46,42,.1); padding-top: 16px; }
.ev-already summary { cursor: pointer; font-size: .9rem; color: var(--depl-ink); font-weight: 600; }
.ev-already summary:hover { color: var(--depl-orange-deep); }
.ev-already p { font-size: .9rem; color: var(--depl-ink-soft); margin: 12px 0 0; }
.ev-already a { color: var(--depl-orange-deep); text-decoration: underline; }
.ev-lookup { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ev-lookup input { flex: 1 1 180px; padding: 11px 12px; border: 1px solid rgba(43,46,42,.2); font-size: .95rem; }
.ev-lookup .v2-btn { padding: 12px 16px; }
.ev-ok { color: var(--depl-moss-deep) !important; font-weight: 500; }

/* Gérer son inscription */
.ev-manage { max-width: 620px; }
.ev-flash { background: rgba(93,111,78,.12); color: var(--depl-moss-deep); padding: 12px 14px; font-weight: 600; margin-bottom: 18px; border-left: 3px solid var(--depl-moss); }
.ev-muted { color: var(--depl-ink-soft) !important; }
.ev-cancel { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(43,46,42,.1); }
.ev-cancel-btn { background: none; border: 0; padding: 0; color: #b4432f; font-weight: 600; text-decoration: underline; cursor: pointer; font-size: .95rem; }
.ev-back { margin: 26px 0 0; font-size: .9rem; }
.ev-back a { color: var(--depl-ink-soft); }

/* Autres activités */
.ev-others { padding: 90px 0 110px; background: var(--depl-cream-soft); }
.ev-others-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.ev-others-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; color: var(--depl-ink); margin: 0; }

/* Bloc « prochaines activités » de l'accueil */
.ev-home-grid { margin-top: 8px; }

/* Mobile : les colonnes doivent pouvoir rétrécir sous la largeur naturelle des champs */
.ev-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ev-field, .ev-field input { min-width: 0; }
@media (max-width: 992px) { .ev-show-grid { grid-template-columns: minmax(0, 1fr); } }
.ev-show-when { overflow-wrap: anywhere; }

/* ==========================================================================
   Liste des activités (refonte) : en-tête compact, filtres, liste chronologique
   ========================================================================== */

/* En-tête blanc (body.v2-solid-header) : règles communes dans views/v2/includes/head.ejs */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* En-tête de page */
.ag-head { background: var(--depl-cream); padding: 128px 0 0; border-bottom: 1px solid rgba(43, 46, 42, .08); }
@media (max-width: 991px) { .ag-head { padding-top: 104px; } }
.ag-head .v2-eyebrow { margin-bottom: 14px; }
.ag-head-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 56px; flex-wrap: wrap; padding-bottom: 30px; }
.ag-head-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-weight: 600; color: var(--depl-ink); letter-spacing: -.015em; margin: 0; }
.ag-head-lede { max-width: 440px; margin: 0; font-size: 1rem; line-height: 1.6; color: var(--depl-ink-soft); }
.ag-head-lede a { color: var(--depl-orange-deep); text-decoration: underline; }

/* Filtres */
.ag-filters { display: grid; gap: 14px; padding: 22px 0 24px; border-top: 1px solid rgba(43, 46, 42, .1); }
.ag-filter { display: flex; align-items: center; gap: 18px; min-width: 0; }
.ag-filter--inline { flex-wrap: wrap; gap: 12px 18px; }
.ag-filter-label { flex: 0 0 52px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--depl-orange); font-weight: 600; }
.ag-chips { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ag-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid rgba(43, 46, 42, .14); color: var(--depl-ink); font-size: .88rem; text-decoration: none !important; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.ag-chip span { font-size: .75rem; color: var(--depl-ink-soft); font-weight: 600; }
.ag-chip:hover { border-color: var(--depl-orange); color: var(--depl-ink); }
.ag-chip.is-active { background: var(--depl-ink); border-color: var(--depl-ink); color: var(--depl-cream); }
.ag-chip.is-active span { color: var(--depl-orange-soft); }
.ag-chip:focus-visible, .ag-seg a:focus-visible, .ag-toggle:focus-visible, .ag-row:focus-visible { outline: 2px solid var(--depl-orange); outline-offset: 2px; }
.ag-seg { display: inline-flex; border: 1px solid rgba(43, 46, 42, .14); background: #fff; }
.ag-seg a { padding: 8px 14px; font-size: .88rem; color: var(--depl-ink); text-decoration: none !important; white-space: nowrap; transition: background .2s, color .2s; }
.ag-seg a + a { border-left: 1px solid rgba(43, 46, 42, .1); }
.ag-seg a:hover { background: var(--depl-cream-soft); color: var(--depl-ink); }
.ag-seg a.is-active { background: var(--depl-ink); color: var(--depl-cream); }
.ag-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; font-size: .9rem; color: var(--depl-ink); text-decoration: none !important; white-space: nowrap; }
.ag-toggle:hover { color: var(--depl-ink); }
.ag-toggle-ui { width: 36px; height: 20px; border-radius: 20px; background: rgba(43, 46, 42, .2); position: relative; transition: background .2s; flex: 0 0 36px; }
.ag-toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.ag-toggle.is-on .ag-toggle-ui { background: var(--depl-orange); }
.ag-toggle.is-on .ag-toggle-ui::after { transform: translateX(16px); }
@media (max-width: 767px) {
  .ag-filter { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ag-filter--inline { flex-direction: row; align-items: center; }
  .ag-filter--inline .ag-filter-label { flex-basis: 100%; }
  .ag-chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 30px); margin-right: -15px; padding-right: 15px; scrollbar-width: none; }
  .ag-chips::-webkit-scrollbar { display: none; }
  .ag-seg { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .ag-toggle { margin-left: 0; }
}

/* Liste */
.ag-list { background: var(--depl-cream-soft); padding: 34px 0 100px; }
.ag-results { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--depl-ink-soft); margin-bottom: 8px; }
.ag-results strong { color: var(--depl-ink); }
.ag-results-sep { opacity: .5; }
.ag-reset { color: var(--depl-orange-deep); text-decoration: underline; }
.ag-month { margin-top: 26px; }
.ag-month-title { position: sticky; top: 74px; z-index: 5; background: var(--depl-cream-soft); margin: 0; padding: 16px 0 12px; font-size: 1.3rem; font-weight: 600; color: var(--depl-ink); display: flex; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--depl-ink); }
.ag-month-title span { font-family: Roboto, sans-serif; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--depl-orange); font-weight: 600; }
@media (max-width: 991px) { .ag-month-title { top: 62px; } }
.ag-rows { display: grid; }

.ag-row { display: grid; grid-template-columns: 92px 200px minmax(0, 1fr) 200px; gap: 0 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(43, 46, 42, .1); color: inherit; text-decoration: none !important; position: relative; }
.ag-row::before { content: ""; position: absolute; top: 0; bottom: 0; left: -20px; right: -20px; background: #fff; opacity: 0; transition: opacity .25s; z-index: 0; }
.ag-row > * { position: relative; z-index: 1; }
.ag-row:hover { color: inherit; }
.ag-row:hover::before { opacity: 1; }
.ag-row:hover .ag-row-title { color: var(--depl-orange-deep); }
.ag-row:hover .ag-row-thumb img { transform: scale(1.04); }
.ag-row:hover .ag-row-cta.is-primary { background: var(--depl-orange-deep); border-color: var(--depl-orange-deep); }

.ag-row-date { text-align: center; line-height: 1.05; border-right: 1px solid rgba(43, 46, 42, .12); padding-right: 22px; }
.ag-row-date strong { display: block; font-family: Montserrat, sans-serif; font-size: 2.3rem; font-weight: 600; color: var(--depl-ink); margin: 4px 0; letter-spacing: -.02em; }
.ag-row-wd, .ag-row-month { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--depl-ink-soft); font-weight: 600; }
.ag-row-month { color: var(--depl-orange-deep); }
.ag-row-thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--depl-cream); }
.ag-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out-expo); }
.ag-row-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--depl-cream), #e8dfcc); }
.ag-row-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.ag-row-top .ev-cat { margin: 0; }
.ag-row-soon { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--depl-orange); padding: 3px 7px; }
.ag-row-title { font-family: Montserrat, sans-serif; font-size: 1.22rem; line-height: 1.3; font-weight: 600; color: var(--depl-ink); margin: 0 0 8px; transition: color .2s; }
.ag-row-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: .92rem; color: var(--depl-ink); }
.ag-row-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ag-row-meta svg { color: var(--depl-orange); flex: 0 0 auto; }
.ag-row-summary { margin: 8px 0 0; font-size: .9rem; line-height: 1.55; color: var(--depl-ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ag-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.ag-row-side .ev-state { margin: 0; align-self: flex-end; }
.ag-row-gauge { width: 120px; height: 4px; background: rgba(43, 46, 42, .1); }
.ag-row-gauge span { display: block; height: 100%; background: var(--depl-moss); }
.ag-row--full .ag-row-gauge span { background: #b4432f; }
.ag-row-cta { display: inline-block; padding: 10px 16px; font-family: Montserrat, sans-serif; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--depl-ink); border: 1px solid rgba(43, 46, 42, .2); transition: background .2s, border-color .2s, color .2s; }
.ag-row-cta.is-primary { background: var(--depl-orange); border-color: var(--depl-orange); color: #fff; }
.ag-row--cancelled .ag-row-title { text-decoration: line-through; text-decoration-color: rgba(180, 67, 47, .5); }
.ag-row--cancelled .ag-row-thumb img, .ag-row--past .ag-row-thumb img { filter: grayscale(.8); }
.ag-row--cancelled .ag-row-date strong, .ag-row--past .ag-row-date strong { color: var(--depl-ink-soft); }

@media (max-width: 1100px) { .ag-row { grid-template-columns: 84px 160px minmax(0, 1fr) 170px; gap: 0 22px; } }
@media (max-width: 860px) {
  .ag-row { grid-template-columns: 70px minmax(0, 1fr) 110px; grid-template-areas: "date main thumb" "date side side"; gap: 10px 16px; padding: 18px 0; align-items: start; }
  .ag-row-date { grid-area: date; padding-right: 14px; }
  .ag-row-date strong { font-size: 1.9rem; }
  .ag-row-thumb { grid-area: thumb; }
  .ag-row-main { grid-area: main; }
  .ag-row-side { grid-area: side; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .ag-row-gauge { display: none; }
  .ag-row-summary { display: none; }
  .ag-row-title { font-size: 1.05rem; }
  .ag-row::before { left: -15px; right: -15px; }
}
@media (max-width: 480px) { .ag-row { grid-template-columns: 62px minmax(0, 1fr) 84px; } .ag-row-meta { font-size: .85rem; } }

/* Vide, rester informé, archives */
.ag-empty { background: #fff; padding: 56px 32px; text-align: center; margin-top: 24px; }
.ag-empty h2 { font-size: 1.4rem; font-weight: 600; color: var(--depl-ink); margin: 0 0 12px; }
.ag-empty p { color: var(--depl-ink-soft); max-width: 520px; margin: 0 auto 24px; }
.ag-empty-actions { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ag-stay { margin-top: 56px; background: var(--depl-ink); color: var(--depl-cream); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.ag-stay h2 { font-size: 1.4rem; font-weight: 600; color: var(--depl-cream); margin: 0 0 6px; }
.ag-stay p { margin: 0; color: rgba(244, 238, 226, .75); max-width: 480px; }
.ag-stay-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ag-stay .v2-link { color: var(--depl-cream); }
.ag-stay .v2-link:hover { color: var(--depl-orange-soft); }
.ag-archive { text-align: center; margin-top: 40px; }

/* Le thème applique padding + overflow:hidden à toute <section> : on neutralise pour la liste
   (sinon marges parasites et intertitres de mois qui ne restent pas collés) */
.ag-head, .ag-list { overflow: visible; }
section.ag-month { padding: 0; overflow: visible; }

/* Ajustements après relecture : hauteur de ligne imposée par le thème aux titres, étiquettes en mobile, densité */
.ag-month-title { line-height: 1.2; padding: 14px 0 10px; }
.ag-month { margin-top: 18px; }
.ag-row-title, .ag-head-title, .ag-empty h2, .ag-stay h2 { line-height: 1.25; }
.ag-head { padding-top: 116px; }
.ag-head-top { padding-bottom: 24px; }
.ag-filters { padding: 18px 0 20px; gap: 12px; }
.ag-results { margin-bottom: 0; }
@media (max-width: 991px) { .ag-head { padding-top: 96px; } }
@media (max-width: 767px) { .ag-filter-label { flex: none; } }

/* Animateurs de l'activité (panneau de la page événement) */
.ev-hosts { border-top: 1px solid rgba(43, 46, 42, .1); padding: 22px 0 24px; }
.ev-hosts-title { font-family: Roboto, sans-serif; font-size: 11px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--depl-orange); font-weight: 600; margin: 0 0 10px; }
.ev-hosts-lede { font-size: .9rem; color: var(--depl-ink-soft); margin: 0 0 14px; }
.ev-hosts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ev-host { display: flex; gap: 14px; align-items: flex-start; }
.ev-host-avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--depl-moss); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: Montserrat, sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.ev-host-text { display: grid; gap: 2px; min-width: 0; line-height: 1.4; }
.ev-host-text strong { color: var(--depl-ink); font-weight: 600; font-size: 1rem; }
.ev-host-role { font-size: .88rem; color: var(--depl-ink-soft); }
.ev-host-contact { display: grid; gap: 4px; margin-top: 6px; }
.ev-host-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--depl-ink); text-decoration: none; overflow-wrap: anywhere; }
.ev-host-contact a:hover { color: var(--depl-orange-deep); }
.ev-host-contact svg { color: var(--depl-orange); flex: 0 0 auto; }

/* Carte du point de rendez-vous (page événement) */
.ev-map { margin: 0 0 24px; }
.ev-map-box { height: 190px; background: var(--depl-cream); border: 1px solid rgba(43, 46, 42, .12); z-index: 0; }
.ev-map-links { display: flex; gap: 18px; margin-top: 10px; font-size: .9rem; }
.ev-map-links a { color: var(--depl-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--depl-orange); }
.ev-map-links a:hover { color: var(--depl-orange-deep); }
.ev-pin span { display: block; width: 28px; height: 28px; background: #e68e23; border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.ev-map .leaflet-control-attribution { font-size: 9px; }
