/**
 * De Olho no Fato - Main Portal Stylesheet
 * High-performance, SEO-optimized, Editorial Design
 * Inspired by the Modern Editorial Nossa FM Layout
 */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=Montserrat:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #10224d;
  --primary-hover: #0a1632;
  --primary-light: #edf2f9;
  --navy: #10224d;
  --navy-deep: #0a1632;
  --navy-light: #162c64;
  --navy-card: #081126;
  --dark-text: #0a1632;
  --muted: #64748b;
  --light-muted: #94a3b8;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  --accent-gold: #f7c200;
  --accent-gold-hover: #e0ae00;
  --accent-amber: #eab308;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
  --font-serif: "Merriweather", Georgia, Cambria, serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(16,34,77,0.08), 0 4px 10px -4px rgba(16,34,77,0.04);
  --shadow-hover: 0 16px 32px -4px rgba(16,34,77,0.12), 0 6px 12px -6px rgba(16,34,77,0.06);
  --shadow-portal: 0 10px 30px -4px rgba(16,34,77,0.15);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
}

/* ==========================================================================
   DARK MODE OVERRIDES
   ========================================================================== */
html.dark {
  --bg: #070e20;
  --surface: #0a1632;
  --surface-alt: #10224d;
  --navy-card: #050a16;
  --border: #162c64;
  --border-light: #10224d;
  --dark-text: #f8fafc;
  --muted: #94a3b8;
  --light-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6);
  --shadow-hover: 0 16px 36px rgba(0,0,0,0.7);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--dark-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Logo Switcher for Light and Dark */
.logo-dark { display: none; }
.logo-light { display: block; }
html.dark .logo-light { display: none; }
html.dark .logo-dark { display: block; }

/* ==========================================================================
   1. TOP BAR & INDICATORS
   ========================================================================== */
.top-bar {
  background: #090d16;
  color: #94a3b8;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.45rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-date {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: #cbd5e1;
}
.top-weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.18rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}
.weather-temp {
  color: var(--accent-gold);
  font-weight: 800;
}
.weather-city {
  color: #cbd5e1;
}
.top-indicators {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.indicator-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
}
.indicator-item strong { color: #ffffff; }
.indicator-item.up { color: #4ade80; }
.indicator-item.down { color: #f87171; }
.indicator-item.neutral { color: #e2e8f0; }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}
.top-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-emerald-dark);
  color: #ffffff;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(16,185,129,0.3);
  transition: all 0.2s ease;
}
.top-whatsapp-btn:hover {
  background: #10b981;
  transform: translateY(-1px);
}
.top-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.top-socials a {
  color: #94a3b8;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}
.top-socials a:hover {
  color: var(--accent-gold);
}
.top-theme-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e2e8f0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.top-theme-toggle:hover {
  background: rgba(255,255,255,0.18);
  color: var(--accent-gold);
}
.icon-sun { display: none; }
.icon-moon { display: block; }
html.dark .icon-moon { display: none; }
html.dark .icon-sun { display: block; color: var(--accent-gold); }

/* ==========================================================================
   2. HEADER & MINI AUDIO PLAYER AO VIVO
   ========================================================================== */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
}
.logo-wrapper {
  position: relative;
  display: inline-block;
}
.logo-wrapper img {
  height: 82px;
  width: auto;
  transition: transform 0.2s ease;
}
.brand-logo:hover .logo-wrapper img {
  transform: scale(1.02);
}
.live-pulse-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--accent-gold);
  color: #0a1632;
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(247, 194, 0, 0.7);
  animation: pulseLive 1.5s infinite;
}
@keyframes pulseLive {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(247, 194, 0, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(247, 194, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(247, 194, 0, 0); }
}
.brand-tagline {
  border-left: 2px solid var(--accent-gold);
  padding-left: 0.75rem;
  display: flex;
  flex-direction: column;
}
.tagline-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9375rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
html.dark .tagline-title { color: #ffffff; }
.tagline-sub {
  font-size: 0.6875rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Search Input */
.header-search {
  max-width: 360px;
  width: 100%;
}
.search-form {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  font-size: 0.8125rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border);
  border-radius: 9999px;
  background: var(--surface-alt);
  color: var(--dark-text);
  outline: none;
  transition: all 0.25s ease;
}
.search-input:focus {
  border-color: var(--accent-gold);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}
.search-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--muted);
  pointer-events: none;
}

