/* Author Box Plugin — default styles */

.author-box {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    margin-top: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Avatar */
.author-box__avatar-wrap {
    flex-shrink: 0;
}

.author-box__avatar-wrap a {
    display: block;
    text-decoration: none;
}

.author-box__avatar {
    display: block;
    width: 96px !important;
    height: 96px !important;
    border-radius: 50%;
    object-fit: cover;
}

/* Content */
.author-box__content {
    flex: 1;
    min-width: 0;
}

.author-box__name {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

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

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

.author-box__bio {
    margin: 0 0 0.75rem;
    color: #4a5568;
}

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

/* Social links */
.author-box__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.author-box__social-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    background: #e2e8f0;
    color: #2d3748;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.15s, color 0.15s;
}

.author-box__social-item a:hover {
    background: #2d3748;
    color: #fff;
}

/* Screen-reader only */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-box__social {
        justify-content: center;
    }
}
