/*
Theme Name: News Portal Builder
Theme URI: https://www.vejacaarapo.com.br
Author: VEJACAARAPÓ
Author URI: https://www.vejacaarapo.com.br
Description: Portal de notícias regional para Caarapó, MS. Layout idêntico ao protótipo React: ticker de últimas, hero 60/40, seções por editoria, widget de clima, cotações de mercado e rodapé em 4 colunas.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: npb
Tags: news, blog, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, translation-ready
*/

/* ═══════════════════════════════════════════════════════════════════════════
   TOKENS (idênticos ao index.css React)
═══════════════════════════════════════════════════════════════════════════ */
:root {
  --primary:          #003080;   /* hsl(218 100% 25%) */
  --accent:           #CC0000;   /* hsl(0 100% 40%)   */
  --background:       #ffffff;
  --foreground:       #1a2035;   /* hsl(220 20% 15%)  */
  --card:             #ffffff;
  --border:           #e2e8f0;   /* hsl(220 13% 91%)  */
  --muted:            #f4f6f9;   /* hsl(220 14% 96%)  */
  --muted-fg:         #6b7280;   /* hsl(220 10% 45%)  */
  --secondary:        #f4f6f9;
  --footer-bg:        #0a192f;
  --green-600:        #16a34a;
  --green-500:        #22c55e;
  --red-500:          #ef4444;
  --red-600:          #dc2626;
  --slate-900:        #0f172a;
  --blue-100:         #dbeafe;
  --blue-500:         #3b82f6;
  --orange-500:       #f97316;
  --gray-400:         #9ca3af;
  --radius:           4px;       /* 0.25rem */
  --font-display:     'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-sans:        'Inter', system-ui, -apple-system, sans-serif;
  --container:        1280px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); letter-spacing: -.02em; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════
   CONTAINER
═══════════════════════════════════════════════════════════════════════════ */
.npb-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOP BAR  (TopBar.tsx)
   bg-primary text-white/90 text-xs py-1.5 border-b border-primary/90
═══════════════════════════════════════════════════════════════════════════ */
#npb-topbar {
  width: 100%;
  background: var(--primary);
  color: rgba(255,255,255,.9);
  font-family: var(--font-sans);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,48,128,.9);
}
#npb-topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#npb-topbar .npb-date {
  font-weight: 500;
  letter-spacing: .025em;
}
#npb-topbar .npb-toplinks {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
#npb-topbar .npb-toplinks a {
  color: rgba(255,255,255,.9);
  transition: color .2s;
}
#npb-topbar .npb-toplinks a:hover { color: #fff; }
#npb-topbar .npb-toplinks .divider {
  width: 1px; height: 12px;
  background: rgba(255,255,255,.2);
}
#npb-topbar .npb-wa-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green-600);
  color: #fff !important;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 12px;
  transition: background .2s;
}
#npb-topbar .npb-wa-btn:hover { background: #15803d; }
#npb-topbar .npb-wa-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER  (Header.tsx)
   bg-background border-b border-border py-4 md:py-6
═══════════════════════════════════════════════════════════════════════════ */
#npb-header {
  width: 100%;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
#npb-header .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  #npb-header { padding: 24px 0; }
  #npb-header .inner { flex-direction: row; justify-content: space-between; }
}

/* Logo: VEJA (accent) + CAARAPÓ. (primary) */
#npb-header .npb-logo {
  flex-shrink: 0;
}
#npb-header .npb-logo a {
  display: inline-block;
}
#npb-header .npb-logo .npb-logo-text {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--primary);
  display: flex;
  align-items: flex-end;
}
@media (min-width: 768px) {
  #npb-header .npb-logo .npb-logo-text { font-size: 48px; }
}
#npb-header .npb-logo .npb-logo-text .veja { color: var(--accent); }
#npb-header .npb-logo .npb-logo-text .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 4px;
  margin-bottom: 8px;
  display: inline-block;
}

/* Header ad (hidden on mobile, shown on lg) */
#npb-header .npb-header-ad {
  display: none;
}
@media (min-width: 1024px) {
  #npb-header .npb-header-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 728px;
    height: 90px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted-fg);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .05em;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }
}

/* Header actions: search + theme buttons */
#npb-header .npb-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
#npb-header .npb-header-actions .npb-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--muted);
  color: var(--foreground);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
#npb-header .npb-header-actions .npb-icon-btn:hover { background: var(--secondary); }
#npb-header .npb-header-actions .npb-icon-btn svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════════════════════════════════════
   NAV MENU  (NavMenu.tsx)
   bg-primary text-primary-foreground sticky top-0 z-40 shadow-md
═══════════════════════════════════════════════════════════════════════════ */
#npb-nav {
  width: 100%;
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
}
/* Desktop nav */
#npb-nav .npb-nav-desktop {
  display: none;
}
@media (min-width: 1024px) {
  #npb-nav .npb-nav-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
  }
}
#npb-nav .npb-nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
#npb-nav .npb-nav-desktop ul li {
  height: 100%;
  display: flex;
  align-items: center;
}
#npb-nav .npb-nav-desktop ul li a {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: rgba(255,255,255,.9);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}
#npb-nav .npb-nav-desktop ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s;
}
#npb-nav .npb-nav-desktop ul li a:hover,
#npb-nav .npb-nav-desktop ul li.current-menu-item > a { color: #fff; }
#npb-nav .npb-nav-desktop ul li a:hover::after,
#npb-nav .npb-nav-desktop ul li.current-menu-item > a::after { transform: scaleX(1); }

#npb-nav .npb-nav-more {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: color .2s;
}
#npb-nav .npb-nav-more:hover { color: #fff; }
#npb-nav .npb-nav-more svg { width: 20px; height: 20px; }

/* Mobile nav toggle */
#npb-nav .npb-nav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
@media (min-width: 1024px) {
  #npb-nav .npb-nav-mobile { display: none; }
}
#npb-nav .npb-nav-mobile span {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}
#npb-nav .npb-nav-mobile button {
  padding: 8px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
#npb-nav .npb-nav-mobile button svg { width: 24px; height: 24px; }

/* Mobile menu panel */
#npb-mobile-menu {
  display: none;
  background: var(--primary);
  padding: 8px 16px 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
#npb-mobile-menu.is-open { display: block; }
#npb-mobile-menu ul { display: flex; flex-direction: column; }
#npb-mobile-menu ul li a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,.9);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#npb-mobile-menu ul li:last-child a { border-bottom: none; }
#npb-mobile-menu ul li a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   BREAKING TICKER  (BreakingTicker.tsx)
   bg-accent text-white, overflow-hidden, border-b-2 border-black/10