/* ==========================================================================
   3. MAIN STICKY NAVIGATION BAR
   ========================================================================== */
.main-nav {
  background: var(--navy-deep);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(10, 22, 50, 0.35);
  border-bottom: 1px solid var(--navy-light);
  overflow: visible;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  height: 44px;
  overflow: visible;
}
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
  overflow: visible;
}
.nav-item a {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #cbd5e1;
  white-space: nowrap;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.nav-item a:hover {
  color: #f7c200;
  background: rgba(247, 194, 0, 0.12);
}
.nav-item.active a,
.nav-dropdown.active > .nav-dropdown-toggle {
  color: #f7c200 !important;
  background: rgba(247, 194, 0, 0.22) !important;
  font-weight: 800 !important;
  box-shadow: inset 0 -3px 0 0 #f7c200;
  border-radius: 6px 6px 2px 2px;
}
.nav-dropdown-menu a.active {
  color: #f7c200 !important;
  background: rgba(247, 194, 0, 0.18) !important;
  font-weight: 800 !important;
  border-left: 3px solid #f7c200;
}
.nav-badge-pulse {
  background: var(--accent-gold);
  color: #0a1632;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.3px;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  user-select: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block !important;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: #0a1632;
  border: 1px solid rgba(247, 194, 0, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
  padding: 0.6rem 0;
  min-width: 240px;
  display: none;
  z-index: 1000;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(247, 194, 0, 0.12);
  color: #f7c200;
  padding-left: 1.35rem;
}
.cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-item-legal {
  margin-left: auto;
}
.nav-item-legal a {
  background: rgba(247, 194, 0, 0.12);
  color: #f7c200 !important;
  border: 1px solid rgba(247, 194, 0, 0.35);
  white-space: nowrap;
}
.nav-item-legal a:hover {
  background: var(--accent-gold) !important;
  color: #0a1632 !important;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   4. TÓPICOS EM ALTA (#EMALTA)
   ========================================================================== */
.hot-topics-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 0;
  transition: background-color 0.25s ease;
}
.hot-topics-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.hot-topics-wrap::-webkit-scrollbar { display: none; }
.hot-topics-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
html.dark .hot-topics-label {
  color: var(--accent-gold);
}
.hot-topics-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.topic-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-alt);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.topic-pill:hover {
  background: rgba(247, 194, 0, 0.15);
  color: #b45309;
  border-color: rgba(247, 194, 0, 0.4);
}
html.dark .topic-pill:hover {
  color: var(--accent-gold);
}
.topic-pill.highlight {
  background: rgba(247, 194, 0, 0.12);
  border-color: rgba(247, 194, 0, 0.35);
  color: #b45309;
  font-weight: 800;
}
html.dark .topic-pill.highlight {
  color: var(--accent-gold);
}

/* ==========================================================================
   5. PLANTÃO 24H (BREAKING NEWS TICKER CONTÍNUO)
   ========================================================================== */
.breaking-ticker-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.35rem 0;
  overflow: hidden;
  transition: background-color 0.25s ease;
}
.ticker-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy-deep);
  color: #ffffff;
  border-left: 3px solid var(--accent-gold);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(10, 22, 50, 0.35);
}
.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulseLive 1.2s infinite;
}
.ticker-marquee-viewport {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.ticker-marquee-track {
  display: inline-flex;
  align-items: center;
  animation: tickerMarquee 45s linear infinite;
}
.ticker-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes tickerMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.ticker-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark-text);
  transition: color 0.15s ease;
}
.ticker-item-link:hover {
  color: var(--primary);
  text-decoration: underline;
}
.ticker-bullet {
  color: var(--accent-gold);
  font-weight: 900;
}

/* ==========================================================================
   6. TRIPLE EDITORIAL HERO (12-COL GRID ESTILO NOSSA FM)
   ========================================================================== */
.editorial-hero-section {
  padding: 1.25rem 0;
}
.hero-12col-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  height: 410px;
}
.lg-col-7 {
  grid-column: span 7;
}
.lg-col-5 {
  grid-column: span 5;
}

