.event-page {
  position: relative;
  width: 100%;
  padding: 110px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.event-page.dark {
  background-color: #000;
}

/* 1) Image ultra‑floue */
.event-page.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  filter: blur(30px); /* flou renforcé à 30px */
  transform: scale(1.3); /* plus d’échelle pour éviter les bords */
  z-index: 0;
}

/* 2) Dégradé encore plus large */
.event-page.dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    /* image visible uniquement tout en haut */ rgba(0, 0, 0, 0.4) 5%,
    /* noir léger dès 5% */ rgba(0, 0, 0, 0.6) 15%,
    /* passe vite à 60% d’opacité */ rgba(0, 0, 0, 0.8) 30%,
    /* 80% d’opacité assez tôt */ rgba(0, 0, 0, 0.9) 50%,
    /* quasi opaque à mi‑hauteur */ rgba(0, 0, 0, 1) 70%,
    /* opaque dès 70% */ rgba(0, 0, 0, 1) 100% /* noir total en bas */
  );
  z-index: 1;
}

/* 3) Contenu au‑dessus */
.event-page.dark > * {
  position: relative;
  z-index: 2;
}

.event-page .container {
  width: 100%;
  max-width: 1110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.event-page .container .content {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
}

.event-page .container .presentation {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  width: 100%;
}

.event-page .container .presentation .info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 35px;
  width: 100%;
}

.event-page .container .presentation .info .event {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.event-page .container .presentation .info .event #state {
  padding: 9px 19px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  color: #666666;
  background: #e6e6e6;
  font-family: "Inter", sans-serif;
}

.event-page .container .presentation .info .event #state.commenceBientot,
.event-page .container .presentation .info .event #state.enCours {
  color: #00810e;
  background: #b9ecc6;
}

.event-page .container .presentation .info .event #state.seTermineBientot {
  color: #d25b26;
  background: #ffdfb2;
}

.event-page .container .presentation .info .event #state.termine {
  color: #e92a37;
  background: #ffcccf;
}

.event-page .container .presentation .info .event #nom {
  font-weight: 600;
  font-size: 50px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-page .container .presentation .info .event #nom.dark {
  color: #ffffff;
}

.event-page .container .presentation .info .event .lieu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.event-page .container .presentation .info .event .lieu .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-align: left;
  font-family: "Inter", sans-serif;
}

.event-page .container .presentation .info .event .lieu .text .nom_lieu {
  font-weight: 600;
  font-size: 18px;
  color: #222222;
}

.event-page .container .presentation .info .event .lieu .text .nom_lieu.dark {
  color: #ffc300;
}

.event-page .container .presentation .info .event .lieu .text .ville {
  font-weight: 500;
  font-size: 16px;
  color: #6c6c6c;
}

.event-page .container .presentation .info .event .lieu .text .ville.dark {
  color: #dddddd;
}

