/* Single Post Layout */
.single-post {
    padding-bottom: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
}

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

.post-header { margin-bottom: 3rem; text-align: left; }

.post-hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
}

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

.post-meta {
    font-size: 0.9rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.post-tags-container {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Post Content */
.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
}

.post-content h2, .post-content h3 { margin: 2rem 0 1rem; }
.post-content p { margin-bottom: 1.5rem; }

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background: var(--bg-secondary);
    border-radius: 0 12px 12px 0;
    color: var(--muted);
}

/* Code Blocks */
pre {
    background: #1e293b;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 1.5rem 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

code {
    font-family: 'Consolas', 'Monaco', monospace;
    background: rgba(128, 128, 128, 0.15);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary);
}

pre code { background: transparent; padding: 0; color: #f8fafc; }

/* Interactions Group */
.interaction-group {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.stat { display: flex; align-items: center; gap: 0.5rem; }

.interaction-btn {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.interaction-btn:hover { transform: scale(1.2); }
.interaction-btn.active { color: var(--primary); text-shadow: 0 0 10px rgba(99, 102, 241, 0.4); }
.interaction-count { font-weight: 700; font-size: 1.1rem; color: var(--muted); min-width: 1rem; text-align: center; }