═══════════════════════════════════════════════════════════════════════════ */
#npb-ticker {
  width: 100%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid rgba(0,0,0,.1);
}
#npb-ticker .npb-ticker-label {
  background: rgba(0,0,0,.2);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  white-space: nowrap;
  flex-shrink: 0;
}
#npb-ticker .npb-ticker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: npb-pulse 1.5s ease-in-out infinite;
}
@keyframes npb-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
#npb-ticker .npb-ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}
#npb-ticker .npb-ticker-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: npb-marquee 30s linear infinite;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
}
#npb-ticker .npb-ticker-inner:hover { animation-play-state: paused; }
#npb-ticker .npb-ticker-item {
  padding: 0 16px;
  cursor: pointer;
  transition: text-decoration .1s;
}
#npb-ticker .npb-ticker-item:hover { text-decoration: underline; }
#npb-ticker .npb-ticker-item a { color: #fff; }
#npb-ticker .npb-ticker-item a:hover { color: rgba(255,255,255,.85); text-decoration: underline; }
#npb-ticker .npb-ticker-sep { color: rgba(255,255,255,.4); }
@keyframes npb-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MARKET BAR  (MarketBar.tsx)
   bg-muted border-b border-border overflow-hidden text-xs py-1.5
═══════════════════════════════════════════════════════════════════════════ */
#npb-market {
  width: 100%;
  background: var(--muted);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  font-size: 12px;
  padding: 6px 0;
  font-family: var(--font-sans);
}
#npb-market .inner {
  display: flex;
  align-items: center;
}
#npb-market .npb-market-label {
  font-weight: 700;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
#npb-market .npb-market-items {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}
#npb-market .npb-market-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 24px;
  border-left: 1px solid rgba(226,232,240,.5);
}
#npb-market .npb-market-item:first-child { border-left: none; padding-left: 0; }
#npb-market .npb-commodity { font-weight: 600; color: var(--foreground); }
#npb-market .npb-price { font-weight: 500; }
#npb-market .npb-change {
  font-weight: 700;
  font-size: 10px;
  display: flex;
  align-items: center;
}
#npb-market .npb-change.up   { color: var(--green-600); }
#npb-market .npb-change.down { color: var(--red-600); }

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN WRAPPER
═══════════════════════════════════════════════════════════════════════════ */
#npb-main {
  flex: 1;
  width: 100%;
  padding-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION  (HeroSection.tsx)
   py-6 → padding 24px 0
   flex-col lg:flex-row gap-6 → [60% | 40%]
═══════════════════════════════════════════════════════════════════════════ */
#npb-hero { padding: 24px 0; }
#npb-hero .npb-hero-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 1024px) {
  #npb-hero .npb-hero-row { flex-direction: row; }
}

/* Left: big feature article (lg:w-3/5) */
#npb-hero .npb-hero-main {
  width: 100%;
}
@media (min-width: 1024px) {
  #npb-hero .npb-hero-main { width: 60%; flex-shrink: 0; }
}
#npb-hero .npb-hero-main a {
  display: block;
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
}
@media (min-width: 1024px) {
  #npb-hero .npb-hero-main a { height: 550px; }
}
#npb-hero .npb-hero-main img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out;
}
#npb-hero .npb-hero-main a:hover img { transform: scale(1.05); }
#npb-hero .npb-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 50%, transparent 100%);
}
#npb-hero .npb-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 1024px) {
  #npb-hero .npb-hero-content { padding: 32px; }
}
#npb-hero .npb-hero-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 10px;
  margin-bottom: 16px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  width: fit-content;
}
#npb-hero .npb-hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
  transition: color .2s;
}
@media (min-width: 1024px) {
  #npb-hero .npb-hero-title { font-size: 48px; }
}
#npb-hero .npb-hero-main a:hover .npb-hero-title { color: rgba(255,255,255,.9); }
#npb-hero .npb-hero-excerpt {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  max-width: 672px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.4));
}
@media (min-width: 1024px) {
  #npb-hero .npb-hero-excerpt { font-size: 16px; }
}
#npb-hero .npb-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.7);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
}
#npb-hero .npb-hero-meta .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}

/* Right column (lg:w-2/5): weather + most-read stacked */
#npb-hero .npb-hero-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 1024px) {
  #npb-hero .npb-hero-right { width: 40%; }
}

/* ── Weather Widget (WeatherWidget.tsx) ── */
.npb-weather {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 200px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}
.npb-weather .npb-weather-header {
  background: var(--primary);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
}
.npb-weather .npb-weather-header .label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.npb-weather .npb-weather-header .city {
  font-family: var(--font-sans);
  font-size: 12px;
  opacity: .9;
}
.npb-weather .npb-weather-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.npb-weather .npb-weather-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.npb-weather .npb-weather-temp {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
}
.npb-weather .npb-weather-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--muted-fg);
  font-weight: 500;
}
.npb-weather .npb-weather-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.npb-weather .npb-weather-icon svg { color: var(--blue-500); width: 28px; height: 28px; }
.npb-weather .npb-weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted-fg);
}
.npb-weather .npb-weather-grid .stat {
  display: flex;
  align-items: center;
  gap: 6px;
}
.npb-weather .npb-weather-grid .stat svg { width: 14px; height: 14px; flex-shrink: 0; }
.npb-weather .npb-weather-grid .stat strong { color: var(--foreground); }
.npb-weather .npb-weather-grid .stat .icon-drop { color: var(--blue-500); }
.npb-weather .npb-weather-grid .stat .icon-wind { color: var(--gray-400); }
.npb-weather .npb-weather-grid .stat .icon-sun  { color: var(--orange-500); }

/* ── Most Read (MostRead.tsx) ── */
.npb-mostread {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 326px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}
.npb-mostread .npb-mostread-header {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.npb-mostread .npb-mostread-header .bar {
  width: 6px; height: 20px;
  background: var(--accent);
  margin-right: 8px;
  flex-shrink: 0;
}
.npb-mostread .npb-mostread-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--foreground);
}
.npb-mostread .npb-mostread-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  divide-color: var(--border);
}
.npb-mostread .npb-mostread-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background .2s;
}
.npb-mostread .npb-mostread-item:last-child { border-bottom: none; }
.npb-mostread .npb-mostread-item:hover { background: rgba(244,246,249,.5); }
.npb-mostread .npb-mostread-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: rgba(226,232,240,.7);
  line-height: 1;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
  transition: color .2s;
}
.npb-mostread .npb-mostread-item:hover .npb-mostread-num { color: rgba(204,0,0,.3); }
.npb-mostread .npb-mostread-body { flex: 1; }
.npb-mostread .npb-mostread-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
  transition: color .2s;
}
.npb-mostread .npb-mostread-item:hover .npb-mostread-title { color: var(--primary); }
.npb-mostread .npb-mostread-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-fg);
}
.npb-mostread .npb-mostread-thumb {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.npb-mostread .npb-mostread-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.npb-mostread .npb-mostread-item:hover .npb-mostread-thumb img { transform: scale(1.1); }

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE CARD  (ArticleCard.tsx)
   group flex flex-col h-full bg-card hover:bg-muted/30
   border border-transparent hover:border-border rounded-lg overflow-hidden
═══════════════════════════════════════════════════════════════════════════ */
.npb-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: background .3s, border-color .3s;
}
.npb-card:hover {
  background: rgba(244,246,249,.3);
  border-color: var(--border);
  color: inherit;
}
.npb-card .npb-card-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
}
.npb-card.npb-card-featured .npb-card-thumb { aspect-ratio: 16/9; }
.npb-card .npb-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease-out;
}
.npb-card:hover .npb-card-thumb img { transform: scale(1.05); }
.npb-card .npb-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  z-index: 10;
}
.npb-card .npb-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.npb-card .npb-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  transition: color .2s;
}
.npb-card:hover .npb-card-title { color: var(--primary); }
.npb-card .npb-card-excerpt {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.npb-card .npb-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted-fg);
  font-weight: 500;
  padding-top: 8px;
}
.npb-card .npb-card-meta svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   LATEST NEWS SECTION  (LatestNews.tsx)
   py-8 bg-secondary/30 border-y border-border
