/* ═══════════════════════════════════════
   CSSMitra Pension Blog — Shared Styles
   Matches main site theme (gold/dark)
═══════════════════════════════════════ */
:root {
  --bg:      #050810;
  --bg2:     #080d1a;
  --bg3:     #0c1120;
  --surface: #111827;
  --surface2:#161f30;
  --border:  rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.10);
  --gold:    #e8b84b;
  --gold2:   #f5d07a;
  --gold3:   #fae8a8;
  --violet:  #6366f1;
  --green:   #10b981;
  --red:     #ef4444;
  --text:    #f0f4ff;
  --text2:   #8b9bb4;
  --text3:   #3d4f6b;
  --r:       14px;
  --r2:      20px;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body {
  background:var(--bg); color:var(--text);
  font-family:'Inter', sans-serif; line-height:1.7; overflow-x:hidden;
}
.display { font-family:'Space Grotesk', sans-serif; }
::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--text3); border-radius:2px; }

a { color:var(--gold); text-decoration:none; }
a:hover { color:var(--gold2); }

/* ── NAV (matches main site) ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:200; height:62px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 24px; background:rgba(5,8,16,0.85);
  backdrop-filter:blur(24px) saturate(180%);
  border-bottom:1px solid var(--border);
}
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-mark {
  width:32px; height:32px; background:linear-gradient(135deg,var(--gold),#b8882b);
  border-radius:8px; display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:13px; color:#0a0800;
  box-shadow:0 0 16px rgba(232,184,75,.35); flex-shrink:0;
}
.nav-name { font-family:'Space Grotesk',sans-serif; font-size:16px; font-weight:700; letter-spacing:-.4px; color:var(--text); }
.nav-name span { color:var(--gold); }
.nav-links { display:flex; align-items:center; gap:2px; list-style:none; }
.nav-links a { color:var(--text2); font-size:13px; font-weight:500; padding:6px 14px; border-radius:8px; transition:all .15s; }
.nav-links a:hover { color:var(--text); background:rgba(255,255,255,.05); }
@media (max-width:860px){ .nav-links{display:none} }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width:760px; margin:0 auto; padding:96px 24px 0;
  font-size:12px; color:var(--text3);
}
.breadcrumb a { color:var(--text2); }
.breadcrumb a:hover { color:var(--gold); }

/* ── ARTICLE HEADER ── */
.article-header { max-width:760px; margin:0 auto; padding:24px 24px 32px; }
.article-meta {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin-bottom:18px; font-size:12px; color:var(--text3);
}
.article-category {
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 12px; background:rgba(232,184,75,.1);
  border:1px solid rgba(232,184,75,.25); border-radius:100px;
  color:var(--gold); font-weight:700; font-size:11px; letter-spacing:.04em;
}
.article-views { display:inline-flex; align-items:center; gap:4px; font-variant-numeric:tabular-nums; }
.article-views #article-views-count { color:var(--text2); font-weight:600; }

/* ── TRENDING / MOST-READ WIDGET (blog index) ── */
.trending-widget {
  max-width:920px; margin:0 auto 40px; padding:22px 24px;
  background:linear-gradient(135deg,rgba(232,184,75,.07),rgba(232,184,75,.02));
  border:1px solid rgba(232,184,75,.22); border-radius:16px;
}
.trending-header {
  display:flex; align-items:center; gap:8px;
  font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:15px;
  color:var(--text); margin-bottom:14px; letter-spacing:-.2px;
}
.trending-list { display:flex; flex-direction:column; gap:2px; }
.trending-item {
  display:flex; align-items:center; gap:14px; padding:10px 8px;
  border-radius:10px; text-decoration:none; color:inherit;
  transition:background .15s;
}
.trending-item:hover { background:rgba(255,255,255,.04); }
.trending-rank {
  width:24px; height:24px; flex-shrink:0; border-radius:7px;
  background:rgba(232,184,75,.14); color:var(--gold);
  font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center;
}
.trending-body { flex:1; min-width:0; display:flex; flex-direction:column; }
.trending-title {
  font-size:13.5px; font-weight:600; color:var(--text);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.trending-cat { font-size:11px; color:var(--text3); margin-top:1px; }
.trending-views {
  flex-shrink:0; font-size:12px; color:var(--text3);
  font-variant-numeric:tabular-nums;
}
@media(max-width:640px) {
  .trending-widget { margin:0 16px 32px; padding:18px; }
  .trending-title { white-space:normal; }
}
.article-header h1 {
  font-family:'Space Grotesk',sans-serif; font-weight:800;
  font-size:clamp(28px,4.2vw,42px); line-height:1.18; letter-spacing:-1px;
  color:var(--text); margin-bottom:16px;
}
.article-excerpt { font-size:17px; color:var(--text2); line-height:1.7; }

/* ── ARTICLE BODY ── */
.article-body { max-width:760px; margin:0 auto; padding:0 24px 64px; }
.article-body .lead {
  font-size:17px; color:var(--text2); line-height:1.8;
  border-left:3px solid var(--gold); padding-left:18px; margin-bottom:32px;
}
.article-body h2 {
  font-family:'Space Grotesk',sans-serif; font-weight:800;
  font-size:clamp(22px,3vw,30px); letter-spacing:-.5px;
  color:var(--text); margin:40px 0 16px; padding-top:8px;
}
.article-body h3 {
  font-family:'Space Grotesk',sans-serif; font-weight:700;
  font-size:18px; color:var(--gold3); margin:24px 0 10px;
}
.article-body p { color:var(--text2); margin-bottom:14px; font-size:15px; }
.article-body strong { color:var(--text); }
.article-body em { color:var(--gold3); font-style:italic; }
.article-body ul, .article-body ol { color:var(--text2); margin:0 0 16px 22px; font-size:15px; }
.article-body li { margin-bottom:8px; }
.article-body li ul, .article-body li ol { margin-top:8px; }

/* ── TABLES ── */
.article-body table {
  width:100%; border-collapse:collapse; margin:20px 0 24px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r);
  overflow:hidden; font-size:13.5px;
}
.article-body th {
  background:rgba(232,184,75,.08); color:var(--gold3);
  text-align:left; padding:10px 14px; font-weight:700;
  border-bottom:1px solid var(--border2); font-size:12.5px;
  letter-spacing:.02em; text-transform:uppercase;
}
.article-body td {
  padding:11px 14px; border-bottom:1px solid var(--border);
  color:var(--text2); vertical-align:top;
}
.article-body tr:last-child td { border-bottom:none; }
@media (max-width:640px){
  .article-body table, .article-body thead, .article-body tbody, .article-body th, .article-body td, .article-body tr { display:block; }
  .article-body thead { display:none; }
  .article-body tr { border-bottom:1px solid var(--border2); padding:10px 0; }
  .article-body td { border:none; padding:4px 14px; }
  .article-body td:before { content: attr(data-label); display:block; font-weight:700; color:var(--gold); font-size:11px; text-transform:uppercase; margin-bottom:2px; }
}

