/* Rush Vance Funding blog: page-specific styles on top of /rvf.css (v1, 2026-08-22) */

/* Blog index */
.blog-head { padding: 48px 0 32px; }
.blog-head h1 { margin-bottom: 14px; }
.blog-head .lead { max-width: 56ch; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 24px; }
.article-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); color: var(--espresso); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.article-card-img { aspect-ratio: 16 / 9; background: var(--line) center / cover no-repeat; }
.article-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.article-card .cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: var(--sage-soft); }
.article-card h2 { font-size: 20px; line-height: 1.2; }
.article-card p { font-size: 15px; color: var(--esp-2); }
.article-card .meta { margin-top: auto; font-size: 13px; color: var(--esp-3); font-weight: 500; padding-top: 6px; }
@media (max-width: 1000px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .articles-grid { grid-template-columns: 1fr; } }

/* Post */
.post-hero { padding: 40px 0 0; }
.post-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.post-hero-grid > * { min-width: 0; }
.post-hero h1 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 16px; }
.post-hero .lead { margin-bottom: 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--esp-3); font-weight: 500; }
.post-hero .photo { box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .post-hero-grid { grid-template-columns: 1fr; gap: 24px; } }

.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 48px; justify-content: center; padding: 48px 0 64px; }
@media (max-width: 1000px) { .post-layout { grid-template-columns: minmax(0, 1fr); } .post-aside { order: 2; } }
@media (max-width: 640px) { .post-layout { padding: 32px 8px 48px; } .article-body { font-size: 17px; } .post-hero { padding-top: 24px; } }

.article-body { font-size: 18px; line-height: 1.7; color: var(--espresso); }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.8em; }
.article-body h3 { font-size: 21px; margin-top: 1.4em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li + li { margin-top: 0.45em; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.article-body strong { font-weight: 700; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-body th { background: var(--cream-2); font-weight: 700; }
.article-body blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--sage); background: var(--cream-2); border-radius: 0 var(--r-input) var(--r-input) 0; }
.article-body img { border-radius: var(--r-input); }
.table-wrap { overflow-x: auto; }

.post-aside { display: flex; flex-direction: column; gap: 16px; }
.aside-card { position: sticky; top: calc(var(--nav-h) + 16px); }
.aside-card h3 { font-size: 22px; margin-bottom: 8px; }
.aside-card p { font-size: 15px; color: var(--esp-2); margin-bottom: 16px; }
.aside-card .btn { width: 100%; }
.aside-card .small { font-size: 13px; color: var(--esp-3); margin: 12px 0 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--espresso); }
.share a:hover, .share button:hover { border-color: var(--espresso); }
.share svg { width: 18px; height: 18px; }

.post-cta { padding: var(--sec) 0; }
.post-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.post-cta-grid > * { min-width: 0; }
.post-cta .steps { margin-top: 20px; }
@media (max-width: 900px) { .post-cta-grid { grid-template-columns: 1fr; } }

.blog-footer { padding: var(--sec) 0 32px; }
