/* ============================================================
   assets/css/style.css — Naija Delta Voice
   ============================================================ */

:root {
  --red-deep:   #6B0000;
  --red-mid:    #8B0000;
  --red-bright: #C0392B;
  --red-light:  #E8352A;
  --white:      #FFFFFF;
  --off-white:  #F5F0F0;
  --black:      #111111;
  --gray-dark:  #222222;
  --gray-mid:   #666666;
  --gray-light: #E0E0E0;
  --gold:       #D4A017;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  background: var(--off-white);
  color: var(--black);
  font-size: 15px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ── TOP BAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--red-deep);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.topbar-left { display: flex; gap: 14px; flex-wrap: wrap; }
.topbar-left a { color: #ffcccc; transition: color .2s; }
.topbar-left a:hover { color: var(--white); }
.topbar-right { display: flex; gap: 8px; }
.social-icon {
  width: 24px; height: 24px; border-radius: 4px;
  background: rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  transition: background .2s; color: var(--white);
}
.social-icon:hover { background: var(--red-bright); }

/* ── HEADER ──────────────────────────────────────────────── */
header {
  background: var(--red-mid);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--red-light);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 3px 16px rgba(0,0,0,.4);
}
.logo a { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255,255,255,.4);
  flex-shrink: 0;
}
.logo-icon svg { width: 30px; height: 30px; }
.logo-text .name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 1px; color: var(--white);
  line-height: 1;
}
.logo-text .tagline {
  font-size: 9px; color: rgba(255,255,255,.7);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.header-search {
  display: flex; align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px; overflow: hidden;
}
.header-search input {
  background: transparent; border: none; outline: none;
  color: var(--white); padding: 8px 12px; font-size: 13px; width: 220px;
}
.header-search input::placeholder { color: rgba(255,255,255,.55); }
.header-search button {
  background: var(--red-bright); border: none; cursor: pointer;
  color: var(--white); padding: 8px 13px; font-size: 14px;
  transition: background .2s;
}
.header-search button:hover { background: var(--red-light); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; border: none; background: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); }

/* ── NAV ─────────────────────────────────────────────────── */
nav.nav-desktop { background: var(--black); border-bottom: 2px solid var(--red-mid); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  overflow-x: auto;
}
.nav-inner::-webkit-scrollbar { display: none; }
nav.nav-desktop a {
  color: var(--white); padding: 11px 15px;
  font-size: 11px; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; white-space: nowrap;
  transition: background .2s; display: block;
}
nav.nav-desktop a:hover,
nav.nav-desktop a.active { background: var(--red-mid); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--gray-dark); position: relative; z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white); padding: 12px 20px;
  font-size: 13px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:hover { background: var(--red-mid); }

/* ── TICKER ──────────────────────────────────────────────── */
.ticker {
  background: var(--red-light); color: var(--white);
  display: flex; align-items: center; overflow: hidden; height: 36px;
}
.ticker-label {
  background: var(--black); padding: 0 16px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; height: 100%;
  display: flex; align-items: center; white-space: nowrap; flex-shrink: 0;
}
.ticker-body { overflow: hidden; flex: 1; }
.ticker-track { display: flex; animation: tickerScroll 40s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { white-space: nowrap; padding: 0 30px; font-size: 12px; font-weight: 600; }
.ticker-item a { color: var(--white); }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── AD ZONES ────────────────────────────────────────────── */
.ad-full { max-width: 1200px; margin: 8px auto; padding: 0 16px; }
.ad-zone { position: relative; }
.ad-label {
  font-size: 9px; text-transform: uppercase; letter-spacing: 1px;
  color: #aaa; text-align: center; display: block; margin-bottom: 3px;
}
.ad-sidebar-zone { margin-bottom: 20px; }

/* ── MAIN WRAPPER ────────────────────────────────────────── */
.wrapper {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* ── SECTION HEADING ─────────────────────────────────────── */
.section-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; border-bottom: 2px solid var(--gray-light);
  padding-bottom: 10px;
}
.section-head h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 1px; color: var(--black);
}
.red-bar { width: 4px; height: 22px; background: var(--red-mid); border-radius: 2px; flex-shrink: 0; }

/* ── CAT BADGE ───────────────────────────────────────────── */
.cat-badge {
  display: inline-block; background: var(--red-mid); color: var(--white);
  font-size: 9px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 2px;
  white-space: nowrap;
}
.cat-badge:hover { background: var(--red-light); }

