/* blog.css */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-categories {
    margin-bottom: 2rem;
}

.blog-categories ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.featured-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

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

.blog-card-content {
    padding: 1.5rem;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
}

.newsletter {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 1rem auto 0;
}

.newsletter input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.newsletter button {
    padding: 0.75rem 1.5rem;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .featured-articles {
        grid-template-columns: 1fr;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input,
    .newsletter button {
        width: 100%;
        border-radius: 4px;
    }
    
    .newsletter button {
        margin-top: 0.5rem;
    }
}