/* ══════════════════════════════════════════════════════════════
   VIBRANCE EVENTS — Design System v2
   ══════════════════════════════════════════════════════════════ */

:root {
  --ve-primary:   #e63946;
  --ve-accent:    #f4a261;
  --ve-bg:        #08080d;
  --ve-bg2:       #0d0d15;
  --ve-card:      #10101a;
  --ve-card-alt:  #14141f;
  --ve-surface:   #1a1a28;
  --ve-text:      #eeedf6;
  --ve-text-2:    #c0bfd4;
  --ve-muted:     #636378;
  --ve-border:    rgba(255,255,255,0.06);
  --ve-border-2:  rgba(255,255,255,0.1);
  --ve-radius:    12px;
  --ve-radius-sm: 7px;
  --ve-shadow:    0 16px 48px rgba(0,0,0,0.6);
  --ve-shadow-sm: 0 4px 16px rgba(0,0,0,0.4);
  --ve-trans:     0.28s cubic-bezier(0.25,0.46,0.45,0.94);
  --ve-font-h:    'Syne', sans-serif;
  --ve-font-b:    'DM Sans', sans-serif;
}

/* ── Reset total — zéro marge parasite ─────────────────────── */
.ve-archive,  .ve-archive *,
.ve-single,   .ve-single * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
.ve-archive a, .ve-single a { text-decoration: none; color: inherit; }
.ve-archive img, .ve-single img { display: block; max-width: 100%; height: auto; }
.ve-archive ul, .ve-archive ol,
.ve-single  ul, .ve-single  ol { list-style: none; }
.ve-archive button, .ve-single button { cursor: pointer; background: none; }

/* ── Base ─────────────────────────────────────────────────────── */
.ve-archive, .ve-single {
  font-family: var(--ve-font-b);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ve-text);
  background: var(--ve-bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Conteneur ────────────────────────────────────────────────── */
.ve-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}
@media(max-width:900px){ .ve-container{ padding:0 24px; } }
@media(max-width:580px){ .ve-container{ padding:0 16px; } }


/* ══════════════════════════════════════════════════════════════
   ARCHIVE HERO (catégories uniquement)
   ══════════════════════════════════════════════════════════════ */
.ve-archive-hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--ve-border);
}
.ve-eyebrow {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ve-primary);
  margin-bottom: 10px;
}
.ve-archive-hero h1 {
  font-family: var(--ve-font-h);
  font-size: clamp(1.9rem,4.5vw,3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ve-text);
  margin-bottom: 10px;
}
.ve-lead { font-size: 0.97rem; color: var(--ve-muted); line-height: 1.65; max-width: 540px; }
.ve-result-count { display: none; }


/* ══════════════════════════════════════════════════════════════
   BARRE DE FILTRES
   ══════════════════════════════════════════════════════════════ */
.ve-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--ve-border);
}

.ve-search-wrap { position: relative; flex: 0 0 210px; }
.ve-search-icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 13px; color: var(--ve-muted); pointer-events: none;
}
#ve-search {
  width: 100%; padding: 8px 14px 8px 32px;
  background: var(--ve-surface); border: 1px solid var(--ve-border);
  border-radius: 40px; color: var(--ve-text); font-size: 0.8rem;
  outline: none; transition: border-color var(--ve-trans);
}
#ve-search:focus { border-color: var(--ve-primary); }
#ve-search::placeholder { color: var(--ve-muted); }

