/* Blog Post Content */
.blog-post {
    background: white;
    margin-top: 80px; /* Adjust if header height changes */
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-title {
    font-size: 3rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 700;
}

.post-meta {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.post-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #326ce5 0%, #1a73e8 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-content h2 {
    font-size: 2.2rem;
    color: #1f2937;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #374151;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.7rem;
    color: #374151;
}

.post-content a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.post-content a:hover {
    text-decoration: underline;
}

.highlight-box {
    background: #e0f2fe;
    border-left: 5px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 10px;
    color: #1f2937;
}

.highlight-box h4 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: #2563eb;
}

.code-block {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    margin: 2rem 0;
}

.code-block pre {
    margin: 0;
}

/* Call to action at the end of the post */
.post-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Responsive Design for blog post */
@media (max-width: 768px) {
    .blog-post {
        padding: 2rem;
    }
    .post-title {
        font-size: 2.2rem;
    }
    .post-image {
        height: 250px;
        font-size: 6rem;
    }
    .post-content h2 {
        font-size: 1.8rem;
    }
    .post-content h3 {
        font-size: 1.5rem;
    }
}