/* Super Lead Card (7 Cols) */
.hero-super-lead {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a1632;
  box-shadow: var(--shadow-portal);
  height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.lead-link-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  position: relative;
}
.lead-image-box {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.lead-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-super-lead:hover .lead-featured-img {
  transform: scale(1.04);
}
.lead-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 50, 0.98) 0%, rgba(10, 22, 50, 0.82) 42%, rgba(10, 22, 50, 0.25) 70%, transparent 100%);
}
.lead-caption {
  position: relative;
  z-index: 10;
  padding: 1.25rem 1.4rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #ffffff;
}
.lead-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.lead-badge-location {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.lead-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #cbd5e1;
  font-size: 0.72rem;
}
.lead-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  transition: color 0.2s ease;
  margin: 0.1rem 0;
}
.hero-super-lead:hover .lead-title {
  color: var(--accent-gold);
}
.lead-subtitle {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #e2e8f0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.lead-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 0.55rem;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: #cbd5e1;
}
.author-meta-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.author-meta-wrap strong { color: var(--accent-gold); }
.lead-cta-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  color: #ffffff;
  transition: transform 0.2s ease, color 0.2s ease;
}
.hero-super-lead:hover .lead-cta-text {
  transform: translateX(4px);
  color: var(--accent-gold);
}

/* Secondary Column (5 cols - 2 Cards) */
.hero-secondary-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 410px;
}
.secondary-hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 197px;
  display: flex;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.secondary-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}
.sec-card-inner {
  display: flex;
  width: 100%;
  height: 100%;
}
.sec-thumb-box {
  width: 44%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0f172a;
  flex-shrink: 0;
}
.sec-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.secondary-hero-card:hover .sec-thumb-box img {
  transform: scale(1.06);
}
.sec-category-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.sec-body {
  width: 56%;
  padding: 0.95rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.sec-meta {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sec-title {
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--dark-text);
  margin: 0.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}
html.dark .sec-title { color: #ffffff; }
.secondary-hero-card:hover .sec-title {
  color: var(--accent-gold);
}
.sec-read-more {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.15s ease, color 0.15s ease;
}
html.dark .sec-read-more { color: var(--accent-gold); }
.secondary-hero-card:hover .sec-read-more {
  color: var(--accent-gold);
  transform: translateX(3px);
}

/* 4 Quick Cards Grid */
.hero-quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.quick-news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.quick-news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.quick-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quick-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}
.quick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.quick-news-card:hover .quick-thumb img {
  transform: scale(1.05);
}
.quick-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.quick-cat {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.quick-title {
  font-size: 0.825rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}
.quick-news-card:hover .quick-title {
  color: var(--primary);
}
.quick-time {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-top: auto;
}

/* ==========================================================================
   7. MAIN TWO-COLUMN LAYOUT & RICH SECTIONS
   ========================================================================== */
.main-content-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 2rem;
  padding-bottom: 3rem;
  align-items: start;
}
.content-left-column {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Generic Section Block Styling */
.portal-section-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.section-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.block-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.section-icon {
  font-size: 1.4rem;
}
.block-header-title h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--dark-text);
  line-height: 1.2;
}
.block-header-title p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Cidades Tabs */
.city-filter-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.city-tab-btn {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.city-tab-btn:hover,
.city-tab-btn.active {
  background: var(--navy);
  color: var(--accent-gold);
  border-color: var(--navy);
}
.city-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.city-news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: all 0.2s ease;
}
.city-news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.city-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}
.city-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.city-news-card:hover .city-thumb-wrap img {
  transform: scale(1.05);
}
.city-pill-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.city-card-body {
  padding: 0.95rem;
}
.city-card-cat {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}
.city-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-text);
  margin: 0.35rem 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.city-card-date {
  font-size: 0.6875rem;
  color: var(--muted);
}

/* Segurança & Trânsito */
.header-red-accent {
  border-bottom: 2px solid var(--accent-gold);
}
.btn-police-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}
html.dark .btn-police-alert {
  color: var(--accent-gold);
}
.btn-police-alert:hover {
  text-decoration: underline;
  transform: translateX(2px);
}
.traffic-status-strip {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.traffic-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  cursor: pointer;
}
.traffic-item:hover {
  text-decoration: none;
  filter: brightness(0.97);
  transform: translateX(3px);
}
.traffic-item .traffic-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.traffic-arrow {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.traffic-item:hover .traffic-arrow {
  opacity: 1;
  transform: translateX(2px);
}
.alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
html.dark .alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fef3c7;
}
.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
html.dark .alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
  color: #dbeafe;
}
.traffic-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.police-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.police-news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: all 0.2s ease;
}
.police-news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.police-thumb-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}
.police-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.police-tag-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--navy-deep);
  border-left: 2px solid var(--accent-gold);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 900;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.police-content {
  padding: 0.95rem;
}
.police-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-text);
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.police-meta {
  font-size: 0.6875rem;
  color: var(--muted);
}



