/*
Theme Name: Oversight Justice
Theme URI: https://www.oversightjustice.com
Author: Oversight Justice
Author URI: https://www.oversightjustice.com
Description: A clean, dark, PWA-enabled WordPress theme with SEO features for Oversight Justice.
Version: 1.2.0
License: GPL-2.0-or-later
Text Domain: oversight-justice
*/
:root{--ink:#e8eefc;--muted:#a9b5d8;--line:#1e2a47;--brand:#0A2A66;--ok:#20c997;--bg:#0b0f19}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.6}
a{color:#9ec1ff;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block;border-radius:12px}
header{position:sticky;top:0;z-index:10;background:rgba(11,15,25,.9);backdrop-filter:saturate(140%) blur(6px);border-bottom:1px solid #0f1730}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{display:flex;align-items:center;gap:12px}
.logo img{height:50px;width:auto;border-radius:0}
.brand{font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:22px;color:#cfe0ff}
.menu a{margin-left:18px;font-weight:600;color:#cfe0ff}
.menu .cta{color:#fff;background:var(--brand);padding:10px 14px;border-radius:10px}
.section{padding:56px 0;border-bottom:1px solid #0f1730}
.kicker{color:#9ec1ff;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700}
h1{font-family:'Playfair Display',Georgia,serif;font-size:42px;line-height:1.15;margin:.3em 0}
h2{font-family:'Playfair Display',Georgia,serif;font-size:30px;margin:0 0 16px;color:#cfe0ff}
.sub{color:var(--muted);max-width:65ch}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.btn{display:inline-block;border:1px solid rgba(255,255,255,.1);background:#132044;color:#fff;padding:12px 16px;border-radius:12px;font-weight:700}
.btn.primary{background:var(--brand);border-color:var(--brand)}
.btn.ok{background:var(--ok);border-color:var(--ok)}
.btn.ghost{background:transparent}
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}
.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.card{border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:18px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02))}
.muted{color:var(--muted);font-size:14px}
iframe{width:100%;aspect-ratio:16/9;border:1px solid rgba(255,255,255,.12);border-radius:12px}
footer{padding:28px 0;color:#aab5d6}
#update-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:20px;background:#0A2A66;color:#fff;padding:10px 14px;border-radius:10px;display:none;box-shadow:0 6px 24px rgba(0,0,0,.3);z-index:9999}
#update-toast button{margin-left:10px;border:0;background:#fff;color:#0A2A66;font-weight:700;border-radius:8px;padding:8px 10px;cursor:pointer}
@media (max-width:980px){.hero,.two,.three{grid-template-columns:1fr}h1{font-size:34px}.menu{display:none}}

/* Breadcrumbs */
.breadcrumbs{margin:10px 0 18px;color:#a9b5d8;font-size:.95rem}
.breadcrumbs a{color:#cfe0ff}
.breadcrumbs .sep{margin:0 6px;color:#7f8bb3}

/* Blog Typography (Prose) */
.prose{max-width:72ch}
.prose p{margin:1em 0}
.prose h1,.prose h2,.prose h3{font-family:'Playfair Display',Georgia,serif;color:#cfe0ff;margin:1.2em 0 .4em}
.prose h1{font-size:2.2rem}
.prose h2{font-size:1.6rem}
.prose h3{font-size:1.3rem}
.prose a{color:#9ec1ff;text-decoration:underline}
.prose blockquote{border-left:3px solid #2a3e6b;margin:1em 0;padding:.2em 1em;color:#a9b5d8;background:rgba(255,255,255,.03);border-radius:8px}
.prose code{background:rgba(255,255,255,.08);padding:.1em .35em;border-radius:6px}
.prose pre{background:#0f1730;padding:1em;border-radius:12px;overflow:auto;border:1px solid rgba(255,255,255,.06)}
.prose img{border-radius:12px;border:1px solid rgba(255,255,255,.08);margin:1em 0}
.post-meta{color:#a9b5d8;font-size:.95rem;margin:.5rem 0 1.2rem}
.tag-list a{display:inline-block;margin:.15rem .35rem .15rem 0;padding:.2rem .55rem;border:1px solid rgba(255,255,255,.12);border-radius:9999px;color:#cfe0ff;text-decoration:none}
.author-box{display:flex;gap:14px;align-items:flex-start;border:1px solid rgba(255,255,255,.08);padding:16px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));margin-top:24px}
.author-box img{width:56px;height:56px;border-radius:50%}
.share{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.share a{display:inline-block;border:1px solid rgba(255,255,255,.12);padding:8px 12px;border-radius:10px;color:#fff;text-decoration:none}
.reading-time{color:#a9b5d8;font-size:.9rem;margin-left:6px}
.grid-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.card.post{display:flex;flex-direction:column}
.card.post h3 a{color:#fff;text-decoration:none}
.card.post .muted{flex-grow:1}
.pagination{display:flex;gap:10px;justify-content:center;margin:26px 0}
