/* Blog-specific styles */

.blog-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

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

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

.blog-posts {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-category {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

.post-card h2 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-card h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card h2 a:hover {
    color: #3498db;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.read-time {
    color: #999;
    font-size: 0.9rem;
}

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

.read-more:hover {
    color: #2980b9;
}

.newsletter-blog {
    background-color: #34495e;
}

/* Article page styles */
.article-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-title {
    color: white;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
}

.article-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    color: #2c3e50;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.article-content h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
}

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

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #444;
}

.article-content blockquote {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.article-content .highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #e1bee7;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.article-content .highlight-box h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.article-content .warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.article-content .warning-box h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.article-navigation {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #dee2e6;
}

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

.nav-link {
    flex: 1;
    text-decoration: none;
    color: #2c3e50;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
}

.nav-link-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-link-title {
    font-weight: 600;
    color: #2c3e50;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .article-content {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .post-card {
        padding: 1.5rem;
    }
    
    .article-header {
        padding: 100px 0 60px;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
}
