/* =============================================
   HERO "Nos actus" (reprend le style histoire)
   ============================================= */

.histoire-hero {
  padding: clamp(2rem, 5vw, 3rem) 0 1.5rem;
  background: radial-gradient(
    circle at top left,
    #ffffff 0,
    #f4f4f0 42%,
    #ece8e0 100%
  );
  text-align: center;
}

.histoire-hero-inner {
  max-width: 900px;
  margin-inline: auto;
}

.histoire-hero h1,
.histoire-hero-title {
  color: #264154;
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  margin-bottom: 0.6em;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.histoire-hero-lead {
  color: #2d3a43;
  opacity: 0.9;
  max-width: 700px;
  margin-inline: auto;
  font-size: 1.25rem;
}

/* =============================================
   SECTION LISTE ACTUS
   ============================================= */

.actus-section {
  padding-bottom: 72px;
}

.actus-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grille des cards */
.actus-grid.actus-grid--list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* =============================================
   CARDS ACTUS
   ============================================= */

.actus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.actus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  background-color: #f9fafb;
}

/* Image de la card */
.actus-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.actus-card__media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.actus-card:hover .actus-card__media img {
  transform: scale(1.03);
}

/* Corps de la card */
.actus-card__body {
  padding: 14px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Badges (type, gratuit) */
.actus-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.actus-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.04);
  color: #111827;
}

.actus-badge--free {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

/* Titre de la card */
.actus-card__title {
  margin: 2px 0 2px;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #0f172a;
}

/* Meta : date uniquement */
.actus-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: #6b7280;
}

.actus-card__meta li + li {
  margin-top: 2px;
}

/* Artistes */
.actus-card__artists {
  margin-top: 2px;
  font-size: 0.88rem;
  color: #111827;
}

/* Card Nos actus : description tronquée à 2 lignes */
.actus-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* nombre de lignes visibles */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bouton Détails */
.actus-card__actions {
  margin-top: 8px;
}

.actus-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #111827;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.actus-btn:hover {
  background: #1f2937;
  border-color: rgba(15, 23, 42, 0.24);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}

/* =============================================
   MODALE ACTUS
   ============================================= */

.actus-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.actus-modal__content {
  padding: 1rem;
}

.actus-modal.is-open {
  display: flex;
}

.actus-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.actus-modal__dialog {
  position: relative;
  max-width: 46rem;
  width: min(92vw, 46rem);
  max-height: 90vh;
  background: #ffffff;
  padding: 1.8rem 1.8rem 1.5rem;
  border-radius: 2px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.45);
  overflow-y: auto;
}

.actus-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.actus-modal__close:hover {
  color: #111827;
}

.actus-modal__content {
  outline: none;
}

.actus-modal__title {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.actus-modal__meta {
  margin-bottom: 0.85rem;
  font-size: 0.94rem;
  color: #4b5563;
}

.actus-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  margin-right: 0.4rem;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  background: rgba(18, 24, 40, 0.06);
  color: #111827;
}

.actus-modal-badge--free {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.actus-modal__body {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #1f2933;
}

/* Liste infos pratiques dans la modale */
.actus-modal-infos {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.92rem;
  color: #4b5563;
}

.actus-modal-infos li + li {
  margin-top: 0.25rem;
}

/* Paragraphes description / contenu */
.actus-modal-description,
.actus-modal-content {
  margin: 0 0 0.75rem;
}

.actus-modal-content:last-child {
  margin-bottom: 0;
}

/* Scroll lock quand modale ouverte */
html.no-scroll,
body.no-scroll {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 700px) {
  .actus-grid.actus-grid--list {
    grid-template-columns: 1fr;
  }

  .actus-card__media img {
    height: 200px;
  }

  .actus-section {
    padding-bottom: 56px;
  }
}

/* Sur très grands écrans, on desserre le centrage */
@media (min-width: 1600px) {
  .histoire-hero-inner {
    max-width: none;
    margin-inline: 9vw;
  }

  .actus-section-inner {
    max-width: none;
    margin-inline: 9vw;
    padding-inline: 0;
  }

  .actus-section {
    padding-bottom: 80px;
  }
}