.ve-filter-cats, .ve-filter-dates { display: flex; gap: 4px; flex-wrap: wrap; }
.ve-cat-btn, .ve-date-btn {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 12px; border-radius: 40px;
  border: 1px solid var(--ve-border); color: var(--ve-muted);
  transition: all var(--ve-trans); white-space: nowrap;
}
.ve-cat-btn:hover, .ve-date-btn:hover { border-color: var(--ve-border-2); color: var(--ve-text-2); }
.ve-cat-btn.active, .ve-date-btn.active { background: var(--ve-primary); border-color: var(--ve-primary); color: #fff; }
.ve-cat-count { font-size: 0.6rem; opacity: 0.5; margin-left: 2px; }

.ve-view-toggle { display: flex; gap: 3px; margin-left: auto; }
.ve-view-btn {
  width: 30px; height: 30px; border-radius: var(--ve-radius-sm);
  border: 1px solid var(--ve-border); color: var(--ve-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ve-trans);
}
.ve-view-btn svg { width: 12px; height: 12px; }
.ve-view-btn:hover { border-color: var(--ve-border-2); color: var(--ve-text-2); }
.ve-view-btn.active { background: var(--ve-primary); border-color: var(--ve-primary); color: #fff; }

.ve-reset-btn {
  font-size: 0.68rem; font-weight: 600;
  padding: 5px 11px; border-radius: 40px;
  border: 1px solid var(--ve-border); color: var(--ve-muted);
  transition: all var(--ve-trans);
}
.ve-reset-btn:hover { border-color: var(--ve-accent); color: var(--ve-accent); }

.ve-progress-bar { height: 2px; overflow: hidden; opacity: 0; transition: opacity .25s; }
.ve-progress-bar.active { opacity: 1; }
.ve-progress-inner { height: 100%; width: 0; background: var(--ve-primary); transition: width .4s ease; }


/* ══════════════════════════════════════════════════════════════
   GRILLE — PLEINE LARGEUR, SANS MARGE EXTÉRIEURE
   ══════════════════════════════════════════════════════════════ */
.ve-grid-wrap { width: 100%; padding: 28px 48px 0; }
@media(max-width:900px){ .ve-grid-wrap{ padding:20px 24px 0; } }
@media(max-width:580px){ .ve-grid-wrap{ padding:16px 16px 0; } }

.ve-grid { display: grid; gap: 18px; }
.ve-layout-grid.ve-cols-2 { grid-template-columns: repeat(2,1fr); }
.ve-layout-grid.ve-cols-3 { grid-template-columns: repeat(3,1fr); }
.ve-layout-grid.ve-cols-4 { grid-template-columns: repeat(4,1fr); }
.ve-layout-list   { grid-template-columns: 1fr; gap: 10px; }
.ve-layout-timeline {
  grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 64px;
}
.ve-layout-timeline::before {
  content:''; position:absolute; left:26px; top:0; bottom:0; width:2px;
  background: linear-gradient(to bottom, var(--ve-primary), transparent 90%);
}
@media(max-width:1100px){
  .ve-layout-grid.ve-cols-4 { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:900px){
  .ve-layout-grid.ve-cols-3,
  .ve-layout-grid.ve-cols-4 { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:540px){
  .ve-layout-grid { grid-template-columns: 1fr !important; }
  .ve-layout-timeline { padding-left: 36px; }
  .ve-layout-timeline::before { left: 10px; }
}


/* ══════════════════════════════════════════════════════════════
   CARTE GRID
   ══════════════════════════════════════════════════════════════ */
.ve-card-grid {
  background: var(--ve-card);
  border: 1px solid var(--ve-border);
  border-radius: var(--ve-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--ve-trans), box-shadow var(--ve-trans), border-color var(--ve-trans);
  position: relative;
}
.ve-hover-lift:hover  { transform: translateY(-4px); box-shadow: var(--ve-shadow); border-color: rgba(230,57,70,.22); }
.ve-hover-glow:hover  { box-shadow: 0 0 28px rgba(230,57,70,.18), var(--ve-shadow-sm); border-color: rgba(230,57,70,.3); }
.ve-hover-zoom:hover .ve-card-media img { transform: scale(1.06); }

.ve-card-media {
  position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; flex-shrink: 0;
}
.ve-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.65s cubic-bezier(.25,.46,.45,.94);
}
.ve-card-ph {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--ve-surface), var(--ve-card));
}
.ve-card-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 50%);
}

