/* ═══════════════════════════════════════════════
   blog-post-fixes.css — Pixel Service
   Замінює blog-post-emergency-fix.css
   ═══════════════════════════════════════════════ */

/* ── BODY ── */
body { background: #ffffff; }

/* ── HERO — відступ під фіксований navbar ── */
.article-hero {
    padding-top: calc(var(--topbar-h, 0px) + var(--nav-h, 72px) + 28px);
}

/* ── ОБКЛАДИНКА ── */
.article-cover {
    max-width: 800px;
    margin: 0 auto 48px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.article-cover img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* ── КОНТЕНТ ── */
.article-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

/* ── ЗАГОЛОВОК ── */
h1.article-title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 16px;
    color: #111827;
}

/* ── МЕТА РЯДОК ── */
.article-meta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 16px;
}

/* ── ПАРАГРАФИ ── */
.article-content-wrapper p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #1f2937;
}
.article-content-wrapper h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 14px;
    color: #111827;
    letter-spacing: -.02em;
}
.article-content-wrapper h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 10px;
    color: #111827;
}
.article-content-wrapper ul,
.article-content-wrapper ol {
    margin: 0 0 18px;
    padding-left: 24px;
}
.article-content-wrapper li { margin-bottom: 8px; line-height: 1.7; }
.article-content-wrapper a { color: #3b6ef0; }
.article-content-wrapper strong { font-weight: 700; }
.article-content-wrapper img {
    max-width: 100%;
    display: block;
    margin: 24px auto;
    border-radius: 10px;
}

/* ── МОБАЙЛ ── */
@media (max-width: 768px) {
    .article-hero {
        padding-top: calc(var(--topbar-h, 0px) + var(--nav-h, 64px) + 20px);
    }
    .article-cover {
        margin: 0 0 32px;
        border-radius: 0;
        box-shadow: none;
    }
    .article-cover img {
        height: auto;
        min-height: 200px;
        max-height: 320px;
        object-fit: cover;
    }
    .article-content-wrapper {
        padding: 0 16px 40px;
    }
    h1.article-title {
        font-size: 24px;
    }
}