/* Publicações Legais Spotlight */
.legal-spotlight-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.legal-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.legal-title-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--dark-text);
}
.legal-title-wrap p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.btn-legal-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.btn-legal-all:hover {
  background: var(--navy);
  color: #ffffff;
}
html.dark .btn-legal-all {
  color: #ffffff;
}
.legal-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.legal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.legal-card:hover {
  border-color: #94a3b8;
  box-shadow: var(--shadow-md);
}
.legal-type-tag {
  background: var(--navy);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.legal-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-text);
  margin: 0.45rem 0 0.35rem;
}
.legal-entity {
  font-size: 0.72rem;
  color: var(--muted);
}
.legal-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  color: var(--muted);
}

/* Categorias Grid */
.category-block-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}
.heading-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
}
.heading-more {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.heading-more:hover { color: var(--primary); }
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cat-news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.cat-news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-news-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}
.cat-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-news-card:hover .cat-news-thumb img { transform: scale(1.05); }
.cat-news-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-news-title {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-news-title:hover { color: var(--primary); }

/* ==========================================================================
   8. SIDEBAR RICA & WIDGETS
   ========================================================================== */
.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.box-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.65rem;
  margin-bottom: 1rem;
}
.box-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 900;
  color: var(--dark-text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* WhatsApp Card */
.sidebar-whatsapp-card {
  background: linear-gradient(135deg, #059669 0%, #047857 50%, #064e3b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.whatsapp-card-badge {
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 900;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  align-self: flex-start;
  letter-spacing: 0.4px;
}
.whatsapp-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}
.whatsapp-card-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #d1fae5;
}
.btn-whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #065f46;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  margin-top: 0.35rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.btn-whatsapp-cta:hover {
  background: #f0fdf4;
  transform: translateY(-1px);
}

/* Mais Lidas List (#1 a #5) */
.trending-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.rank-number {
  font-family: var(--font-display);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--navy);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8125rem;
  flex-shrink: 0;
}
.rank-1 { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.rank-2 { background: #f1f5f9; color: #334155; }
.rank-3 { background: #ffedd5; color: #c2410c; }
.trending-content {
  flex: 1;
}
.trending-category {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
}
.trending-content h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.15rem 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-content h4 a:hover {
  color: var(--primary);
}

/* Schedule List */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.schedule-item {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
}
.schedule-item.on-air {
  border-left: 3px solid var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
}
.schedule-time-badge {
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
}
.schedule-time-badge.next {
  color: var(--muted);
}
.schedule-item h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0.15rem 0;
}
.schedule-item p {
  font-size: 0.6875rem;
  color: var(--muted);
}

/* Legal Callout & Newsletter */
.legal-box-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 900;
  color: var(--dark-text);
  margin-bottom: 0.45rem;
}
.legal-box-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}
.btn-subscribe {
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-subscribe:hover {
  background: var(--primary);
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 900;
  color: var(--dark-text);
  margin-bottom: 0.35rem;
}
.newsletter-sub {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.sidebar-newsletter-form .newsletter-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-size: 0.8125rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--dark-text);
  outline: none;
}

/* ==========================================================================
   9. FLOATING WHATSAPP BUTTON (CANAL DIRETO REDAÇÃO)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}
.floating-whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   10. MODAL LEITOR RÁPIDO DE NOTÍCIAS
   ========================================================================== */
.article-reader-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}
.modal-container {
  position: relative;
  z-index: 10;
  background: var(--surface);
  color: var(--dark-text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
}
.modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
}
.modal-meta {
  font-size: 0.75rem;
  color: var(--muted);
}
.modal-featured-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}
.modal-text-content {
  font-size: 0.9375rem;
  line-height: 1.6;
}
.modal-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}
.btn-read-full {
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
}

