/* Blog Container Styles */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-container h1 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.blog-container h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #007bff;
}

/* Featured Article Styles */
.featured-article {
    margin-bottom: 4rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
}

.featured-article img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-content {
    padding: 2rem;
}

.article-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Article Grid Styles */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
}

.card-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Newsletter Signup Styles */
.newsletter-signup {
    background: linear-gradient(135deg, #007bff, #0056b3);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}

.newsletter-signup h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-signup p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.signup-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.signup-form button {
    padding: 1rem 2rem;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.signup-form button:hover {
    background: #218838;
}

/* Read More Link Styles */
.read-more {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-container {
        padding: 1rem;
    }

    .featured-article img {
        height: 300px;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .signup-form {
        flex-direction: column;
    }

    .signup-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-container h1 {
        font-size: 2rem;
    }

    .featured-article img {
        height: 200px;
    }

    .newsletter-signup {
        padding: 2rem 1rem;
    }
}