/* ── IMAGE PLACEHOLDER ──────────────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, var(--red-deep), var(--gray-dark));
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder svg { opacity: .25; }
.has-img { background: var(--gray-dark); }

/* ── HERO GRID ───────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-main {
  grid-column: 1; grid-row: 1 / 3;
  position: relative; overflow: hidden; border-radius: 4px;
  background: var(--gray-dark); min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  cursor: pointer; transition: opacity .2s;
}
.hero-main:hover { opacity: .95; }
.hero-main::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 40%, rgba(0,0,0,.08) 100%);
  z-index: 1;
}
.hero-main .img-placeholder { position: absolute; inset: 0; }
.hero-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; padding: 22px; }
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--white); line-height: 1.35; margin: 8px 0 8px;
}
.hero-meta { font-size: 11px; color: rgba(255,255,255,.6); }
.hero-meta span { margin-right: 10px; }

.hero-side {
  background: var(--white); border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column; cursor: pointer;
  border: 1px solid var(--gray-light); transition: box-shadow .2s;
}
.hero-side:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.hero-side-img { height: 140px; overflow: hidden; position: relative; }
.hero-side-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-img .img-placeholder { height: 100%; }
.hero-side-img .img-placeholder svg { width: 36px; }
.hero-side-body { padding: 14px; flex: 1; }
.hero-side-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 14px; line-height: 1.45; color: var(--black); margin-top: 7px;
}
.hero-side-body h3:hover { color: var(--red-mid); }
.hero-side-body .meta { font-size: 10px; color: var(--gray-mid); margin-top: 6px; }

/* ── CARD GRID ───────────────────────────────────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 28px;
}
.card {
  background: var(--white); border-radius: 4px; overflow: hidden;
  border: 1px solid var(--gray-light); cursor: pointer;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.1); transform: translateY(-3px); }
.card-img { height: 160px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .img-placeholder { height: 100%; }
.card-img .img-placeholder svg { width: 32px; }
.card-body { padding: 14px; }
.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 14px; line-height: 1.45; margin: 8px 0 6px; color: var(--black);
}
.card-body h3:hover { color: var(--red-mid); }
.card-body p { font-size: 12px; color: var(--gray-mid); line-height: 1.55; }
.card-meta {
  font-size: 10px; color: var(--gray-mid); margin-top: 10px;
  display: flex; align-items: center; gap: 6px; padding-top: 8px;
  border-top: 1px solid var(--gray-light);
}

/* ── LIST ARTICLES ───────────────────────────────────────── */
.list-articles { background: var(--white); border: 1px solid var(--gray-light); border-radius: 4px; padding: 0 16px; }
.list-article {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--gray-light); cursor: pointer;
}
.list-article:last-child { border-bottom: none; }
.list-img {
  width: 100px; height: 76px; flex-shrink: 0;
  border-radius: 3px; overflow: hidden; position: relative;
}
.list-img img { width: 100%; height: 100%; object-fit: cover; }
.list-img .img-placeholder { width: 100%; height: 100%; }
.list-img .img-placeholder svg { width: 22px; }
.list-body { flex: 1; }
.list-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 14px; line-height: 1.4; margin: 5px 0 4px; color: var(--black);
}
.list-body h4:hover { color: var(--red-mid); }
.list-body .meta { font-size: 10px; color: var(--gray-mid); }

/* ── CATEGORY CHIPS ──────────────────────────────────────── */
.cat-strip {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: 4px; padding: 16px; margin-bottom: 24px;
}
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cat-chip {
  padding: 6px 14px; border: 1.5px solid var(--red-mid);
  color: var(--red-mid); font-size: 11px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; border-radius: 3px;
  cursor: pointer; transition: all .2s; display: inline-block;
}
.cat-chip:hover, .cat-chip.active { background: var(--red-mid); color: var(--white); }

