/* Individual Post Styles */
.post {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.post-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--darker-bg) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.post-title {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: var(--text-primary);
    line-height: 1.2;
}

.post-content {
    padding: 2rem;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--primary-purple);
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-purple);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    color: var(--pink);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.post-content strong {
    color: var(--primary-purple);
    font-weight: 600;
}

.post-content blockquote {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--primary-purple);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
}

.code-block {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 2rem 0;
    overflow-x: auto;
}

.code-block pre {
    padding: 1.5rem;
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-block code {
    color: var(--success);
    background: none;
}

.post-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: rgba(139, 92, 246, 0.05);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-purple);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.logo a {
    color: inherit;
    text-decoration: none;
}

/* Back to Blog Button */
.back-to-blog {
    margin: 2rem 0;
    text-align: center;
}

.back-btn {
    display: inline-block;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-purple);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.back-btn:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Post Images */
.post-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease;
}

.post-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Responsive adjustments for posts */
@media (max-width: 768px) {
    .post-header {
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-image {
        margin: 1rem 0;
    }
}