/* =====================================================
   NAIJANEWSPAPER.NET
   Clean Blue & White Professional Newspaper UI
   ===================================================== */

:root{
  --blue:#1e40af;
  --blue-dark:#0b2a8a;
  --blue-soft:#eef2ff;
  --border:rgba(30,64,175,.22);
  --text:#0f172a;
  --muted:#475569;
  --bg:#f4f7ff;
  --danger:#b91c1c;
  --danger-bg:#fee2e2;
}

/* RESET */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

/* LINKS */
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}

/* LAYOUT */
.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:16px;
}

/* ================= HEADER ================= */
.topbar{
  background:#fff;
  border-bottom:3px solid var(--blue);
  position:sticky;
  top:0;
  z-index:1000;
}
.topbar-inner{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.brand{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  font-size:18px;
  color:var(--blue-dark);
}
.logo{
  width:32px;
  height:32px;
}

/* NAV */
.nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.nav a{
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  color:var(--text);
}
.nav a:hover{
  background:var(--blue-soft);
  text-decoration:none;
  color:var(--blue-dark);
}

/* SEARCH */
.search{
  margin-left:auto;
  display:flex;
  gap:8px;
}
.search input{
  padding:8px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  min-width:220px;
}
.search button{
  background:var(--blue);
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
}
.search button:hover{
  background:var(--blue-dark);
}

/* ================= CARDS ================= */
.card{
  background:#fff;
  border-radius:18px;
  border:1px solid var(--border);
  padding:18px;
  margin:14px 0;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}

/* GRIDS */
.grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:14px;
}
.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
@media(max-width:900px){
  .grid,.grid2{grid-template-columns:1fr}
  .search{width:100%;margin-left:0}
  .search input{flex:1}
}

/* HEADINGS */
h1,h2,h3{
  color:var(--text);
  margin:0 0 10px;
}

/* META */
.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px;
}
.pill{
  background:var(--blue-soft);
  color:var(--blue-dark);
  border:1px solid var(--border);
  padding:2px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
}
.pill-brief{
  background:var(--danger-bg);
  color:var(--danger);
  border-color:rgba(185,28,28,.25);
}

/* ================= MEDIA ================= */
.post-image{
  width:100%;
  max-height:520px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--border);
  margin:12px 0;
}
.post-video{
  width:100%;
  max-height:520px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#000;
  margin:12px 0;
}

/* ================= SHARE BAR ================= */
.sharebar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:12px 0;
}
.share-label{
  font-weight:800;
  color:var(--muted);
}
.share-btn{
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--blue-soft);
  color:var(--blue-dark);
  font-weight:800;
  cursor:pointer;
}
.share-btn:hover{
  background:#dbe6ff;
  text-decoration:none;
}
.share-btn.outline{
  background:#fff;
}

/* ================= FOLLOW US ================= */
.follow-us{
  text-align:center;
}
.social-links{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.social{
  padding:8px 16px;
  border-radius:999px;
  font-weight:800;
  border:1px solid var(--border);
  background:var(--blue-soft);
}
.social:hover{
  text-decoration:none;
  background:#dbe6ff;
}
.social.facebook{color:#1877f2}
.social.twitter{color:#1da1f2}
.social.instagram{color:#e1306c}
.social.x{color:#000}

/* ================= LISTS ================= */
.list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-top:12px;
  border-top:1px dashed var(--border);
}
.row:first-child{
  border-top:none;
  padding-top:0;
}
.headline{
  font-size:18px;
  font-weight:900;
  color:var(--text);
}

/* ================= FORMS ================= */
label{
  display:block;
  font-weight:800;
  margin:10px 0 6px;
}
input,select,textarea{
  width:100%;
  padding:10px;
  border-radius:12px;
  border:1px solid var(--border);
}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--blue);
}

/* BUTTONS */
.btn{
  background:var(--blue);
  color:#fff;
  padding:8px 14px;
  border-radius:12px;
  border:none;
  font-weight:800;
  cursor:pointer;
}
.btn:hover{
  background:var(--blue-dark);
}
.btn.outline{
  background:#fff;
  color:var(--blue);
  border:1px solid var(--border);
}
.btn.outline:hover{
  background:var(--blue-soft);
}

/* NOTICES */
.notice{
  background:var(--blue-soft);
  border:1px solid var(--border);
  padding:12px;
  border-radius:14px;
  color:var(--blue-dark);
  margin:12px 0;
}
.error{
  background:var(--danger-bg);
  border:1px solid rgba(185,28,28,.25);
  padding:10px;
  border-radius:14px;
  color:var(--danger);
}
.small{
  font-size:13px;
  color:var(--muted);
}

/* FOOTER */
footer{
  background:#fff;
  border-top:1px solid var(--border);
  margin-top:24px;
}
footer .wrap{
  text-align:center;
  font-size:13px;
  color:var(--muted);
}
