/* -------------------------------------------------- */
/* === STYLE GLOBAL === */
/* -------------------------------------------------- */

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: #1e1e1e;
  text-align: center;
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 1.8rem;
  color: #1e1e1e;
  font-weight: 800;
  margin: 40px 0 20px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #f5c518;
  margin: 10px auto 0;
  border-radius: 2px;
}




/* Staff page CSS - override rules here */

:root{
  --yellow: #ffd071;      /* couleur jaune club */
  --dark: #1e1e1e;        /* texte / fond sombres */
}

/* Container général */
.members-section .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  box-sizing: border-box;
}

/* Titre section */
.members-section .section-title{
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 28px;
}

/* Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 36px;
    align-items: start;
    margin-top: 30px;
}

/* Carte */
.member-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px;
}

/* Wrapper rond – plus de contour gris, juste l'image */
.avatar-wrapper{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 0; /* plus d'anneau extérieur */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none; 
  transition: transform 0.28s ease;
}

/* Image avec petit contour jaune */
.avatar-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  
  /* 👇 Contour jaune minimal */
  box-shadow: 0 0 0 4px var(--yellow);
}

/* Hover PC */
@media screen and (pointer: fine) {
  .avatar-wrapper:hover{
    transform: translateY(-6px);
  }
}

/* Nom */
.member-name{
  margin-top: 14px;
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.15;
}

/* Ligne jaune sous la photo */
.member-card .photo-underline{
  width: 50px;
  height: 4px;
  background: var(--yellow);
  border-radius: 3px;
  margin: 12px auto 6px;
}

/* Rôle */
.member-role{
  margin-top: 8px;
  color: #555;
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 900px){
  .avatar-wrapper{ width: 140px; height: 140px; }
  .avatar-wrapper img{ box-shadow: 0 0 0 4px var(--yellow); }
}

@media (max-width: 600px){
  .members-grid{ gap: 22px; grid-template-columns: repeat(2, 1fr); }
  .avatar-wrapper{ width: 120px; height: 120px; }
  .avatar-wrapper img{ box-shadow: 0 0 0 3px var(--yellow); }
  .member-name{ font-size: 0.98rem; }
  .member-role{ font-size: 0.86rem; color: #666; }
}