/* ==========================================================================
   11. SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #070e20;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--accent-gold);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-logo img {
  height: 56px;
  width: auto;
}
.footer-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #94a3b8;
}
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.social-icon-btn:hover {
  background: var(--accent-gold);
  color: #0f172a;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  list-style: none;
}
.footer-categories-grid a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #94a3b8;
}
.footer-categories-grid a:hover {
  color: #ffffff;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.75rem;
  color: #94a3b8;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-contact-info {
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.footer-cert-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  background: #0f172a;
  border: 1px solid #1e293b;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #94a3b8;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   12. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-12col-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hero-super-lead {
    height: 360px;
  }
  .hero-secondary-column {
    height: auto;
  }
  .secondary-hero-card {
    height: 180px;
  }
  .lg-col-7,
  .lg-col-5 {
    grid-column: span 1;
  }
  .hero-quick-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-content-layout {
    grid-template-columns: 1fr;
  }
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .top-bar-left .top-indicators,
  .top-date {
    display: none;
  }
  .header-search {
    display: none;
  }
  .hero-super-lead {
    height: 340px;
    min-height: 320px;
  }
  .lead-title {
    font-size: 1.25rem;
  }
  .secondary-hero-card {
    height: auto;
  }
  .sec-card-inner {
    flex-direction: column;
  }
  .sec-thumb-box {
    width: 100%;
    height: 180px;
  }
  .sec-body {
    width: 100%;
  }
  .hero-quick-cards-grid {
    grid-template-columns: 1fr;
  }
  .city-cards-grid,
  .police-cards-grid,
  .legal-cards-grid,
  .category-cards-grid {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-inner {
    position: relative;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    border-bottom: 2px solid var(--accent-gold);
    padding: 1rem;
    gap: 0.25rem;
    z-index: 100;
  }
  .nav-menu.open {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   MODERN CATEGORY ARCHIVE PAGE
   ========================================================================== */
.category-header-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0 1.25rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.bc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.15s ease;
}
.bc-link:hover { color: var(--navy); }
html.dark .bc-link:hover { color: #ffffff; }
.bc-sep { color: var(--light-muted); font-size: 0.75rem; }
.bc-parent { font-weight: 500; }
.bc-current { font-weight: 800; color: var(--navy); }
html.dark .bc-current { color: #ffffff; }

.category-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.category-hero-text {
  flex: 1;
  min-width: 280px;
}
.category-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface-alt);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
html.dark .category-pill-tag { color: #ffffff; }
.category-pill-tag .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cat-accent, var(--navy));
}
.category-hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.5rem;
}
html.dark .category-hero-title { color: #ffffff; }
.category-hero-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 760px;
  margin: 0;
}

.category-hero-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stat-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
html.dark .stat-number { color: #ffffff; }
.stat-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 3px;
}
.live-badge-box {
  flex-direction: row;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}
.stat-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLive 1.5s infinite;
}
.stat-label-live {
  font-size: 0.75rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.3px;
}

/* Quick Editorial Category Pills Bar */
.category-quick-pills-bar {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.quick-pills-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.quick-pills-scroll {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cat-pill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--dark-text);
  transition: all 0.15s ease;
}
html.dark .cat-pill-chip { color: #e2e8f0; }
.cat-pill-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.cat-pill-chip:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
}
html.dark .cat-pill-chip:hover {
  border-color: #ffffff;
  color: #ffffff;
}
.cat-pill-chip.active {
  background: var(--navy);
  color: #ffffff !important;
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(16, 34, 77, 0.25);
}

