/* Blog Specific Styles */

.blog-header {
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 20px 60px 20px;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.blog-posts-section {
    padding: 60px 20px;
    background: #f8fafc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: #64748b;
}

.blog-category {
    background: #DBEAFE;
    color: #2563EB;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.blog-date {
    display: flex;
    align-items: center;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.blog-content h2 a:hover {
    color: #2563EB;
}

.blog-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.read-more:hover {
    color: #1d4ed8;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-posts h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.no-posts p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
}

.blog-cta-section {
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.blog-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.blog-cta-content .btn-primary {
    background: white;
    color: #2563EB;
}

.blog-cta-content .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.blog-cta-content .cta-subtext {
    font-size: 0.875rem;
    margin-top: 15px;
    opacity: 0.85;
}

/* Individual Blog Post Styles */
.blog-post-header {
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
    color: white;
    padding: 100px 20px 60px 20px;
    text-align: center;
}

.blog-post-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1rem;
    opacity: 0.95;
}

.blog-post-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px 0;
    color: #1e293b;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    color: #334155;
}

.blog-post-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px;
}

.blog-post-content ul,
.blog-post-content ol {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px;
    padding-left: 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

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

.blog-post-content a {
    color: #2563EB;
    text-decoration: underline;
}

.blog-post-content a:hover {
    color: #1d4ed8;
}

.blog-post-content blockquote {
    border-left: 4px solid #2563EB;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #64748b;
}

.blog-post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 30px 0;
}

.blog-cta-box {
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 50px 0;
}

.blog-cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: white;
}

.blog-cta-box p {
    font-size: 1.125rem;
    margin-bottom: 25px;
    opacity: 0.95;
    color: white;
}

.blog-cta-box .btn-primary {
    background: white;
    color: #2563EB;
    padding: 15px 35px;
    font-size: 1.125rem;
}

.blog-cta-box .btn-primary:hover {
    background: #f8fafc;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
}

.back-to-blog:hover {
    color: #1d4ed8;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

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

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

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

    .blog-post-meta {
        flex-direction: column;
        gap: 10px;
    }

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

    .blog-cta-content h2 {
        font-size: 1.75rem;
    }

    .blog-cta-box {
        padding: 30px 20px;
    }
}
