/* Author Profile Page */

.author-profile-container {
    padding: 60px 0 40px;
    border-bottom: 1px solid #eaeaea;
}

.author-profile-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

@media only screen and (max-width: 768px) {
    .author-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
}

.author-profile-photo img {
    border-radius: 50%;
    border: 3px solid #eaeaea;
}

.author-profile-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #171717;
}

.author-profile-title {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin: 0 0 16px;
}

.author-profile-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 16px;
    max-width: 640px;
}

.author-profile-social {
    display: flex;
    gap: 12px;
    margin: 0 0 16px;
}

@media only screen and (max-width: 768px) {
    .author-profile-social {
        justify-content: center;
    }
}

.author-profile-social a {
    display: inline-flex;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.author-profile-social a:hover {
    opacity: 1;
}

.author-profile-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media only screen and (max-width: 768px) {
    .author-profile-expertise {
        justify-content: center;
    }
}

.expertise-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f4f8;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

h2.author-articles-heading {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 24px;
    color: #171717;
}