/* Badges sur image */
.ve-badges-wrap {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 5px; z-index: 2;
}
/* Compatibilité ancienne structure */
.ve-badge {
  display: inline-block;
  font-size: 0.56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; line-height: 1.5;
}
.ve-badge-today { background: var(--ve-primary); color: #fff; }
.ve-badge-free  { background: rgba(0,200,100,.12); color: #00c864; border: 1px solid rgba(0,200,100,.25); }

/* Corps */
.ve-card-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.ve-card-cat {
  font-size: 0.58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ve-primary);
}
.ve-card-title {
  font-family: var(--ve-font-h); font-size: 0.95rem; font-weight: 700;
  line-height: 1.28; color: var(--ve-text);
}
.ve-card-title a { color: inherit; transition: color var(--ve-trans); }
.ve-card-title a:hover { color: var(--ve-primary); }
.ve-card-date, .ve-card-venue {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.74rem; color: var(--ve-muted); line-height: 1.3;
}
.ve-card-date svg, .ve-card-venue svg { width: 11px; height: 11px; flex-shrink: 0; opacity: .65; }
.ve-card-excerpt {
  font-size: 0.78rem; color: var(--ve-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 1px;
}
.ve-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 11px; border-top: 1px solid var(--ve-border);
}
.ve-card-price { font-size: 0.73rem; font-weight: 700; color: var(--ve-accent); }
.ve-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ve-muted); transition: color var(--ve-trans), gap var(--ve-trans);
}
.ve-card-link svg { width: 9px; height: 9px; transition: transform var(--ve-trans); }
.ve-card-grid:hover .ve-card-link { color: var(--ve-primary); gap: 6px; }
.ve-card-grid:hover .ve-card-link svg { transform: translateX(2px); }


/* ══════════════════════════════════════════════════════════════
   CARTE LIST
   ══════════════════════════════════════════════════════════════ */
.ve-card-list {
  display: flex; align-items: stretch;
  background: var(--ve-card); border: 1px solid var(--ve-border);
  border-radius: var(--ve-radius); overflow: hidden;
  transition: transform var(--ve-trans), border-color var(--ve-trans), box-shadow var(--ve-trans);
}
.ve-card-list:hover { transform: translateX(4px); border-color: rgba(230,57,70,.18); box-shadow: var(--ve-shadow-sm); }

.ve-card-list-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 68px; padding: 16px 0;
  background: rgba(230,57,70,.06); border-right: 1px solid var(--ve-border);
  text-align: center; flex-shrink: 0;
}
.ve-date-day   { font-family: var(--ve-font-h); font-size: 1.7rem; font-weight: 800; color: var(--ve-primary); line-height: 1; }
.ve-date-month { font-size: 0.56rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ve-muted); margin-top: 2px; }
.ve-date-year  { font-size: 0.56rem; color: var(--ve-muted); }

