/* Author Page Styles */
.author-page {
    padding: 40px 0;
    min-height: 80vh;
}

.author-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Author Profile Section */
.author-profile {
    margin-bottom: 60px;
    padding: 40px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.author-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #91ffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.author-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #bababa;
    margin-bottom: 25px;
}

.author-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.author-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.author-linkedin i {
    font-size: 1.2rem;
}

/* Posts Section */
.author-posts {
    margin-top: 40px;
}

.posts-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.post-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #91ffff;
}

.post-excerpt {
    font-size: 16px;
    line-height: 1.5;
    color: #bababa;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #bababa;
}

.post-date {
    font-weight: 500;
}

.reading-time {
    background: #000000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.post-author-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-mini img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name-mini {
    font-size: 14px;
    font-weight: 500;
    color: #bababa;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.page-numbers {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #fff;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    min-width: 44px;
    height: 44px;
}

.page-numbers a:hover,
.page-numbers .current {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.page-numbers .prev,
.page-numbers .next {
    font-weight: 500;
}

.page-numbers i {
    font-size: 12px;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .author-page {
        padding: 20px 0;
    }
    
    .author-page .container {
        padding: 0 15px;
    }
    
    .author-profile {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .author-avatar {
        width: 150px;
        height: 150px;
    }
    
    .author-name {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-title {
        font-size: 16px;
    }
    
    .post-excerpt {
        font-size: 14px;
    }
    
    .posts-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .author-profile {
        padding: 20px 15px;
    }
    
    .author-avatar {
        width: 120px;
        height: 120px;
    }
    
    .author-name {
        font-size: 1.5rem;
    }
    
    .author-bio {
        font-size: 1rem;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .page-numbers a,
    .page-numbers span {
        padding: 8px 12px;
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
