/* ============================================================
   VB DYNAMICS BLOG — shared stylesheet
   Lighter, editorial reading layout. Reuses the CV Builder's
   brand type (Fraunces / Inter) and brass accent for continuity,
   but drops the tool's dense app chrome for a calmer, magazine-
   style read.
   ============================================================ */

:root {
    --ink: #1E2130;
    --ink-soft: #3A3F52;
    --graphite: #68708A;
    --paper: #FFFFFF;
    --bg: #FBFAF7;
    --line: #E7E4DA;
    --brass: #A9782F;
    --brass-deep: #8A6224;
    --brass-tint: #F6EEDF;
    --font-display: 'Fraunces', Georgia, serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-ui);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a { color: var(--brass-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

img { max-width: 100%; }

/* ---------- HEADER ---------- */
.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px clamp(16px, 4vw, 40px);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}
.blog-header__brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--ink);
}
.blog-header__brand span {
    color: var(--brass-deep);
}
.blog-header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13.5px;
    font-weight: 600;
}
.blog-header__cta {
    background: var(--ink);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none !important;
}
.blog-header__cta:hover { background: var(--brass-deep); }

/* ---------- SHARED CONTAINER ---------- */
.wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}
.wrap--wide {
    max-width: 820px;
}

/* ---------- INDEX / HUB PAGE ---------- */
.hub-hero {
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--line);
}
.hub-hero__eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--brass-deep);
    margin: 0 0 10px;
}
.hub-hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 4.5vw, 42px);
    line-height: 1.15;
    margin: 0 0 14px;
    max-width: 15ch;
}
.hub-hero p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 58ch;
    margin: 0;
}

.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.post-row {
    display: block;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}
.post-row:first-child { padding-top: 40px; }
.post-row__meta {
    font-size: 12.5px;
    color: var(--graphite);
    margin: 0 0 8px;
}
.post-row h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 8px;
}
.post-row h2 a { color: var(--ink); }
.post-row h2 a:hover { color: var(--brass-deep); text-decoration: none; }
.post-row p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 10px;
    max-width: 62ch;
}
.post-row__link {
    font-size: 13.5px;
    font-weight: 600;
}

/* ---------- ARTICLE PAGE ---------- */
.article-hero {
    padding: 44px 0 8px;
}
.breadcrumb {
    font-size: 12.5px;
    color: var(--graphite);
    margin: 0 0 20px;
}
.breadcrumb a { color: var(--graphite); }
.article-hero__tag {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brass-deep);
    background: var(--brass-tint);
    padding: 4px 12px;
    border-radius: 999px;
    margin: 0 0 16px;
}
.article-hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 4.8vw, 40px);
    line-height: 1.18;
    margin: 0 0 14px;
}
.article-hero__dek {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 18px;
    max-width: 62ch;
}
.article-hero__meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--graphite);
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 36px;
}

.article-body {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--ink-soft);
    padding-bottom: 8px;
}
.article-body h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 25px;
    color: var(--ink);
    margin: 42px 0 14px;
    line-height: 1.3;
}
.article-body h3 {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 17.5px;
    color: var(--ink);
    margin: 26px 0 10px;
}
.article-body p { margin: 0 0 18px; }
.article-body ul,
.article-body ol {
    margin: 0 0 18px;
    padding-left: 22px;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }

.pull-note {
    background: var(--brass-tint);
    border-left: 3px solid var(--brass);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 8px 0 26px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
}
.pull-note strong { color: var(--ink); }

.cta-box {
    background: var(--ink);
    color: #EDEEF3;
    border-radius: 12px;
    padding: 28px 30px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-box h3 {
    font-family: var(--font-display);
    font-size: 19px;
    color: #fff;
    margin: 0 0 4px;
}
.cta-box p {
    font-size: 13.5px;
    color: #B7BCC9;
    margin: 0;
    max-width: 42ch;
}
.cta-box__btn {
    flex-shrink: 0;
    background: var(--brass);
    color: var(--ink) !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 20px;
    border-radius: 6px;
    text-decoration: none !important;
}
.cta-box__btn:hover { background: #C99A4B; }

.faq-block { margin: 36px 0; }
.faq-block details {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.faq-block summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
    list-style: none;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::before {
    content: '+ ';
    color: var(--brass);
}
.faq-block details[open] summary::before { content: '\2013 '; }
.faq-block p {
    margin: 10px 0 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
}

.related {
    border-top: 1px solid var(--line);
    padding: 32px 0 8px;
    margin-top: 20px;
}
.related h2 {
    font-family: var(--font-display);
    font-size: 20px;
    margin: 0 0 16px;
}
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { margin-bottom: 10px; font-size: 15px; }

/* ---------- FOOTER ---------- */
.blog-footer {
    border-top: 1px solid var(--line);
    padding: 32px clamp(16px, 4vw, 40px) 40px;
    margin-top: 40px;
}
.blog-footer__inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: var(--graphite);
}
.blog-footer__inner a { color: var(--graphite); }

@media (max-width: 600px) {
    .article-body { font-size: 16px; }
    .cta-box { flex-direction: column; align-items: flex-start; }
}