/* ── FORMULA / NOTE BOXES ── */
.formula-box {
  background:rgba(99,102,241,.08); border:1px solid rgba(99,102,241,.25);
  border-radius:var(--r); padding:16px 20px; margin:18px 0;
  color:var(--gold3); font-size:14px; line-height:1.8;
}
.note {
  background:rgba(232,184,75,.06); border:1px solid rgba(232,184,75,.2);
  border-radius:var(--r); padding:12px 16px; margin:16px 0;
  color:var(--text2); font-size:13.5px;
}
.amendment-source {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r); padding:14px 18px; margin-top:32px;
  font-size:12.5px; color:var(--text3);
}

/* ── FAQ ── */
.faq-item {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r); padding:18px 20px; margin-bottom:12px;
}
.faq-item h3 { margin-top:0; color:var(--gold3); font-size:15.5px; }
.faq-item p { margin-bottom:0; font-size:14px; }

/* ── INTERNAL LINKS ── */
.internal-links {
  background:rgba(232,184,75,.05); border:1px solid rgba(232,184,75,.18);
  border-radius:var(--r2); padding:22px 24px; margin-top:40px;
}
.internal-links h3 { margin-top:0; color:var(--gold); font-size:14px; text-transform:uppercase; letter-spacing:.05em; }
.internal-links ul { margin:10px 0 0 18px; }
.internal-links a { font-weight:600; }

/* ── DISCLAIMER ── */
.disclaimer {
  max-width:760px; margin:0 auto 60px; padding:18px 24px;
  background:rgba(239,68,68,.05); border:1px solid rgba(239,68,68,.18);
  border-radius:var(--r); font-size:12.5px; color:var(--text3); line-height:1.7;
}
.disclaimer strong { color:var(--text2); }

/* ── RELATED ARTICLES GRID (footer of article) ── */
.related-grid {
  max-width:760px; margin:0 auto 60px; padding:0 24px;
}
.related-grid h2 {
  font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:22px;
  color:var(--text); margin-bottom:18px;
}
.related-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.related-card {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r);
  padding:16px 18px; text-decoration:none; transition:all .2s; display:block;
}
.related-card:hover { border-color:rgba(232,184,75,.3); transform:translateY(-2px); }
.related-card .rc-cat { font-size:10px; color:var(--gold); font-weight:700; text-transform:uppercase; letter-spacing:.05em; margin-bottom:6px; }
.related-card .rc-title { font-size:14px; font-weight:600; color:var(--text); line-height:1.4; }

/* ── BLOG LISTING PAGE ── */
.blog-hero { max-width:1000px; margin:0 auto; padding:110px 24px 32px; text-align:center; }
.blog-hero .eyebrow {
  display:inline-flex; align-items:center; gap:8px; padding:5px 14px;
  background:rgba(232,184,75,.1); border:1px solid rgba(232,184,75,.25);
  border-radius:100px; color:var(--gold); font-weight:700; font-size:12px;
  letter-spacing:.05em; margin-bottom:18px;
}
.blog-hero h1 {
  font-family:'Space Grotesk',sans-serif; font-weight:800;
  font-size:clamp(32px,5.5vw,54px); letter-spacing:-1.5px; line-height:1.1;
  color:var(--text); margin-bottom:16px;
}
.blog-hero h1 span { color:var(--gold); }
.blog-hero p { font-size:16px; color:var(--text2); max-width:560px; margin:0 auto; }

