/* ═══════════════════════════════════════════════════════
   RetireMetrics — style.css
   Shared stylesheet for all pages
   ═══════════════════════════════════════════════════════ */

/* ── 1. CSS VARIABLES ─────────────────────────────────── */
:root {
  --navy:         #0f1e38;
  --navy-mid:     #1a3057;
  --blue:         #2563eb;
  --blue-soft:    #3b82f6;
  --blue-light:   #eff6ff;
  --accent:       #60a5fa;
  --green:        #059669;
  --green-light:  #ecfdf5;
  --amber:        #d97706;
  --amber-light:  #fffbeb;
  --purple:       #7c3aed;
  --purple-light: #f5f3ff;
  --rose:         #e11d48;
  --rose-light:   #fff1f2;
  --teal:         #0d9488;
  --teal-light:   #f0fdfa;
  --text:         #1e293b;
  --text-muted:   #64748b;
  --border:       #e2e8f0;
  --bg:           #f8fafc;
  --white:        #ffffff;
  --radius:       14px;
  --radius-sm:    8px;
}

/* ── 2. BASE ──────────────────────────────────────────── */
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }

/* ── 3. HEADER ────────────────────────────────────────── */
.site-header { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.06); }
.navbar-brand { font-family: 'Lora', serif; font-size: 1.3rem; font-weight: 600; color: #fff !important; letter-spacing: -0.02em; }
.navbar-brand span { color: var(--accent); }
.navbar-nav .nav-link { color: #94a3b8 !important; font-size: 0.875rem; padding: 0.4rem 0.75rem; transition: color 0.15s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: #fff !important; }
.navbar-toggler { border-color: rgba(255,255,255,0.15); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2896,165,250,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ── 4. AD SLOTS ──────────────────────────────────────── */
.ad-slot { background: repeating-linear-gradient(45deg,#e2e8f0,#e2e8f0 2px,#f1f5f9 2px,#f1f5f9 14px); border: 1px dashed #cbd5e1; border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #94a3b8; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; gap: 0.25rem; }
.ad-slot .ad-size { font-size: 0.7rem; color: #b0bec5; }
.ad-leaderboard { height: 90px; max-width: 728px; width: 100%; margin: 0 auto; }
.ad-rectangle   { width: 300px; height: 250px; }
.ad-rectangle-wide { height: 250px; width: 100%; }
.ad-inline      { height: 90px; max-width: 728px; width: 100%; margin: 0 auto; }
@media (min-width: 992px) { .ad-sticky { position: sticky; top: 110px; } }

/* ── 5. HERO — Homepage ───────────────────────────────── */
.hero { background: var(--navy); padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; top:-80px; right:-80px; width:480px; height:480px; background:radial-gradient(circle,rgba(37,99,235,0.18) 0%,transparent 70%); pointer-events:none; }
.hero::after  { content:''; position:absolute; bottom:-60px; left:30%; width:320px; height:320px; background:radial-gradient(circle,rgba(96,165,250,0.08) 0%,transparent 70%); pointer-events:none; }
.hero h1 { font-family:'Lora',serif; font-size:clamp(2rem,4.5vw,3rem); font-weight:600; color:#fff; line-height:1.15; letter-spacing:-0.03em; margin-bottom:1.25rem; }
.hero h1 em { font-style:italic; color:var(--accent); }
.hero p { color:#94a3b8; font-size:1.05rem; font-weight:300; margin-bottom:2rem; }
.hero-cta { display:inline-flex; align-items:center; gap:0.5rem; background:var(--blue); color:#fff; text-decoration:none; font-size:0.95rem; font-weight:500; padding:0.85rem 1.75rem; border-radius:var(--radius-sm); transition:background 0.15s,transform 0.15s; }
.hero-cta:hover { background:#1d4ed8; color:#fff; transform:translateY(-1px); }
.hero-cta svg { width:16px; height:16px; }
.stat-card { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.09); border-radius:var(--radius); padding:1.25rem 1.5rem; height:100%; text-decoration:none; display:block; transition:background 0.15s; }
.stat-card:hover { background:rgba(255,255,255,0.09); }
.stat-number { font-family:'Lora',serif; font-size:1.75rem; font-weight:600; color:var(--accent); line-height:1; margin-bottom:0.35rem; }
.stat-label  { font-size:0.8rem; color:#64748b; font-weight:300; }

/* ── 6. HERO BADGE (shared: homepage + inner pages) ───── */
.hero-badge { display:inline-flex; align-items:center; gap:0.4rem; background:rgba(37,99,235,0.18); border:1px solid rgba(96,165,250,0.28); color:var(--accent); font-size:0.75rem; font-weight:500; padding:0.3rem 0.85rem; border-radius:100px; margin-bottom:1rem; }
.hero-badge .dot { width:6px; height:6px; border-radius:50%; background:var(--accent); flex-shrink:0; }
.hero .hero-badge { margin-bottom:1.25rem; }

/* ── 7. HERO — Inner pages ────────────────────────────── */
.page-hero { background: var(--navy); padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.page-hero::before { content:''; position:absolute; top:-80px; right:-80px; width:400px; height:400px; background:radial-gradient(circle,rgba(37,99,235,0.15) 0%,transparent 70%); pointer-events:none; }
.breadcrumb-nav a { font-size:0.8rem; color:var(--accent); text-decoration:none; }
.breadcrumb-nav span { font-size:0.8rem; color:#475569; margin:0 0.4rem; }
.breadcrumb-nav .current { font-size:0.8rem; color:#475569; }
.page-hero h1 { font-family:'Lora',serif; font-size:clamp(1.75rem,3.5vw,2.5rem); font-weight:600; color:#fff; letter-spacing:-0.03em; line-height:1.2; margin-bottom:0.75rem; }
.page-hero p  { color:#94a3b8; font-size:1rem; font-weight:300; max-width:620px; margin:0; }

/* ── 8. FILTER BAR ────────────────────────────────────── */
.filter-bar { background:var(--white); border-bottom:1px solid var(--border); position:sticky; top:62px; z-index:50; }
.filter-tabs { display:flex; gap:0; overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none; }
.filter-tabs::-webkit-scrollbar { display:none; }
.filter-tab { display:inline-flex; align-items:center; gap:0.35rem; padding:0.85rem 1.1rem; font-size:0.825rem; font-weight:400; color:var(--text-muted); border:none; border-bottom:2px solid transparent; white-space:nowrap; background:none; cursor:pointer; transition:color 0.15s,border-color 0.15s; }
.filter-tab:hover { color:var(--text); }
.filter-tab.active { color:var(--blue); border-bottom-color:var(--blue); font-weight:500; }
.filter-tab .count { font-size:0.7rem; background:var(--bg); border:1px solid var(--border); color:var(--text-muted); padding:0.1rem 0.45rem; border-radius:100px; }
.filter-tab.active .count { background:var(--blue-light); border-color:#bfdbfe; color:var(--blue); }

/* ── 9. SECTIONS ──────────────────────────────────────── */
.section-py  { padding:3rem 0; }
.section-alt { background:var(--white); }
.section-tag   { font-size:0.72rem; font-weight:500; text-transform:uppercase; letter-spacing:0.1em; color:var(--blue); margin-bottom:0.5rem; }
.section-title { font-family:'Lora',serif; font-size:clamp(1.4rem,2.5vw,2rem); font-weight:600; color:var(--text); letter-spacing:-0.02em; margin-bottom:0.5rem; }
.section-sub   { color:var(--text-muted); font-size:0.9rem; font-weight:300; max-width:560px; }
.section-divider { border:none; border-top:1px solid var(--border); margin:0 0 2.5rem; }
.section-label { font-family:'Lora',serif; font-size:1.1rem; font-weight:600; color:var(--text); margin-bottom:1.25rem; padding-bottom:0.75rem; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:0.6rem; }
.section-label .label-icon { font-size:1rem; }
/* Homepage uses more generous section padding */
.page-home .section-py { padding:4rem 0; }

/* ── 10. CALC CARDS ───────────────────────────────────── */
.calc-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; text-decoration:none; display:flex; flex-direction:column; gap:0.75rem; height:100%; transition:border-color 0.15s,box-shadow 0.15s,transform 0.15s; position:relative; }
.calc-card:hover { border-color:var(--blue-soft); box-shadow:0 4px 20px rgba(37,99,235,0.1); transform:translateY(-2px); }
.card-icon   { width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; flex-shrink:0; }
.icon-blue   { background:var(--blue-light); }
.icon-green  { background:var(--green-light); }
.icon-amber  { background:var(--amber-light); }
.icon-purple { background:var(--purple-light); }
.icon-rose   { background:var(--rose-light); }
.icon-teal   { background:var(--teal-light); }
.card-name { font-family:'Lora',serif; font-size:1rem; font-weight:600; color:var(--text); }
.card-desc { font-size:0.825rem; color:var(--text-muted); font-weight:300; line-height:1.55; flex:1; }
.card-tags { display:flex; flex-wrap:wrap; gap:0.35rem; }
.tag { font-size:0.7rem; background:var(--bg); border:1px solid var(--border); color:var(--text-muted); padding:0.15rem 0.55rem; border-radius:4px; }
.card-arrow { font-size:0.8rem; color:var(--blue); font-weight:500; margin-top:0.25rem; display:flex; align-items:center; gap:0.3rem; }
.card-arrow svg { width:14px; height:14px; transition:transform 0.15s; }
.calc-card:hover .card-arrow svg { transform:translateX(3px); }
.badge-popular { position:absolute; top:1rem; right:1rem; font-size:0.65rem; font-weight:500; background:var(--amber-light); border:1px solid #fde68a; color:var(--amber); padding:0.2rem 0.55rem; border-radius:100px; }
/* Homepage status badges */
.card-status { display:inline-flex; align-items:center; gap:0.3rem; font-size:0.7rem; font-weight:500; padding:0.2rem 0.6rem; border-radius:100px; white-space:nowrap; }
.status-live { background:var(--green-light); color:var(--green); }
.status-soon { background:#f1f5f9; color:var(--text-muted); }
.status-dot  { width:5px; height:5px; border-radius:50%; }
.dot-green   { background:var(--green); }
.dot-gray    { background:#cbd5e1; }

/* ── 11. COMPARE CARDS — Homepage (dark navy) ─────────── */
.compare-card-home { background:var(--navy); border-radius:var(--radius); padding:1.5rem; text-decoration:none; display:flex; flex-direction:column; gap:0.6rem; height:100%; transition:transform 0.15s,box-shadow 0.15s; position:relative; overflow:hidden; }
.compare-card-home::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--blue),var(--accent)); }
.compare-card-home:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(15,30,56,0.3); }
.compare-vs  { font-family:'Lora',serif; font-size:1rem; font-weight:600; color:#fff; line-height:1.3; }
.compare-vs span { color:var(--accent); }
.compare-desc  { font-size:0.8rem; color:#64748b; font-weight:300; }
.compare-arrow { font-size:0.8rem; color:var(--accent); margin-top:auto; }

/* ── 12. COMPARE CARDS — Compare page (white + color top) */
.compare-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; text-decoration:none; display:flex; flex-direction:column; gap:0.75rem; height:100%; transition:border-color 0.15s,box-shadow 0.15s,transform 0.15s; position:relative; overflow:hidden; }
.compare-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; }
.compare-card:hover { border-color:var(--blue-soft); box-shadow:0 4px 20px rgba(37,99,235,0.1); transform:translateY(-2px); }
.compare-card.color-blue::before   { background:linear-gradient(90deg,var(--blue),var(--accent)); }
.compare-card.color-green::before  { background:linear-gradient(90deg,var(--green),#34d399); }
.compare-card.color-amber::before  { background:linear-gradient(90deg,var(--amber),#fbbf24); }
.compare-card.color-purple::before { background:linear-gradient(90deg,var(--purple),#a78bfa); }
.compare-card.color-teal::before   { background:linear-gradient(90deg,var(--teal),#2dd4bf); }
.compare-card.color-rose::before   { background:linear-gradient(90deg,var(--rose),#fb7185); }
.card-vs-row { display:flex; align-items:center; gap:0.6rem; flex-wrap:wrap; }
.account-pill { font-family:'Lora',serif; font-size:0.9rem; font-weight:600; color:var(--text); background:var(--bg); border:1px solid var(--border); padding:0.3rem 0.75rem; border-radius:6px; }
.vs-badge { font-size:0.7rem; font-weight:500; color:var(--text-muted); background:var(--border); padding:0.2rem 0.5rem; border-radius:4px; text-transform:uppercase; letter-spacing:0.06em; }
.card-topics { display:flex; flex-wrap:wrap; gap:0.35rem; }
.topic-tag { font-size:0.7rem; background:var(--bg); border:1px solid var(--border); color:var(--text-muted); padding:0.15rem 0.55rem; border-radius:4px; }
.popular-badge { position:absolute; top:1rem; right:1rem; font-size:0.65rem; font-weight:500; background:var(--amber-light); border:1px solid #fde68a; color:var(--amber); padding:0.2rem 0.55rem; border-radius:100px; }
/* All-accounts promo card */
.all-accounts-card { background:var(--navy); border-radius:var(--radius); padding:2rem 2.5rem; text-decoration:none; display:block; position:relative; overflow:hidden; transition:transform 0.15s,box-shadow 0.15s; }
.all-accounts-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--blue),var(--accent),#34d399); }
.all-accounts-card:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(15,30,56,0.4); }
.all-accounts-card h3 { font-family:'Lora',serif; font-size:1.25rem; font-weight:600; color:#fff; margin-bottom:0.5rem; }
.all-accounts-card p { color:#64748b; font-size:0.875rem; font-weight:300; margin-bottom:1.25rem; }
.account-chips { display:flex; flex-wrap:wrap; gap:0.5rem; margin-bottom:1.25rem; }
.account-chip { font-size:0.75rem; font-weight:500; color:var(--accent); background:rgba(96,165,250,0.1); border:1px solid rgba(96,165,250,0.2); padding:0.25rem 0.75rem; border-radius:100px; }
.all-accounts-arrow { font-size:0.875rem; color:var(--accent); font-weight:500; }

/* ── 13. IRS LIMITS COMPONENTS ────────────────────────── */
.limits-banner { background:var(--navy); border-radius:var(--radius); padding:2rem 2.5rem; }
.limits-title  { font-family:'Lora',serif; font-size:1.25rem; font-weight:600; color:#fff; margin-bottom:0.5rem; }
.limits-sub    { color:#64748b; font-size:0.875rem; font-weight:300; }
.limit-item    { text-align:center; }
.limit-val     { font-family:'Lora',serif; font-size:1.4rem; font-weight:600; color:var(--accent); line-height:1; margin-bottom:0.25rem; }
.limit-lbl     { font-size:0.7rem; color:#475569; text-transform:uppercase; letter-spacing:0.07em; }
.limits-cta    { display:inline-flex; align-items:center; gap:0.4rem; background:rgba(37,99,235,0.2); border:1px solid rgba(96,165,250,0.25); color:var(--accent); font-size:0.825rem; font-weight:500; padding:0.6rem 1.25rem; border-radius:var(--radius-sm); text-decoration:none; transition:background 0.15s; white-space:nowrap; }
.limits-cta:hover { background:rgba(37,99,235,0.35); color:var(--accent); }
/* Sidebar mini widget */
.irs-mini { background:var(--navy); border-radius:var(--radius); padding:1.25rem; margin-bottom:1.5rem; }
.irs-mini-title { font-family:'Lora',serif; font-size:0.95rem; font-weight:600; color:#fff; margin-bottom:1rem; }
.irs-row { display:flex; justify-content:space-between; align-items:center; padding:0.5rem 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.irs-row:last-child { border-bottom:none; }
.irs-label { font-size:0.775rem; color:#64748b; font-weight:300; }
.irs-val   { font-family:'Lora',serif; font-size:0.95rem; font-weight:600; color:var(--accent); }
.irs-mini-link { display:block; font-size:0.775rem; color:var(--accent); text-decoration:none; margin-top:0.75rem; text-align:center; }

/* ── 14. QUICK REFERENCE TABLE (compare/index) ─────────── */
.ref-table { width:100%; border-collapse:collapse; font-size:0.825rem; }
.ref-table th { font-size:0.7rem; font-weight:500; text-transform:uppercase; letter-spacing:0.07em; color:var(--text-muted); padding:0.6rem 0.75rem; border-bottom:2px solid var(--border); text-align:left; white-space:nowrap; }
.ref-table td { padding:0.75rem; border-bottom:1px solid var(--border); vertical-align:top; color:var(--text); }
.ref-table tr:last-child td { border-bottom:none; }
.ref-table tr:hover td { background:var(--bg); }
.ref-table td:first-child { font-family:'Lora',serif; font-weight:600; font-size:0.875rem; }
.ref-table .val { font-weight:500; color:var(--text); }
.ref-table .val.highlight { color:var(--blue); }
.check   { color:var(--green); font-weight:600; }
.cross   { color:#94a3b8; }
.partial { color:var(--amber); font-weight:500; }

/* ── 15. FULL COMPARE TABLE (compare/accounts) ─────────── */
.compare-table-wrap { overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius); background:var(--white); }
.compare-table { width:100%; border-collapse:collapse; font-size:0.825rem; min-width:900px; }
.compare-table thead th { background:var(--navy); color:#94a3b8; font-size:0.7rem; font-weight:500; text-transform:uppercase; letter-spacing:0.07em; padding:0.9rem 1rem; text-align:left; white-space:nowrap; border-bottom:2px solid rgba(255,255,255,0.08); position:sticky; top:0; }
.compare-table thead th:first-child { min-width:130px; }
.compare-table thead th.col-highlight { color:var(--accent); }
.compare-table tbody tr { border-bottom:1px solid var(--border); }
.compare-table tbody tr:last-child { border-bottom:none; }
.compare-table tbody tr:hover td { background:#fafbfc; }
.compare-table td { padding:0.85rem 1rem; vertical-align:middle; color:var(--text); border-right:1px solid var(--border); }
.compare-table td:last-child { border-right:none; }
.acct-cell { min-width:130px; }
.acct-name { font-family:'Lora',serif; font-weight:600; font-size:0.9rem; color:var(--text); display:block; text-decoration:none; }
.acct-name:hover { color:var(--blue); }
.acct-sub { font-size:0.72rem; color:var(--text-muted); font-weight:300; margin-top:0.15rem; }
.val-limit { font-family:'Lora',serif; font-weight:600; font-size:0.95rem; color:var(--blue); white-space:nowrap; }
.val-catchup { font-size:0.8rem; color:var(--text-muted); margin-top:0.2rem; }
.tag-yes  { display:inline-flex; align-items:center; gap:0.25rem; font-size:0.75rem; font-weight:500; color:var(--green); background:var(--green-light); padding:0.2rem 0.55rem; border-radius:4px; white-space:nowrap; }
.tag-no   { display:inline-flex; align-items:center; gap:0.25rem; font-size:0.75rem; font-weight:500; color:#94a3b8; background:#f1f5f9; padding:0.2rem 0.55rem; border-radius:4px; white-space:nowrap; }
.tag-cond { display:inline-flex; align-items:center; gap:0.25rem; font-size:0.75rem; font-weight:500; color:var(--amber); background:var(--amber-light); padding:0.2rem 0.55rem; border-radius:4px; white-space:nowrap; }
.tax-pre  { font-size:0.8rem; color:var(--text); }
.tax-post { font-size:0.8rem; color:var(--green); font-weight:500; }
.tax-both { font-size:0.8rem; color:var(--blue); }
.income-limit { font-size:0.8rem; color:var(--text); }
.penalty  { font-size:0.8rem; color:var(--rose,#e11d48); }
.rmd-age  { font-size:0.8rem; font-weight:500; color:var(--text); }
.rmd-none { font-size:0.8rem; font-weight:500; color:var(--green); }
.note-cell { font-size:0.775rem; color:var(--text-muted); line-height:1.5; max-width:200px; }
.group-header td { background:var(--bg); font-size:0.7rem; font-weight:500; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); padding:0.5rem 1rem; border-right:none !important; }

/* ── 16. DETAIL CARDS (compare/accounts) ──────────────── */
.detail-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; height:100%; scroll-margin-top:120px; }
.detail-card-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:1.25rem; padding-bottom:1rem; border-bottom:1px solid var(--border); }
.detail-acct-name { font-family:'Lora',serif; font-size:1.1rem; font-weight:600; color:var(--text); margin-bottom:0.2rem; }
.detail-acct-sub { font-size:0.8rem; color:var(--text-muted); font-weight:300; }
.detail-limit-big { font-family:'Lora',serif; font-size:1.5rem; font-weight:600; color:var(--blue); line-height:1; white-space:nowrap; }
.detail-limit-label { font-size:0.7rem; color:var(--text-muted); text-align:right; }
.detail-row { display:flex; justify-content:space-between; align-items:flex-start; padding:0.5rem 0; border-bottom:1px solid var(--border); gap:1rem; }
.detail-row:last-child { border-bottom:none; }
.detail-label { font-size:0.8rem; color:var(--text-muted); font-weight:300; flex-shrink:0; }
.detail-value { font-size:0.8rem; font-weight:500; color:var(--text); text-align:right; }
.detail-value.blue  { color:var(--blue); }
.detail-value.green { color:var(--green); }
.detail-value.amber { color:var(--amber); }
.detail-calc-link { display:block; text-align:center; padding:0.6rem; background:var(--blue-light); color:var(--blue); font-size:0.825rem; font-weight:500; text-decoration:none; border-radius:var(--radius-sm); margin-top:1rem; transition:background 0.15s; }
.detail-calc-link:hover { background:#dbeafe; color:var(--blue); }

/* ── 17. GUIDE CARDS ──────────────────────────────────── */
.guide-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; display:flex; flex-direction:column; gap:0.6rem; height:100%; text-decoration:none; transition:border-color 0.15s,box-shadow 0.15s,transform 0.15s; position:relative; }
.guide-card:hover { border-color:var(--blue-soft); box-shadow:0 4px 16px rgba(37,99,235,0.08); transform:translateY(-2px); }
/* Homepage guide card children */
.guide-number { font-family:'Lora',serif; font-size:2rem; font-weight:600; color:var(--border); line-height:1; }
.guide-title  { font-family:'Lora',serif; font-size:1rem; font-weight:600; color:var(--text); }
.guide-desc   { font-size:0.825rem; color:var(--text-muted); font-weight:300; }
.guide-arrow  { font-size:0.8rem; color:var(--blue); margin-top:auto; }
/* Guides page card children */
.guide-card .gc-icon { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.gc-blue   { background:var(--blue-light); }
.gc-green  { background:var(--green-light); }
.gc-amber  { background:var(--amber-light); }
.gc-purple { background:var(--purple-light); }
.gc-teal   { background:var(--teal-light); }
.guide-card .gc-tag    { font-size:0.7rem; font-weight:500; text-transform:uppercase; letter-spacing:0.07em; color:var(--text-muted); }
.guide-card h3         { font-family:'Lora',serif; font-size:0.975rem; font-weight:600; color:var(--text); line-height:1.35; margin:0; }
.guide-card p          { font-size:0.825rem; color:var(--text-muted); font-weight:300; line-height:1.6; flex:1; margin:0; }
.guide-card .gc-footer { display:flex; align-items:center; justify-content:space-between; margin-top:0.25rem; }
.guide-card .gc-read   { font-size:0.75rem; color:var(--text-muted); }
.guide-card .gc-arrow  { font-size:0.8rem; color:var(--blue); font-weight:500; }
.new-badge     { position:absolute; top:1rem; right:1rem; font-size:0.65rem; font-weight:500; background:var(--green-light); border:1px solid #a7f3d0; color:var(--green); padding:0.2rem 0.55rem; border-radius:100px; }
.updated-badge { position:absolute; top:1rem; right:1rem; font-size:0.65rem; font-weight:500; background:var(--amber-light); border:1px solid #fde68a; color:var(--amber); padding:0.2rem 0.55rem; border-radius:100px; }
/* Featured guide cards (guides page) */
.guide-featured { background:var(--navy); border-radius:var(--radius); padding:2rem; text-decoration:none; display:block; position:relative; overflow:hidden; transition:transform 0.15s,box-shadow 0.15s; height:100%; }
.guide-featured::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; }
.guide-featured.c-blue::before   { background:linear-gradient(90deg,var(--blue),var(--accent)); }
.guide-featured.c-green::before  { background:linear-gradient(90deg,var(--green),#34d399); }
.guide-featured.c-amber::before  { background:linear-gradient(90deg,var(--amber),#fbbf24); }
.guide-featured.c-purple::before { background:linear-gradient(90deg,var(--purple),#a78bfa); }
.guide-featured:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(15,30,56,0.3); }
.guide-featured .g-num   { font-family:'Lora',serif; font-size:2.5rem; font-weight:600; color:rgba(255,255,255,0.07); line-height:1; margin-bottom:0.75rem; }
.guide-featured .g-tag   { font-size:0.7rem; font-weight:500; text-transform:uppercase; letter-spacing:0.08em; color:var(--accent); margin-bottom:0.6rem; }
.guide-featured h3       { font-family:'Lora',serif; font-size:1.1rem; font-weight:600; color:#fff; line-height:1.3; margin-bottom:0.6rem; }
.guide-featured p        { font-size:0.825rem; color:#64748b; font-weight:300; line-height:1.6; margin-bottom:1rem; flex:1; }
.guide-featured .g-meta  { display:flex; align-items:center; justify-content:space-between; }
.guide-featured .g-read  { font-size:0.75rem; color:#475569; }
.guide-featured .g-arrow { font-size:0.8rem; color:var(--accent); font-weight:500; }
.group-label { font-family:'Lora',serif; font-size:1rem; font-weight:600; color:var(--text); margin-bottom:1rem; padding-bottom:0.75rem; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:0.5rem; }

/* ── 18. FAQ ───────────────────────────────────────────── */
.faq-item { border-bottom:1px solid var(--border); padding:1.25rem 0; }
.faq-item:first-child { padding-top:0; }
.faq-q { font-family:'Lora',serif; font-size:1rem; font-weight:600; color:var(--text); margin-bottom:0.5rem; }
.faq-a { font-size:0.875rem; color:var(--text-muted); font-weight:300; line-height:1.7; margin:0; }

/* ── 19. SIDEBAR ───────────────────────────────────────── */
.sidebar-section { margin-bottom:1.5rem; }
.sidebar-title { font-size:0.75rem; font-weight:500; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); margin-bottom:0.75rem; }
.sidebar-box { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:1.25rem; margin-bottom:1.25rem; }
.sidebar-box h4 { font-family:'Lora',serif; font-size:0.95rem; font-weight:600; color:var(--text); margin-bottom:1rem; padding-bottom:0.6rem; border-bottom:1px solid var(--border); }
.quick-link { display:flex; align-items:center; justify-content:space-between; padding:0.6rem 0.75rem; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm); text-decoration:none; font-size:0.825rem; color:var(--text); margin-bottom:0.4rem; transition:border-color 0.15s,color 0.15s; }
.quick-link:hover { border-color:var(--blue-soft); color:var(--blue); }
.quick-link .ql-icon  { font-size:0.9rem; margin-right:0.5rem; }
.quick-link .ql-arrow { color:var(--text-muted); font-size:0.75rem; }
.jump-link { display:flex; justify-content:space-between; align-items:center; padding:0.5rem 0.6rem; font-size:0.8rem; color:var(--text); text-decoration:none; border-radius:var(--radius-sm); transition:background 0.12s,color 0.12s; }
.jump-link:hover { background:var(--bg); color:var(--blue); }
.jump-link .jl-arrow { color:var(--text-muted); font-size:0.7rem; }
.tip-item { display:flex; gap:0.6rem; margin-bottom:0.875rem; font-size:0.8rem; color:var(--text-muted); line-height:1.55; }
.tip-item:last-child { margin-bottom:0; }
.tip-icon { flex-shrink:0; font-size:0.9rem; margin-top:0.05rem; }
.tip-item strong { color:var(--text); }
.popular-item { display:flex; gap:0.6rem; padding:0.6rem 0; border-bottom:1px solid var(--border); align-items:flex-start; }
.popular-item:last-child { border-bottom:none; }
.popular-num   { font-family:'Lora',serif; font-size:1.1rem; font-weight:600; color:var(--border); flex-shrink:0; line-height:1.2; }
.popular-title { font-size:0.8rem; font-weight:500; color:var(--text); text-decoration:none; line-height:1.4; display:block; }
.popular-title:hover { color:var(--blue); }
.popular-sub   { font-size:0.72rem; color:var(--text-muted); font-weight:300; }

/* ── 20. TRUST BAR ─────────────────────────────────────── */
.trust-bar  { background:var(--navy-mid,#1a3057); padding:1.25rem 0; border-top:1px solid rgba(255,255,255,0.06); }
.trust-item { display:flex; align-items:center; gap:0.5rem; font-size:0.8rem; color:#64748b; font-weight:300; justify-content:center; }
.trust-item strong { color:#94a3b8; font-weight:500; }

/* ── 21. FOOTER ─────────────────────────────────────────── */
.site-footer { background:var(--navy); color:#334155; padding:3rem 0 0; border-top:1px solid rgba(255,255,255,0.05); }
.footer-logo { font-family:'Lora',serif; font-size:1.3rem; font-weight:600; color:#fff; letter-spacing:-0.02em; text-decoration:none; display:inline-block; margin-bottom:0.75rem; }
.footer-logo span { color:var(--accent); }
.footer-brand p { font-size:0.8rem; color:#334155; font-weight:300; line-height:1.6; }
.footer-col h4 { font-size:0.75rem; text-transform:uppercase; letter-spacing:0.08em; color:#475569; margin-bottom:1rem; font-weight:500; }
.footer-col a { display:block; font-size:0.825rem; color:#334155; text-decoration:none; margin-bottom:0.5rem; transition:color 0.15s; }
.footer-col a:hover { color:var(--accent); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.04); padding:1.25rem 0; font-size:0.75rem; color:#1e293b; }
.footer-bottom a { color:#334155; text-decoration:none; }
.footer-bottom a:hover { color:var(--accent); }
.disclaimer { font-size:0.72rem; color:#1e293b; line-height:1.6; padding-bottom:1.5rem; }
