.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    /*padding: 0.3rem 0.8rem;*/
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* Posts Grid */
.section-title {
    margin: 2rem 0;
    text-align: center;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 0.5rem;
}

.post-content h3 {
    margin: 0.5rem 0;
}

.excerpt {
    color: #666;
    margin: 1rem 0;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}