/* ================================
   AUTHOR PAGE
   ================================ */
.author-page {
    padding: 48px 0 80px;
}

/* ================================
   AUTHOR PROFILE CARD
   ================================ */
.author-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
}

.author-avatar-wrapper {
    flex-shrink: 0;
}

.author-avatar {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 5px solid var(--color-primary);
    box-shadow: var(--shadow-xl);
}

.author-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
}

.author-initial {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 600px;
}

/* ================================
   AUTHOR STATS
   ================================ */
.author-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.author-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.author-stat svg {
    color: var(--color-primary);
    opacity: 0.8;
}

.author-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.author-stat-divider {
    color: var(--border-light);
    font-size: 1rem;
}

.author-stat-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.author-stat-link:hover {
    color: var(--color-primary-hover);
}

/* ================================
   AUTHOR LINKS
   ================================ */
.author-links {
    display: flex;
    gap: 12px;
}

.author-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.2s ease;
}

.author-link:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.author-link svg {
    width: 20px;
    height: 20px;
}

/* ================================
   AUTHOR POSTS
   ================================ */
.author-posts {
    margin-top: 48px;
}

.author-posts-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

/* ================================
   RESPONSIVE TABLET
   ================================ */
@media (max-width: 1023px) {
    .author-card {
        gap: 32px;
        padding: 40px;
    }

    .author-avatar {
        width: 130px;
        height: 130px;
    }

    .author-initial {
        font-size: 3rem;
    }
}

/* ================================
   RESPONSIVE MOBILE
   ================================ */
@media (max-width: 767px) {
    .author-page {
        padding: 32px 0 60px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px 24px;
    }

    .author-avatar {
        width: 120px;
        height: 120px;
    }

    .author-initial {
        font-size: 2.5rem;
    }

    .author-bio {
        font-size: 1rem;
        max-width: none;
    }

    .author-stats {
        justify-content: center;
    }

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

    .author-posts-title {
        font-size: 1.25rem;
        text-align: center;
    }

    .pagination {
        flex-direction: column;
        gap: 12px;
    }

    .pagination-prev,
    .pagination-next {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   PAGINATION
   ================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 48px 0;
    margin-top: 32px;
    border-top: 2px solid var(--border-light);
}

.pagination-prev,
.pagination-next {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.pagination-prev:hover,
.pagination-next:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}