/* ── SINGLE POST ─────────────────────────────────────────── */
.post-hero { border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.post-hero img { width: 100%; max-height: 480px; object-fit: cover; }
.post-hero .img-placeholder { height: 320px; }
.post-hero .img-placeholder svg { width: 64px; }
.post-header { margin-bottom: 20px; }
.post-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; line-height: 1.3; color: var(--black); margin: 12px 0 10px;
}
.post-meta { font-size: 12px; color: var(--gray-mid); display: flex; flex-wrap: wrap; gap: 12px; }
.post-meta span { display: flex; align-items: center; gap: 4px; }
.post-body { background: var(--white); border: 1px solid var(--gray-light); border-radius: 6px; padding: 30px; }
.post-body p  { margin-bottom: 16px; line-height: 1.75; font-size: 16px; color: #333; }
.post-body h2 { font-family: 'Playfair Display',serif; margin: 24px 0 12px; font-size: 22px; color: var(--black); }
.post-body h3 { margin: 20px 0 10px; font-size: 18px; color: var(--black); }
.post-body ul, .post-body ol { margin: 0 0 16px 24px; }
.post-body li { margin-bottom: 6px; line-height: 1.65; }
.post-body blockquote {
  border-left: 4px solid var(--red-mid); padding: 12px 20px;
  background: #fff5f5; color: #555; font-style: italic;
  margin: 20px 0; border-radius: 0 4px 4px 0;
}
.post-share { margin-top: 24px; padding-top: 16px; border-top: 2px solid var(--gray-light); }
.post-share h4 { font-size: 12px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  padding: 8px 18px; border-radius: 4px; font-size: 12px; font-weight: 700;
  color: var(--white); cursor: pointer; border: none; transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-fb  { background: #1877f2; }
.share-tw  { background: #000; }
.share-wa  { background: #25d366; }
.share-cp  { background: var(--gray-mid); }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar {}
.sidebar-widget { background: var(--white); border: 1px solid var(--gray-light); border-radius: 4px; overflow: hidden; margin-bottom: 20px; }
.widget-head {
  background: var(--red-mid); color: var(--white); padding: 10px 14px;
  font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: 1px;
}
.widget-body { padding: 12px; }
.trending-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid var(--gray-light); cursor: pointer;
}
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.trend-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 30px;
  color: var(--red-mid); line-height: 1; flex-shrink: 0; width: 30px;
}
.trend-title { font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--black); }
.trend-title:hover { color: var(--red-mid); }
.trend-meta { font-size: 10px; color: var(--gray-mid); margin-top: 2px; }
.cat-list a {
  display: flex; justify-content: space-between;
  padding: 9px 14px; border-bottom: 1px solid var(--gray-light);
  font-size: 12px; color: var(--black); font-weight: 600; transition: color .2s;
}
.cat-list a:last-child { border-bottom: none; }
.cat-list a:hover { color: var(--red-mid); }
.cat-list span {
  background: var(--red-mid); color: var(--white);
  padding: 1px 8px; border-radius: 10px; font-size: 10px; font-weight: 400;
}

/* Newsletter */
.newsletter {
  background: var(--red-deep); border-radius: 4px;
  padding: 20px; color: var(--white); margin-bottom: 20px; text-align: center;
}
.newsletter h3 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; margin-bottom: 6px; }
.newsletter p  { font-size: 11px; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.newsletter input {
  width: 100%; padding: 9px 12px; border: none; border-radius: 3px;
  font-size: 12px; margin-bottom: 8px; outline: none;
}
.newsletter button {
  width: 100%; padding: 10px; background: var(--red-light);
  color: var(--white); border: none; border-radius: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.newsletter button:hover { background: var(--red-bright); }

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 24px 0; justify-content: center;
}
.pagination a {
  padding: 7px 13px; border: 1.5px solid var(--gray-light);
  border-radius: 3px; font-size: 13px; font-weight: 600;
  color: var(--black); transition: all .2s;
}
.pagination a:hover, .pagination a.active {
  background: var(--red-mid); border-color: var(--red-mid); color: var(--white);
}

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--red-deep), var(--gray-dark));
  color: var(--white); padding: 32px 16px; margin-bottom: 24px;
}
.page-header .inner { max-width: 1200px; margin: 0 auto; }
.page-header h1 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 1px; }
.page-header p { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ── LOAD MORE ───────────────────────────────────────────── */
.load-more-wrap { text-align: center; margin: 20px 0; }
.btn-red {
  display: inline-block; padding: 10px 30px;
  background: var(--red-mid); color: var(--white);
  border: none; border-radius: 3px; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; cursor: pointer;
  transition: background .2s;
}
.btn-red:hover { background: var(--red-light); }

/* ── SEARCH RESULTS ──────────────────────────────────────── */
.search-info { font-size: 13px; color: var(--gray-mid); margin-bottom: 16px; }
.search-info strong { color: var(--black); }
.no-results { text-align: center; padding: 60px 20px; }
.no-results h2 { font-family: 'Playfair Display',serif; font-size: 24px; margin-bottom: 10px; }
.no-results p { color: var(--gray-mid); font-size: 14px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--black); color: rgba(255,255,255,.7); margin-top: 28px; }
.footer-top {
  max-width: 1200px; margin: 0 auto; padding: 40px 16px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px;
}
.footer-brand .name { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--white); letter-spacing: 1px; }
.footer-brand .tagline { font-size: 10px; color: var(--red-light); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.footer-brand p { font-size: 12px; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--red-light); }
.footer-bottom {
  background: var(--red-deep); text-align: center;
  padding: 12px; font-size: 11px; color: rgba(255,255,255,.6);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .wrapper { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .header-search { display: none; }
  .hamburger { display: flex; }
  .nav-desktop { display: none; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { grid-row: auto; min-height: 280px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar-left span { display: none; }
  .post-header h1 { font-size: 22px; }
  .post-body { padding: 20px; }
}
