/* ── NaijaBuzz header.css — header, strip, tabs, ticker, search, bell ── */
.nb-top-strip {
  background: #0a0a0a;
  border-bottom: 1px solid rgba(201,146,42,0.12);
  padding: 5px 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nb-strip-date {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3d6650;
}
.nb-strip-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nb-strip-location {
  font-size: 0.62rem;
  color: #3d6650;
  letter-spacing: 0.5px;
}
.nb-strip-temp {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201,146,42,0.1);
  border: 0.5px solid rgba(201,146,42,0.25);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.nb-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  min-height: var(--header-h);
  will-change: transform;
}
.nb-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nb-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.nb-logo-mark {
  width: 46px;
  height: 46px;
  background: var(--green);
  border: 2px solid var(--gold);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nb-logo-mark svg { width: 32px; height: 32px; }
.nb-logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 0;
}
.nb-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
}
.nb-logo-gold { color: var(--gold); }
.nb-logo-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  font-weight: 500;
}
.nb-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.nb-icon-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  border-radius: 9999px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .2s, background .2s;
  flex-shrink: 0;
  padding: 0;
}
.nb-icon-btn:hover { color: var(--gold); background: rgba(255,255,255,0.08); }
.nb-icon-btn.active { color: var(--gold); background: rgba(201,146,42,0.12); }
.nb-icon-btn svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.nb-icon-btn span { display: flex; align-items: center; justify-content: center; line-height: 0; }
.nb-icon-pill {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.14);
  border-radius: 9999px;
  padding: 4px 5px;
  gap: 2px;
}
.nb-icon-divider {
  width: 0.5px; height: 16px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0; margin: 0 1px;
}
.nb-icon-btn--bell {
  background: var(--gold) !important;
  color: #0a0e1a !important;
  position: relative;
}
.nb-icon-btn--bell:hover { background: var(--gold-dark) !important; color: #0a0e1a !important; }
.nb-icon-btn--bell::after {
  content: '';
  position: absolute; top: 5px; right: 5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e03b3b;
  border: 1.5px solid var(--gold);
  display: none;
}
.nb-icon-btn--bell.nb-bell-active::after { display: block; }
.nb-bell-wrap { position: relative; }
.nb-bell-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px); right: 0;
  width: 270px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 2000;
}
.nb-bell-dropdown.open { display: block; }
.nb-bell-status {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 700; color: var(--green);
  margin-bottom: 0.5rem;
}
.nb-bell-dropdown p { font-size: 0.82rem; color: var(--text2); margin-bottom: 0.75rem; line-height: 1.5; }
.nb-bell-off-btn {
  background: none; border: 1.5px solid var(--border);
  color: var(--text2); border-radius: 7px;
  padding: 0.4rem 0.9rem; font-size: 0.8rem;
  cursor: pointer; transition: all .2s;
  font-family: inherit; width: 100%;
}
.nb-bell-off-btn:hover { border-color: var(--gold); color: var(--gold); }
#nb-search-bar {
  display: none;
  background: #0d0d0d;
  padding: 0.65rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#nb-search-bar.open { display: block; }
#nb-search-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 9px;
  padding: 0.55rem 1rem;
  color: #fff; font-size: 0.9rem;
  font-family: inherit; outline: none;
  transition: border-color .2s;
}
#nb-search-input::placeholder { color: rgba(255,255,255,0.3); }
#nb-search-input:focus { border-color: var(--gold); }
#nb-search-results {
  background: var(--bg);
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
#nb-search-results.open { max-height: 600px; overflow-y: auto; }
.nb-sr-inner { padding: 0.75rem 1.5rem 1rem; }
.nb-search-result {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
  cursor: pointer; text-decoration: none;
}
.nb-search-result:hover .nb-sr-title { color: var(--gold); }
.nb-sr-img { width: 68px; height: 50px; object-fit: cover; border-radius: 7px; flex-shrink: 0; background: var(--primary); }
.nb-sr-body { flex: 1; min-width: 0; }
.nb-sr-cat { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; color: var(--gold); letter-spacing: .5px; margin-bottom: 2px; }
.nb-sr-title { font-size: 0.85rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.nb-sr-meta { font-size: 0.68rem; color: var(--text2); margin-top: 2px; }
.nb-search-empty { color: var(--text2); font-size: 0.88rem; padding: 0.75rem 1.5rem; }
.nb-tabs-bar {
  overflow-x: auto; scrollbar-width: none;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.nb-tabs-bar::-webkit-scrollbar { display: none; }
.nb-tabs-inner { display: flex; width: 100%; min-width: 100%; }
.nb-tab {
  flex: 1; min-width: max-content;
  padding: 0.72rem 0.9rem;
  color: rgba(255,255,255,0.72);
  font-weight: 600; font-size: 0.8rem;
  text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent;
  letter-spacing: 0.2px;
  transition: color .2s, background .2s;
  text-align: center; position: relative;
}
.nb-tab.active { color: #fff; border-bottom-color: var(--gold); background: rgba(201,146,42,0.12); }
.nb-tab:hover:not(.active) { color: rgba(255,255,255,0.95); background: rgba(255,255,255,0.04); }
.nb-live-dot {
  position: absolute; top: 8px; right: 5px;
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%; display: none;
}
.nb-live-dot.show { display: block; }
.nb-ticker {
  background: #111; color: #fdf3dc;
  padding: 0.38rem 0; overflow: hidden;
  white-space: nowrap; font-size: 0.78rem; font-weight: 600;
  border-bottom: 2px solid var(--gold);
  min-height: 32px; display: flex; align-items: center;
}
.nb-ticker-label {
  background: #143d26; color: var(--gold);
  border-right: 2px solid var(--gold);
  padding: 0 1.1rem; font-weight: 700;
  font-size: 0.68rem; letter-spacing: 2px;
  text-transform: uppercase; white-space: nowrap;
  flex-shrink: 0; align-self: stretch;
  display: flex; align-items: center; gap: 0.45rem;
}
.nb-ticker-label::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: nb-pulse 1.4s ease-in-out infinite;
}
.nb-ticker-scroll { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; }
.nb-ticker-track {
  display: inline-flex; align-items: center;
  animation: nb-scroll 80s linear infinite;
  white-space: nowrap; will-change: transform;
}
.nb-ticker-track:hover { animation-play-state: paused; }
@keyframes nb-scroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}
.nb-ticker-item { color: #fdf3dc; text-decoration: none; transition: color .2s; padding-right: 0.2rem; }
.nb-ticker-item:hover { color: var(--gold); }
.nb-ticker-sep { color: rgba(253,243,220,0.3); margin: 0 0.9rem; }
