/* Author Profile Manager — Frontend Author Box */

.apm-author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 32px;
    margin: 40px 0;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-family: inherit;
}

/* Avatar column */
.apm-author-avatar {
    flex-shrink: 0;
}

.apm-avatar-img {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    width: 100px;
    height: 100px;
    border: 3px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: box-shadow .2s ease;
}

.apm-author-avatar a:hover .apm-avatar-img {
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* Info column */
.apm-author-info {
    flex: 1;
    min-width: 0;
}

.apm-author-name {
    margin: 0 0 2px;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.3;
}

.apm-author-name a {
    color: inherit;
    text-decoration: none;
}

.apm-author-name a:hover {
    text-decoration: underline;
}

.apm-author-title {
    margin: 0 0 10px;
    font-size: .875em;
    color: #666;
    font-style: italic;
}

.apm-author-bio {
    margin: 0 0 14px;
    font-size: .95em;
    line-height: 1.65;
    color: #444;
}

.apm-author-bio p:last-child {
    margin-bottom: 0;
}

/* Social links */
.apm-author-social {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.apm-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #333;
    text-decoration: none;
    transition: background .2s, color .2s, transform .15s;
}

.apm-social-link svg {
    fill: currentColor;
}

.apm-social-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.apm-social-link.apm-twitter:hover {
    background: #000;
    color: #fff;
}

.apm-social-link.apm-linkedin:hover {
    background: #0a66c2;
    color: #fff;
}

.apm-social-link.apm-website:hover {
    background: #2271b1;
    color: #fff;
}

/* Responsive */
@media (max-width: 540px) {
    .apm-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

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