/* ===== Activités à venir (accueil) ===== */

/* 1. Espace sous le h2 */
.section-homepage-activites .mod-eventflash__mod-title {
  margin-bottom: 2rem;
}

/* 2. Titre h3 → date : plus d'air */
.section-homepage-activites .mod-eventflash__item-title {
  margin-top: 1rem;
  margin-bottom: 0.9rem;
}
.section-homepage-activites .mod-eventflash__item-itemInfos {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* 3. Ville : sur sa propre ligne, démarquée du reste */
.section-homepage-activites .mod-eventflash__item-itemInfos .city {
  display: block;
  margin-top: 0.6rem;
  font-weight: var(--fw-semibold);
  color: var(--c-navy);
}
.section-homepage-activites .mod-eventflash__item-itemInfos .city:empty {
  display: none;
}
.section-homepage-activites .mod-eventflash__item-itemInfos .city::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.4em;
  vertical-align: -0.1em;
  background: var(--c-magenta);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 4. Intro : séparée de la ville, sans paragraphes vides */
.section-homepage-activites .mod-eventflash__item-intro {
  margin-top: 1rem;
}
.section-homepage-activites .mod-eventflash__item-intro p:empty {
  display: none;
}
.section-homepage-activites .mod-eventflash__item-intro p:first-child {
  margin-top: 0;
}

/* 5. « Voir toutes les activités » : bouton secondaire (contour) */
.section-homepage-activites .mod-eventflash__viewAll {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6em 1.6em;
  border: 2px solid var(--c-primary);
  border-radius: 999px;            /* même forme que les .btn-primary */
  background: transparent;
  color: var(--c-primary);
  font-family: var(--font-base);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.section-homepage-activites .mod-eventflash__viewAll::after {
  content: " \2192";
}
.section-homepage-activites .mod-eventflash__viewAll:hover,
.section-homepage-activites .mod-eventflash__viewAll:focus-visible {
  background: var(--c-primary-hover);
  border-color: var(--c-primary-hover);
  color: #fff;
}
.section-homepage-activites .mod-eventflash__item-itemInfos > br {
  display: none;
}