/**
 * Author Block - Styles
 * Widget DIX pour Elementor
 */

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.wd-author-block {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

/* ============================================
   TITRE DU BLOC
   ============================================ */
.wd-author-block-title {
    margin: 0 0 20px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   CONTENU (Photo + Info)
   ============================================ */
.wd-author-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

/* ============================================
   PHOTO
   ============================================ */
.wd-author-photo {
    flex: 0 0 auto;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.wd-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ============================================
   INFO (Nom, Bio, Social)
   ============================================ */
.wd-author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ============================================
   NOM
   ============================================ */
.wd-author-name {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333333;
}

/* ============================================
   BIOGRAPHIE
   ============================================ */
.wd-author-bio {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
    color: #666666;
}

/* ============================================
   RÉSEAUX SOCIAUX
   ============================================ */
.wd-author-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.wd-author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wd-author-social a svg {
    width: 24px;
    height: 24px;
    fill: #666666;
    transition: fill 0.3s ease, transform 0.3s ease;
}

.wd-author-social a:hover svg {
    fill: #000000;
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .wd-author-block {
        padding: 20px;
    }

    .wd-author-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .wd-author-info {
        align-items: center;
    }

    .wd-author-photo {
        width: 80px;
        height: 80px;
    }

    .wd-author-name {
        font-size: 1.1em;
    }

    .wd-author-bio {
        font-size: 0.9em;
    }

    .wd-author-social {
        justify-content: center;
    }
}

/* ============================================
   MODE ÉDITEUR ELEMENTOR
   ============================================ */
.elementor-editor-active .wd-author-block {
    min-height: 100px;
}
