/* ===== Site Nav ===== */
.site-nav {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--accent);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    text-decoration: none;
}

/* ===== Blog Post ===== */
.blog-post {
    padding: 60px 0 40px;
}

.blog-post .container {
    max-width: 720px;
}

/* Post Header */
.post-header {
    margin-bottom: 48px;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.post-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Post Body */
.post-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 20px;
    text-align: left;
}

.post-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--accent);
}

.post-body p {
    margin-bottom: 1.2em;
    line-height: 1.8;
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.2em;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.post-body strong {
    color: var(--text);
}

.post-body em {
    color: var(--accent);
    font-style: italic;
}

/* Tables */
.results-table-wrapper {
    overflow-x: auto;
    margin: 24px 0 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.results-table thead {
    background: var(--surface);
}

.results-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.results-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.results-table tbody tr:last-child td {
    border-bottom: none;
}

.results-table .highlight {
    color: var(--green);
    font-weight: 600;
}

.results-table .total-row td {
    border-top: 2px solid var(--border);
    background: rgba(16, 185, 129, 0.05);
}

/* Post CTA */
.post-cta {
    margin-top: 60px;
    padding: 40px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.post-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.post-cta p {
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* Post Author */
.post-author {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.post-author strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
}

.post-author p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.post-author a {
    color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 1.8rem;
    }

    .post-subtitle {
        font-size: 1.05rem;
    }

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

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .post-cta {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .post-header h1 {
        font-size: 1.5rem;
    }

    .results-table {
        font-size: 0.85rem;
    }

    .results-table th,
    .results-table td {
        padding: 8px 10px;
    }
}
