/* Blog-specific styles */
.blog-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.blog-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-content {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px 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 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-category {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.blog-date {
    color: #6b7280;
}

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

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

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

.blog-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

/* Article Pages */
.article-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 60px;
    margin-top: 80px;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #2563eb;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.article-category {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.article-date,
.read-time {
    color: #6b7280;
}

.article-header h1 {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Article Content */
.article-content {
    padding: 80px 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
}

.article-image svg {
    width: 100%;
    height: auto;
}

.article-text {
    line-height: 1.8;
    font-size: 1.125rem;
}

.article-text .lead {
    font-size: 1.375rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-text h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #1e40af;
    font-size: 2rem;
}

.article-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #374151;
    font-size: 1.5rem;
}

.article-text h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 1.25rem;
}

.article-text p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.article-text ul,
.article-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-text li {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.article-text strong {
    color: #374151;
    font-weight: 600;
}

.article-text em {
    font-style: italic;
    color: #6b7280;
}

.article-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.article-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.article-cta .btn-primary {
    background: white;
    color: #2563eb;
}

.article-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
}

/* Article Navigation */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.nav-item {
    text-align: center;
}

.nav-item.prev {
    text-align: left;
}

.nav-item.next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-item a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #1d4ed8;
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.related-articles h3 {
    margin-bottom: 2rem;
    color: #1e40af;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.related-card h4 {
    margin-bottom: 0.5rem;
}

.related-card h4 a {
    color: #1e40af;
    text-decoration: none;
    font-size: 1.125rem;
}

.related-card h4 a:hover {
    color: #2563eb;
}

.related-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.125rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-text {
        font-size: 1rem;
    }
    
    .article-text .lead {
        font-size: 1.25rem;
    }
    
    .article-text h2 {
        font-size: 1.75rem;
    }
    
    .article-text h3 {
        font-size: 1.375rem;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-item.prev,
    .nav-item.next {
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 60px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .article-header {
        padding: 100px 0 40px;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-content {
        padding: 60px 0;
    }
    
    .article-cta {
        padding: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
}
