/* ====== Blog / Post Content Styles ====== */

/* Post content body typography */
.post-content {
    color: var(--text-muted);
}
.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--text);
    margin: var(--space-32) 0 var(--space-12);
    line-height: 1.3;
}
.post-content h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; }
.post-content h3 { font-size: 1.25rem; font-weight: 600; }
.post-content h4 { font-size: 1.1rem; font-weight: 600; }

.post-content p {
    margin: 0 0 var(--space-20);
}
.post-content strong { color: var(--text); }
.post-content em { font-style: italic; }

.post-content a {
    color: var(--brand-300);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.post-content a:hover { color: var(--brand-200); }

.post-content ul,
.post-content ol {
    padding-left: 22px;
    margin: 0 0 var(--space-20);
}
.post-content li { margin: var(--space-8) 0; }

.post-content blockquote {
    border-left: 3px solid var(--brand-500);
    margin: var(--space-32) 0;
    padding: var(--space-16) var(--space-24);
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.1rem;
    color: var(--text);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    margin: var(--space-32) auto;
}

.post-content pre {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-20);
    overflow-x: auto;
    font-size: .9rem;
    margin: var(--space-24) 0;
}
.post-content code {
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: .9em;
}
.post-content pre code {
    background: none;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-24) 0;
    font-size: .9rem;
}
.post-content th,
.post-content td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: left;
}
.post-content th {
    background: rgba(255,255,255,0.06);
    font-weight: 600;
    color: var(--text);
}

/* Pagination links on blog listing */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s;
}
.page-numbers:hover,
.page-numbers.current {
    background: var(--brand-500);
    color: #001525;
    border-color: var(--brand-500);
}
.nav-links {
    display: flex;
    gap: var(--space-8);
    flex-wrap: wrap;
    justify-content: center;
}
