/* Wrapper principal */
.current-events {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-bottom: 0px solid black;
   
}


.current-events-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
    position: relative;
    z-index: 1;
    background: white;
    padding-top: 0rem; 
}

.image-hover-link {
        
        position: relative;
        overflow: hidden;
        width: 100%;
        object-fit: cover;
        background: #000;
}

.image-hover-link img {
  transition: filter 0.3s ease;
  display: block;
}

.image-hover-link:hover img {
  filter: invert(100%);
}

.hover-overlay {
  position: absolute;
  inset: 0;
  background-color: transparent;
  z-index: 2;
}

/* Chaque événement */
.current-event-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 0.5fr;


  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
 
}
.current-event-row:first-child {
  display: grid;
  grid-template-columns: 2fr 1.5fr 0.5fr;
  margin-top: 60px;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;

}

/* Par défaut (desktop et grands écrans) */
.current-event-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #000; /* facultatif */
}

.current-event-image img {
  width: 100%;
  height: 100%;      /* 🔥 MAGIQUE : remplit la colonne */
  object-fit: cover; /* recadre proprement */
  display: block;
}
@media (min-width: 1600px) {
  .current-event-image {
    max-height: 650px; /* par exemple */
  }
}
@media (max-width: 1500px) {
.current-event-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  width: 100%;
  background: #000; /* facultatif */
}
  .current-event-image img {
    height: 100%;
    object-fit: cover;
  }
}
.current-event-labels {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: row;  /* alignement horizontal */
  gap: 0.5rem;
  flex-wrap: wrap; /* au cas où ça déborde sur mobile */
}

/* Ligne date + tag */
.current-event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.current-event-date,
.current-event-tag {
  background-color: #ccff00;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  border: 1px solid black;
  white-space: nowrap;
}

/* Colonne description */

.current-event-description {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content:flex-start  ;
  background-color: white;
}

.current-event-description h3 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 0;
}

.current-event-description p {
  margin: 1rem 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.current-event-description a {
  text-decoration: underline;
  float: right;
    font-size: 1.2rem;

    color: rgb(0, 0, 0);
   
    
}

/* Colonne artistes */
.current-event-artists {
  padding: 1rem;
  border-left: 1px solid #000;
  background-color: white;
}

/* Artistes */
.current-event-artists h3 {
  font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

.current-event-artists p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.current-event-artists ul {
  padding-left: 0rem;
   margin: 1rem 0;
  list-style: none;
}

.current-event-artists li {
  
 
    font-size: 1.2rem;

}


/* Par défaut (desktop), cacher la version mobile */
.current-event-col.mobile-summary {
  display: none;
}

/* En dessous de 1024px, afficher la version mobile */
@media (max-width: 1250px) {
  .current-event-image,
  .current-event-description,
  .current-event-artists {
    display: none;
  }
.current-event-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
}
 .current-event-row:first-child {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 0px;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
}
}



.article-line.mobile-summary:hover {
  background-color: #ccff00;
}

.article-line.mobile-summary .article-main {
  flex: 1;
}

.article-line.mobile-summary .article-tag {
  font-size: 1.2rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #111;
  background-color: #fff;
  align-self: flex-start;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Responsive rules */
@media (min-width: 1250px) {
  .article-line.mobile-summary {
    display: none;
  }
  
}

.section-title {
    background-color: #bcff00;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.2rem;
    padding: 1rem;
    margin: 0;
}

.article-line.mobile-summary:hover {
  background-color: #ccff00;
}

.article-line.mobile-summary .article-main {
  flex: 1;
}

.article-line.mobile-summary .article-tag {
  font-size: 1.2rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #111;
  background-color: #fff;
  align-self: flex-start;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Responsive rules */
@media (min-width: 1250px) {
  .article-line.mobile-summary {
    display: none;
  }
  .curent-event {
    display: none;
  }
}
