/* ==========================================================
   Live Nation Artistas — CSS
   La section est injectée dans <main>, hors Gutenberg, donc
   full-bleed naturel.
   ========================================================== */

.ln-grid-section {
  display: block;
  width: 100%;
  margin: 0;
  padding: 60px 20px;
  box-sizing: border-box;

  /* Variables (cohérentes avec les autres sections) */
  --grid-bg-card: #2e2e2e;
  --grid-text: #ffffff;
  --grid-red: #e31837;
  --grid-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ln-grid-section * {
  box-sizing: border-box;
}

.ln-grid-section .ln-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* --- TITRE (style cohérent avec eventos/pasados) --- */
.ln-grid-section .ln-grid-title {
  color: var(--grid-text);
  font-family: var(--grid-font);
  font-size: 2rem;
  font-weight: 700;
  text-align: left;
  margin: 0 0 30px;
  letter-spacing: 0.5px;
}

/* --- GRID DESKTOP : 4 colonnes --- */
.ln-grid-section .ln-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* --- CARD --- */
.ln-grid-section .ln-artist-card {
  background-color: var(--grid-bg-card);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ln-grid-section .ln-artist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* --- IMAGE --- */
.ln-grid-section .ln-artist-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #111;
  overflow: hidden;
}

.ln-grid-section .ln-artist-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ln-grid-section .ln-artist-card:hover .ln-artist-img-wrapper img {
  transform: scale(1.05);
}

/* --- INFO --- */
.ln-grid-section .ln-artist-info {
  padding: 18px 20px;
  position: relative;
  min-height: 90px;
  display: flex;
  flex-direction: column;
}

.ln-grid-section .ln-artist-info h3 {
  margin: 0;
  color: var(--grid-text);
  font-family: var(--grid-font);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  padding-right: 20px;
}

/* --- CHEVRON ROUGE --- */
.ln-grid-section .ln-artist-chevron {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--grid-red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.ln-grid-section .ln-artist-card:hover .ln-artist-chevron {
  transform: translateX(4px);
}

/* --- RESPONSIVE MOBILE (2 colonnes) --- */
@media (max-width: 900px) {
  .ln-grid-section {
    padding: 40px 15px;
  }

  .ln-grid-section .ln-grid-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .ln-grid-section .ln-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .ln-grid-section .ln-artist-info {
    padding: 15px;
    min-height: 80px;
  }

  .ln-grid-section .ln-artist-info h3 {
    font-size: 1.1rem;
  }

  .ln-grid-section .ln-artist-chevron {
    bottom: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
  }
}

/* --- TRÈS PETITS ÉCRANS --- */
@media (max-width: 400px) {
  .ln-grid-section .ln-artist-info h3 {
    font-size: 0.95rem;
  }
}
