/* ==========================================
   Blog Post Full
   ========================================== */
.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: var(--spacing-xl);
}

.post-header .post-meta {
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.85rem;
}

.post-meta time {
    color: var(--text-tertiary);
}

.post-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--bg-tertiary);
    color: var(--accent-tertiary);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.read-time {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.post-title-full {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.post-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: var(--line-height-normal);
    font-weight: 400;
}

/* ==========================================
   Post Body Typography
   ========================================== */
.post-body {
    font-size: 1rem;
    line-height: var(--line-height-loose);
}

.post-body h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.post-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.post-body p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

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

.post-body a {
    color: var(--accent-tertiary);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-tertiary);
    transition: all var(--transition-fast);
}

.post-body a:hover {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

/* ==========================================
   Lists
   ========================================== */
.post-body ul,
.post-body ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

.post-body li {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.post-body li::marker {
    color: var(--accent-primary);
}

.post-body ol {
    counter-reset: item;
    list-style: none;
}

.post-body ol li {
    counter-increment: item;
    position: relative;
    padding-left: var(--spacing-md);
}

.post-body ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
}

/* ==========================================
   Code Blocks
   ========================================== */
.post-body code {
    font-family: var(--font-sans);
    font-size: 0.9em;
    color: var(--text-code);
    background: var(--bg-code);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.post-body pre {
    background: var(--bg-code);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-primary);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    overflow-x: auto;
    line-height: 1.6;
    position: relative;
}

.post-body pre code {
    display: block;
    padding: 0;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Syntax Highlighting - Monokai-inspired */
.post-body pre code .language-rust,
.post-body pre code .language-text {
    color: var(--text-secondary);
}

/* ==========================================
   Post Footer
   ========================================== */
.post-footer-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
}

.post-footer-text {
    font-style: italic;
    color: var(--text-tertiary);
}

/* ==========================================
   Responsive Design - Post
   ========================================== */
@media (max-width: 768px) {
    .post-title-full {
        font-size: 2rem;
    }

    .post-body h2 {
        font-size: 1.6rem;
    }

    .post-body h3 {
        font-size: 1.3rem;
    }

    .post-body pre {
        padding: var(--spacing-sm);
        font-size: 0.85rem;
    }
}

/* ==========================================
   Print Styles - Post
   ========================================== */
@media print {
    .post-body {
        color: black;
    }
}
