/* Author Profile Page Styles */

.author-profile-hero {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

/* Background accents matching theme */
.author-profile-hero::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,182,6,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.author-avatar-wrap {
    flex-shrink: 0;
    position: relative;
}

.author-avatar-wrap img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 33, 71, 0.15);
    background: #ffffff;
}

.author-details-wrap {
    flex: 1;
    min-width: 280px;
}

.author-name-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.author-details-wrap h2 {
    font-size: 32px;
    font-weight: 800;
    color: #002147;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.author-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4f8;
    color: #0077b5;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.author-social-link:hover {
    background: #0077b5;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.2);
}

.author-social-link.contact-link {
    color: #ffb606;
    background: #fff8eb;
}

.author-social-link.contact-link:hover {
    background: #ffb606;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 182, 6, 0.2);
}

.author-meta-badge {
    display: inline-block;
    background: #ffb606;
    color: #002147;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.author-short-bio {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* Long Description/Bio Section */
.author-profile-bio {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
}

.author-profile-bio h2 {
    font-size: 22px;
    font-weight: 700;
    color: #002147;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.author-profile-bio h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ffb606;
    border-radius: 2px;
}

.author-bio-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.author-bio-content h1,
.author-bio-content h2,
.author-bio-content h3,
.author-bio-content h4 {
    color: #002147;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.author-bio-content p {
    margin-bottom: 20px;
}

.author-bio-content ul,
.author-bio-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.author-bio-content li {
    margin-bottom: 10px;
}

.author-bio-content p {
    margin-bottom: 15px;
}

/* Articles Grid Section */
.author-articles-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #eef2f6;
    padding-bottom: 15px;
}

.author-articles-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #002147;
    margin: 0;
}

.author-articles-header span {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
}

/* Responsive adjust */
@media (max-width: 768px) {
    .author-profile-hero {
        padding: 25px 20px;
        text-align: left;
    }
    
    .author-header-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
    
    .author-name-row {
        justify-content: flex-start !important;
    }
    
    .author-details-wrap {
        text-align: left;
    }
}
