/* -------------------- */
/* MOBILE FIRST VERSION */
/* -------------------- */
.container,
.page-libea {
    width: 90%;
}


.section-intro {
    margin-bottom: 40px;
}
.section-intro h1 {
    text-align: center;
    margin-bottom: 24px;
}

.page-featured-image {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.page-featured-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.hello-asso {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Membres */
.section-membres {
    margin-bottom: 40px;
}
.membre {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    background: #FFFEFC;
    border-radius: 16px;
    overflow: hidden;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.membre.reverse {
    flex-direction: column;
}
.membre-img {
    width: 100%;
    display: flex;
    background: #FFFEFC;
}
.membre-img img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
}
.membre-content {
    font-size: 15px;
    line-height: 1.6;
    padding: 20px 20px;
    background: #FFFEFC;
    border-radius: 0 0 16px 16px;
    width: 100%;
}
.membre-content h2 {
    text-align: center;
    margin-top: 0;
    font-size: 28px;
}

/* Sponsors */
.section-sponsors {
    margin-top: 40px;
}
.section-sponsors h2 {
    margin-bottom: 16px;
    text-align: center;
}
.sponsors-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 550px; 
  margin: 0 auto;
}

.sponsor-img {
  width: 100px;
  height: 100px;
  background: #FFFEFC;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sponsor-img img {
  object-fit: contain;
  display: block;
  width: 100%;
}

@media (min-width: 768px) {
    .section-intro {
        margin-bottom: 60px;
    }
    .section-intro h1 {
        margin-bottom: 40px;
    }
    .page-featured-image img {
        max-width: 1200px;
        max-height: 560px;
        margin-bottom: 40px;
    }
    .section-intro .intro {
        margin-bottom: 40px;
    }
    .membre {
        flex-direction: row;
        margin-bottom: 60px;
        max-height: 500px;
    }
    .membre.reverse {
        flex-direction: row-reverse;
    }
    .membre-img {
        flex: 1 1 45%;
    }
    .membre-content {
        flex: 1 1 45%;
        padding: 40px;
        border-radius: 0 16px 16px 0;
    }
    .membre.reverse .membre-content {
        border-radius: 16px 0 0 16px;
    }
    .section-sponsors h2 {
        margin-top: 20px;
        margin-bottom: 40px;
    }
  .sponsors-gallery {
    gap: 28px;
    max-width: 100% !important;
    width: 100%;
    justify-content: center;
    max-width: 572px;
  }
  .sponsor-img {
    width: 200px;
    height: 200px;
  }
}
