/* Compact Blocksy single-post layout; desktop and archive layouts are retained. */
@media (max-width: 767px) {
    body.single-post { --theme-content-vertical-spacing: 18px; --header-height: 96px; }
    body.single-post #header [data-device="mobile"] [data-row="middle"] {
        --height: 96px;
        height: 96px !important;
        min-height: 96px !important;
        max-height: 96px !important;
        padding-block: 0 !important;
    }
    body.single-post #header [data-device="mobile"] [data-row="middle"] > .ct-container {
        height: 96px !important;
        min-height: 96px !important;
        max-height: 96px !important;
        padding-block: 0 !important;
        align-items: center !important;
        box-sizing: border-box;
    }
    body.single-post #header [data-device="mobile"] .site-branding {
        --logo-max-height: 48px;
        align-self: center !important;
        justify-content: center !important;
        margin-block: 0 !important;
        padding-block: 0 !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        height: auto !important;
    }
    body.single-post #header [data-device="mobile"] [data-column],
    body.single-post #header [data-device="mobile"] [data-items] {
        height: 100% !important;
        align-items: center !important;
    }
    body.single-post #header [data-device="mobile"] [data-items] {
        display: flex !important;
        padding-block: 0 !important;
    }
    body.single-post #header [data-device="mobile"] .site-title-container { display: none !important; }
    body.single-post #header [data-device="mobile"] .site-logo-container {
        display: flex !important;
        align-items: center !important;
        height: auto !important;
        line-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.single-post #header [data-device="mobile"] .site-logo-container img {
        width: 180px !important;
        max-width: 55vw !important;
        height: auto !important;
        max-height: 60px !important;
        object-fit: contain;
    }
    body.single-post #main > [data-vertical-spacing] { padding-top: 18px !important; }
    body.single-post article > .hero-section {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        padding-block: 0 !important;
        min-height: 0 !important;
    }
    body.single-post article .entry-header { margin: 0 !important; padding: 0 !important; }
    body.single-post article .entry-header .page-title,
    body.single-post article .entry-header .entry-title {
        font-size: 22px !important;
        line-height: 1.22 !important;
        margin: 0 !important;
        letter-spacing: 0 !important;
        overflow-wrap: anywhere;
    }
    body.single-post article .entry-header .entry-meta {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
        gap: 6px 10px;
    }
    body.single-post article .entry-header .entry-meta .meta-date { display: none !important; }
    body.single-post article .entry-header .entry-meta > li {
        display: inline !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.single-post article .entry-header .entry-meta > li::before,
    body.single-post article .entry-header .entry-meta > li::after { content: none !important; }
    body.single-post article .entry-header .entry-meta > .meta-categories::before {
        content: " / " !important;
        white-space: pre;
        margin-inline: 5px;
    }
    body.single-post article .entry-header .entry-meta .meta-author img {
        width: 18px !important;
        height: 18px !important;
        vertical-align: middle;
    }
    body.single-post .entry-content > figure:first-child { margin-block: 0 12px !important; }
    body.single-post .entry-content > figure:first-child img { display: block; width: 100%; height: auto; }
}
