/* Blog & article styles - Gains Financial redesign */
/* Extends /css/site.css (loads after it). */

/* ---------- Article hero ---------- */
.post-hero { background: var(--navy-800); color: #e8eef4; padding: 72px 0 56px; }
.post-hero h1 { color: #fff; max-width: 20ch; }
.post-hero .crumbs { color: #b9c7d4; font-size: .9rem; margin-bottom: 18px; }
.post-hero .crumbs a { color: #b9c7d4; }
.post-hero .crumbs a:hover { color: var(--gold-300); }
.post-hero .lede { color: #c4d1dd; max-width: 62ch; font-size: 1.08rem; }
.post-meta { display: flex; align-items: center; gap: 10px; color: #b9c7d4; font-size: .95rem; margin-top: 14px; }
.post-meta time { color: var(--gold-300); font-weight: 600; }
.post-meta a { color: var(--gold-300); font-weight: 600; }
.post-meta a:hover { color: #fff; }

/* ---------- Article body ---------- */
.post-body { padding: 56px 0 8px; }
.post-body .wrap-narrow { max-width: 780px; }
.post-hero-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-1); margin-bottom: 40px; }
.post-body h2 { margin-top: 1.6em; padding-top: .2em; }
.post-body h3 { margin-top: 1.3em; }
.post-body p, .post-body li { font-size: 1.04rem; color: var(--ink-700); }
.post-body strong { color: var(--ink-900); }
.post-body a { text-decoration: underline; text-underline-offset: 2px; }
.post-body ul { margin: 0 0 1.2em 1.4em; }
.post-body li { margin-bottom: .45em; }
.post-body img { border-radius: 10px; }

/* ---------- Listing grid ---------- */
.post-listing { padding: 64px 0 80px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-1); color: var(--ink-900);
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.post-card:hover h3 { color: var(--navy-700); }
.post-card-img {
  aspect-ratio: 16 / 9; width: 100%;
  background: var(--navy-700) center / cover no-repeat;
}
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-body .eyebrow { font-size: .8rem; color: var(--green-600); letter-spacing: .06em; text-transform: uppercase; }
.post-card-body h3 { font-size: 1.18rem; margin: 0; line-height: 1.3; transition: color .18s; }
.post-card-body p { font-size: .95rem; color: var(--ink-500); margin: 0; flex: 1; }
.read-link { font-weight: 700; color: var(--navy-700); font-size: .95rem; }
.post-card:hover .read-link { color: var(--green-600); }
