/* blog-post.css - Blog post page specific styles */

.container {
    max-width: 800px;
}

.header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left {
    flex: 1;
}

.back-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.social-link:hover {
    color: var(--accent);
}

.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.post-tags .tag {
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
}

.post-content {
    font-size: 1rem;
    line-height: 1.7;
}

.post-content h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    color: var(--accent);
    font-weight: 500;
}

.post-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
    color: var(--text);
    font-weight: 500;
}

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

.post-content ul, .post-content ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    color: var(--text-dim);
}

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

.code-block {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    border-radius: 6px;
}

.code-block pre {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text);
}

.status-update {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 1rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
    border-radius: 0 6px 6px 0;
}

.status-update .status-title {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.status-update p {
    margin-bottom: 0.5rem;
    color: var(--text-dim);
}

.status-update p:last-child {
    margin-bottom: 0;
}

.image-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--border);
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-muted);
    font-style: italic;
    border-radius: 6px;
}

.next-prev {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    gap: 2rem;
}

.next-prev a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    flex: 1;
}

.next-prev a:hover {
    text-decoration: underline;
}

.next-prev .next {
    text-align: right;
}

/* Blog images */

.blog-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.blog-image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Mobile responsiveness for blog posts */
@media (max-width: 768px) {
    .post-title {
        font-size: 1.6rem;
    }
    
    .post-content {
        font-size: 0.95rem;
    }
    
    .next-prev {
        flex-direction: column;
        gap: 1rem;
    }
    
    .next-prev .next {
        text-align: left;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
}