/* ============================================
   SOUS-PAGES « GRANDS RENDEZ-VOUS CULTURELS »
   template-parts/culture-rdv-content.php
   --------------------------------------------
   Réutilise tout le chrome de la fiche événement (single-event.css) :
   .single-event__hero, .service-layout, .service-sidebar, .single-event__infos,
   .single-event__related, etc. Ce fichier ne contient QUE le spécifique aux
   rendez-vous culturels : la variante « hero affiche » (poster sur fond
   dégradé bleu marine), la galerie photos et la liste de partenaires.
   La couleur d'accent (#161B88) provient de .page-culture → --color-primary,
   repris par --event-color (single-event.css).
   ============================================ */

/* ============================================
   HERO « AFFICHE » — poster centré sur fond thématique
   Pour les rendez-vous dont le seul visuel est une affiche / un logo
   (pas une photo large) : on l'affiche contenue, encadrée, centrée sur un
   dégradé bleu marine, sans recadrage destructeur.
   ============================================ */
.single-event__hero--poster {
  background:
    radial-gradient(120% 120% at 50% 0%,
      color-mix(in srgb, var(--event-color) 42%, #1a1a2e) 0%,
      #1a1a2e 68%),
    #1a1a2e;
}

.single-event__hero--poster .single-event__hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* Cadre de l'affiche */
.single-event__hero-poster {
  margin: 0;
  max-width: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.single-event__hero-poster-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

/* ============================================
   GALERIE PHOTOS — grille légère (ambiance de l'événement)
   ============================================ */
.culture-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.culture-gallery__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-natural);
}

.culture-gallery__img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.culture-gallery__caption {
  margin: 0;
  padding: 9px 13px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

/* Les pastilles « chips » ont déménagé dans service.css : le bloc « Étiquettes »
   est proposé sur le modèle de page modifiable, qui ne charge que service.css.
   Aucune page Culture n'y perd : `theme-culture-rdv` dépend de `theme-service`. */

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .single-event__hero-poster {
    max-width: 200px;
  }

  .single-event__hero-poster-img {
    max-height: 260px;
  }

  .culture-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .culture-gallery__img {
    height: 150px;
  }
}