═══════════════════════════════════════════════════════════════════════════ */
#npb-latest {
  padding: 32px 0;
  width: 100%;
  background: rgba(244,246,249,.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#npb-latest .npb-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
#npb-latest .npb-section-bar .npb-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--foreground);
  position: relative;
}
#npb-latest .npb-section-bar .npb-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0;
  width: 50%; height: 4px;
  background: var(--accent);
}
#npb-latest .npb-section-bar .npb-see-all {
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: color .2s;
}
#npb-latest .npb-section-bar .npb-see-all:hover { color: var(--accent); }
#npb-latest .npb-section-bar .npb-see-all svg { margin-left: 4px; width: 16px; height: 16px; }
#npb-latest .npb-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px)  { #npb-latest .npb-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { #npb-latest .npb-grid-4 { grid-template-columns: repeat(4,1fr); } }

/* ═══════════════════════════════════════════════════════════════════════════
   AD BANNERS  (AdBanner.tsx)
═══════════════════════════════════════════════════════════════════════════ */
.npb-ad-leaderboard {
  width: 100%;
  padding: 32px 0;
  display: flex;
  justify-content: center;
}
.npb-ad-leaderboard-inner {
  width: 100%;
  max-width: 970px;
  height: 90px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}
.npb-ad-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 2px;
}
.npb-ad-size {
  font-family: monospace;
  font-size: 11px;
  color: rgba(107,114,128,.5);
}
.npb-ad-rectangle {
  width: 100%;
  max-width: 300px;
  height: 250px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT COLUMNS  (Home.tsx – 70/30 split)
═══════════════════════════════════════════════════════════════════════════ */
#npb-columns {
  padding: 32px 0;
}
#npb-columns .npb-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  #npb-columns .npb-row { flex-direction: row; }
}
#npb-columns .npb-col-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  #npb-columns .npb-col-main { width: 70%; }
}
#npb-columns .npb-col-sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  #npb-columns .npb-col-sidebar { width: 30%; }
}
.npb-sidebar-sticky {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORY SECTION  (CategorySection.tsx)
═══════════════════════════════════════════════════════════════════════════ */
.npb-cat-section { padding: 24px 0; }
.npb-cat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.npb-cat-bar .npb-cat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--foreground);
  position: relative;
}
.npb-cat-bar .npb-cat-title::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0;
  width: 50%; height: 4px;
  border-radius: 0;
}
/* color variants matching colorMap in React */
.npb-cat-bar .npb-cat-title.color-primary::after { background: var(--primary); }
.npb-cat-bar .npb-cat-title.color-accent::after  { background: var(--accent); }
.npb-cat-bar .npb-cat-title.color-green::after   { background: #16a34a; }
.npb-cat-bar .npb-cat-title.color-orange::after  { background: #f97316; }
.npb-cat-bar .npb-cat-link {
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: color .2s;
}
.npb-cat-bar .npb-cat-link:hover { color: var(--accent); }
.npb-cat-bar .npb-cat-link svg { margin-left: 4px; width: 16px; height: 16px; }
.npb-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .npb-cat-grid { grid-template-columns: repeat(3,1fr); } }

/* ═══════════════════════════════════════════════════════════════════════════
   NEWSLETTER  (Newsletter.tsx)
   bg-primary text-primary-foreground rounded-lg p-6 overflow-hidden
═══════════════════════════════════════════════════════════════════════════ */
.npb-newsletter {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
  position: relative;
  overflow: hidden;
}
.npb-newsletter .npb-nl-icon {
  position: absolute;
  top: -40px; right: -40px;
  opacity: .1;
}
.npb-newsletter .npb-nl-icon svg { width: 128px; height: 128px; }
.npb-newsletter .npb-nl-inner { position: relative; z-index: 10; }
.npb-newsletter h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
  color: #fff;
}
.npb-newsletter p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
  margin-bottom: 16px;
}
.npb-newsletter input[type="email"] {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #fff;
  outline: none;
  margin-bottom: 12px;
}
.npb-newsletter input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.npb-newsletter input[type="email"]:focus {
  box-shadow: 0 0 0 2px var(--accent);
  border-color: var(--accent);
}
.npb-newsletter button[type="submit"] {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px;
  border-radius: var(--radius);
  transition: opacity .2s;
}
.npb-newsletter button[type="submit"]:hover { opacity: .9; }
.npb-newsletter .npb-nl-note {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  text-align: center;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIDEO SECTION  (VideoSection.tsx)
   py-8 bg-slate-900 text-white
═══════════════════════════════════════════════════════════════════════════ */
#npb-videos {
  padding: 32px 0;
  background: var(--slate-900);
  color: #fff;
}
#npb-videos .npb-videos-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
#npb-videos .npb-videos-header .bar {
  width: 6px; height: 24px;
  background: var(--accent);
  margin-right: 12px;
  flex-shrink: 0;
}
#npb-videos .npb-videos-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
#npb-videos .npb-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { #npb-videos .npb-videos-grid { grid-template-columns: repeat(3,1fr); } }
#npb-videos .npb-video-card { cursor: pointer; }
#npb-videos .npb-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: #000;
}
#npb-videos .npb-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: opacity .5s, transform .5s;
}
#npb-videos .npb-video-card:hover .npb-video-thumb img { opacity: 1; transform: scale(1.05); }
#npb-videos .npb-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#npb-videos .npb-video-play .btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(204,0,0,.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s;
}
#npb-videos .npb-video-card:hover .npb-video-play .btn {
  transform: scale(1.1);
  background: var(--accent);
}
#npb-videos .npb-video-play .btn svg { width: 20px; height: 20px; margin-left: 2px; }
#npb-videos .npb-video-date {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.8);
  color: #fff;
  font-family: monospace;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
}
#npb-videos .npb-video-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
#npb-videos .npb-video-card:hover .npb-video-title { color: var(--accent); }
#npb-videos .npb-video-channel {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER  (Footer.tsx)
   bg-[#0a192f] text-white pt-12 pb-6 border-t-4 border-accent
═══════════════════════════════════════════════════════════════════════════ */
#npb-footer {
  width: 100%;
  background: var(--footer-bg);
  color: #fff;
  padding-top: 48px;
  padding-bottom: 24px;
  border-top: 4px solid var(--accent);
}
#npb-footer .npb-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 768px)  { #npb-footer .npb-footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { #npb-footer .npb-footer-grid { grid-template-columns: repeat(4,1fr); } }

/* Col 1: About */
#npb-footer .npb-footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
  margin-bottom: 16px;
  color: #fff;
  text-decoration: none;
}
#npb-footer .npb-footer-logo .veja { color: var(--accent); }
#npb-footer .npb-footer-logo .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 3px;
  margin-bottom: 6px;
  display: inline-block;
}
#npb-footer .npb-footer-about {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 24px;
}
#npb-footer .npb-footer-social {
  display: flex;
  gap: 12px;
}
#npb-footer .npb-footer-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s;
}
#npb-footer .npb-footer-social a:hover { background: var(--accent); color: #fff; }
#npb-footer .npb-footer-social a svg { width: 16px; height: 16px; }

