/* Author Archive Styling */
.author-archive-wrapper {
    background-color: var(--light-bg, #f5f5f5);
}

/* Author Header Box */
.author-header-box {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.author-header-inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.author-header-left {
    flex: 0 0 auto;
}

.author-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--first-color, #0073aa);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-header-right {
    flex: 1;
}

.author-name {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-color, #333);
}

.author-job-title {
    font-size: 18px;
    color: var(--first-color, #0073aa);
    margin: 0 0 15px 0;
    font-weight: 600;
}

.author-short-bio {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color, #555);
    margin-bottom: 20px;
}

.author-meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.author-meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color, #666);
}

.author-meta-info i {
    color: var(--first-color, #0073aa);
}

.author-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.author-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg, #f5f5f5);
    color: var(--text-color, #333);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.author-social-link:hover {
    background-color: var(--first-color, #0073aa);
    color: #fff;
    transform: translateY(-2px);
}

.author-social-link.linkedin:hover {
    background-color: #0077b5;
}

.author-social-link.twitter:hover {
    background-color: #000;
}

/* Author Detailed Info */
.author-detailed-info {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.author-section {
    margin-bottom: 30px;
}

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

.author-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--text-color, #333);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg, #f5f5f5);
}

.author-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color, #555);
}

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

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

.specializations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.specializations-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: var(--light-bg, #f5f5f5);
    border-radius: 8px;
    font-size: 15px;
}

.specializations-list li i {
    color: var(--first-color, #0073aa);
    font-size: 14px;
}

/* Author Posts Section */
.author-posts-section {
    margin-top: 40px;
}

.author-posts-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: var(--text-color, #333);
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 10px;
    background-color: var(--first-color, #0073aa);
    color: #fff;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
}

.no-posts-message {
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    color: var(--text-color, #666);
    background: #fff;
    border-radius: 10px;
}

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

    .author-header-box,
    .author-detailed-info {
        padding: 25px 20px;
    }

    .author-name {
        font-size: 28px;
    }

    .author-meta-info {
        justify-content: center;
    }

    .author-social-links {
        justify-content: center;
    }

    .specializations-list {
        grid-template-columns: 1fr;
    }

    .author-posts-title {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .author-avatar-large {
        width: 120px;
        height: 120px;
    }

    .author-name {
        font-size: 24px;
    }

    .author-job-title {
        font-size: 16px;
    }

    .author-section h2 {
        font-size: 20px;
    }
}
