/* Blog Specific Styles */

.blog-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Article */
.featured-article {
    padding: 60px 0;
    background: #f8f9fa;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.featured-content h2 {
    font-size: 2rem;
    margin: 1rem 0;
    line-height: 1.3;
}

.featured-content h2 a {
    color: #2c5aa0;
    text-decoration: none;
}

.featured-content h2 a:hover {
    color: #1e3a5f;
}

.featured-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: #1e3a5f;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.category {
    background: #e3f2fd;
    color: #2c5aa0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
}

.date {
    color: #888;
}

/* Blog Categories */
.blog-categories {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

/* Blog Grid */
.blog-grid {
    padding: 60px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0 1rem;
    line-height: 1.4;
}

.post-content h3 a {
    color: #2c5aa0;
    text-decoration: none;
}

.post-content h3 a:hover {
    color: #1e3a5f;
}

.post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-content .read-more {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: #e55a2b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-content h2 {
        font-size: 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .category-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Hidden posts for filtering */
.blog-post.hidden {
    display: none;
}

/* Active navigation link */
.nav-menu a.active {
    color: #2c5aa0;
    font-weight: 600;
}