/* Blog-specific styles */

/* Blog Hero Section */
.blog-hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 120px 2rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.blog-hero-content {
    flex: 1;
    max-width: 600px;
}

.blog-hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.blog-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: #f8fafc;
}

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

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card.featured {
    grid-column: span 2;
}

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

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

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

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

.blog-category {
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

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

.blog-card h2,
.blog-card h3 {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

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

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

.read-more {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Blog Newsletter Section */
.blog-newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-align: center;
}

.blog-newsletter .newsletter-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-newsletter .newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.blog-newsletter .newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-newsletter .newsletter-form input {
    min-width: 300px;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* Article Styles */
.blog-article {
    padding: 120px 0 60px;
    background: #f8fafc;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.breadcrumb {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.article-category {
    background: #3b82f6;
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.article-date,
.article-reading-time {
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.article-featured-image {
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.article-content .lead {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid #3b82f6;
    font-weight: 500;
}

.article-content h2 {
    font-size: 2rem;
    color: #1f2937;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #374151;
    margin: 2rem 0 1rem;
}

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

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

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

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

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

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

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

/* Article Footer */
.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background: #e5e7eb;
    color: #374151;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    margin: 0.25rem 0.5rem 0.25rem 0;
    font-weight: 500;
}

.article-share h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.social-share {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background: white;
}

.related-articles h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.related-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-card h3 {
    margin-bottom: 1rem;
}

.related-card h3 a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.related-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Navigation active state */
.nav-menu a.active {
    color: #3b82f6;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 1rem 2rem;
    }
    
    .blog-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero-visual {
        margin-top: 2rem;
    }
    
    .blog-card.featured {
        grid-column: span 1;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .social-share {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .blog-newsletter .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-newsletter .newsletter-form input {
        min-width: 250px;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-content {
        padding: 1.5rem 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}