/* Col 2-4 headings */
#npb-footer .npb-footer-col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
}
#npb-footer .npb-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
#npb-footer .npb-footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
#npb-footer .npb-footer-col ul li a:hover { color: var(--accent); }
#npb-footer .npb-footer-col ul li a svg { width: 14px; height: 14px; }

/* Col 4: Newsletter mini */
#npb-footer .npb-footer-nl p {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
  line-height: 1.6;
}
#npb-footer .npb-footer-nl form { display: flex; flex-direction: column; gap: 8px; }
#npb-footer .npb-footer-nl input[type="email"] {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #fff;
  outline: none;
}
#npb-footer .npb-footer-nl input[type="email"]::placeholder { color: rgba(255,255,255,.4); }
#npb-footer .npb-footer-nl input[type="email"]:focus { border-color: var(--accent); }
#npb-footer .npb-footer-nl button {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  padding: 8px;
  border-radius: var(--radius);
  transition: opacity .2s;
}
#npb-footer .npb-footer-nl button:hover { opacity: .8; }

/* Footer bottom bar */
#npb-footer .npb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  #npb-footer .npb-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
#npb-footer .npb-footer-bottom p,
#npb-footer .npb-footer-bottom .npb-footer-legal {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
#npb-footer .npb-footer-bottom .npb-footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}
#npb-footer .npb-footer-bottom .npb-footer-legal a {
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
#npb-footer .npb-footer-bottom .npb-footer-legal a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING WHATSAPP  (FloatingWhatsApp.tsx)
   fixed bottom-6 right-6 z-50, w-14 h-14, bg-[#25D366], ping animation
═══════════════════════════════════════════════════════════════════════════ */
#npb-float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  text-decoration: none;
  transition: transform .3s;
}
#npb-float-wa:hover { transform: scale(1.1); color: #fff; }
#npb-float-wa svg { width: 32px; height: 32px; position: relative; z-index: 10; }
#npb-float-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: npb-ping 1.5s ease-in-out infinite;
}
#npb-float-wa:hover::before { animation: none; }
@keyframes npb-ping {
  0%   { transform: scale(1); opacity: .75; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE POST  (ArticlePage.tsx)
═══════════════════════════════════════════════════════════════════════════ */
.npb-single-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 0 64px;
}
@media (min-width: 1024px) { .npb-single-wrap { flex-direction: row; } }

.npb-single-article {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
  overflow: hidden;
}
@media (min-width: 1024px) { .npb-single-article { width: 70%; } }

.npb-single-sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .npb-single-sidebar { width: 30%; }
}
.npb-single-sidebar .npb-sidebar-sticky {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Article header */
.npb-article-header {
  padding: 24px 24px 24px;
  border-bottom: 1px solid rgba(226,232,240,.5);
}
@media (min-width: 768px) { .npb-article-header { padding: 40px 40px 24px; } }

.npb-article-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  margin-bottom: 16px;
}
.npb-article-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: var(--foreground);
  margin-bottom: 16px;
}
@media (min-width: 768px) { .npb-article-title { font-size: 48px; } }
.npb-article-excerpt {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--muted-fg);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .npb-article-excerpt { font-size: 20px; } }

.npb-article-meta-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .npb-article-meta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.npb-article-meta-row .npb-meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--muted-fg);
}
.npb-article-meta-row .npb-meta-info .author { font-weight: 700; color: var(--foreground); }
.npb-article-meta-row .npb-meta-info .npb-meta-icon { display: flex; align-items: center; gap: 6px; }
.npb-article-meta-row .npb-meta-info svg { width: 16px; height: 16px; }

/* Share buttons */
.npb-share-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.npb-share-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted-fg);
  margin-right: 8px;
  white-space: nowrap;
}
.npb-share-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
  text-decoration: none;
}
.npb-share-icon:hover { transform: scale(1.1); color: #fff; }
.npb-share-icon svg { width: 16px; height: 16px; }
.npb-share-icon.wa { background: #25D366; }
.npb-share-icon.fb { background: #1877F2; }
.npb-share-icon.tw { background: #000; }
.npb-share-icon.lk { background: var(--muted); color: var(--foreground); }
.npb-share-icon.lk:hover { color: var(--foreground); }

/* Featured image */
.npb-article-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.npb-article-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Article content */
.npb-article-content {
  padding: 24px;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(26,32,53,.9);
}
@media (min-width: 768px) { .npb-article-content { padding: 40px; } }
.npb-article-content p { margin-bottom: 20px; }
.npb-article-content h2,
.npb-article-content h3 { font-family: var(--font-display); font-weight: 800; margin: 28px 0 12px; color: var(--foreground); }
.npb-article-content h2 { font-size: 28px; }
.npb-article-content h3 { font-size: 22px; }
.npb-article-content a { color: var(--primary); text-decoration: underline; }
.npb-article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  background: var(--muted);
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted-fg);
}
.npb-article-content img { border-radius: var(--radius); margin: 20px 0; }

/* Tags */
.npb-article-tags {
  padding: 0 24px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (min-width: 768px) { .npb-article-tags { padding: 0 40px 24px; } }
.npb-article-tags .tag {
  background: var(--secondary);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid var(--border);
}

/* Bottom share */
.npb-article-share-bottom {
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
@media (min-width: 768px) { .npb-article-share-bottom { padding: 24px 40px; } }
.npb-article-share-bottom .npb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.npb-article-share-bottom .npb-share-btn:hover { opacity: .9; color: #fff; }
.npb-article-share-bottom .npb-share-btn svg { width: 16px; height: 16px; }
.npb-article-share-bottom .npb-share-btn.wa { background: #25D366; }
.npb-article-share-bottom .npb-share-btn.fb { background: #1877F2; }

/* Related posts */
.npb-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.npb-related h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--foreground);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.npb-related h2::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0;
  width: 50%; height: 4px;
  background: var(--accent);
}
.npb-related .npb-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (min-width: 768px) { .npb-related .npb-related-grid { grid-template-columns: repeat(3,1fr); } }

/* ═══════════════════════════════════════════════════════════════════════════
   ARCHIVE / SEARCH / 404
═══════════════════════════════════════════════════════════════════════════ */
.npb-archive-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--primary);
}
.npb-archive-header h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--foreground);
}
.npb-archive-header p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted-fg);
  margin-top: 6px;
}
.npb-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px)  { .npb-archive-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .npb-archive-grid { grid-template-columns: repeat(3,1fr); } }

