/* ============================================
   BLOG POST — Clean reading layout
   White background, dark text, serif headings
   ============================================ */

.post-wrapper {
    background: #FFFFFF;
    min-height: 50vh;
}

.post-header {
    padding: 140px 0 48px;
    text-align: center;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-dark);
}

.post-header .container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.post-tag {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-amber);
    padding: 4px 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 100px;
}

.post-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.post-author {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.post-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* ---- Article body (white bg) ---- */
.post-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 80px;
    color: #1a1a2e;
    font-size: 1.0625rem;
    line-height: 1.85;
}

.post-body h2 {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 400;
    color: #0A0E1A;
    margin-top: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-body h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    color: #0A0E1A;
    margin-top: 36px;
    margin-bottom: 16px;
}

.post-body p {
    margin-bottom: 20px;
    color: #374151;
}

.post-body strong {
    color: #0A0E1A;
    font-weight: 600;
}

.post-body em {
    font-style: italic;
}

.post-body blockquote {
    border-left: 3px solid #7C3AED;
    margin: 32px 0;
    padding: 20px 24px;
    background: #F8F7FF;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4B5563;
}

.post-body blockquote p {
    margin-bottom: 0;
    color: #4B5563;
}

.post-body ul,
.post-body ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

.post-body li {
    margin-bottom: 10px;
    color: #374151;
}

.post-body a {
    color: #7C3AED;
    text-decoration: underline;
    text-decoration-color: rgba(124, 58, 237, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.post-body a:hover {
    text-decoration-color: #7C3AED;
}

.post-body hr {
    border: none;
    height: 1px;
    background: #E5E7EB;
    margin: 40px 0;
}

/* ---- Back link ---- */
.post-nav {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.post-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #7C3AED;
    transition: gap 0.2s ease;
}

.post-back:hover {
    gap: 12px;
}

.post-back svg {
    width: 16px;
    height: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .post-header {
        padding: 110px 0 40px;
    }

    .post-body {
        padding: 40px 20px 60px;
        font-size: 1rem;
    }

    .post-body h2 {
        font-size: 1.375rem;
        margin-top: 36px;
    }
}
