/* blog/blog.css — premium dark theme for the Rivera Financial Group blog */
:root {
  --bg: #0b1420;
  --bg-2: #0e1a2b;
  --surface: #13233a;
  --surface-2: #182b46;
  --line: rgba(201, 168, 106, 0.14);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.12);
  --ink: #f6f1e7;
  --text: #d7e0ec;
  --muted: #93a4ba;
  --emerald: #34c47c;
  --emerald-deep: #1f9d57;
  --gold: #d8b878;
  --radius: 18px;
  --maxw: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 85% 0%, rgba(52, 196, 124, 0.10), transparent 60%),
    radial-gradient(45% 40% at 5% 10%, rgba(216, 184, 120, 0.08), transparent 60%);
}
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
a { color: var(--gold); }
.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 20, 32, 0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 14px 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--gold), var(--emerald)); display: grid; place-items: center; }
.mark svg { width: 22px; height: 22px; }
.brand-name { font-family: "Fraunces", serif; font-size: 20px; color: var(--ink); font-weight: 600; display: block; line-height: 1; }
.brand-tag { font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.nav-back { color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 1px solid var(--glass-border); border-radius: 999px; transition: border-color 0.2s, color 0.2s; }
.nav-back:hover { border-color: var(--emerald); color: var(--emerald); }

/* Article */
.article { padding: clamp(36px, 6vw, 64px) 0 40px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald); font-weight: 700; margin-bottom: 14px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.article h1 { font-size: clamp(30px, 5.5vw, 46px); margin-bottom: 16px; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.article .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--ink); margin-bottom: 30px; }
.article h2 { font-size: clamp(23px, 3.5vw, 30px); margin: 42px 0 14px; }
.article h3 { font-size: 20px; margin: 28px 0 10px; color: var(--gold); }
.article p { margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 20px 22px; }
.article li { margin-bottom: 9px; }
.article strong { color: var(--ink); }
.callout {
  background: var(--glass); border: 1px solid var(--glass-border); border-left: 3px solid var(--emerald);
  border-radius: 14px; padding: 18px 20px; margin: 26px 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.callout p:last-child { margin-bottom: 0; }
.faq { margin-top: 40px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 12px; background: var(--glass); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--emerald); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 14px; margin-bottom: 0; }

/* CTA */
.cta {
  margin: 48px 0 8px; padding: 30px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(150deg, var(--surface), var(--bg-2)); border: 1px solid var(--glass-border);
}
.cta h3 { font-size: 24px; margin-bottom: 8px; }
.cta p { color: var(--text); margin-bottom: 18px; }
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; padding: 13px 24px; border-radius: 12px; font-size: 15px; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--emerald), var(--emerald-deep)); color: #06140b; }
.btn-ghost { border: 1px solid var(--glass-border); color: var(--ink); }

/* Related / index cards */
.related { margin-top: 44px; }
.related h2 { font-size: 22px; margin-bottom: 16px; }
.post-grid { display: grid; gap: 18px; }
.post-card {
  display: block; text-decoration: none; padding: 24px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-border); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--emerald); }
.post-card .tag { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald); font-weight: 700; }
.post-card h3 { font-size: 21px; margin: 8px 0 8px; color: var(--ink); }
.post-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0; margin-top: 56px; }
footer .shell { max-width: 1180px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13.5px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--emerald); }

.blog-hero { padding: clamp(40px, 7vw, 80px) 0 10px; }
.blog-hero h1 { font-size: clamp(34px, 6vw, 54px); margin-bottom: 14px; }
.blog-hero p { font-size: clamp(16px, 2.4vw, 19px); max-width: 56ch; color: var(--text); }