.ve-card-list-img { width: 130px; flex-shrink: 0; overflow: hidden; }
.ve-card-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ve-trans); }
.ve-card-list:hover .ve-card-list-img img { transform: scale(1.04); }
.ve-card-list .ve-card-body { padding: 16px 18px; justify-content: center; flex: 1; gap: 5px; }
.ve-card-list .ve-card-footer { margin-top: 8px; padding-top: 9px; }
.ve-card-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.73rem; color: var(--ve-muted); }
.ve-card-meta .ve-free { color: #00c864; font-weight: 600; }
.ve-card-list-arrow {
  display: flex; align-items: center; padding: 0 15px;
  color: var(--ve-muted); border-left: 1px solid var(--ve-border); flex-shrink: 0;
  transition: color var(--ve-trans), background var(--ve-trans);
}
.ve-card-list-arrow svg { width: 15px; height: 15px; }
.ve-card-list:hover .ve-card-list-arrow { color: var(--ve-primary); background: rgba(230,57,70,.04); }
@media(max-width:540px){
  .ve-card-list { flex-wrap: wrap; }
  .ve-card-list-img { width: 100%; height: 130px; }
  .ve-card-list-arrow { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   CARTE TIMELINE
   ══════════════════════════════════════════════════════════════ */
.ve-card-timeline { position: relative; padding: 0 0 28px 32px; }
.ve-tl-dot {
  position: absolute; left: -8px; top: 10px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ve-primary); border: 3px solid var(--ve-bg);
  box-shadow: 0 0 0 2px var(--ve-primary), 0 0 12px rgba(230,57,70,.35);
}
.ve-tl-date {
  position: absolute; right: calc(100% + 16px); top: 0;
  width: 46px; text-align: right;
  font-size: 0.65rem; color: var(--ve-muted); line-height: 1.3;
}
.ve-tl-date strong { display: block; font-family: var(--ve-font-h); font-size: 1.2rem; font-weight: 800; color: var(--ve-text-2); line-height: 1; }
.ve-tl-card {
  display: flex; background: var(--ve-card);
  border: 1px solid var(--ve-border); border-radius: var(--ve-radius); overflow: hidden;
  transition: transform var(--ve-trans), border-color var(--ve-trans);
}
.ve-tl-card:hover { transform: translateX(4px); border-color: rgba(230,57,70,.2); }
.ve-tl-img { width: 160px; flex-shrink: 0; overflow: hidden; }
.ve-tl-img img { width: 100%; height: 100%; object-fit: cover; }
.ve-tl-card .ve-card-body { padding: 16px 18px; }
@media(max-width:540px){
  .ve-tl-date { display: none; }
  .ve-tl-img  { width: 90px; }
}


/* ══════════════════════════════════════════════════════════════
   LOAD MORE / PAGINATION
   ══════════════════════════════════════════════════════════════ */
.ve-no-results {
  grid-column: 1/-1; text-align: center; padding: 64px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ve-no-results span { font-size: 2.2rem; }
.ve-no-results p { color: var(--ve-muted); font-size: 0.87rem; }

.ve-load-more-wrap { text-align: center; padding: 36px 0 52px; }
.ve-load-more {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 30px; border-radius: 40px;
  border: 1px solid var(--ve-border-2); color: var(--ve-text-2);
  display: inline-flex; align-items: center; gap: 7px;
  transition: all var(--ve-trans);
}
.ve-load-more:hover { border-color: var(--ve-primary); color: var(--ve-primary); background: rgba(230,57,70,.04); }
.ve-load-more:disabled { opacity: .4; cursor: not-allowed; }
.ve-load-spinner {
  width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,.12); border-top-color: var(--ve-primary);
  border-radius: 50%; display: none; animation: ve-spin .7s linear infinite;
}
.ve-load-more.loading .ve-load-spinner { display: block; }
@keyframes ve-spin { to { transform: rotate(360deg); } }

.ve-pagination { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; padding: 36px 0 52px; }
.ve-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 50%;
  background: var(--ve-surface); border: 1px solid var(--ve-border);
  color: var(--ve-muted); font-size: 0.8rem; font-weight: 600;
  transition: all var(--ve-trans);
}
.ve-pagination .page-numbers:hover,
.ve-pagination .page-numbers.current { background: var(--ve-primary); border-color: var(--ve-primary); color: #fff; }


/* ══════════════════════════════════════════════════════════════
   SINGLE — HERO
   ══════════════════════════════════════════════════════════════ */
.ve-single-hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 520px;
}
.ve-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04); transition: transform 6s ease;
}
.ve-single-hero:hover .ve-hero-bg { transform: scale(1); }
.ve-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.32) 52%, transparent 100%);
}
.ve-hero-content {
  position: relative; z-index: 2;
  padding: 100px 0 50px; width: 100%;
}
.ve-breadcrumb {
  display: flex; gap: 7px; font-size: 0.7rem; color: rgba(255,255,255,.38);
  margin-bottom: 13px; flex-wrap: wrap;
}
.ve-breadcrumb a { color: rgba(255,255,255,.38); transition: color .2s; }
.ve-breadcrumb a:hover { color: rgba(255,255,255,.7); }
.ve-breadcrumb span { opacity: .38; }

.ve-hero-cats { display: flex; gap: 6px; margin-bottom: 13px; flex-wrap: wrap; }
.ve-hero-cats .ve-badge {
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.88);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.16);
}
.ve-hero-title {
  font-family: var(--ve-font-h); font-size: clamp(1.7rem,4vw,2.8rem);
  font-weight: 800; letter-spacing: -0.03em; color: #fff;
  margin-bottom: 16px; line-height: 1.1; max-width: 740px;
}
.ve-hero-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.ve-hero-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.83rem; color: rgba(255,255,255,.65); }
.ve-hero-meta-item svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .75; }

.ve-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 11px 24px; border-radius: 40px;
  border: 1px solid transparent; transition: all var(--ve-trans);
}
.ve-btn-primary { background: var(--ve-primary); color: #fff; border-color: var(--ve-primary); }
.ve-btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,.35); color: #fff; }