.npb-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}
.npb-pagination .page-numbers {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  border: 1px solid var(--border);
  transition: all .15s;
}
.npb-pagination .page-numbers.current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.npb-pagination .page-numbers:hover:not(.current) {
  border-color: var(--primary);
  background: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH FORM
═══════════════════════════════════════════════════════════════════════════ */
.search-form { display: flex; align-items: center; }
.search-form .search-field {
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  width: 200px;
  color: var(--foreground);
  background: var(--background);
  transition: border-color .2s;
}
.search-form .search-field:focus { border-color: var(--primary); }
.search-form .search-submit {
  margin-left: 8px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.search-form .search-submit:hover { background: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════════════
   SCREEN READER & ACCESSIBILITY
═══════════════════════════════════════════════════════════════════════════ */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   v3 ADDITIONS — Dark mode, Search Overlay, Mais Dropdown, Lightbox,
   Video Modal, Toast, Page Templates, Share buttons, Forms
═══════════════════════════════════════════════════════════════════════════ */

/* ── Dark Mode tokens ──────────────────────────────────────────────────── */
[data-theme="dark"] {
  --background:  #0f172a;
  --foreground:  #f1f5f9;
  --surface:     #1e293b;
  --surface-alt: #334155;
  --border:      #334155;
  --muted-fg:    #94a3b8;
  --card-bg:     #1e293b;
}
[data-theme="dark"] #npb-header  { background: #0f172a; border-color: #1e293b; }
[data-theme="dark"] #npb-nav     { background: var(--surface); border-color: #1e293b; }
[data-theme="dark"] #npb-market  { background: var(--surface); border-color: #1e293b; }
[data-theme="dark"] .npb-card,
[data-theme="dark"] .npb-news-card { background: var(--card-bg); }
[data-theme="dark"] .npb-sidebar-sticky > * { background: var(--card-bg); }
[data-theme="dark"] .npb-legal-card,
[data-theme="dark"] .npb-exp-about-card { background: var(--card-bg); border-color: var(--border); }

/* ── Dark-mode icon toggle ─────────────────────────────────────────────── */
#npb-dark-toggle { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; border:1px solid var(--border); background:transparent; cursor:pointer; color:var(--foreground); transition:background .2s,border-color .2s; }
#npb-dark-toggle:hover { background:var(--surface); }

/* ── "Mais" Dropdown ───────────────────────────────────────────────────── */
.npb-nav-more-wrap { position:relative; }
.npb-nav-more {
  display:flex; align-items:center; gap:4px;
  padding:6px 12px; border-radius:6px; cursor:pointer;
  background:transparent; border:none;
  font-family:var(--font-sans); font-size:13px; font-weight:600;
  color:rgba(255,255,255,.9); text-transform:uppercase; letter-spacing:.06em;
  transition:background .15s;
}
.npb-nav-more:hover { background:rgba(255,255,255,.12); }
.npb-mais-dropdown {
  position:absolute; top:calc(100% + 8px); right:0;
  background:var(--background); border:1px solid var(--border);
  border-radius:10px; padding:8px; min-width:220px;
  box-shadow:0 12px 40px rgba(0,0,0,.18);
  z-index:1000; display:none;
}
.npb-mais-dropdown.is-open { display:block; animation:npbFadeDown .15s ease; }
@keyframes npbFadeDown { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.npb-mais-dropdown a {
  display:block; padding:8px 12px; border-radius:6px;
  font-family:var(--font-sans); font-size:13px; font-weight:500;
  color:var(--foreground); text-decoration:none;
  transition:background .15s;
}
.npb-mais-dropdown a:hover { background:var(--surface); }
.npb-mais-divider { height:1px; background:var(--border); margin:6px 0; }

/* ── Mobile extra nav items ────────────────────────────────────────────── */
.npb-mobile-extra { border-top:1px solid rgba(255,255,255,.12); margin-top:8px; padding-top:8px; list-style:none; }
.npb-mobile-extra li a { display:block; padding:10px 16px; color:rgba(255,255,255,.85); font-family:var(--font-sans); font-size:13px; font-weight:500; text-decoration:none; }
.npb-mobile-extra li a:hover { background:rgba(255,255,255,.1); border-radius:6px; }

/* ── Search Overlay ────────────────────────────────────────────────────── */
#npb-search-overlay {
  position:fixed; inset:0; z-index:9990;
  display:flex; align-items:flex-start; justify-content:center;
}
#npb-search-overlay[hidden] { display:none; }
.npb-search-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.65); backdrop-filter:blur(3px); }
.npb-search-panel {
  position:relative; width:100%; max-width:680px;
  margin:60px 16px 0;
  background:var(--background); border-radius:16px;
  box-shadow:0 24px 64px rgba(0,0,0,.32);
  z-index:1;
  animation:npbSearchIn .2s ease;
}
@keyframes npbSearchIn { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:translateY(0)} }
.npb-search-inner { padding:24px; }
.npb-search-bar {
  display:flex; align-items:center; gap:12px;
  border:1.5px solid var(--primary); border-radius:10px;
  padding:10px 16px; background:var(--surface);
}
.npb-search-bar svg { width:18px; height:18px; color:var(--muted-fg); flex-shrink:0; }
#npb-search-input {
  flex:1; background:transparent; border:none; outline:none;
  font-family:var(--font-sans); font-size:15px; color:var(--foreground);
}
#npb-search-input::placeholder { color:var(--muted-fg); }
#npb-search-close {
  width:28px; height:28px; border-radius:50%; background:var(--surface-alt);
  border:none; cursor:pointer; display:flex; align-items:center; justify-content:center;
  color:var(--foreground); flex-shrink:0;
}
#npb-search-results { margin-top:16px; max-height:360px; overflow-y:auto; }
.npb-search-hint { color:var(--muted-fg); font-size:13px; text-align:center; padding:16px 0; }
.npb-search-list { list-style:none; }
.npb-search-list li a {
  display:flex; align-items:center; gap:12px;
  padding:12px 8px; border-bottom:1px solid var(--border);
  text-decoration:none; color:var(--foreground);
  font-family:var(--font-sans); font-size:14px;
  transition:background .15s; border-radius:6px;
}
.npb-search-list li a:hover { background:var(--surface); }

/* ── Video Modal ───────────────────────────────────────────────────────── */
#npb-video-modal { position:fixed; inset:0; z-index:9980; display:flex; align-items:center; justify-content:center; }
#npb-video-modal[hidden] { display:none; }
.npb-video-modal-bg { position:absolute; inset:0; background:rgba(0,0,0,.85); }
.npb-video-modal-wrap { position:relative; width:90vw; max-width:900px; z-index:1; }
.npb-video-modal-close {
  position:absolute; top:-44px; right:0;
  background:rgba(255,255,255,.15); border:none; border-radius:50%;
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  color:#fff; cursor:pointer;
}
.npb-video-modal-content { border-radius:8px; overflow:hidden; background:#000; }

/* ── Lightbox ──────────────────────────────────────────────────────────── */
#npb-lightbox { position:fixed; inset:0; z-index:9970; display:flex; align-items:center; justify-content:center; }
#npb-lightbox[hidden] { display:none; }
.npb-lb-bg { position:absolute; inset:0; background:rgba(0,0,0,.92); }
.npb-lb-close {
  position:absolute; top:16px; right:16px; z-index:1;
  background:rgba(255,255,255,.15); border:none; border-radius:50%;
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  color:#fff; cursor:pointer; font-size:20px;
}
.npb-lb-prev, .npb-lb-next {
  position:absolute; top:50%; transform:translateY(-50%); z-index:1;
  background:rgba(255,255,255,.15); border:none; border-radius:50%;
  width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  color:#fff; cursor:pointer;
}
.npb-lb-prev { left:16px; }
.npb-lb-next { right:16px; }
.npb-lb-img-wrap { position:relative; z-index:1; text-align:center; max-width:90vw; max-height:80vh; }
#npb-lb-img { max-width:90vw; max-height:75vh; object-fit:contain; border-radius:8px; display:block; margin:0 auto; }
#npb-lb-caption { color:rgba(255,255,255,.8); font-family:var(--font-sans); font-size:13px; margin-top:8px; }
.npb-lb-counter { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); z-index:1; color:rgba(255,255,255,.6); font-family:var(--font-sans); font-size:12px; }

