/* CONTENEUR GLOBAL */
.shortcode-member-container {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

/* HEADER */
.shortcode-member-header {
    text-align: center;
    margin-bottom: 30px;
}

.shortcode-member-title {
    font-family: 'Amarante', cursive;
    font-size: 2.8em;
    color: #E49925;
    font-weight: 500;
    margin-bottom: 10px;
}

.shortcode-member-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2em;
    color: #555;
}

.shortcode-member-divider {
    width: 60px;
    height: 4px;
    background-color: #457687;
    margin: 20px auto;
    border-radius: 2px;
}

/* GRILLE */
.shortcode-member-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

/* CARTE MEMBRE */
.shortcode-member-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    width: 240px;
    min-height: 350px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shortcode-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* PHOTO */
.shortcode-member-photo-wrapper {
    margin-top: 15px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solide #ccc;
    background-color: #f5f5f5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.shortcode-member-photo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
}

.shortcode-member-photo-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #e0e0e0;
}

/* TEXTE */
.shortcode-member-name {
    font-family: 'Amarante', cursive;
    color: #E49925;
    font-size: 1.3em;
    font-weight : 400px;
    margin: 12px 0 4px;
    text-align: center;
}

.shortcode-member-role {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95em;
    color: #444;
    text-align: center;
    padding: 0 10px;
    margin-bottom: 8px;
}

.shortcode-member-link {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95em;
    text-decoration: none;
    color: #457687;
    transition: color 0.3s;
}

.shortcode-member-link:hover {
    color: #E49925;
}

/* BOUTON REJOINDRE */
.shortcode-member-cta {
    text-align: center;
    margin-top: 40px;
}
#join-btn{
all : unset;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #457687;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;


}
#join-btn:hover{
     background-color: #E49925;
    color: #000;
    cursor: pointer;
}

.shortcode-member-button-join{
    all : unset;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #457687;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

.shortcode-member-button:hover {
    background-color: #E49925;
    color: #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .shortcode-member-card {
        width: 90%;
    }
    .shortcode-member-photo-wrapper,
    .shortcode-member-photo,
    .shortcode-member-photo-placeholder {
        width: 100px;
        height: 100px;
    }
}







/* ----------- page dynamic members----------- */

/* ----------- CONTENEUR GLOBAL ----------- */
.dynami-member-page {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.dynami-member-content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* ----------- COLONNE GAUCHE (PHOTO + ICÔNES) ----------- */
.dynami-member-left {
    flex: 1 1 250px;
    text-align: center;
}

.dynami-member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    object-fit: cover;
}

.dynami-member-photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: inline-block;
}

/* Icônes email / site web */
.dynami-member-icons {
    margin-top: 15px;
}
.dynami-member-website-button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #457687;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.dynami-member-website-button:hover {
    background-color: #E49925;
    color: #fff;
}


.dynami-member-icon-link {
    margin: 10px;
    font-size: 1.5em;
    color: #457687;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dynami-member-icon-link:hover {
    color: #E49925;
}

/* ----------- COLONNE GAUCHE (PHOTO + WEBSITE) ----------- */
.dynami-member-left {
    flex: 1 1 250px;
    text-align: center;
}

.dynami-member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto 10px auto;
}


.dynami-member-photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: block;
    margin: 0 auto 10px auto;
}

/* BOUTON WEBSITE sous la photo, bien aligné */
.dynami-member-website-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #457687;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.dynami-member-website-button:hover {
    background-color: #E49925;
    color: #fff;
}

/* ----------- COLONNE DROITE (INFOS) ----------- */
.dynami-member-right {
    flex: 3 1 600px;
}

/* Nom */
.dynami-member-name {
    font-family: "Amarante", cursive;
    color: #E49925;
    font-size: 2.2em;
    font-weight: 400;
    margin-bottom: 10px;
}

/* Fonction */
.dynami-member-role {
    font-family: "Source Sans Pro", sans-serif;
    color: #555;
    margin-bottom: 20px;
}

/* Titres de sections */
.dynami-member-section-title {
    color: #457687;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 400;
}

/* Texte principal */
.dynami-member-text {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1em;
    line-height: 1.6em;
    text-align: justify;
    margin-bottom: 20px;
}

/* ----------- EXPERTISE ----------- */
.dynami-member-expertise-badge {
    background-color: #457687;
    color: white;
    border-radius: 20px;
    padding: 7px 15px;
    margin: 5px 5px 5px 0;
    display: inline-block;
    font-size: 1em;
    font-family: "Source Sans Pro", sans-serif;
}

/* ----------- BADGES THÉMATIQUES ----------- */
.dynami-member-theme-badge {
    background-color: #f0f0f0;
    color: #457687;
    border: 1px solid #457687;
    border-radius: 20px;
    padding: 7px 15px;
    margin: 5px 5px 5px 0;
    display: inline-block;
    text-decoration: none;
    font-size: 1em;
    transition: all 0.3s ease;
}

.dynami-member-theme-badge:hover {
    background-color: #E49925;
    color: white;
    border-color: #E49925;
}

/* ----------- AFFILIATIONS ----------- */
.dynami-member-affiliations-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.dynami-member-affiliation-item {
    margin-bottom: 5px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1em;
}

/* ----------- LIEN RETOUR ----------- */
.dynami-member-back-link a {
    display: inline-block;
    margin-top: 40px;
    font-family: "Source Sans Pro", sans-serif;
    color: #457687;
    text-decoration: none;
    font-size: 1em;
}

.dynami-member-back-link a:hover {
    color: #E49925;
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
    .dynami-member-page {
        flex-direction: column;
    }
    .dynami-member-left, .dynami-member-right {
        flex: 1 1 100%;
    }
    .dynami-member-photo, .dynami-member-photo-placeholder {
        width: 150px;
        height: 150px;
    }
}