/* ══════════════════════════════════════════════════════════════
   SINGLE — BODY
   ══════════════════════════════════════════════════════════════ */
.ve-single-body {
  display: grid; grid-template-columns: 1fr 290px; gap: 52px; padding: 48px 0 68px;
}
@media(max-width:900px){ .ve-single-body{ grid-template-columns:1fr; gap:36px; } }

/* Compteur — mobile parfait */
.ve-countdown {
  background: var(--ve-card); border: 1px solid var(--ve-border);
  border-radius: var(--ve-radius); padding: 20px 8px;
  margin-bottom: 32px; text-align: center; overflow: hidden;
}
.ve-countdown-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ve-muted); margin-bottom: 12px;
}
.ve-countdown-display {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: nowrap; width: 100%;
}
.ve-countdown-block { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; padding: 0 2px; }
.ve-cd-n {
  font-family: var(--ve-font-h);
  font-size: clamp(1.4rem,7vw,2.2rem);
  font-weight: 800; color: var(--ve-primary); line-height: 1;
  display: block; width: 100%; text-align: center; transition: transform .15s;
}
.ve-cd-n.tick { transform: scale(1.14); }
.ve-cd-l {
  font-size: clamp(.4rem,1.7vw,.58rem); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ve-muted); margin-top: 3px; white-space: nowrap;
}
.ve-countdown-sep {
  font-family: var(--ve-font-h);
  font-size: clamp(.9rem,4.5vw,1.7rem);
  font-weight: 700; color: rgba(255,255,255,.08);
  align-self: flex-start; margin-top: 3px; flex-shrink: 0; padding: 0 1px;
}
.ve-past-notice {
  background: var(--ve-surface); border: 1px solid var(--ve-border);
  border-radius: var(--ve-radius); padding: 13px 18px;
  color: var(--ve-muted); font-size: 0.83rem; margin-bottom: 28px; text-align: center;
}

/* Contenu */
.ve-entry-content { font-size: 0.95rem; line-height: 1.85; color: var(--ve-text-2); }
.ve-entry-content p { margin-bottom: 1.3em; }
.ve-entry-content h2, .ve-entry-content h3 {
  font-family: var(--ve-font-h); color: var(--ve-text); margin: 1.5em 0 .5em; letter-spacing: -0.02em;
}
.ve-entry-content h2 { font-size: 1.35rem; font-weight: 700; }
.ve-entry-content h3 { font-size: 1.1rem; font-weight: 700; }
.ve-entry-content a { color: var(--ve-primary); text-decoration: underline; text-underline-offset: 3px; }
.ve-entry-content blockquote {
  border-left: 3px solid var(--ve-primary); padding: 12px 20px; margin: 1.5em 0;
  background: var(--ve-surface); border-radius: 0 var(--ve-radius-sm) var(--ve-radius-sm) 0;
  font-style: italic; color: var(--ve-text-2);
}
.ve-entry-content img { border-radius: var(--ve-radius-sm); margin: 1.3em 0; }

