/* ---------- HERO EXPLORE (spécifique) ---------- */
/* --- Header amélioré --- */
.event-header-container {
  margin-top: 80px;
  background: linear-gradient(135deg, rgba(250, 111, 30, 0.1) 0%, rgba(244, 238, 215, 0.8) 50%, rgba(45, 19, 190, 0.1) 100%);
  background-size: cover;
  overflow: hidden;
  position: relative;
  padding: 70px 0 40px;
}

.event-header-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><circle cx="50" cy="50" r="2" fill="%232d13be"/></svg>');
  background-size: 50px 50px;
}

.event-header-content h1 {
  font-family: "FirsBold", sans-serif;
  font-size: 3.2rem;
  color: var(--black);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}

.event-header-content h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--orange), var(--blue));
  border-radius: 2px;
}

.event-header-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.event-header-dot{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

.header-dot:nth-child(2) {
  animation-delay: 0.5s;
  background: var(--blue);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* Filtres améliorés */
/* ---- Filters row (nettoyé) ---- */
.filters-row { margin-top: 18px; gap: 12px; }
.filter-col { min-width: 220px; flex: 1 1 260px; }

/* Responsive */
@media (max-width: 768px) {
  .event-header-container {
    margin-top: 70px;
    padding: 50px 0 30px;
  }
  
  .event-header-content h1 {
    font-size: 2.2rem;
  }
  
  .event-header-content h1::after {
    width: 40px;
    height: 3px;
    bottom: -5px;
  }
  
  .event-header-dot{
    width: 10px;
    height: 10px;
  }
}
  

@media (max-width: 576px) {
  .event-header-container {
    padding: 40px 0 25px;
  }
  
  .event-header-content h1 {
    font-size: 1.8rem;
  }
}


/* ---------- FIN HERO EXPLORE (spécifique) ---------- */


/* ---------- BROWSE V2 (autonome, prefix browse-v2-) ---------- */
.browse-v2 { padding: 36px 0 72px; font-family: "Plus Jakarta Sans", "Firs", sans-serif; }

/* Card */
.browse-v2__card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(15,12,40,0.06);
  transition: transform .24s cubic-bezier(.2,.9,.2,1), box-shadow .24s;
  position: relative;
}

/* hover lift + subtle border glow in blue */
.browse-v2__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(15,12,40,0.12);
  outline: 0;
  border: 1px solid rgba(45,19,190,0.06);
}

/* MEDIA: image area */
.browse-v2__media {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.02));
}

.browse-v2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.9,.2,1);
}

/* subtle zoom on hover */
.browse-v2__card:hover .browse-v2__img { transform: scale(1.06) translateY(-4px); }

/* gradient overlay at bottom of image for better contrast */
.browse-v2__img-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,0.36) 100%);
  pointer-events: none;
}

/* badge coin with variants (paid = default, free = --free) */
.browse-v2__corner-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(45,19,190,0.12);
  /* gradient payant (orange -> blue) */
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

/* variante "Gratuit" : green -> blue */
.browse-v2__corner-badge--free {
  /* utilise le vert + bleu pour signaler gratuité sans confusion */
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 8px 22px rgba(50,160,80,0.12);
}

/* petite animation / micro-interaction optionnelle (facultative) */
.browse-v2__corner-badge,
.browse-v2__corner-badge--free {
  transition: transform .18s ease, box-shadow .18s ease;
}
.browse-v2__card:hover .browse-v2__corner-badge { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(15,12,40,0.12); }


/* Body */
.browse-v2__body { padding: 14px; display:flex; flex-direction: column; gap:10px; }

/* Title */
.browse-v2__title { margin: 0; font-size: 1.02rem; font-weight: 800; font-family: "FirsBold", "Firs", sans-serif; line-height: 1.1; color: var(--black); }
.browse-v2__title a { color: inherit; text-decoration: none; }
.browse-v2__title a:hover { color: var(--blue); text-decoration: underline; }

/* Excerpt */
.browse-v2__excerpt { margin: 0; color: rgba(0,0,0,0.66); font-size: 0.92rem; min-height: 42px; }

/* Row: left: labels + cta, right: date */
.browse-v2__row { display:flex; gap:12px; align-items:flex-start; justify-content:space-between; margin-top:auto; }

/* Labels */
.browse-v2__labels { display:flex; flex-wrap:wrap; gap:8px 8px; align-items:center; }
.browse-v2__pill {
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background: var(--orange-light);
  color: var(--black);
  font-size:0.78rem;
  font-weight:600;
  box-shadow: 0 4px 12px rgba(15,12,40,0.03);
}
.browse-v2__pill i { font-size: 0.95rem; line-height:1; color: rgba(0,0,0,0.6); }

/* success pill for 'Gratuit' */
.browse-v2__pill--success { background: rgba(146,218,75,0.12); color: var(--green); font-weight:700; }

/* outline pill for location */
.browse-v2__pill--outline {
  background: transparent;
  border: 1px solid rgba(11,8,40,0.06);
  color: rgba(0,0,0,0.72);
  padding:6px 8px;
  font-weight:600;
}

/* truncate helper */
.browse-v2__pill .truncate { max-width: 110px; display:inline-block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* CTA */
.browse-v2__cta {
  display:inline-block;
  margin-top:6px;
  padding:8px 12px;
  border-radius:10px;
  background: linear-gradient(90deg, var(--orange), #ffb06b);
  color: #fff;
  font-weight:700;
  font-size:0.88rem;
  text-decoration:none;
  box-shadow: 0 8px 26px rgba(250,111,30,0.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.browse-v2__cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(250,111,30,0.18); }

/* Date block (vertical card) */
.browse-v2__date {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:72px;
  padding:8px 8px;
  border-radius:8px;
  background: linear-gradient(180deg, rgba(45,19,190,0.04), rgba(45,19,190,0.02));
  box-shadow: 0 6px 16px rgba(11,8,40,0.04);
  text-align:center;
  font-weight:700;
}
.browse-v2__date-day { font-size:0.72rem; color: rgba(0,0,0,0.5); text-transform:uppercase; letter-spacing:0.6px; }
.browse-v2__date-num { font-size:1.35rem; color: var(--blue); line-height:1; margin:4px 0; }
.browse-v2__date-month { font-size:0.82rem; color: rgba(0,0,0,0.54); text-transform:uppercase; }

/* EMPTY */
.browse-v2__empty { padding:36px; border-radius:12px; background: rgba(0,0,0,0.02); text-align:center; color: rgba(0,0,0,0.68); }
.browse-v2__empty svg { color: var(--blue); margin-bottom:12px; }

/* Responsive */
@media (max-width: 992px) {
  .browse-v2__media { height:160px; }
}
@media (max-width: 576px) {
  .browse-v2__media { height:140px; }
  .browse-v2__row { gap:8px; flex-direction:row; }
  .browse-v2__labels .browse-v2__pill { font-size:0.72rem; padding:5px 8px; }
  .browse-v2__date { min-width:64px; padding:6px; }
  .browse-v2__excerpt { min-height:34px; }
}
