/* Blog post styling for eatlocally.ai/blog/* — shared across all individual posts.
   Matches the look of pages/eatlocal/blog.html (tomato + cream + Fraunces + Inter)
   so the reader experience is continuous between index and article. */

:root {
    --brand: #c34a1f;
    --brand-deep: #a73d18;
    --ink: #1c1410;
    --ink-muted: rgba(28, 20, 16, 0.66);
    --ink-faint: rgba(28, 20, 16, 0.42);
    --ink-hairline: rgba(28, 20, 16, 0.12);
    --page-bg: #fff7ed;
    --page-card: #ffffff;
    --hero-ink: #fff7ed;
    --display: 'Fraunces', Georgia, serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--body);
    background: var(--page-bg);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
    display: flex; flex-direction: column;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav { padding: 14px clamp(20px, 4vw, 48px); min-height: 60px; background: var(--brand); color: var(--hero-ink); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.nav-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--hero-ink); color: var(--brand); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.04em; }
.nav-word { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.nav-links a { color: rgba(255, 247, 237, 0.84); text-decoration: none; }
.nav-links a:hover { color: var(--hero-ink); text-decoration: none; }
@media (max-width: 720px) { .nav-links { display: none; } }

.wrap { flex: 1; max-width: 760px; width: 100%; margin: 0 auto; padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 32px); }

.post-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.post-h1 { font-family: var(--display); font-size: clamp(32px, 4.6vw, 50px); font-weight: 500; line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 18px; text-wrap: balance; }
.post-h1 em { font-style: italic; color: var(--brand); }
.post-meta { font-size: 13px; color: var(--ink-faint); margin-bottom: 32px; letter-spacing: 0.04em; }
.post-meta strong { color: var(--ink-muted); font-weight: 600; }

article p { font-size: clamp(15.5px, 1.4vw, 17px); color: var(--ink); margin-bottom: 18px; text-wrap: pretty; }
article p strong { font-weight: 600; }
article p em { font-style: italic; color: var(--brand); }

article h2 { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); margin: 38px 0 12px; text-wrap: balance; }
article h2 em { font-style: italic; color: var(--brand); }

article h3 { font-family: var(--display); font-size: clamp(17px, 1.7vw, 19px); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 24px 0 8px; }

article ul, article ol { padding-left: 22px; margin: 0 0 22px; }
article li { font-size: clamp(15.5px, 1.4vw, 17px); margin-bottom: 9px; line-height: 1.55; }
article ol li::marker { font-weight: 700; color: var(--brand); }

.pull-quote { font-family: var(--display); font-size: clamp(20px, 2.4vw, 24px); font-style: italic; font-weight: 400; line-height: 1.35; color: var(--brand); border-top: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand); padding: 22px 0; margin: 30px 0; letter-spacing: -0.005em; }

.callout { background: #fef3e2; border-left: 3px solid var(--brand); padding: 16px 20px; margin: 22px 0; border-radius: 0 10px 10px 0; }
.callout p { margin-bottom: 0; }
.callout strong { color: var(--brand); }

.cta-card { background: var(--page-card); border: 1px solid var(--ink-hairline); border-radius: 16px; padding: clamp(24px, 3vw, 32px); margin-top: 48px; }
.cta-card h2 { font-family: var(--display); font-size: clamp(20px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 8px; }
.cta-card p { font-size: 15px; color: var(--ink-muted); margin-bottom: 18px; }
.cta-card .cta-btn { display: inline-block; padding: 11px 22px; border-radius: 999px; background: var(--brand); color: var(--hero-ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.cta-card .cta-btn:hover { background: var(--brand-deep); color: var(--hero-ink); text-decoration: none; }
.cta-card .cta-secondary { display: inline-block; margin-left: 10px; font-size: 14px; color: var(--ink-muted); }
.cta-card .cta-secondary:hover { color: var(--brand); }

.related { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ink-hairline); }
.related h3 { font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
.related a { display: block; padding: 14px 16px; background: var(--page-card); border: 1px solid var(--ink-hairline); border-radius: 12px; color: inherit; }
.related a:hover { border-color: var(--brand); text-decoration: none; }
.related a strong { display: block; font-family: var(--display); font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 15px; line-height: 1.3; }
.related a span { font-size: 12.5px; color: var(--ink-faint); }

.back-to-blog { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); margin-bottom: 18px; }
.back-to-blog:hover { color: var(--brand); text-decoration: none; }

.footer { text-align: center; padding: 28px 20px; font-size: 12.5px; color: var(--ink-faint); }
.footer a { color: var(--ink-muted); }
