/* =========================================================
 * RankwellPress — Author Box (Flat)
 * ========================================================= */

.rankwellpress-author-box {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: var(--rw-space-6, 2rem) 0;
    box-shadow: none;
}

@media (min-width: 600px) {
    .rankwellpress-author-box {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--rw-space-5, 1.5rem);
    }
}

.author-avatar {
    flex-shrink: 0;
    margin-bottom: var(--rw-space-3, 0.75rem);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--rw-color-primary, #0d7c3e);
}

@media (min-width: 600px) {
    .author-avatar { margin-bottom: 0; }
    .author-avatar img { width: 100px; height: 100px; }
}

.author-info { flex: 1; }

.author-name {
    font-size: 1.25rem;
    margin: 0 0 var(--rw-space-1, 0.25rem);
}

.author-name a {
    color: var(--rw-text-heading, #111827);
    transition: color 0.2s ease;
    text-decoration: none;
}

.author-name a:hover {
    color: var(--rw-color-primary, #0d7c3e);
}

.author-role {
    font-size: 0.875rem;
    color: var(--rw-color-primary, #0d7c3e);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: var(--rw-space-3, 0.75rem);
    display: block;
}

.author-bio {
    color: var(--rw-text-body, #4b5563);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.rwp-author-avatar .rwp-author-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