/* ── CATEGORY TABS ── */
.cat-tabs {
  max-width:1000px; margin:0 auto; padding:0 24px 40px;
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
}
.cat-tab {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 20px; background:var(--surface); border:1px solid var(--border);
  border-radius:100px; color:var(--text2); font-size:13px; font-weight:600;
  text-decoration:none; transition:all .2s;
}
.cat-tab:hover { border-color:rgba(232,184,75,.35); color:var(--text); transform:translateY(-1px); }
.cat-tab-icon { font-size:15px; }

/* ── BLOG CATEGORY SECTION ── */
.blog-category {
  max-width:1000px; margin:0 auto; padding:48px 24px;
  border-top:1px solid var(--border);
}
.blog-category:first-of-type { border-top:none; padding-top:8px; }
.bc-header {
  display:flex; align-items:flex-start; gap:16px; margin-bottom:28px;
}
.bc-header-icon {
  width:48px; height:48px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  font-size:22px; background:rgba(232,184,75,.08); border:1px solid rgba(232,184,75,.2);
  border-radius:var(--r); 
}
.bc-header h2 {
  font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:24px;
  color:var(--text); margin-bottom:6px;
}
.bc-header p { font-size:14px; color:var(--text2); max-width:600px; }

.coming-soon-box {
  background:var(--surface); border:1px dashed var(--border2); border-radius:var(--r2);
  padding:28px 24px; text-align:center;
}
.coming-soon-box p { font-size:14px; color:var(--text2); max-width:520px; margin:0 auto; }

.blog-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:20px;
}
.blog-card {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r2);
  padding:24px; text-decoration:none; transition:all .2s; display:flex; flex-direction:column;
}
.blog-card:hover { border-color:rgba(232,184,75,.35); transform:translateY(-3px); box-shadow:0 12px 32px rgba(0,0,0,.4); }
.blog-card .bc-meta { display:flex; align-items:center; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.blog-card .bc-cat {
  font-size:10px; font-weight:700; color:var(--gold); text-transform:uppercase;
  letter-spacing:.06em; padding:3px 10px; background:rgba(232,184,75,.1);
  border:1px solid rgba(232,184,75,.2); border-radius:100px;
}
.blog-card .bc-time { font-size:11px; color:var(--text3); }
.blog-card h3 {
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:18px;
  color:var(--text); line-height:1.35; margin-bottom:10px;
}
.blog-card p { font-size:13.5px; color:var(--text2); line-height:1.6; flex:1; margin-bottom:14px; }
.blog-card .bc-cta { font-size:12.5px; font-weight:700; color:var(--gold); }

/* ── FOOTER (minimal, matches main site) ── */
footer {
  border-top:1px solid var(--border); padding:36px 24px; text-align:center;
}
footer p { font-size:12.5px; color:var(--text3); margin-bottom:10px; }
footer .footer-links { display:flex; justify-content:center; gap:18px; flex-wrap:wrap; }
footer .footer-links a { font-size:12.5px; color:var(--text2); }
footer .footer-links a:hover { color:var(--gold); }

/* Accessibility: skip-to-content link */
.skip-link{position:absolute;left:-9999px;top:0;background:#c9a84c;color:#06080f;
padding:10px 18px;font-weight:700;font-size:14px;z-index:99999;border-radius:0 0 8px 0;
text-decoration:none}
.skip-link:focus{left:0}

/* Social Share Bar */
.share-bar{max-width:760px;margin:28px auto;padding:18px 22px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.share-label{font-size:13px;font-weight:600;color:#94a3b8;white-space:nowrap}
.share-icons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.share-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.08);color:#cbd5e1;text-decoration:none;transition:all .15s;cursor:pointer;padding:0}
.share-btn svg{width:17px;height:17px;fill:currentColor}
.share-btn:hover{transform:translateY(-2px);border-color:rgba(201,168,76,0.4)}
.share-btn.share-wa:hover{background:#25D366;color:#fff;border-color:#25D366}
.share-btn.share-tw:hover{background:#000;color:#fff;border-color:#000}
.share-btn.share-fb:hover{background:#1877F2;color:#fff;border-color:#1877F2}
.share-btn.share-li:hover{background:#0A66C2;color:#fff;border-color:#0A66C2}
.share-btn.share-tg:hover{background:#26A5E4;color:#fff;border-color:#26A5E4}
.share-btn.share-copy{position:relative}
.share-btn.share-copy.copied{background:#10b981;color:#fff;border-color:#10b981}
.share-btn.share-copy .copy-tip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#10b981;color:#fff;font-size:11px;font-weight:600;padding:4px 9px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s}
.share-btn.share-copy.copied .copy-tip{opacity:1}
@media(max-width:600px){.share-bar{flex-direction:column;align-items:flex-start}}
