/*  Winsiders – Author Box
    -------------------------------------------------
    Mise en forme optimisee pour le theme Enfold.
*/

/* Conteneur principal */
.author_bio_section {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px 30px;
    border: 1px solid var(--enfold-main-color-border);
    align-items: center;
    background-color: var(--enfold-main-color-bg2);
}

/* Avatar rond et responsive */
.author_bio_section img.avatar {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1000px;
}

/* Mise en page titre / sous‑titres */
#top .author_bio_section .author_header {
    padding-left: 20px;
    width: calc(100% - 90px);
}



#top .author_bio_section .author_details {
    padding-top: 20px;
}

#top .author_bio_section .author_header p,
#top .author_bio_section .author_details p {
    line-height: 1.65em;
    padding: 0;
    margin-top: 0;
    font-size: 0.9em;
}

#top .author_bio_section .author_header h4.author_name {
    font-size: var(--font-size-md);
    padding: 0;
}

#top .author_header>* {
    width: 100%;
    margin-bottom: .5em !important;
}


#top .author_bio_section .social_bookmarks li {
    margin-left: 0;
    border-right-width: 0;

}

#top .author_bio_section .social_bookmarks li+li {
    border-left: 1px solid var(--enfold-main-color-border);
}

#top .author_bio_section .social_bookmarks li:first-child {
    border-left-width: 0;
}

/* Icônes des réseaux sociaux (fontello / entypo) */
.author_bio_section .social_bookmarks li a:before {
    content: '\e822';
    font-family: 'entypo-fontello';
}

.author_bio_section li.social_bookmarks_Facebook a:before {
    content: '\e8f3';
}

.author_bio_section li.social_bookmarks_Instagram a:before {
    content: '\f16d';
}

.author_bio_section li.social_bookmarks_LinkedIn a:before {
    content: '\e8fc';
}

.author_bio_section li.social_bookmarks_Pinterest a:before {
    content: '\e8f8';
}

.author_bio_section li.social_bookmarks_SoundCloud a:before {
    content: '\e913';
}

.author_bio_section li.social_bookmarks_Tumblr a:before {
    content: '\e8fa';
}

.author_bio_section li.social_bookmarks_X a:before {
    content: '\e932';
}

.author_bio_section li.social_bookmarks_YouTube a:before {
    content: '\f16a';
}

/* Bluesky : logo officiel (Wikipedia Commons) */
.author_bio_section li.social_bookmarks_Bluesky a:before {
    content: '';
    font-family: inherit;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20600%20530%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m135.72%2044.03c66.496%2049.921%20138.02%20151.14%20164.28%20205.46%2026.262-54.316%2097.782-155.54%20164.28-205.46%2047.98-36.021%20125.72-63.892%20125.72%2024.795%200%2017.712-10.155%20148.79-16.111%20170.07-20.703%2073.984-96.144%2092.854-163.25%2081.433%20117.3%2019.964%20147.14%2086.092%2082.697%20152.22-122.39%20125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937%200.51669-3.7077%207.8964-13.714%2040.255-67.233%20197.36-189.63%2071.766-64.444-66.128-34.605-132.26%2082.697-152.22-67.108%2011.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07%200-88.687%2077.742-60.816%20125.72-24.795z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Gravatar : logo officiel (Wikipedia Commons) */
.author_bio_section li.social_bookmarks_Gravatar a:before {
    content: '';
    font-family: inherit;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M128%200a25.6%2025.6%200%200%200-25.6%2025.6v89.6a25.6%2025.6%200%200%200%2051.2%200V55.6a76.8%2076.8%200%201%201-79.9%2018.1%2025.6%2025.6%200%201%200-36.2-36.2A128%20128%200%201%200%20128%200%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


#top .author_bio_section .socials {
    width: 100%;
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 989px) {
    #top .author_bio_section .socials {
        flex-wrap: wrap;
    }
}

#top p.author_social_links {
    margin-bottom: 0;
}

#top .author_bio_section .author_header .author_social_links,
#top .author_bio_section .author_header .social_bookmarks {
    float: left;
}

/* Archive auteur : bio en haut avec margin-bottom */
.wab-author-archive-header {
    margin-bottom: 40px;
}

/* Archive auteur : layout pleine largeur sans trait de sidebar */
body.author .container_wrap_first .sidebar {
    display: none;
}
body.author .template-page.content {
    border-right: none;
}

/* Archive auteur : liste titre + extrait */
.wab-author-archive-item {
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid var(--enfold-main-color-border, #e0e0e0);
}

.wab-author-archive-item:last-child {
    border-bottom: none;
}

#top .wab-author-archive-title {
    font-size: var(--font-size-md, 1.2em);
    margin: 0 0 0.5em;
    padding: 0;
}

.wab-author-archive-title a {
    text-decoration: none;
}

.wab-author-archive-title a:hover {
    text-decoration: underline;
}

.wab-author-archive-excerpt p {
    line-height: 1.65em;
    margin: 0;
}