:root { --bg:#0b0b0b; --text:#e5e7eb; --muted:#a1a1aa; --accent:#14b8a6; }
body { background:var(--bg) !important; color:var(--text) !important; }
header, .site-header { background: #000 !important; }
nav a, header a { color:#e5e7eb !important; font-weight:700 !important; }
nav a:hover, header a:hover { color:var(--accent) !important; }
main { max-width:1200px; margin:0 auto; padding:2rem; }
.post-title, h1,h2,h3 { color:#f8fafc !important; }
.content, .post-content, p, li { color:var(--text) !important; font-weight:500; }
.muted, .mid-gray, .near-white { color:#cbd5e1 !important; }
.white-90, .white { color:#f8fafc !important; }
.post-meta, .muted { color:var(--muted) !important; }
a { color:var(--accent); }
/* cards */
.article-card { background:#111; border-radius:10px; box-shadow:0 2px 12px rgba(0,0,0,.5); overflow:hidden; }
.article-card img { width:100%; height:220px; object-fit:cover; }
/* images */
img[src*="/uploads/"] { width:100%; height:auto; display:block; border-radius:8px; }
/* hide any TOC nav if present */
.content h2 + nav { display:none; }

/* Make related/sidebar links readable */
.sidebar a, .related a { color:#94e2d5 !important; }
.sidebar a:hover, .related a:hover { color:#14b8a6 !important; }

.more-links a { color:#ffffff !important; }
.more-links a:hover { color:#94e2d5 !important; }
