.parallax-container {
  position: relative;
  height: 50vh; /* 1/3 hauteur écran */
  overflow: hidden;
}

.parallax-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* image occupe tout l'écran */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Le contenu passe au-dessus de l’image */
main {
  position: relative;
  z-index: 1;
  background: white;
  padding-top: 2rem;
}

/* Pour mobile : désactive parallax */
@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

@media (min-width: 769px) {
  .banner {
    background-attachment: fixed;
  }
}

@keyframes fadeInBanner {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.article-content {
  position: relative;
  z-index: 1;
  background: white;
  padding: 4rem 2rem;
  margin-top: 10vh; /* pour ne pas recouvrir l'image */
}

/* Conteneur centré */
.meta-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* Ligne date + tag */
.meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Éléments */
.meta .date,
.meta .tag {
  font-size: 1.2rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #111;
  text-transform: uppercase;
  background-color: #fff;
  white-space: nowrap;
  margin: 0;
}

/* Mobile : tag au-dessus */
.tag-mobile {
  display: none;
}

.tag-desktop {
  display: inline-block;
}

@media (max-width: 768px) {
  .article-content {
    padding: 0rem;
   
}
  .meta-wrapper {
    justify-content: flex-start;
  }

  .meta {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1rem;
    gap: 0.5rem;
  }

  .tag-mobile {
    display: inline-block;
  }

  .tag-desktop {
    display: none;
  }
}

/* 3. Titre de l’article */
main h1 {
  text-align: center;
  font-size: 4rem;
  font-weight: normal;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

/* Structure des colonnes d'article */
.columns {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 5rem;
  
  margin: 2rem auto;
}

.left,
.center,
.right {
  animation: fadeInContent 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive : colonne centrale en 1er */
@media (max-width: 768px) {
  .columns {
    grid-template-columns: 1fr;
  }

  .center {
    order: 1;
  }
  .left {
    order: 2;
  }
  .right {
    order: 3;
  }

  .columns > * {
    padding: 1rem 0;
  }

  .banner {
    background-attachment: scroll;
    height: 40vh;
  }
  .columns article {
  text-align: center;
  font-size: 1rem;
  line-height: 1.1rem;
}
}

.columns aside h3 {
  font-size:1rem;
  margin-bottom: 0.5rem;
  color: #ff3ec9;
  text-transform: uppercase;

}

.columns aside {
  font-size: 0.95rem;
  line-height: 1.6;
}
.columns article {
  text-align: center;
  font-size: 2rem;
  line-height: 2.1rem;
}
.columns article img {
  max-width: 100%;
  margin: 2rem 0;
  display: block;
}
.article-image {
  margin: 2rem 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.article-image figcaption {
  font-size: 0.9rem;
  color: #d100b3;
  margin-top: 0.5rem;
  font-style: italic;
}
.article-tag {
  white-space: nowrap; /* Garde le tag sur une seule ligne */
  margin-left: 1rem;
 margin-top: 1rem;
  text-transform: uppercase;
  border: 1px solid black;

  flex-shrink: 0;
}
.pdf-block {
  margin-bottom: 2rem;
}

.pdf-block h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  
  margin-bottom: 0.5rem;
}

.pdf-links a {
  color: #000;
  text-decoration: none;
  margin-right: 1rem;
  display: inline-block;
  text-decoration: underline;
}

.related-events-text a{
  color: #000;

}

.block-image {
  margin: 2rem auto;
  text-align: center;
  max-width: 100%;
}

.block-image img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Ou 'cover' si tu veux qu'elle remplisse */
  display: block;
}


.block-image.align-left {
  text-align: left;
}

.block-image.align-right {
  text-align: right;
}

.block-image.ratio-3-2 img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.block-image.ratio-square img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.block-image figcaption {
  font-size: 1rem;
  line-height: normal;
  color: #ff3ec9;

  
}

.block-image figcaption ol {
margin-top: -1rem;
margin-bottom: 1rem;

}


.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.lightbox.show {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: zoomIn 0.3s ease forwards;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.lightbox-content figcaption {
  margin-top: 1rem;
  color: #ff3ec9;
  font-size: 0.95rem;
  font-weight: 400;
  position: absolute;
 
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.artists{
 display: flex;
  flex-direction: column;

}
.artists ul{
 list-style-type: none;
 padding: 0;
 margin-top: 0;
}

.related-events-block,
.schedule-block {
  margin-top: 2rem;
}

.related-events-list,
.schedule-list {
  display: flex;
  flex-direction: column;
 
}

.related-event-link a,
.schedule-item {
  font-size: 1rem;

  color: black;
}

.related-event-link a:hover {
  color: #cc00ff; /* Rose au hover par ex */
}


@media (max-width: 768px) {

  .columns article {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.2rem;
  padding: 0rem;
  margin: 0;
}
main h1 {
    text-align: center;
    font-size: 2.6rem;
     line-height: 2.6rem;
    font-weight: normal;
    margin-top: 1rem;
    margin-bottom:2rem;
}

}




.parallax-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}




/* Ordre desktop */
.article-content aside.left {
  order: 1;
}
.article-content article.center {
  order: 2;
}
.article-content aside.right {
  order: 3;
}

/* Mobile : on change l'ordre */
@media screen and (max-width: 1024px) {
  .article-content {
    flex-direction: column;
  }

  .article-content article.center {
    order: 1;
  }

  .article-content aside.right {
    order: 2;
  }

  .article-content aside.left {
    order: 3;
  }
}