/* ==========================================================
   Live Nation Partners — CSS
   La taille des logos est injectée via --pt-logo-max
   et --pt-logo-max-mobile depuis le PHP.
   ========================================================== */

.pt-section-wrapper {
  display: block;
  width: 100%;
  margin: 0;
  padding: 80px 20px;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Variables (cohérence avec autres sections) */
  --pt-bg: #000000;
  --pt-text: #ffffff;

  background-color: var(--pt-bg);
}

.pt-section-wrapper * {
  box-sizing: border-box;
}

.pt-section-wrapper .pt-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

/* --- TITRE --- */
.pt-section-wrapper .pt-title {
  color: var(--pt-text);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 60px;
  line-height: 1.4;
}

/* --- GRID DESKTOP : 4 colonnes --- */
.pt-section-wrapper .pt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.pt-section-wrapper .pt-logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pt-section-wrapper .pt-logo-item:hover {
  opacity: 0.7;
  transform: scale(1.05);
}

.pt-section-wrapper .pt-logo-item img {
  width: 100%;
  max-width: var(--pt-logo-max, 160px);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  display: block;
}

/* --- RESPONSIVE MOBILE (2 colonnes) --- */
@media (max-width: 800px) {
  .pt-section-wrapper {
    padding: 60px 15px;
  }

  .pt-section-wrapper .pt-title {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

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

  .pt-section-wrapper .pt-logo-item img {
    max-width: var(--pt-logo-max-mobile, 120px);
    max-height: 120px;
  }
}

/* --- TRÈS PETITS ÉCRANS --- */
@media (max-width: 400px) {
  .pt-section-wrapper .pt-grid {
    gap: 20px;
  }

  .pt-section-wrapper .pt-logo-item img {
    max-width: 100%;
  }
}
