/* =============================================================
   Eaizy Blog Post Styles
   Enqueued only on single posts by the Eaizy plugin.
   Scoped to .entry-content so it never bleeds into other themes.
   ============================================================= */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* ── Base typography upgrade ── */
.entry-content,
.post-content,
.site-main .content-area article {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #1e293b;
}

.entry-content h2,
.post-content h2 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2.2rem 0 0.8rem;
    line-height: 1.3;
}

.entry-content h3,
.post-content h3 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.6rem 0 0.6rem;
}

.entry-content p,
.post-content p {
    margin: 0 0 1.1rem;
}

/* ── Inline block images (slots 1–3) — full-width, below each section ── */
.blog-inline-image {
    display: block;
    width: 100%;
    clear: both;
    margin: 20px 0 24px !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.blog-inline-image img {
    width: 100% !important;
    max-height: 320px;
    object-fit: cover;
    height: auto !important;
    display: block;
}

.blog-inline-image figcaption {
    font-size: 0.72rem !important;
    color: #94a3b8;
    padding: 6px 10px;
    background: #f8fafc;
    text-align: center;
    font-style: italic;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

/* ── Full-width hero / conclusion image (slot 4) ── */
figure.blog-hero-image {
    margin: 2.4rem 0 1.8rem !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
    clear: both;
    display: block;
}

figure.blog-hero-image img {
    width: 100% !important;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

figure.blog-hero-image figcaption {
    font-size: 0.75rem !important;
    color: #94a3b8;
    padding: 8px 14px;
    background: #f8fafc;
    text-align: center;
    font-style: italic;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

/* ── FAQ section ── */
.entry-content h3 + div[style*="background: #f8fafc"],
.entry-content h3 + div[style*="background:#f8fafc"] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    margin-bottom: 12px !important;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .blog-inline-image {
        margin: 16px 0 20px !important;
    }

    figure.blog-hero-image img {
        max-height: 260px;
    }
}
