/* Blog Page Specific Styles */
.blog-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Post Styles */
.blog-post-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.post-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.post-header-content h1 {
    font-size: 3rem;
    margin: 1.5rem 0;
    line-height: 1.2;
}

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

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-image {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary);
}

.post-text h2 {
    margin: 2rem 0 1rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.post-text h3 {
    margin: 1.5rem 0 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.post-text p {
    margin-bottom: 1.5rem;
}

.post-text pre {
    background: #f5f7fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: monospace;
    font-size: 0.95rem;
}

.post-text code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.post-text ul, .post-text ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-text li {
    margin-bottom: 0.8rem;
}

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

.feature {
    background: rgba(37, 99, 235, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-navigation .btn {
    margin: 0;
}

@media (max-width: 768px) {
    .blog-header, .blog-post-header {
        padding: 120px 0 60px;
    }
    
    .blog-header h1, .post-header-content h1 {
        font-size: 2.5rem;
    }
    
    .post-image {
        height: 300px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .post-navigation .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .blog-header, .blog-post-header {
        padding: 100px 0 40px;
    }
    
    .blog-header h1, .post-header-content h1 {
        font-size: 2rem;
    }
    
    .post-image {
        height: 250px;
    }
}