/**
 * Author Template Styles
 * File: css/author-template.css
 * Prefix: bw-blog-jeux-
 */

.bw-blog-jeux-author-page {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.bw-blog-jeux-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Author Header */
.bw-blog-jeux-author-header {
    margin-bottom: 60px;
}

.bw-blog-jeux-author-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 40px;
}

.bw-blog-jeux-author-avatar {
    flex-shrink: 0;
}

.bw-blog-jeux-author-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e0e0e0;
}

.bw-blog-jeux-author-content {
    flex: 1;
}

.bw-blog-jeux-author-name {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.bw-blog-jeux-author-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 20px 0;
}

.bw-blog-jeux-author-social {
    display: flex;
    gap: 15px;
}

.bw-blog-jeux-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 40px;
   
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.bw-blog-jeux-social-link:hover {
    
    background-color: #fff;
}

/* Posts Section */
.bw-blog-jeux-section-title {
    font-size: 2rem;
    margin: 0 0 30px 0;
    color: #1a1a1a;
}

.bw-blog-jeux-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.bw-blog-jeux-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bw-blog-jeux-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.bw-blog-jeux-post-thumbnail {
    overflow: hidden;
    height: 210px;
    background-color: #e0e0e0;
}

.bw-blog-jeux-post-thumbnail a {
    display: block;
    height: 100%;
}

.bw-blog-jeux-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bw-blog-jeux-post-card:hover .bw-blog-jeux-post-image {
    transform: scale(1.05);
}

.bw-blog-jeux-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bw-blog-jeux-placeholder-image {
    color: #999;
    font-size: 1rem;
}

.bw-blog-jeux-post-content {
    padding: 20px;
}

.bw-blog-jeux-post-title {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.bw-blog-jeux-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bw-blog-jeux-post-title a:hover {
    color: #007bff;
}

.bw-blog-jeux-post-date {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 10px 0;
}

.bw-blog-jeux-post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bw-blog-jeux-read-more {
    display: inline-block;
    color: #ff3600;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bw-blog-jeux-read-more:hover {
    color: #ff3600;
}

.bw-blog-jeux-no-posts {
    text-align: center;
    font-size: 1.1rem;
    color: #999;
    padding: 40px 20px;
}

/* Pagination */
.bw-blog-jeux-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.bw-blog-jeux-pagination a,
.bw-blog-jeux-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bw-blog-jeux-pagination a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.bw-blog-jeux-pagination .current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bw-blog-jeux-author-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .bw-blog-jeux-author-name {
        font-size: 2rem;
    }

    .bw-blog-jeux-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bw-blog-jeux-post-thumbnail {
        height: 200px;
    }

    .bw-blog-jeux-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bw-blog-jeux-author-page {
        padding: 30px 15px;
    }

    .bw-blog-jeux-author-avatar img {
        width: 150px;
        height: 150px;
    }

    .bw-blog-jeux-author-name {
        font-size: 1.5rem;
    }

    .bw-blog-jeux-author-social {
        justify-content: center;
    }

    .bw-blog-jeux-post-title {
        font-size: 1.1rem;
    }
}