/* ── Toast ─────────────────────────────────────────────────────────────── */
#npb-toast {
  position:fixed; bottom:24px; right:24px; z-index:9999;
  padding:12px 20px; border-radius:8px;
  font-family:var(--font-sans); font-size:14px; font-weight:600;
  color:#fff; box-shadow:0 4px 20px rgba(0,0,0,.25);
  animation:npbToastIn .25s ease;
}
#npb-toast[hidden] { display:none; }
@keyframes npbToastIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.npb-toast-success { background:#16a34a; }
.npb-toast-error   { background:#dc2626; }

/* ── Share icons v3 (single.php) ─────────────────────────────────────── */
.npb-share-row { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:8px; }
.npb-share-label { font-family:var(--font-sans); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--muted-fg); }
.npb-share-icon {
  width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  text-decoration:none; border:none; cursor:pointer; transition:opacity .15s;
}
.npb-share-icon:hover { opacity:.8; }
.npb-share-icon svg { width:15px; height:15px; }
.npb-share-icon.wa { background:#25D366; color:#fff; }
.npb-share-icon.fb { background:#1877F2; color:#fff; }
.npb-share-icon.tw { background:#000; color:#fff; }
.npb-share-icon.tg { background:#0088CC; color:#fff; }
.npb-share-icon.li { background:#0A66C2; color:#fff; }
.npb-share-icon.th { background:#000; color:#fff; }
.npb-share-icon.lk { background:var(--surface); color:var(--foreground); border:1px solid var(--border); }

/* ── Page Banner ───────────────────────────────────────────────────────── */
.npb-page-banner {
  background:linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding:40px 0; margin-bottom:0;
}
.npb-page-banner-title { font-family:var(--font-display); font-size:clamp(28px,4vw,42px); font-weight:800; color:#fff; margin:0; }
.npb-page-banner-sub { font-family:var(--font-sans); font-size:15px; color:rgba(255,255,255,.85); margin-top:8px; }

/* ── Section header ────────────────────────────────────────────────────── */
.npb-section-hd { display:flex; align-items:center; gap:12px; margin-bottom:24px; }
.npb-section-hd-bar { width:4px; height:28px; border-radius:9999px; background:var(--primary); }
.npb-section-hd-bar.color-accent { background:var(--accent); }
.npb-section-hd-title { font-family:var(--font-display); font-size:20px; font-weight:800; color:var(--foreground); text-transform:uppercase; letter-spacing:.08em; }

/* ── General Forms ─────────────────────────────────────────────────────── */
.npb-form { display:flex; flex-direction:column; gap:16px; }
.npb-form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:640px) { .npb-form-row { grid-template-columns:1fr; } }
.npb-form-group { display:flex; flex-direction:column; gap:6px; }
.npb-form-group label { font-family:var(--font-sans); font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted-fg); }
.npb-form-group input,
.npb-form-group textarea,
.npb-form-group select,
.npb-select,
.npb-input {
  padding:10px 14px;
  background:var(--surface); border:1px solid var(--border); border-radius:8px;
  font-family:var(--font-sans); font-size:14px; color:var(--foreground);
  transition:border-color .2s;
}
.npb-form-group input:focus,
.npb-form-group textarea:focus,
.npb-form-group select:focus { outline:none; border-color:var(--primary); }
.npb-form-group textarea { resize:vertical; min-height:100px; }
.npb-form-msg { padding:10px 14px; border-radius:8px; font-family:var(--font-sans); font-size:13px; }
.npb-form-msg.success { background:#dcfce7; color:#166534; }
.npb-form-msg.error   { background:#fee2e2; color:#991b1b; }
[data-theme="dark"] .npb-form-msg.success { background:#14532d; color:#86efac; }
[data-theme="dark"] .npb-form-msg.error   { background:#7f1d1d; color:#fca5a5; }
.npb-btn-primary {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 28px; border-radius:9999px;
  background:var(--primary); color:#fff;
  font-family:var(--font-sans); font-size:14px; font-weight:700;
  border:none; cursor:pointer; text-decoration:none;
  transition:background .2s, transform .1s;
}
.npb-btn-primary:hover { background:var(--accent); transform:translateY(-1px); }
.npb-btn-primary:disabled { opacity:.6; cursor:not-allowed; transform:none; }

/* ── Contato page ──────────────────────────────────────────────────────── */
.npb-contato-wrap { display:grid; grid-template-columns:1fr 1fr; gap:48px; }
@media(max-width:768px) { .npb-contato-wrap { grid-template-columns:1fr; } }
.npb-contato-info h2,
.npb-contato-form-wrap h2 { font-family:var(--font-display); font-size:22px; font-weight:800; margin-bottom:20px; color:var(--foreground); }
.npb-contato-card { display:flex; flex-direction:column; gap:16px; }
.npb-contato-item { display:flex; align-items:flex-start; gap:14px; }
.npb-contato-icon { width:40px; height:40px; background:rgba(var(--primary-rgb,220,38,38),.1); border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--primary); }
.npb-contato-icon svg { width:20px; height:20px; }

/* ── Classificados page ────────────────────────────────────────────────── */
.npb-cl-filters { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom:28px; }
.npb-cl-filters .npb-select,
.npb-cl-filters .npb-input { flex:1; min-width:160px; }
.npb-cl-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; }
.npb-cl-card { background:var(--card-bg); border:1px solid var(--border); border-radius:12px; overflow:hidden; transition:transform .2s,box-shadow .2s; }
.npb-cl-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.12); }
.npb-cl-thumb { position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--surface); }
.npb-cl-thumb img { width:100%; height:100%; object-fit:cover; }
.npb-cl-badge { position:absolute; top:8px; left:8px; background:var(--primary); color:#fff; font-family:var(--font-sans); font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:3px 8px; border-radius:9999px; }
.npb-cl-body { padding:16px; }
.npb-cl-title { font-family:var(--font-display); font-size:15px; font-weight:700; color:var(--foreground); margin-bottom:6px; }
.npb-cl-title a { color:inherit; text-decoration:none; }
.npb-cl-excerpt { font-size:12px; color:var(--muted-fg); margin-bottom:10px; }
.npb-cl-price { font-family:var(--font-sans); font-size:16px; font-weight:800; color:var(--primary); margin-bottom:10px; }
.npb-cl-footer { display:flex; align-items:center; justify-content:space-between; }
.npb-cl-date { font-size:11px; color:var(--muted-fg); }
.npb-cl-contact { font-size:12px; font-weight:600; color:var(--primary); text-decoration:none; border:1px solid var(--primary); border-radius:9999px; padding:4px 10px; }

/* ── Eventos page ──────────────────────────────────────────────────────── */
.npb-ev-tabs { display:flex; gap:8px; margin-bottom:28px; }
.npb-ev-tab { padding:8px 20px; border-radius:9999px; border:1px solid var(--border); background:transparent; font-family:var(--font-sans); font-size:13px; font-weight:600; color:var(--muted-fg); cursor:pointer; transition:all .15s; }
.npb-ev-tab.active { background:var(--primary); color:#fff; border-color:var(--primary); }
.npb-ev-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; }
.npb-ev-card { background:var(--card-bg); border:1px solid var(--border); border-radius:12px; overflow:hidden; display:flex; flex-direction:column; transition:transform .2s,box-shadow .2s; }
.npb-ev-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.12); }
.npb-ev-thumb { aspect-ratio:16/9; overflow:hidden; }
.npb-ev-thumb img { width:100%; height:100%; object-fit:cover; }
.npb-ev-body { padding:16px; display:flex; gap:12px; }
.npb-ev-date-badge { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:48px; background:var(--primary); color:#fff; border-radius:8px; padding:8px 4px; }
.npb-ev-day { font-family:var(--font-display); font-size:22px; font-weight:800; line-height:1; }
.npb-ev-mon { font-family:var(--font-sans); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; }
.npb-ev-content { flex:1; }
.npb-ev-title { font-family:var(--font-display); font-size:15px; font-weight:700; color:var(--foreground); margin-bottom:6px; }
.npb-ev-title a { color:inherit; text-decoration:none; }
.npb-ev-meta { display:flex; align-items:center; gap:4px; font-size:12px; color:var(--muted-fg); margin-bottom:4px; }
.npb-ev-excerpt { font-size:12px; color:var(--muted-fg); }
.npb-ev-card.past { opacity:.75; }

/* ── Galeria page ──────────────────────────────────────────────────────── */
.npb-gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.npb-gallery-item { position:relative; border-radius:8px; overflow:hidden; }
.npb-gallery-overlay { position:absolute; inset:0; background:rgba(0,0,0,0); display:flex; align-items:center; justify-content:center; transition:background .2s; }
.npb-gallery-item:hover .npb-gallery-overlay { background:rgba(0,0,0,.55); }
.npb-gallery-overlay-inner { opacity:0; display:flex; flex-direction:column; align-items:center; gap:8px; color:#fff; text-align:center; padding:8px; transition:opacity .2s; }
.npb-gallery-item:hover .npb-gallery-overlay-inner { opacity:1; }
.npb-gallery-title { font-family:var(--font-sans); font-size:12px; font-weight:600; }

/* ── Vídeos page ───────────────────────────────────────────────────────── */
.npb-vid-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.npb-vid-card { background:var(--card-bg); border:1px solid var(--border); border-radius:12px; overflow:hidden; transition:transform .2s,box-shadow .2s; }
.npb-vid-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.15); }
.npb-vid-thumb { position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--surface); }
.npb-vid-play-btn { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .2s; }
.npb-vid-card:hover .npb-vid-play-btn { opacity:1; }
.npb-vid-date { position:absolute; bottom:6px; right:8px; background:rgba(0,0,0,.65); color:#fff; font-size:10px; font-family:var(--font-sans); padding:2px 6px; border-radius:4px; }
.npb-vid-info { padding:14px; }
.npb-vid-title { font-family:var(--font-display); font-size:14px; font-weight:700; color:var(--foreground); margin-bottom:4px; }
.npb-vid-channel { font-size:11px; color:var(--muted-fg); font-family:var(--font-sans); font-weight:600; text-transform:uppercase; letter-spacing:.06em; }
.npb-vid-tab { padding:7px 18px; border-radius:9999px; border:1px solid var(--border); background:transparent; font-family:var(--font-sans); font-size:12px; font-weight:600; color:var(--muted-fg); cursor:pointer; transition:all .15s; }
.npb-vid-tab.active { background:var(--primary); color:#fff; border-color:var(--primary); }

/* ── Publicidade page ──────────────────────────────────────────────────── */
.npb-pub-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media(max-width:640px) { .npb-pub-stats { grid-template-columns:repeat(2,1fr); } }
.npb-pub-stat { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:20px; text-align:center; }
.npb-pub-stat-val { font-family:var(--font-display); font-size:28px; font-weight:900; color:var(--primary); }
.npb-pub-stat-label { font-family:var(--font-sans); font-size:12px; font-weight:600; color:var(--muted-fg); text-transform:uppercase; letter-spacing:.08em; margin-top:4px; }
.npb-pub-formats { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; }
.npb-pub-format-card { background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:16px; transition:border-color .2s; }
.npb-pub-format-card:hover { border-color:var(--primary); }
.npb-pub-format-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.npb-pub-format-name { font-family:var(--font-sans); font-size:14px; font-weight:700; color:var(--foreground); }
.npb-pub-format-size { font-size:11px; font-family:var(--font-sans); color:var(--primary); background:rgba(var(--primary-rgb,220,38,38),.08); padding:2px 8px; border-radius:9999px; font-weight:600; }
.npb-pub-format-desc { font-size:12px; color:var(--muted-fg); }
.npb-pub-form-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:28px; max-width:680px; }

/* ── Empty state ───────────────────────────────────────────────────────── */
.npb-empty-state { text-align:center; padding:64px 24px; }
.npb-empty-icon { font-size:64px; margin-bottom:16px; }
.npb-empty-state h2 { font-family:var(--font-display); font-size:22px; font-weight:800; color:var(--foreground); margin-bottom:8px; }
.npb-empty-state p { color:var(--muted-fg); font-size:15px; }
.npb-empty-state a { color:var(--primary); font-weight:700; }

/* ── Article share bottom bar ───────────────────────────────────────────── */
.npb-article-share-bottom {
  display:flex; align-items:center; flex-wrap:wrap; gap:12px;
  margin-top:32px; padding-top:20px;
  border-top:2px solid var(--border);
}
.npb-share-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 16px; border-radius:9999px; border:none; cursor:pointer;
  font-family:var(--font-sans); font-size:13px; font-weight:600; color:#fff;
  text-decoration:none; transition:opacity .15s;
}
.npb-share-btn:hover { opacity:.85; }
.npb-share-btn.wa { background:#25D366; }
.npb-share-btn.fb { background:#1877F2; }


/* ─────────────────────────────────────────────────────────────────────────
   BREADCRUMBS
───────────────────────────────────────────────────────────────────────── */
.npb-breadcrumbs { padding:12px 0 0; }
.npb-bc-list { display:flex; align-items:center; flex-wrap:wrap; gap:4px; list-style:none; }
.npb-bc-item { display:flex; align-items:center; gap:4px; font-family:var(--font-sans); font-size:12px; color:var(--muted-fg); }
.npb-bc-item a { color:var(--muted-fg); text-decoration:none; transition:color .15s; }
.npb-bc-item a:hover { color:var(--primary); }
.npb-bc-current { color:var(--foreground); font-weight:600; }
.npb-bc-sep { color:var(--border); font-size:14px; }

/* ─────────────────────────────────────────────────────────────────────────
   ARCHIVE / SEARCH / PAGE LAYOUT
───────────────────────────────────────────────────────────────────────── */
.npb-archive-wrap { display:grid; grid-template-columns:1fr 320px; gap:32px; padding:24px 0 48px; }
@media(max-width:1024px) { .npb-archive-wrap { grid-template-columns:1fr; } }
.npb-archive-content { min-width:0; }
.npb-archive-banner { display:flex; align-items:center; gap:16px; padding:24px 0 16px; border-bottom:1px solid var(--border); margin-bottom:24px; }
.npb-archive-banner-bar { width:5px; height:42px; border-radius:9999px; background:var(--primary); flex-shrink:0; }
.npb-archive-banner-bar.color-accent { background:var(--accent); }
.npb-archive-title { font-family:var(--font-display); font-size:clamp(22px,3vw,32px); font-weight:800; color:var(--foreground); }
.npb-archive-title em { font-style:normal; color:var(--primary); }
.npb-archive-desc { font-family:var(--font-sans); font-size:14px; color:var(--muted-fg); margin-top:4px; }
.npb-archive-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; margin-top:20px; }

/* Sidebar sticky */
.npb-sidebar .npb-sidebar-sticky { position:sticky; top:16px; display:flex; flex-direction:column; gap:20px; }

/* Page article */
.npb-page-article { }
.npb-page-header { margin-bottom:24px; }
.npb-page-title { font-family:var(--font-display); font-size:clamp(26px,3vw,38px); font-weight:800; color:var(--foreground); margin-bottom:16px; }
.npb-page-thumb { border-radius:12px; overflow:hidden; margin-bottom:24px; }
.npb-page-thumb img { width:100%; height:auto; display:block; }
.npb-page-links { display:flex; gap:8px; flex-wrap:wrap; margin-top:24px; padding-top:16px; border-top:1px solid var(--border); font-family:var(--font-sans); font-size:13px; }
.npb-page-links a { color:var(--primary); font-weight:700; }

/* Pagination */
.npb-pagination { margin-top:32px; padding-top:20px; border-top:1px solid var(--border); }
.npb-pagination .nav-links { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.npb-pagination .page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:36px; height:36px; padding:0 10px;
  border:1px solid var(--border); border-radius:6px;
  font-family:var(--font-sans); font-size:13px; font-weight:600;
  color:var(--foreground); text-decoration:none;
  transition:background .15s,border-color .15s;
}
.npb-pagination .page-numbers:hover { background:var(--surface); }
.npb-pagination .page-numbers.current { background:var(--primary); border-color:var(--primary); color:#fff; }


/* ─────────────────────────────────────────────────────────────────────────
   ZONAS DE PUBLICIDADE — administráveis via Widgets
───────────────────────────────────────────────────────────────────────── */
.npb-pub-zone { width:100%; }
.npb-pub-zone:empty { display:none; }

/* Garante que o widget em si não quebre o layout */
.npb-pub-widget { display:block; max-width:100%; overflow:hidden; }
.npb-pub-widget > * { max-width:100%; }

/* Wrapper leaderboard reutilizável */
.npb-pub-zone.leaderboard {
  display:flex; justify-content:center; align-items:center;
  padding:8px 0; min-height:0;
}

/* Mobile-only e desktop-only */
.npb-pub-mobile-only { display:none; }
@media (max-width:768px) {
  .npb-pub-mobile-only  { display:block; }
  .npb-pub-desktop-only { display:none; }
}

/* Espaçamento padrão entre zona e conteúdo */
.npb-pub-zone + *,
* + .npb-pub-zone { margin-top:0; }

/* Topo principal */
#npb-pub-topo-principal { width:100%; display:flex; justify-content:center; padding:6px 0; }

/* Zona abaixo do menu */
#npb-pub-menu { width:100%; display:flex; justify-content:center; padding:4px 0; background:var(--surface); border-bottom:1px solid var(--border); }

/* Rodapé */
#npb-pub-rodape-acima  { width:100%; display:flex; justify-content:center; padding:12px 0; }
#npb-pub-rodape-dentro { margin-top:12px; padding-top:12px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:center; }
#npb-pub-rodape-abaixo { width:100%; display:flex; justify-content:center; padding:8px 0; background:var(--background); }

/* Classificados – detalhe do anúncio */
.npb-classified-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:32px;align-items:start;background:var(--card-bg);border:1px solid var(--border);border-radius:14px;padding:24px}
.npb-classified-image{position:relative;border-radius:12px;overflow:hidden;background:var(--surface)}
.npb-classified-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}
.npb-classified-sold{position:absolute;inset:auto 16px 16px 16px;background:#b42318;color:#fff;text-align:center;font-weight:800;padding:10px 14px;border-radius:8px}
.npb-classified-info h1{font-family:var(--font-display);font-size:clamp(26px,4vw,42px);line-height:1.1;margin:0 0 14px;color:var(--foreground)}
.npb-classified-main-price{font-size:28px;font-weight:800;color:var(--primary);margin-bottom:12px}
.npb-classified-location{color:var(--muted-fg);margin-bottom:20px}
.npb-classified-content{font-size:16px;line-height:1.75;color:var(--foreground)}
.npb-classified-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.npb-classified-phone{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--primary);border-radius:8px;padding:11px 18px;text-decoration:none;font-weight:700;color:var(--primary)}
.npb-classified-ended{margin-top:24px;padding:14px;background:#fef3f2;border:1px solid #fecdca;color:#b42318;border-radius:8px;font-weight:700}
@media(max-width:800px){.npb-classified-detail{grid-template-columns:1fr;padding:16px;gap:22px}}

/* Módulos editoriais v2 */
.npb-module-single{padding-top:36px;padding-bottom:64px}.npb-module-article{max-width:980px;margin:auto}.npb-module-article h1{font-size:clamp(30px,5vw,48px);line-height:1.1;margin:14px 0 24px}.npb-module-cover{width:100%;max-height:560px;object-fit:cover;border-radius:12px;margin-bottom:24px}.npb-breadcrumb{font-size:14px;color:var(--muted-fg)}.npb-event-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.npb-event-detail-grid>div{background:var(--muted);padding:16px;border-radius:8px}.npb-event-detail-grid strong,.npb-event-detail-grid span{display:block}.npb-event-detail-grid span{margin-top:5px}.npb-module-content{font-size:18px;line-height:1.75}.npb-module-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.npb-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}.npb-album-photo img{width:100%;height:260px;object-fit:cover;border-radius:8px;display:block}.npb-poll{padding:22px;border:1px solid var(--border);border-radius:12px;background:var(--card)}.npb-poll h3{margin-top:0}.npb-poll-option{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--border)}.npb-poll-msg{margin:10px 0 0}.npb-columnists-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.npb-columnist-card{text-align:center;border:1px solid var(--border);border-radius:12px;padding:26px;background:var(--card)}.npb-columnist-card img{border-radius:50%}.npb-columnist-card h2{font-size:21px;margin:14px 0 4px}.npb-columnist-role{font-weight:700;color:var(--primary)}
@media(max-width:800px){.npb-event-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.npb-album-grid,.npb-columnists-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.npb-event-detail-grid,.npb-album-grid,.npb-columnists-grid{grid-template-columns:1fr}.npb-album-photo img{height:240px}}
