/* Additional styles for blog post pages */

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

.post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.post-header .post-meta {
    margin-bottom: 1rem;
    justify-content: flex-start;
}

.post-header .post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.post-header .post-tags {
    margin-top: 1rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content a {
    color: var(--secondary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--secondary-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem 0;
    line-height: 1.4;
}

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

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.post-content li strong {
    color: var(--secondary-light);
}

.post-content pre {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.post-content code {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--secondary-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    font-size: 0.875em;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.post-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-primary);
    font-size: inherit;
}

.post-content blockquote {
    border-left: 4px solid var(--secondary);
    background-color: rgba(99, 102, 241, 0.05);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.post-content blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--text-primary);
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--secondary);
}

/* Responsive adjustments for posts */
@media (max-width: 768px) {
    .post-header .post-title {
        font-size: 2rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-content .lead {
        font-size: 1.125rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.25rem;
    }
    
    .post-content pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .post-content ul,
    .post-content ol {
        padding-left: 1.5rem;
    }
}
