/* Blog Page Styles */

.blog-hero {
    padding: 12rem 2rem 4rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.blog-hero .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.blog-posts {
    padding: 6rem 2rem;
    background: #ffffff;
}

.blog-posts .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.blog-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: white;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h2 {
    font-size: 1.75rem;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card h2 a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: #2563eb;
}

.blog-meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta time {
    font-weight: 500;
}

.blog-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #1e40af;
    gap: 0.75rem;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        padding: 2rem;
    }
    
    .blog-card h2 {
        font-size: 1.5rem;
    }
}

/* Blog Post Article Styles */

.blog-post-hero {
    padding: 12rem 2rem 4rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.blog-post-hero .post-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-hero .post-meta {
    font-size: 1rem;
    opacity: 0.85;
}

.blog-post-content {
    padding: 5rem 2rem;
    background: #ffffff;
}

.blog-post-content .container {
    max-width: 780px;
    margin: 0 auto;
}

.blog-post-body {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #374151;
}

.blog-post-body p {
    margin-bottom: 1.75rem;
}

.blog-post-body h2 {
    font-size: 1.75rem;
    color: #1e40af;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-post-body h3 {
    font-size: 1.35rem;
    color: #1e3a8a;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.blog-post-body ol,
.blog-post-body ul {
    margin-bottom: 1.75rem;
    padding-left: 1.75rem;
}

.blog-post-body li {
    margin-bottom: 0.85rem;
}

.blog-post-body a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-post-body a:hover {
    color: #1e40af;
}

.blog-post-body strong {
    color: #1e293b;
    font-weight: 600;
}

.blog-post-cta {
    margin-top: 4rem;
    padding: 2.5rem;
    background: #f0f4ff;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
}

.blog-post-cta p {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: #1e293b;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 3rem;
    transition: gap 0.2s ease;
}

.blog-back-link:hover {
    gap: 0.75rem;
    color: #1e40af;
}

.blog-post-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 3rem;
    display: block;
}

.blog-post-body img {
    width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    display: block;
}

.blog-post-body figure {
    margin: 2rem 0;
}

.blog-post-body figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .blog-post-hero h1 {
        font-size: 2rem;
    }

    .blog-post-content {
        padding: 3rem 1.5rem;
    }

    .blog-post-body {
        font-size: 1rem;
    }
}