/* Google Maps */
.ve-map-section { margin-top: 40px; }
.ve-map-section h3 { font-family: var(--ve-font-h); font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--ve-text); }
.ve-map-iframe-wrap { border-radius: var(--ve-radius); overflow: hidden; border: 1px solid var(--ve-border); }
.ve-map-iframe { width: 100%; height: 290px; border: 0; display: block; filter: invert(90%) hue-rotate(180deg); }
.ve-map-address { font-size: 0.78rem; color: var(--ve-muted); margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.ve-map-address strong { color: var(--ve-text-2); font-weight: 600; }
.ve-map-ext-link { color: var(--ve-primary); margin-left: auto; font-size: 0.72rem; font-weight: 600; }

/* Nav prev/next */
.ve-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
.ve-post-nav a {
  display: block; padding: 13px 16px;
  background: var(--ve-surface); border: 1px solid var(--ve-border);
  border-radius: var(--ve-radius); color: var(--ve-text-2);
  font-size: 0.8rem; font-weight: 600; line-height: 1.4;
  transition: border-color var(--ve-trans), color var(--ve-trans);
}
.ve-post-nav a:hover { border-color: rgba(230,57,70,.3); color: var(--ve-text); }
.ve-nav-next { text-align: right; }


/* ══════════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.ve-info-card, .ve-cal-buttons, .ve-share {
  background: var(--ve-card); border: 1px solid var(--ve-border);
  border-radius: var(--ve-radius); padding: 18px 20px; margin-bottom: 10px;
}
.ve-info-card:last-child, .ve-cal-buttons:last-child, .ve-share:last-child { margin-bottom: 0; }
.ve-info-card h4, .ve-cal-buttons h4, .ve-share h4 {
  font-size: 0.58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ve-muted); margin-bottom: 13px;
}

.ve-info-list { display: flex; flex-direction: column; gap: 10px; }
.ve-info-list li { display: flex; gap: 9px; align-items: flex-start; }
.ve-info-icon { font-size: 0.85rem; flex-shrink: 0; margin-top: 1px; line-height: 1.5; }
.ve-info-list strong {
  display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ve-muted); margin-bottom: 1px;
}
.ve-info-list span { font-size: 0.82rem; color: var(--ve-text); line-height: 1.4; }
.ve-info-list em { font-size: 0.73rem; color: var(--ve-muted); }

.ve-cal-buttons { display: flex; flex-direction: column; gap: 5px; }
.ve-cal-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: var(--ve-radius-sm);
  border: 1px solid var(--ve-border); color: var(--ve-text-2);
  font-size: 0.8rem; font-weight: 500;
  transition: all var(--ve-trans);
}
.ve-cal-btn svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .65; }
.ve-cal-btn:hover { background: var(--ve-surface); border-color: var(--ve-border-2); color: var(--ve-text); transform: translateX(2px); }
.ve-cal-google:hover { border-color: #4285F4; }
.ve-cal-ical:hover   { border-color: rgba(255,255,255,.28); }
.ve-cal-outlook:hover{ border-color: #0078D4; }

.ve-share-btns { display: flex; gap: 6px; }
.ve-share-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ve-border); color: var(--ve-muted);
  transition: all var(--ve-trans);
}
.ve-share-btn svg { width: 13px; height: 13px; }
.ve-share-btn:hover { transform: translateY(-2px); }
.ve-share-fb:hover   { background: #1877F2; border-color: #1877F2; color: #fff; }
.ve-share-tw:hover   { background: #111; border-color: #333; color: #fff; }
.ve-share-wa:hover   { background: #25D366; border-color: #25D366; color: #fff; }
.ve-share-copy:hover { background: var(--ve-primary); border-color: var(--ve-primary); color: #fff; }

/* Événements liés */
.ve-related { padding: 52px 0 68px; border-top: 1px solid var(--ve-border); }
.ve-related h3 { font-family: var(--ve-font-h); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 24px; color: var(--ve-text); }
.ve-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media(max-width:900px){ .ve-related-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px){ .ve-related-grid{ grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════════════════════
   ADMIN
   ══════════════════════════════════════════════════════════════ */
.ve-metabox { padding: 4px 0; }
.ve-mb-row { display: flex; gap: 16px; margin-bottom: 14px; }
.ve-mb-row-2 > *, .ve-mb-row-3 > * { flex: 1; }
.ve-mb-field { display: flex; flex-direction: column; gap: 4px; }
.ve-mb-field label { font-size: 13px; font-weight: 600; color: #1d2327; }
.ve-mb-field label small { font-weight: 400; color: #666; margin-left: 4px; }
.ve-mb-field input[type="text"],
.ve-mb-field input[type="date"],
.ve-mb-field input[type="time"],
.ve-mb-field input[type="url"],
.ve-mb-field input[type="number"] {
  padding: 7px 10px; border: 1px solid #c3c4c7; border-radius: 4px;
  font-size: 14px; width: 100%; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.ve-mb-field input:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: none; }
.ve-mb-checkbox { justify-content: flex-end; }
.ve-mb-checkbox label { display: flex; align-items: center; gap: 5px; cursor: pointer; font-size: 13px; }
.ve-mb-sep { border-top: 1px solid #e0e0e0; margin: 14px 0; }
.ve-mb-hint { font-size: 12px; color: #666; margin-top: -4px; }
.ve-required { color: #d63638; }
.ve-admin-wrap { max-width: 880px; }
.ve-admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.ve-admin-card { background: #fff; border: 1px solid #c3c4c7; border-radius: 8px; padding: 16px 20px; }
.ve-admin-card h2 { font-size: 0.92rem; margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.ve-admin-card-full { grid-column: 1/-1; }
.ve-admin-shortcodes { background: #f6f7f7; border: 1px solid #e0e0e0; border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; font-size: 13px; line-height: 2.2; }
.ve-admin-shortcodes code { background: #e8eaec; padding: 2px 6px; border-radius: 4px; font-size: 12px; }
.ve-table th { width: 190px; }
.ve-status { padding: 2px 7px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.ve-ok   { background: #d7f7e3; color: #1a7a3c; }
.ve-warn { background: #fef3cd; color: #856404; }
@media(max-width:700px){ .ve-admin-grid{ grid-template-columns:1fr; } .ve-mb-row{ flex-direction:column; } }


/* ══════════════════════════════════════════════════════════════
   NEUTRALISATION DES MARGES DU THÈME
   Écrase tous les resets imposés par WordPress / thèmes courants
   (Twenty*, Astra, Divi, Elementor, GeneratePress, OceanWP…)
   ══════════════════════════════════════════════════════════════ */

/* Pages archive et single : supprimer le padding/margin du conteneur thème */
body.vibrance-events-archive .site-main,
body.vibrance-events-archive .content-area,
body.vibrance-events-archive main,
body.vibrance-events-archive #main,
body.vibrance-events-archive #primary,
body.vibrance-events-archive .wp-site-blocks,
body.vibrance-events-archive .entry-content,
body.vibrance-events-archive article,
body.vibrance-events-archive .hentry,
body.vibrance-events-single  .site-main,
body.vibrance-events-single  .content-area,
body.vibrance-events-single  main,
body.vibrance-events-single  #main,
body.vibrance-events-single  #primary,
body.vibrance-events-single  .wp-site-blocks,
body.vibrance-events-single  .entry-content,
body.vibrance-events-single  article,
body.vibrance-events-single  .hentry {
  all: unset !important;
  display: block !important;
}

/* Astra, Hello, GeneratePress — padding sur le container */
body.vibrance-events-archive .ast-container,
body.vibrance-events-archive .ast-row,
body.vibrance-events-archive .container,
body.vibrance-events-archive .site-content,
body.vibrance-events-single  .ast-container,
body.vibrance-events-single  .ast-row,
body.vibrance-events-single  .container,
body.vibrance-events-single  .site-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Sidebar thème : masquée sur les pages VE */
body.vibrance-events-archive .widget-area,
body.vibrance-events-archive #secondary,
body.vibrance-events-archive .sidebar,
body.vibrance-events-single  .widget-area,
body.vibrance-events-single  #secondary,
body.vibrance-events-single  .sidebar {
  display: none !important;
}

/* Forcer le contenu à prendre toute la largeur */
body.vibrance-events-archive #content,
body.vibrance-events-archive #page,
body.vibrance-events-archive .site-content-contain,
body.vibrance-events-single  #content,
body.vibrance-events-single  #page,
body.vibrance-events-single  .site-content-contain {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Twenty Twenty-Four / FSE — supprimer le padding block */
body.vibrance-events-archive .wp-block-group,
body.vibrance-events-archive .wp-block-post-content,
body.vibrance-events-single  .wp-block-group,
body.vibrance-events-single  .wp-block-post-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Reset global des éléments natifs à l'intérieur des blocs VE */
.ve-archive h1, .ve-archive h2, .ve-archive h3,
.ve-archive h4, .ve-archive h5, .ve-archive h6,
.ve-single  h1, .ve-single  h2, .ve-single  h3,
.ve-single  h4, .ve-single  h5, .ve-single  h6 {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.ve-archive p, .ve-single p { margin: 0; padding: 0; }
.ve-archive ul, .ve-archive ol,
.ve-single  ul, .ve-single  ol { margin: 0; padding: 0; list-style: none; }
.ve-archive figure, .ve-single figure { margin: 0; padding: 0; }

/* Forcer les liens internes */
.ve-archive a, .ve-single a {
  text-decoration: none !important;
  color: inherit;
}
