/**
 * Author Box Component Styles
 * Loaded only on single post pages
 */

/* Conteneur « bordure » animée */
.author-gradient-wrapper {
    padding: 2px;
    border-radius: 22px;
    background: black;
    background-size: 400% 400%;
    text-align: center;
}

.author-gradient-wrapper h3 {
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
}

/* Box blanche interne */
.mon-author-box {
    width: 100%;
    border-radius: 20px;
    background: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.mon-author-box .author-avatar {
    width: 100px;
    height: 100px;
    margin: 0.5em auto;
    border-radius: 50%;
    overflow: hidden;
}

.mon-author-box .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mon-author-box .author-name {
    margin: 0.5em 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #111;
}

.mon-author-box .author-bio {
    line-height: 1.5;
    margin-top: 0.5em;
    color: #333;
    font-size: 0.95rem;
}

/* Social Links */
.author-socials {
    margin-top: 1em;
    display: flex;
    justify-content: center;
    gap: 1em;
}

.author-socials .social-link {
    display: inline-block;
    transition: transform .2s;
}

.author-socials .social-link:hover {
    transform: translateY(-2px);
}

.author-socials .social-icon {
    width: 34px;
    height: 34px;
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .mon-author-box {
        padding: 15px;
    }
    
    .mon-author-box .author-avatar {
        width: 80px;
        height: 80px;
    }
    
    .mon-author-box .author-name {
        font-size: 1.1em;
    }
    
    .author-socials .social-icon {
        width: 30px;
        height: 30px;
    }
}
