
#author-profile-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

#author-profile-card .author-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid var(--header-bg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#author-profile-card .author-avatar-large svg {
    width: 100%;
    height: 100%;
}

#author-profile-card .author-name-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

#author-profile-card .author-education {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

#author-profile-card .author-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

#author-profile-card .author-stats {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

.stat-item {
    font-size: 1rem;
    color: var(--text-primary);
}

.stat-item .stat-number {
    font-weight: 700;
    margin-right: 0.25rem;
}

#author-posts-container {
    padding-bottom: 2rem;
}

#author-posts-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

#author-posts-container .post-grid {
    justify-content: center;
}

@media (min-width: 768px) {
    #author-profile-card {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }

    #author-profile-card .author-avatar-large {
        margin-bottom: 0;
    }

    .author-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #author-profile-card .author-stats {
        flex-direction: column;
        gap: 0.5rem;
        border-top: none;
        border-left: 1px solid var(--border-color);
        padding-top: 0;
        padding-left: 1.5rem;
        width: auto;
        justify-content: flex-start;
        margin-left: auto;
    }
}
