/*
Theme Name: Astra Child
Template: astra
*/


/* =========================
   FICHE MEMBRE - BASE
========================= */

.membre-single {
    max-width: 1000px;
    margin: 70px auto;
    padding: 0 20px;
/** test **/

 background: #ffffff;
  border-radius: 14px;
  padding: 20px;

  border: 1px solid rgba(0, 0, 0, 0.04);

  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 8px 20px rgba(0, 0, 0, 0.06);

  transition: all 0.2s ease;
/** fin test **/
}

/* =========================
   HERO (identité + photo)
========================= */

.membre-single .membre-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}
/* TITRE */
.membre-single h1 {
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

/* IMAGE */
.membre-single img {
    width: 100%;
    border-radius: 20px; 
    object-fit: cover;
}

/* =========================
   CONTENU (lecture annuaire)
========================= */

.membre-single .membre-content,
.membre-single .entry-content {
    /*max-width: 750px;*/
    line-height: 1.85;
    /*font-size: 16.5px;*/
    margin-bottom: 50px;
}

/* =========================
   CONTACT (carte annuaire)
========================= */

.membre-contact {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.membre-contact .button {
    margin-top: 25px;
    align-self: flex-start;
}



/*Additional CSS*/
/* =========================
   GRID MEMBRES
========================= */

.membres-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

/* TABLETTE */
@media (max-width: 1024px) {
    .membres-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .membres-grid {
        grid-template-columns: 1fr !important;
    }

    .membre-single .membre-hero {
        display: flex; !important;
        flex-direction: column;
        gap: 25px;
    }

    .membre-hero img {
        width: 100%;
        height: auto;
    }
}


/* =========================
   CARTE MEMBRE
========================= */

.membre-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;

    transition: 
        box-shadow 0.25s ease, 
        transform 0.25s ease;
}


/* =========================
   IMAGE
========================= */

.membre-photo {
    aspect-ratio: 4 / 3;
    background-size: cover;
    /*background-position: center;*/
    transition: transform 0.3s ease;
}


/* =========================
   CONTENU TEXTE
========================= */

.membre-content {
    padding: 14px;
    /*text-align: center;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
}

.membre-content h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
}

.role {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.6;
    text-decoration: none !important;
}


/* =========================
   HOVER (OMBRE + LIFT)
========================= */

.membre-card:hover {
    box-shadow: 
        4px 6px 12px rgba(0,0,0,0.15),
        10px 18px 30px rgba(0,0,0,0.25);
    transform: translateY(-3px);
}


/* =========================
   HOVER IMAGE (zoom léger)
========================= */

.membre-card:hover .membre-photo {
    transform: scale(1.05);
}

/* =========================
   CLEAN WORDPRESS / ASTRA
========================= */
.navigation.post-navigation {
    display: none !important;
}
/* =========================
   CLEAN WORDPRESS / ASTRA (auteur et date)
========================= */
.entry-meta {
    display: none !important;
}
