/* VynFlo blog. Layers on style.css (navbar, footer, buttons, tokens).
   Backgrounds are set explicitly here so the blog never inherits an
   ambiguous page background. */

.blog-page {
    background: #F0F4FF;
    padding: 148px 24px 96px;
    min-height: 100vh;
}

.blog-inner        { max-width: 900px; margin: 0 auto; }
.blog-inner.narrow { max-width: 760px; }

/* ---- page header ---- */
.blog-hero { margin-bottom: 48px; }

.blog-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 24px;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: #0A0A0B;
    margin-bottom: 16px;
}

.blog-lede {
    font-size: 19px;
    line-height: 1.6;
    color: #5A6478;
    max-width: 620px;
}

/* ---- listing cards ---- */
.post-list { display: flex; flex-direction: column; gap: 20px; }

.post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid #E1E8F7;
    border-radius: 18px;
    padding: 32px 34px;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.post-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.12);
}

.post-card time {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #8A93A6;
    margin-bottom: 10px;
}

.post-card h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: #0A0A0B;
    margin-bottom: 12px;
}

.post-card p {
    font-size: 16.5px;
    line-height: 1.6;
    color: #5A6478;
}

/* ---- article ---- */
.blog-card {
    background: #ffffff;
    border: 1px solid #E1E8F7;
    border-radius: 20px;
    padding: 56px 56px 60px;
}

.blog-card h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: #0A0A0B;
    margin-bottom: 14px;
}

.blog-meta {
    font-size: 14px;
    font-weight: 500;
    color: #8A93A6;
    padding-bottom: 32px;
    margin-bottom: 36px;
    border-bottom: 1px solid #EDF1FA;
}

.blog-prose h2 {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #0A0A0B;
    margin: 46px 0 16px;
}

.blog-prose p {
    font-size: 18px;
    line-height: 1.75;
    color: #2C3242;
    margin-bottom: 26px;
}

.blog-prose p:last-child { margin-bottom: 0; }
.blog-prose strong { font-weight: 600; color: #0A0A0B; }

.blog-end { margin-top: 44px; }

@media (max-width: 760px) {
    .blog-page   { padding: 118px 18px 72px; }
    .blog-hero h1 { font-size: 34px; }
    .blog-lede   { font-size: 17px; }
    .post-card   { padding: 26px 24px; }
    .post-card h2 { font-size: 21px; }
    .blog-card   { padding: 34px 26px 40px; border-radius: 16px; }
    .blog-card h1 { font-size: 29px; }
    .blog-prose p { font-size: 17px; }
}

/* The back button reuses .btn-outline-dark, exactly like privacy.html and
   terms.html. That class sets color:var(--text-light) for dark backgrounds, and
   on the legal pages it only looks right because .legal-content a happens to
   override it. Blog pages state it explicitly rather than relying on that. */
.blog-page a.btn-outline-dark { color: var(--primary); }