/* Layout 2 Colunas */
.category-layout-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.25rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.category-left-col {
  min-width: 0;
}
.category-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Super Destaque da Editoria */
.cat-super-lead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}
.cat-super-lead-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-gold);
}
.lead-link-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}
.lead-image-box {
  position: relative;
  overflow: hidden;
  background: #0a1632;
  min-height: 320px;
}
.lead-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-super-lead-card:hover .lead-image-box img {
  transform: scale(1.04);
}
.lead-flag-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 900;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.lead-content-box {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lead-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.lead-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.lead-post-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 0.85rem;
}
html.dark .lead-post-title { color: #ffffff; }
.lead-post-subtitle {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.lead-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.author-block {
  font-size: 0.8125rem;
  color: var(--muted);
}
.author-label { margin-right: 3px; }
.author-name { color: var(--navy); }
html.dark .author-name { color: #ffffff; }
.read-full-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--navy);
  transition: transform 0.15s ease, color 0.15s ease;
}
html.dark .read-full-cta { color: var(--accent-gold); }
.cat-super-lead-card:hover .read-full-cta {
  color: var(--accent-gold);
  transform: translateX(4px);
}

/* Grade Moderna de Notícias */
.cat-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.cat-article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}
.cat-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}
.card-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
  background: #0a1632;
}
.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat-article-card:hover .card-thumb-wrap img {
  transform: scale(1.05);
}
.card-date-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(10, 22, 50, 0.82);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.card-body-wrap {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-category-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.card-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.card-cat-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.card-reading-time {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.6875rem;
}
.card-post-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  color: var(--navy);
}
html.dark .card-post-title { color: #ffffff; }
.card-post-title a {
  color: inherit;
  transition: color 0.15s ease;
}
.card-post-title a:hover {
  color: var(--accent-gold);
}
.card-post-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.card-post-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.78125rem;
}
.meta-author {
  color: var(--muted);
}
.meta-author strong {
  color: var(--navy);
}
html.dark .meta-author strong { color: #ffffff; }
.card-inline-cta {
  font-weight: 800;
  color: var(--navy);
  transition: color 0.15s ease, transform 0.15s ease;
}
html.dark .card-inline-cta { color: var(--accent-gold); }
.cat-article-card:hover .card-inline-cta {
  color: var(--accent-gold);
  transform: translateX(3px);
}

/* Modern Pagination */
.cat-pagination-wrap {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.page-numbers-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.page-number-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--dark-text);
  transition: all 0.15s ease;
}
html.dark .page-number-btn { color: #ffffff; }
.page-number-btn.active {
  background: var(--navy);
  color: var(--accent-gold) !important;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(16, 34, 77, 0.25);
}
.page-number-btn:hover:not(.active) {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-1px);
}
.page-nav-btn {
  height: 42px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--dark-text);
  transition: all 0.15s ease;
}
html.dark .page-nav-btn { color: #ffffff; }
.page-nav-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-1px);
}
.page-ellipsis {
  padding: 0 0.4rem;
  color: var(--muted);
}

/* Sidebar Outras Editorias */
.sidebar-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}
.cat-link-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cat-color-sq {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.cat-name-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark-text);
}
html.dark .cat-name-text { color: #ffffff; }
.cat-arrow {
  font-size: 0.875rem;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.sidebar-cat-link:hover {
  background: var(--surface);
  border-color: var(--accent-gold);
  transform: translateX(3px);
}
.sidebar-cat-link:hover .cat-arrow {
  color: var(--accent-gold);
  transform: translateX(2px);
}

/* Empty State */
.category-empty-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
}
.empty-icon-box {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.category-empty-card h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
html.dark .category-empty-card h3 { color: #ffffff; }
.category-empty-card p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .category-layout-wrap {
    grid-template-columns: 1fr;
  }
  .lead-link-wrap {
    grid-template-columns: 1fr;
  }
  .lead-image-box {
    min-height: 240px;
    aspect-ratio: 16/9;
  }
}
@media (max-width: 640px) {
  .category-hero-title {
    font-size: 2rem;
  }
  .category-hero-stats {
    width: 100%;
    justify-content: flex-start;
  }
  .cat-articles-grid {
    grid-template-columns: 1fr;
  }
  .lead-content-box {
    padding: 1.5rem;
  }
  .lead-post-title {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   SEARCH PAGE STYLES
   ========================================================================== */
.search-header-strip {
  border-bottom: 2px solid var(--border);
}
.search-page-form {
  margin-top: 1.5rem;
  max-width: 680px;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrap .search-icon {
  position: absolute;
  left: 1.15rem;
  color: var(--muted);
  pointer-events: none;
}
.search-page-input {
  width: 100%;
  padding: 0.9rem 7.5rem 0.9rem 3.1rem;
  border-radius: 9999px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--dark-text);
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
html.dark .search-page-input {
  color: #ffffff;
  background: #0f172a;
}
.search-page-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(247, 194, 0, 0.18);
}
.btn-search-submit {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.25rem;
  background: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-search-submit:hover {
  background: var(--accent-gold);
  color: #0a1632;
}

/* ==========================================================================
   MODERN EDITORIAL ARTICLE SINGLE PAGE (Estilo QTU / Portais Premium)
   ========================================================================== */

.article-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .article-page-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Article Container */
.article-main-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .article-main-container {
    padding: 1.25rem 1rem;
    border-radius: 10px;
    border-left: none;
    border-right: none;
  }
}

/* Breadcrumbs */
.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
}
.article-breadcrumbs a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}
.article-breadcrumbs a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}
.article-breadcrumbs .breadcrumb-sep {
  color: #cbd5e1;
}
.article-breadcrumbs .breadcrumb-current {
  color: var(--muted);
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Badge */
.article-cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.15s ease;
}
.article-cat-badge:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

/* Headline */
.article-main-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}
html.dark .article-main-title {
  color: #f8fafc;
}

