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

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

.blog-hero p {
    color: #bfdbfe;
    font-size: 1.2rem;
}

.blog-main {
    padding: 80px 0;
    background: #f9fafb;
}

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

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(255,255,255,0.1) 75%),
        linear-gradient(45deg, 
        rgba(255,255,255,0.1) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(255,255,255,0.1) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.blog-icon {
    width: 60px;
    height: 60px;
    color: white;
    z-index: 1;
}

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

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

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

.blog-category {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.blog-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.3;
}

.blog-card h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #3b82f6;
}

.blog-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* Article Page Styles */
.article-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.article-category {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.article-content {
    padding: 80px 0;
    background: white;
}

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

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.article-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #374151;
}

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

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

.article-body li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.article-body blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #374151;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.highlight-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.highlight-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #eff6ff;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
}

.highlight-box h4 {
    color: #1e40af;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.article-navigation {
    background: #f9fafb;
    padding: 60px 0;
    border-top: 1px solid #e5e7eb;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 300px;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: #1f2937;
}

.nav-link-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-link-content h4 {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link-content p {
    margin: 0;
    font-weight: 500;
    color: inherit;
}

.back-to-blog {
    text-align: center;
    padding: 40px 0;
    background: #f9fafb;
}

.back-to-blog a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.back-to-blog a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: #1d4ed8;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-link {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-card-content {
        padding: 1rem;
    }
    
    .article-body {
        padding: 0 20px;
    }
    
    .highlight-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .nav-link {
        padding: 1rem;
    }
}
