/* ==========================================================================
   LaundryCareer — single blog post typography (v2.6.0, design pass
   Phase S; the audit's Phase X decision: the PLUGIN route).

   Single posts render through the server theme (hostinger-ai-theme),
   which owns the header/footer chrome (mirrored from the plugin) and
   the post layout — but post-BODY typography is styled here so an
   article reads in the same system as the rest of the site: the
   --lcx-* master tokens from lc.css (always enqueued before this
   file, and declared as this file's dependency), the 12/14/16/20/28/40
   type scale at weights 400/500/600, the #FAFAF9 canvas, and the one
   master dark remap (every color below is a token, so dark mode
   arrives through the aliases — there is no second dark block here).

   Scoped to body.single-post and the theme's content containers
   (.wp-block-post-content in block themes, .entry-content fallback).
   Nothing outside the post body is touched: no header, footer, nav,
   or layout rules live in this file.
   ========================================================================== */

body.single-post {
    background: var(--lcx-canvas);
}

body.single-post .wp-block-post-title {
    font-family: var(--lcx-font);
    font-size: var(--lcx-fs-6);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--lcx-ink);
}

body.single-post .entry-content,
body.single-post .wp-block-post-content {
    font-family: var(--lcx-font);
    font-size: var(--lcx-fs-3);
    line-height: 1.5;
    color: var(--lcx-ink);
}

body.single-post .entry-content p,
body.single-post .wp-block-post-content p {
    margin: 0 0 16px;
}

body.single-post .entry-content h2,
body.single-post .wp-block-post-content h2 {
    font-size: var(--lcx-fs-5);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--lcx-ink);
    margin: 32px 0 12px;
}

body.single-post .entry-content h3,
body.single-post .wp-block-post-content h3 {
    font-size: var(--lcx-fs-4);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--lcx-ink);
    margin: 24px 0 8px;
}

body.single-post .entry-content h4,
body.single-post .wp-block-post-content h4 {
    font-size: var(--lcx-fs-3);
    font-weight: 600;
    line-height: 1.2;
    color: var(--lcx-ink);
    margin: 24px 0 8px;
}

body.single-post .entry-content a,
body.single-post .wp-block-post-content a {
    color: var(--lcx-blue);
    text-underline-offset: 2px;
}

body.single-post .entry-content strong,
body.single-post .entry-content b,
body.single-post .wp-block-post-content strong,
body.single-post .wp-block-post-content b {
    font-weight: 600;
}

body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

body.single-post .entry-content li,
body.single-post .wp-block-post-content li {
    margin-bottom: 8px;
}

body.single-post .entry-content blockquote,
body.single-post .wp-block-post-content blockquote {
    margin: 24px 0;
    padding-left: 16px;
    border-left: 2px solid var(--lcx-line-strong);
    color: var(--lcx-ink-2);
}

body.single-post .entry-content img,
body.single-post .wp-block-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lcx-r-md);
}

body.single-post .entry-content figcaption,
body.single-post .wp-block-post-content figcaption {
    font-size: var(--lcx-fs-2);
    color: var(--lcx-ink-3);
    text-align: center;
    margin-top: 8px;
}

body.single-post .entry-content code,
body.single-post .wp-block-post-content code {
    font-size: var(--lcx-fs-2);
    background: var(--lcx-mist);
    border-radius: var(--lcx-r-sm);
    padding: 2px 6px;
}

body.single-post .entry-content pre,
body.single-post .wp-block-post-content pre {
    background: var(--lcx-mist);
    border-radius: var(--lcx-r-sm);
    padding: 16px;
    overflow-x: auto;
    font-size: var(--lcx-fs-2);
    line-height: 1.5;
}

body.single-post .entry-content pre code,
body.single-post .wp-block-post-content pre code {
    background: none;
    padding: 0;
}

body.single-post .entry-content table,
body.single-post .wp-block-post-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--lcx-fs-2);
    margin: 0 0 16px;
}

body.single-post .entry-content th,
body.single-post .entry-content td,
body.single-post .wp-block-post-content th,
body.single-post .wp-block-post-content td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lcx-line);
}

body.single-post .entry-content th,
body.single-post .wp-block-post-content th {
    font-weight: 600;
    color: var(--lcx-ink);
}

body.single-post .entry-content hr,
body.single-post .wp-block-post-content hr {
    border: 0;
    border-top: 1px solid var(--lcx-line);
    margin: 32px 0;
}

/* PS-5 (v2.48.60): single posts render through the theme and lc-app.css
   never loads here, so the --lcx-* tokens above resolved to lc.css's warm
   base palette. Scope the V2 token values (copied from lc-app.css's roots)
   onto body.single-post so article bodies — blog posts and the state-hub /
   city-guide articles alike — read in the same system as the app, light
   and dark, and give the title and headings the V2 weights. */
body.single-post {
    --lcx-canvas: #EDF1FE;
    --lcx-surface: #FFFFFF;
    --lcx-mist: #F2F5FF;
    --lcx-mist-2: #E4EAFF;
    --lcx-ink: #101736;
    --lcx-ink-2: #43538A;
    --lcx-ink-3: #5A6A94;
    --lcx-line: rgba(16, 23, 54, .09);
    --lcx-line-strong: rgba(16, 23, 54, .18);
    --lcx-green: #12A544;
    --lcx-green-deep: #0B7A33;
    --lcx-green-ink: #0B7A33;
    --lcx-green-soft: #E3F6EA;
    --lcx-blue: #1E6FF2;
    --lcx-blue-deep: #1559CF;
    --lcx-blue-soft: #EAF1FE;
    --lcx-amber: #B97A06;
    --lcx-amber-soft: #FDF0D3;
    --lcx-red: #C92A2A;
    --lcx-red-soft: #FDECEA;
}
@media (prefers-color-scheme: dark) {
    body.single-post {
        --lcx-canvas: #060B1D;
        --lcx-surface: #0C1734;
        --lcx-mist: #0A142E;
        --lcx-mist-2: #12234D;
        --lcx-ink: #E9EEFB;
        --lcx-ink-2: #B9C6E8;
        --lcx-ink-3: #97A7CC;
        --lcx-line: rgba(233, 238, 251, .12);
        --lcx-line-strong: rgba(233, 238, 251, .22);
        --lcx-green: #2FBF5F;
        --lcx-green-deep: #2FBF5F;
        --lcx-green-ink: #7CE3AB;
        --lcx-green-soft: #12301F;
        --lcx-blue: #5B93F5;
        --lcx-blue-deep: #8DB9F8;
        --lcx-blue-soft: #12234D;
        --lcx-amber: #E8B23E;
        --lcx-amber-soft: #33270A;
        --lcx-red: #FF8787;
        --lcx-red-soft: #3D1A16;
    }
}
body.single-post .wp-block-post-title { font-family: var(--lcx-font); font-weight: 800; }
body.single-post .entry-content h2,
body.single-post .wp-block-post-content h2 { font-family: var(--lcx-font); font-weight: 700; }
body.single-post .entry-content h3,
body.single-post .wp-block-post-content h3 { font-family: var(--lcx-font); font-weight: 700; }
body.single-post .entry-content h4,
body.single-post .wp-block-post-content h4 { font-family: var(--lcx-font); }