@media (max-width: 768px) {
  .article-main-title {
    font-size: 1.65rem;
    line-height: 1.3;
  }
}

/* Subtitle / Linha Fina */
.article-main-subtitle {
  font-size: 1.125rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 1.25rem 0;
  font-weight: 400;
}
html.dark .article-main-subtitle {
  color: #94a3b8;
}

/* Metadata Bar */
.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.85rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}
.article-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.article-author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.article-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Social Share Bar */
.article-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.article-share-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-share-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.78125rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-share-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: #ffffff;
}
.btn-share-whatsapp {
  background: #25D366;
}
.btn-share-whatsapp:hover {
  background: #1eb855;
}
.btn-share-facebook {
  background: #1877f2;
}
.btn-share-facebook:hover {
  background: #0d65d9;
}
.btn-share-telegram {
  background: #0088cc;
}
.btn-share-telegram:hover {
  background: #0077b5;
}
.btn-share-x {
  background: #0f172a;
}
.btn-share-x:hover {
  background: #1e293b;
}
.btn-share-copy {
  background: #64748b;
}
.btn-share-copy:hover {
  background: #475569;
}

/* Featured Hero Image */
.article-featured-wrap {
  margin: 0 0 1.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  background: #0f172a;
}
.article-featured-img {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.article-featured-caption {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* Rich Article Body Typography (Estilo QTU Editorial) */
.article-prose-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.85;
  color: #1e293b;
  word-break: break-word;
}
html.dark .article-prose-body {
  color: #cbd5e1;
}
.article-prose-body p {
  margin-bottom: 1.5rem;
}
.article-prose-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2.25rem 0 1rem;
  border-left: 4px solid var(--accent-gold);
  padding-left: 0.85rem;
  line-height: 1.35;
}
html.dark .article-prose-body h2 {
  color: #f8fafc;
}
.article-prose-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.75rem 0 0.85rem;
  line-height: 1.4;
}
html.dark .article-prose-body h3 {
  color: #f1f5f9;
}
.article-prose-body h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 0.65rem;
}
.article-prose-body blockquote {
  background: #f8fafc;
  border-left: 4px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #334155;
  box-shadow: var(--shadow-sm);
}
html.dark .article-prose-body blockquote {
  background: #1e293b;
  border-left-color: var(--accent-gold);
  color: #cbd5e1;
}
.article-prose-body ul,
.article-prose-body ol {
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}
.article-prose-body li {
  margin-bottom: 0.5rem;
}
.article-prose-body a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.article-prose-body a:hover {
  color: var(--accent-gold);
}
.article-prose-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.75rem auto;
  display: block;
}

/* Related Stories Section (Leia Também) */
.article-related-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}
.article-section-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
html.dark .article-section-header {
  color: #f8fafc;
}
.article-section-header::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--accent-gold);
  border-radius: 2px;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .article-related-grid {
    grid-template-columns: 1fr;
  }
}
.related-story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.related-story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.related-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}
.related-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.related-story-card:hover .related-thumb-wrap img {
  transform: scale(1.05);
}
.related-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-card-cat {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--primary);
}
.related-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 0.5rem 0;
  flex: 1;
}
html.dark .related-card-title {
  color: #f1f5f9;
}
.related-card-date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Sidebar Widgets */
.article-sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border);
}
html.dark .widget-title {
  color: #f8fafc;
}

/* Sidebar Most Viewed Numbered List */
.sidebar-popular-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  transition: transform 0.15s ease;
}
.sidebar-popular-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-popular-item:hover {
  transform: translateX(3px);
}
.popular-rank-badge {
  width: 28px;
  height: 28px;
  background: #e2e8f0;
  color: #334155;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.popular-rank-badge.rank-1 {
  background: var(--accent-gold, #f7c200);
  color: #0a1632;
}
.popular-rank-badge.rank-2 {
  background: #cbd5e1;
  color: #0f172a;
}
.popular-item-content {
  flex: 1;
}
.popular-item-cat {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
}
.popular-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 3px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html.dark .popular-item-title {
  color: #f1f5f9;
}
.popular-item-time {
  font-size: 0.6875rem;
  color: var(--muted);
}



