* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.blog-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.post-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #ff4c4c;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    gap: 0.5rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-btn:hover, .page-btn.active {
    background-color: #ff6b6b;
    color: white;
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }

    .post-title {
        font-size: 1.1rem;
    }

    .post-excerpt {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-image img {
        height: 150px;
    }
}