/* Styles pour la page blog */
.site-main {
    padding: 120px 0 60px;
}

/* Styles pour les articles individuels */
.single-post-main {
    padding: 120px 0 60px;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.entry-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.entry-summary {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--accent-color);
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.pagination .page-numbers.current {
    background-color: var(--primary-color);
    color: white;
}

.pagination .page-numbers:hover {
    background-color: #e0e0e0;
}

@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-main,
    .single-post-main {
        padding: 100px 0 40px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title,
    .entry-title {
        font-size: 28px;
    }
}

/* Styles pour les articles individuels */
.single-post {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.entry-meta {
    color: #777;
    font-size: 16px;
    margin-bottom: 20px;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.entry-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 16px;
    color: #777;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.nav-previous,
.nav-next {
    max-width: 45%;
}

.nav-previous a,
.nav-next a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--accent-color);
}

.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