.event-page .container .presentation .info .tags {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.event-page .container .presentation .info .tags .tag {
  padding: 10px 17px;
  border-radius: 50px;
  border: 1px solid #dddddd;
  font-weight: 500;
  font-size: 16px;
  color: #6c6c6c;
  font-family: "Inter", sans-serif;
}

.event-page .container .presentation .info .tags .tag.dark {
  border: 1px solid #b6b6b6;
  color: #dddddd;
}

.event-page .container .presentation .info .tags .tag.type {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #000000;
  color: #000000;
}

.event-page .container .presentation .info .tags .tag.type.dark {
  border: 1px solid #dddddd;
  background: #1a1a1a;
  color: #ffffff;
}

.event-page .container .presentation .info .tags .tag.type img {
  height: 19px;
  width: auto;
}

.event-page .container .presentation .info .dates {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.event-page .container .presentation hr {
  height: 1px;
  border: none;
  background: #dddddd;
  width: 100%;
}

.event-page .container .presentation .info .dates hr {
  width: 300px;
}

.event-page .container .presentation .info .dates .date {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  text-align: left;
}

.event-page .container .presentation .info .dates .date .day {
  font-weight: 500;
  font-size: 18px;
  color: #222222;
  font-family: "Inter", sans-serif;
}

.event-page .container .presentation .info .dates .date .day.dark {
  color: #ffffff;
}

.event-page .container .presentation .info .dates .date .day span {
  color: #e4514a;
}

.event-page .container .presentation .info .dates .date .day span.dark {
  color: #ffc300;
}

.event-page .container .presentation .info .dates .date .horaires {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex: 1;
}

.event-page .container .presentation .info .dates .date .horaires .content {
  font-weight: 500;
  font-size: 18px;
  color: #222222;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  max-width: 100%;
  flex-wrap: wrap;
}

.event-page
  .container
  .presentation
  .info
  .dates
  .date
  .horaires
  .content.dark {
  color: #ffffff;
}

.event-page .container .presentation .info .dates .date .horaires hr {
  width: 200px;
}

.event-page .container .presentation .prix {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 25px 20px 50px;
  border-radius: 70px;
  border: 1px solid #dddddd;
  box-shadow: 0px 1px 20px 0px #ddddddb2;
  background: #000000;
  width: 100%;
}

.event-page .container .presentation .prix.dark {
  background: #e5effb;
  border: none;
  box-shadow: none;
}

.event-page .container .presentation .prix.justify-between {
  justify-content: space-between;
}

.event-page .container .presentation .prix .data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.event-page .container .presentation .prix.justify-between .data {
  align-items: flex-start;
}

.event-page .container .presentation .prix .data #prix_min {
  font-weight: 500;
  font-size: 22px;
  color: #ffffff;
}

.event-page .container .presentation .prix .data #prix_min.dark {
  color: #000000;
}

.event-page .container .presentation .prix .data #prix_max {
  font-weight: 400;
  font-size: 16px;
  color: #ffffffb2;
}

.event-page .container .presentation .prix .data #prix_max.dark {
  color: #000000b2;
}

.event-page .container .presentation .prix #billetterie {
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: 550;
  font-size: 16px;
  color: #ffffff;
  background: linear-gradient(90deg, #1845cf 0%, #1869fd 100%);
  font-family: "Inter", sans-serif;
}

.event-page .container .presentation .prix #billetterie.dark {
  color: #000000;
}

.event-page .container .presentation .description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
}

.event-page .container .presentation .description h2 {
  font-weight: 500;
  font-size: 27px;
  color: #222222;
}

.event-page .container .presentation .description h2.dark {
  color: #ffffff;
}

.event-page .container .presentation .description #description {
  font-weight: 400;
  font-size: 18px;
  color: #6c6c6c;
  text-align: left;
}

.event-page .container .presentation .description #description.dark {
  color: #b6b6b6;
}

.event-page .container .image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.event-page .container .image #image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  box-shadow: 0px 1px 5px 0px #bdbdbd33;
}

.event-page .container .image .clics {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.event-page .container .image .clics hr {
  width: 100%;
}

.event-page .container .image .clics .likes {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.event-page .container .image .clics .likes img {
  border-radius: 30px;
  padding: 15px;
  background: #000000;
}

.event-page .container .localisation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  width: 100%;
  font-family: "Inter", sans-serif;
}

.event-page .container .localisation h2 {
  font-weight: 500;
  font-size: 27px;
  color: #222222;
}
.event-page .container .localisation h2.dark {
  color: #ffffff;
}

.event-page .container .localisation .nom_lieu {
  font-weight: 500;
  font-size: 18px;
  color: #222222;
  text-align: left;
}

.event-page .container .localisation .nom_lieu.dark {
  color: #ffffff;
}

.event-page .container .localisation .nom_lieu .ville {
  font-weight: 400;
  font-size: 18px;
  color: #6c6c6c;
}

.event-page .container .localisation .nom_lieu .ville.dark {
  color: #b6b6b6;
}

/* Hauteur et largeur de la carte */
#map {
  width: 100%;
  height: 300px;
  box-shadow: 0px 2px 7px 0px #0000000f inset;
  border-radius: 10px;
}

.leaflet-control-attribution {
  font-size: 8px;
}

@media (max-width: 650px) {
  .event-page .container .content {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .event-page {
    padding: 110px 15px;
  }
}
