/* Blog Specific Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px; /* To account for fixed header */
}

.blog-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.blog-posts {
    padding: 80px 0;
    background: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card h2 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: var(--primary-color);
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta .category {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-card .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-card .read-more:hover {
    text-decoration: underline;
}

/* Individual Blog Post Styles */
.blog-post {
    padding: 100px 0 80px;
    background: var(--white);
    margin-top: 70px; /* To account for fixed header */
}

.blog-post .container {
    max-width: 800px;
}

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

.post-header h1 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.post-meta .category {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.post-content {
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.post-content ol {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.cta-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-section .cta-buttons {
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-hero {
        padding: 80px 0 40px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card h2 {
        font-size: 1.5rem;
    }

    .blog-post {
        padding: 80px 0 60px;
    }

    .post-header h1 {
        font-size: 2.2rem;
    }

    .post-content h2 {
        font-size: 1.8rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

