/* =======================================================================
   RunCabin blog - shared article typography
   -----------------------------------------------------------------------
   One stylesheet for /blog and every /blog/<slug> post so the prose look
   never drifts across posts (same centralize-once philosophy as
   js/site-nav.js / js/site-footer.js).

   Load order on every blog page (matters - dark theme wins on purpose):
     /tailwind.css  ->  /css/blog.css  ->  /css/runcabin-dark.css

   Colors are tuned for the dark slate background runcabin-dark.css sets;
   utility classes in the page markup still get remapped by the dark theme.
   ======================================================================= */

.post { max-width: 44rem; margin: 0 auto; }

.post p,
.post ul,
.post ol {
    color: #cbd5e1;
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.post ul, .post ol { padding-left: 1.5rem; }
.post ul { list-style: disc; }
.post ol { list-style: decimal; }
.post li { margin-bottom: 0.5rem; }
.post li::marker { color: #38bdf8; }

.post h2 {
    color: #f1f5f9;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 2.5rem 0 1rem;
}

.post h3 {
    color: #f1f5f9;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.post a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
}
.post a:hover { text-decoration: underline; }

.post strong { color: #f1f5f9; font-weight: 700; }

.post blockquote {
    border-left: 3px solid #2563eb;
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin: 1.5rem 0;
    color: #e2e8f0;
    font-style: italic;
}
.post blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.875rem;
    color: #64748b;
}

.post table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}
.post th {
    text-align: left;
    color: #f1f5f9;
    font-weight: 700;
    padding: 0.625rem 0.75rem;
    border-bottom: 2px solid #334155;
}
.post td {
    color: #cbd5e1;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #1e293b;
    vertical-align: top;
}

.post hr { border: 0; border-top: 1px solid #1e293b; margin: 2.5rem 0; }

/* Mobile: tables scroll instead of crushing columns */
@media (max-width: 640px) {
    .post .table-scroll { overflow-x: auto; }
    .post table { min-width: 36rem; }
}
