/*
 Theme Name:   ATTPS
 Theme URI:    https://example.com
 Description:  Thème enfant ATTPS pour Divi 5 – Personnalisations préservées lors des mises à jour.
 Author:       Votre Nom
 Author URI:   https://example.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  attps
*/

/* ==========================================================================
   Vos styles personnalisés ci-dessous
   ========================================================================== */

.membres-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: inherit;
}

.membres-section h2,
.membres-container > h2 {
  color: #7a1826;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 35px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #7a1826;
}

.alphabet-group {
  margin-bottom: 25px;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.alphabet-group h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #7a1826;
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  padding: 0;
}

.alphabet-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}

.alphabet-group li {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  padding: 4px 0;
  border-bottom: 1px dashed #eaeaea;
}

.alphabet-group li:last-child {
  border-bottom: none;
}

.membres-container p:has(section) {
  display: none;
}

@media (max-width: 900px) {
  .alphabet-group ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .membres-container {
    padding: 10px;
  }

  .alphabet-group {
    padding: 12px 15px;
  }

  .alphabet-group ul {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .membres-section h2,
  .membres-container > h2 {
    font-size: 1.3rem;
  }
}
