/* ==========================================================================
   CLASSIFICADOS 409/410 SUL · DESIGN SYSTEM EDITORIAL MOBILE-FIRST
   Inspirado no Correio Braziliense, The Verge e editoriais de alto padrão
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,400;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap');

:root {
  /* Paleta Plano Piloto Brasília - Leve, Solar, Athos Bulcão e Áreas Verdes */
  --bsb-sky: #0284C7;               /* Azul Céu de Brasília */
  --bsb-sky-light: #F0F9FF;
  --bsb-sky-subtle: #E0F2FE;
  
  --bsb-athos: #1D4ED8;             /* Azul Azulejos Athos Bulcão */
  --bsb-athos-dark: #1E3A8A;
  --bsb-athos-light: #EFF6FF;

  --bsb-ipe: #F59E0B;               /* Amarelo Ipê / Sol do Planalto */
  --bsb-ipe-dark: #D97706;
  --bsb-ipe-light: #FEF3C7;
  --bsb-ipe-subtle: #FFFBEB;

  --bsb-green: #16A34A;             /* Verde Gramados da Superquadra */
  --bsb-green-dark: #15803D;
  --bsb-green-light: #DCFCE7;

  --bsb-terracotta: #EA580C;         /* Terracota suave do cerrado */
  --bsb-terracotta-light: #FFF7ED;

  --bsb-paper: #F8FAFC;             /* Fundo luminoso, arejado e leve */
  --bsb-paper-card: #FFFFFF;        /* Superfície branca pura dos cards */
  --bsb-paper-warm: #F1F5F9;

  --bsb-ink: #0F172A;               /* Tipografia modernista nítida */
  --bsb-ink-body: #334155;          /* Texto de leitura confortável */
  --bsb-ink-muted: #64748B;         /* Texto secundário */
  --bsb-ink-light: #94A3B8;         /* Texto suave */

  --bsb-rule: #E2E8F0;              /* Linhas finas modernistas */
  --bsb-rule-subtle: #F1F5F9;

  /* Aliases para compatibilidade total */
  --cb-paper: var(--bsb-paper);
  --cb-paper-card: var(--bsb-paper-card);
  --cb-paper-warm: var(--bsb-paper-warm);
  --cb-navy-dark: var(--bsb-athos-dark);
  --cb-navy: var(--bsb-athos);
  --cb-navy-light: var(--bsb-sky);
  --cb-navy-subtle: var(--bsb-sky-subtle);
  --cb-terracotta: var(--bsb-ipe-dark);
  --cb-terracotta-dark: var(--bsb-terracotta);
  --cb-terracotta-light: var(--bsb-ipe-subtle);
  --cb-gold: var(--bsb-ipe);
  --cb-gold-light: var(--bsb-ipe-light);
  --cb-ink: var(--bsb-ink);
  --cb-ink-body: var(--bsb-ink-body);
  --cb-ink-muted: var(--bsb-ink-muted);
  --cb-ink-light: var(--bsb-ink-light);
  --cb-rule: var(--bsb-rule);
  --cb-rule-dark: var(--bsb-ink);
  --cb-rule-subtle: var(--bsb-rule-subtle);

  /* Categorias */
  --cat-desapego: var(--bsb-athos);
  --cat-servico: #0D9488;
  --cat-gastronomia: var(--bsb-terracotta);
  --cat-pet: var(--bsb-green);
  --cat-mural: #8B5CF6;

  /* Tipografia */
  --font-masthead: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-headline: 'Playfair Display', Georgia, serif;
  --font-serif-body: 'Source Serif 4', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Sombras & Acabamentos Leves */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card-hover: 0 12px 28px rgba(2, 132, 199, 0.12), 0 4px 10px rgba(15, 23, 42, 0.04);
  --shadow-modal: 0 24px 60px rgba(15, 23, 42, 0.25);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* Reset Global & Prevenção de Overflow Horizontal */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  overflow-y: scroll;
  scroll-behavior: auto;
}

body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-sans);
  background-color: var(--cb-paper);
  color: var(--cb-ink-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Container de Folha de Jornal */
.newspaper-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px 40px;
  overflow-x: hidden;
}

@media (min-width: 600px) {
  .newspaper-wrapper {
    padding: 0 18px 48px;
  }
}

/* ==========================================================================
   1. BARRA SUPERIOR DE UTILIDADES (DATA, CIDADE, CLIMA)
   ========================================================================== */
.news-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 8px 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cb-ink-muted);
  border-bottom: 1px solid var(--cb-rule);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.news-meta-bar .meta-left,
.news-meta-bar .meta-right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.meta-dot {
  color: var(--cb-terracotta);
  font-weight: 800;
}

.meta-shopee-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #FF5722 0%, #EE4D2D 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.70rem;
  padding: 2px 10px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(238, 77, 45, 0.35);
  line-height: 1.4;
  white-space: nowrap;
}

.meta-shopee-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(238, 77, 45, 0.55);
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #FF6A3D 0%, #F04523 100%);
}

.meta-shopee-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.meta-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.70rem;
  padding: 2px 9px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(220, 39, 67, 0.25);
  line-height: 1.4;
}

.meta-instagram-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(220, 39, 67, 0.45);
  color: #FFFFFF !important;
}

.meta-instagram-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.meta-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.70rem;
  padding: 2px 9px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(18, 140, 126, 0.25);
  line-height: 1.4;
}

.meta-whatsapp-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(18, 140, 126, 0.45);
  color: #FFFFFF !important;
}

.meta-whatsapp-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.meta-pill {
  background: var(--cb-terracotta-light);
  color: var(--cb-terracotta-dark);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.4px;
  border: 1px solid rgba(200, 109, 39, 0.2);
}

/* ==========================================================================
   2. TICKER DE NOTÍCIAS / PLANTÃO DA QUADRA
   ========================================================================== */
.editorial-ticker-bar {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--cb-rule);
  border-top: none;
  padding: 5px 8px;
  margin-bottom: 10px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cb-navy);
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 10px;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 28px;
  animation: tickerMarquee 85s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--cb-ink-body);
}

.ticker-item strong {
  color: var(--cb-navy);
}

.ticker-tag {
  background: var(--cb-paper-warm);
  color: var(--cb-terracotta-dark);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   3. FAIXA DECORATIVA ATHOS BULCÃO & ILUSTRAÇÃO PLANO PILOTO (SVG)
   ========================================================================== */
.athos-geometric-ribbon {
  width: 100%;
  height: 24px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bsb-sky-light);
  border: 1px solid var(--bsb-rule);
}

.athos-geometric-ribbon svg {
  width: 100%;
  height: 100%;
}

.athos-tile-shape {
  transition: transform 0.3s ease, fill 0.3s ease;
}

.athos-geometric-ribbon:hover .athos-tile-shape {
  animation: athosWiggle 2s infinite ease-in-out;
}

@keyframes athosWiggle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Ilustração Arquitetônica do Plano Piloto (Monumentos + JK + Pilotis + Ipês) */
.bsb-skyline-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px auto 12px;
  max-width: 840px;
  width: 100%;
  color: var(--bsb-sky);
  filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.08));
}

.bsb-skyline-illustration svg {
  width: 100%;
  height: auto;
  max-height: 110px;
}

/* Animações dos elementos da ilustração */
.svg-sun {
  transform-origin: 300px 20px;
  animation: sunGlow 5s ease-in-out infinite alternate;
}

.svg-cloud-left {
  animation: cloudDriftLeft 12s ease-in-out infinite alternate;
}

.svg-cloud-right {
  animation: cloudDriftRight 15s ease-in-out infinite alternate;
}

.svg-tree-leaves {
  transform-origin: bottom center;
  animation: treeSway 4s ease-in-out infinite alternate;
}

@keyframes sunGlow {
  0% { transform: scale(0.98); filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.3)); }
  100% { transform: scale(1.06); filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6)); }
}

@keyframes cloudDriftLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(8px); }
}

@keyframes cloudDriftRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-10px); }
}

@keyframes treeSway {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(1.8deg); }
}

/* ==========================================================================
   4. MASTHEAD COMUNIDADE 409/410 SUL
   ========================================================================== */
.editorial-masthead {
  padding: 6px 0 10px;
  text-align: center;
  position: relative;
  overflow-x: hidden;
}

.masthead-pretitle {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  font-weight: 800;
  letter-spacing: clamp(1.2px, 0.5vw, 2.5px);
  color: var(--bsb-sky);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.masthead-rule-thick {
  border-top: 2px solid var(--bsb-athos);
  margin: 4px 0 8px;
}

.masthead-main-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.masthead-ornament-left,
.masthead-ornament-right {
  display: none;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--bsb-ink-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  width: 180px;
}

@media (min-width: 900px) {
  .masthead-main-row {
    justify-content: space-between;
  }
  .masthead-ornament-left,
  .masthead-ornament-right {
    display: block;
  }
  .masthead-ornament-left { text-align: left; }
  .masthead-ornament-right { text-align: right; }
}

.masthead-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.masthead-quadra-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--bsb-athos-dark);
  text-transform: uppercase;
  background: var(--bsb-sky-light);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--bsb-rule);
  box-shadow: 0 1px 4px rgba(2, 132, 199, 0.08);
}

.masthead-quadra-badge .quadra-badge-symbol {
  color: var(--bsb-ipe);
  font-size: 0.68rem;
}

@media (min-width: 900px) {
  .masthead-title-wrap {
    width: auto;
  }
  .masthead-quadra-badge {
    display: none; /* No desktop >= 900px, o ornamento direito 'SQS 409 & 410 SUL' já compõe o topo */
  }
}

.masthead-title {
  font-family: var(--font-masthead);
  font-size: clamp(2rem, 8.5vw, 4.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--bsb-athos-dark), var(--bsb-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: clamp(1px, 0.8vw, 3px);
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 100%;
  word-break: break-word;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.1));
}

.masthead-subtitle-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 8px 0 6px;
  font-family: var(--font-headline);
  font-size: 0.9rem;
  color: var(--bsb-ink);
}

.quadra-pill {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.8px;
  color: var(--bsb-athos);
  background: var(--bsb-sky-light);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--bsb-rule);
}

.strip-diamond {
  color: var(--bsb-ipe);
  font-size: 0.7rem;
}

.strip-quote {
  font-style: italic;
  color: var(--bsb-ink-muted);
  font-size: 0.86rem;
}

@media (max-width: 600px) {
  .strip-diamond {
    display: none;
  }
  .strip-quote {
    width: 100%;
    margin-top: 2px;
  }
}

.masthead-rule-double {
  border-top: 1px solid var(--bsb-rule);
  border-bottom: 2px solid var(--bsb-sky);
  height: 3px;
  margin: 8px 0 12px;
}

/* Barra de Ações & Métricas do Masthead */
.masthead-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 0;
}

.stats-pill-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.82rem;
  color: var(--bsb-ink-muted);
}

.stat-item strong {
  color: var(--bsb-athos);
  font-weight: 800;
}

.stat-divider {
  color: var(--bsb-rule);
}

.btn-editorial-publish {
  background: linear-gradient(135deg, var(--bsb-sky), var(--bsb-athos));
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 20px;
  border-radius: 24px;
  font-family: var(--font-headline);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.3);
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.btn-editorial-publish::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: publishShimmer 4s infinite;
}

@keyframes publishShimmer {
  0% { left: -100%; }
  25%, 100% { left: 100%; }
}

.btn-editorial-publish:hover {
  background: linear-gradient(135deg, var(--bsb-athos), var(--bsb-sky));
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35);
}

.btn-editorial-publish svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-editorial-publish:hover svg {
  transform: rotate(90deg) scale(1.15);
}
/* ==========================================================================
   BANNER DE DESTAQUE: GRUPO OFICIAL NO WHATSAPP
   ========================================================================== */
.community-whatsapp-banner {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 50%, #F0FDF4 100%);
  border: 1.5px solid #86EFAC;
  border-left: 5px solid #16A34A;
  border-radius: var(--radius-md, 12px);
  padding: 16px 20px;
  margin: 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-whatsapp-banner:hover {
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.18);
}

.whatsapp-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.whatsapp-banner-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  overflow: hidden;
}

.whatsapp-banner-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.whatsapp-banner-icon-wrap svg {
  fill: #FFFFFF;
  flex-shrink: 0;
}

.whatsapp-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #15803D;
  background: rgba(22, 163, 74, 0.14);
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 5px;
}

.pulse-green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.whatsapp-banner-title {
  font-family: var(--font-headline);
  font-size: 1.08rem;
  font-weight: 800;
  color: #14532D;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.whatsapp-banner-desc {
  font-size: 0.84rem;
  color: #166534;
  margin: 0;
  line-height: 1.45;
}

.whatsapp-banner-action {
  flex-shrink: 0;
}

.btn-whatsapp-cta {
  background: linear-gradient(135deg, #25D366 0%, #16A34A 100%);
  color: #FFFFFF !important;
  font-family: var(--font-headline);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.btn-whatsapp-cta:hover {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
  color: #FFFFFF !important;
}

/* ==========================================================================
   FAIXA COMPACTA DE BENEFÍCIO: AMAZON PRIME (1 LINHA ESTREITA)
   ========================================================================== */
/* ==========================================================================
   FAIXA COMPACTA DA CENTRAL DE CUPONS (1 LINHA - ESTILO EDITORIAL)
   ========================================================================== */
.community-cupons-strip {
  margin: -10px 0 8px 0;
  width: 100%;
}

.cupons-strip-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, #831843 0%, #BE123C 50%, #9F1239 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(190, 18, 60, 0.25);
  transition: all 0.2s ease;
  font-size: 0.80rem;
  line-height: 1.3;
}

.cupons-strip-link:hover {
  background: linear-gradient(90deg, #9D174D 0%, #E11D48 50%, #BE123C 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.38);
  color: #FFFFFF !important;
}

.cupons-strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.cupons-strip-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cupons-strip-text {
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.cupons-strip-text strong {
  font-weight: 700;
  color: #FFFFFF;
}

.cupons-strip-right {
  flex-shrink: 0;
}

.cupons-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  color: #9F1239;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 11px;
  border-radius: 16px;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.cupons-strip-link:hover .cupons-strip-cta {
  background: #FFF1F2;
  transform: translateX(2px);
}

@media (max-width: 680px) {
  .cupons-strip-link {
    padding: 7px 10px;
    gap: 8px;
  }
  .cupons-strip-tag {
    font-size: 0.62rem;
    padding: 2px 6px;
  }
  .cupons-strip-text {
    font-size: 0.74rem;
  }
  .cupons-strip-cta {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
}

.community-prime-strip {
  margin: 0 0 24px 0;
  width: 100%;
}

.prime-strip-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, #0073E6 0%, #0056B3 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 115, 230, 0.2);
  transition: all 0.2s ease;
  font-size: 0.80rem;
  line-height: 1.3;
}

.prime-strip-link:hover {
  background: linear-gradient(90deg, #007EEF 0%, #0060C7 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 115, 230, 0.35);
  color: #FFFFFF !important;
}

.prime-strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.prime-strip-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.prime-strip-text {
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.prime-strip-text strong {
  font-weight: 700;
  color: #FFFFFF;
}

.prime-strip-right {
  flex-shrink: 0;
}

.prime-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  color: #0056B3;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 11px;
  border-radius: 16px;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.prime-strip-link:hover .prime-strip-cta {
  background: #F0F7FF;
  transform: translateX(2px);
}

@media (max-width: 680px) {
  .prime-strip-link {
    padding: 7px 10px;
    gap: 8px;
  }
  .prime-strip-tag {
    font-size: 0.62rem;
    padding: 2px 6px;
  }
  .prime-strip-text {
    font-size: 0.74rem;
  }
  .prime-strip-cta {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
}


@media (max-width: 680px) {
  .masthead-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .stats-pill-group {
    justify-content: center;
  }
  .btn-editorial-publish {
    width: 100%;
  }

  .community-whatsapp-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 14px;
  }
  
  .whatsapp-banner-content {
    align-items: flex-start;
    gap: 12px;
  }
  
  .whatsapp-banner-icon-wrap {
    width: 42px;
    height: 42px;
  }
  
  .whatsapp-banner-icon-wrap svg {
    width: 24px;
    height: 24px;
  }

  .whatsapp-banner-title {
    font-size: 0.98rem;
  }

  .whatsapp-banner-desc {
    font-size: 0.80rem;
  }

  .btn-whatsapp-cta {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.90rem;
  }
}

/* ==========================================================================
   5. NAVEGAÇÃO DE CADERNOS COM ÍCONES SVG & ANIMAÇÃO
   ========================================================================== */
.sections-nav-container {
  margin: 12px 0 16px;
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(10px);
  padding: 6px 0;
  border-bottom: 2px solid var(--bsb-sky);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sections-nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px;
  flex: 1;
  min-width: 0;
}

/* No desktop amplo (>= 960px): todos os cadernos 100% visíveis em quebra fluida (zero corte) */
@media (min-width: 960px) {
  .sections-nav-scroll {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    gap: 8px 10px;
  }
  .nav-scroll-arrow {
    display: none !important;
  }
}

/* Setas de navegação suave para telas com rolagem horizontal */
.nav-scroll-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--bsb-rule);
  color: var(--bsb-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  padding: 0;
}

.nav-scroll-arrow:hover {
  background: var(--bsb-sky-light);
  color: var(--bsb-athos);
  border-color: var(--bsb-sky);
  transform: scale(1.08);
}

.nav-scroll-arrow:active {
  transform: scale(0.95);
}

.nav-scroll-arrow svg {
  stroke: currentColor;
}

/* Barra de rolagem sutil para quando houver overflow no desktop */
@media (max-width: 959px) {
  .sections-nav-scroll {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
  }
  .sections-nav-scroll::-webkit-scrollbar {
    display: block;
    height: 4px;
  }
  .sections-nav-scroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
  }
  .sections-nav-scroll::-webkit-scrollbar-track {
    background: transparent;
  }
}

.nav-caderno-btn {
  background: #FFFFFF;
  border: 1px solid var(--bsb-rule);
  padding: 8px 16px;
  border-radius: 24px;
  font-family: var(--font-headline);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bsb-ink);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-subtle);
}

.nav-caderno-btn svg {
  width: 18px;
  height: 18px;
  color: var(--bsb-sky);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s;
  flex-shrink: 0;
}

.nav-caderno-btn:hover {
  border-color: var(--bsb-sky);
  background: var(--bsb-sky-light);
  color: var(--bsb-athos);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.nav-caderno-btn:hover svg {
  transform: scale(1.22) rotate(-5deg);
  color: var(--bsb-athos);
}

.nav-caderno-btn.active {
  background: linear-gradient(135deg, var(--bsb-athos), var(--bsb-sky));
  color: #FFFFFF;
  border-color: var(--bsb-athos-dark);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
  transform: translateY(-1px);
}

.nav-caderno-btn.active svg {
  color: #FFFFFF;
  stroke: #FFFFFF;
}

.caderno-count {
  background: rgba(255,255,255,0.28);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-caderno-btn:not(.active) .caderno-count {
  background: var(--bsb-paper-warm);
  color: var(--bsb-ink-muted);
}

/* ==========================================================================
   5. BARRA DE FILTROS & BUSCA DA QUADRA
   ========================================================================== */

/* ==========================================================================
   6. BARRA DE FILTROS & VIEW SWITCHER
   ========================================================================== */
.newspaper-filters-bar {
  background: #FFFFFF;
  border: 1px solid var(--cb-rule);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filters-main-controls {
  display: flex;
  width: 100%;
}

.filter-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.filter-search-box input {
  width: 100%;
  padding: 10px 36px 10px 38px;
  border: 1px solid var(--cb-rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  background: var(--cb-paper);
  color: var(--cb-ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.filter-search-box input:focus {
  border-color: var(--cb-navy);
  background: #FFFFFF;
}

.filter-search-icon {
  position: absolute;
  left: 12px;
  color: var(--cb-ink-light);
  pointer-events: none;
}

.btn-clear-search {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--cb-ink-light);
  cursor: pointer;
  padding: 0 4px;
}

.filter-select {
  padding: 10px 14px;
  border: 1px solid var(--cb-rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--cb-paper);
  color: var(--cb-navy);
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--cb-navy);
  background: #FFFFFF;
}

.filters-sub-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--cb-rule-subtle);
}

.filter-chips-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  background: var(--cb-paper-warm);
  border: 1px solid var(--cb-rule);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cb-ink-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  background: #FFFFFF;
  color: var(--cb-navy);
  border-color: var(--cb-navy-light);
}

.filter-chip.active {
  background: var(--cb-navy);
  color: #FFFFFF;
  border-color: var(--cb-navy-dark);
}

.chip-count {
  background: rgba(255,255,255,0.25);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.filter-chip:not(.active) .chip-count {
  background: #E2E6DE;
  color: var(--cb-navy);
}

.filter-chip-refresh {
  margin-left: auto;
  background: #FFFFFF;
  color: var(--cb-navy);
  border-color: #CBD5E1;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.filter-chip-refresh:hover {
  background: #F8FAFC;
  border-color: var(--cb-navy);
  color: var(--cb-navy);
}

.filter-chip-refresh:active {
  transform: scale(0.96);
}

.filter-chip-refresh.refreshing svg {
  animation: spinRefreshIcon 0.75s linear infinite;
}

@keyframes spinRefreshIcon {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   6. FEED DE CLASSIFICADOS · CARD PADRÃO UNIFICADO (MOBILE-FIRST)
   ========================================================================== */
.classifieds-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 40px;
  width: 100%;
}

@media (min-width: 640px) {
  .classifieds-feed {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .classifieds-feed {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }
}

/* Card Padrão Unificado */
.standard-ad-card {
  background: #FFFFFF;
  border: 1px solid var(--bsb-rule);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease;
  position: relative;
  min-width: 0;
  width: 100%;
}

.standard-ad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.12), 0 4px 10px rgba(15, 23, 42, 0.04);
  border-color: #BAE6FD;
}

/* Kicker / Seção Editorial */
.ad-card-kicker-stripe {
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--bsb-rule);
  background: var(--bsb-paper-warm);
}

.ad-card-kicker-stripe[data-cat="desapego"] { color: var(--bsb-athos); border-top: 3px solid var(--bsb-athos); }
.ad-card-kicker-stripe[data-cat="servico"] { color: #0D9488; border-top: 3px solid #0D9488; }
.ad-card-kicker-stripe[data-cat="gastronomia"] { color: #C2410C; border-top: 3px solid #EA580C; }
.ad-card-kicker-stripe[data-cat="promocao"] { color: #DC2626; border-top: 3px solid #DC2626; }
.ad-card-kicker-stripe[data-cat="imoveis"] { color: #2563EB; border-top: 3px solid #2563EB; }
.ad-card-kicker-stripe[data-cat="pet"] { color: var(--bsb-green); border-top: 3px solid var(--bsb-green); }
.ad-card-kicker-stripe[data-cat="mural"] { color: #8B5CF6; border-top: 3px solid #8B5CF6; }

/* Borda lateral distinta por caderno */
.standard-ad-card[data-cat="promocao"] {
  border-left: 3.5px solid #DC2626;
}
.standard-ad-card[data-cat="gastronomia"] {
  border-left: 3.5px solid #EA580C;
}
.standard-ad-card[data-cat="servico"] {
  border-left: 3.5px solid #0D9488;
}
.standard-ad-card[data-cat="desapego"] {
  border-left: 3.5px solid var(--bsb-athos);
}
.standard-ad-card[data-cat="imoveis"] {
  border-left: 3.5px solid #2563EB;
}
.standard-ad-card[data-cat="mural"] {
  border-left: 3.5px solid #8B5CF6;
}

.kicker-code {
  font-family: monospace;
  font-size: 0.74rem;
  color: var(--bsb-ink-light);
}

/* Container de Mídia e Aspect Ratio */
.ad-card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #F1F5F9;
  overflow: hidden;
  border-bottom: 1px solid var(--bsb-rule);
  cursor: pointer;
}

.ad-card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.standard-ad-card:hover .ad-card-media-wrapper img {
  transform: scale(1.04);
}

.ad-card-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bsb-ink-light);
  gap: 8px;
  background: linear-gradient(135deg, #F8FAFC, #EDF2F7);
}

.ad-card-no-photo svg {
  width: 40px;
  height: 40px;
  opacity: 0.7;
  color: var(--bsb-sky);
  transition: transform 0.3s ease;
}

.standard-ad-card:hover .ad-card-no-photo svg {
  transform: scale(1.1) rotate(5deg);
}

.ad-card-no-photo span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bsb-ink-muted);
}

/* Badges e Destaques */
.ad-card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  z-index: 2;
}

.badge-pill {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.18);
  backdrop-filter: blur(4px);
}

.badge-pill.badge-featured {
  background: linear-gradient(135deg, var(--bsb-athos-dark), var(--bsb-athos));
  color: #FFFFFF;
}

.badge-pill.badge-featured::before {
  content: "★";
  color: var(--bsb-ipe);
}

.badge-pill.badge-custom {
  background: var(--bsb-ipe-dark);
  color: #FFFFFF;
}

/* Pílulas de Categoria Automática */
.badge-category-pill {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.14);
}

.badge-cat-promocao {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  font-weight: 800;
}

.badge-cat-gastronomia {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FED7AA;
  font-weight: 800;
}

.badge-cat-servico {
  background: #F0FDFA;
  color: #0D9488;
  border: 1px solid #99F6E4;
}

.badge-cat-desapego {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.badge-cat-imoveis {
  background: #F0F9FF;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.badge-cat-mural {
  background: #F5F3FF;
  color: #7C3AED;
  border: 1px solid #DDD6FE;
}

/* Custom badges adaptados ao tipo de anúncio */
.standard-ad-card[data-cat="promocao"] .badge-pill.badge-custom {
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.standard-ad-card[data-cat="gastronomia"] .badge-pill.badge-custom {
  background: linear-gradient(135deg, #B45309, #D97706);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.badge-pill.badge-expiry {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.badge-pill.badge-urgent {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  animation: pulseUrgent 2s infinite;
}

@keyframes pulseUrgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.badge-pill.badge-expired {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
  font-weight: 800;
}

/* Card com Promoção Encerrada - Totalmente em Tons de Cinza */
.standard-ad-card.ad-expired {
  opacity: 0.72;
  filter: grayscale(100%);
  background: #F8FAFC;
  border-color: #CBD5E1;
  box-shadow: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.standard-ad-card.ad-expired:hover {
  opacity: 0.88;
  filter: grayscale(85%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.standard-ad-card.ad-expired .ad-card-kicker-stripe {
  background: #E2E8F0 !important;
  color: #64748B !important;
  border-bottom-color: #CBD5E1 !important;
}

.standard-ad-card.ad-expired .badge-pill:not(.badge-expired) {
  background: #E2E8F0 !important;
  color: #64748B !important;
  border-color: #CBD5E1 !important;
}

.standard-ad-card.ad-expired .ad-card-coupon-strip .btn-card-coupon-copy {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #64748B !important;
}

.standard-ad-card.ad-expired .ad-card-coupon-strip .card-coupon-copy-badge {
  background: #E2E8F0 !important;
  color: #64748B !important;
}

.standard-ad-card.ad-expired .btn-primary-website,
.standard-ad-card.ad-expired .btn-whatsapp-ad {
  background: #E2E8F0 !important;
  color: #64748B !important;
  border-color: #CBD5E1 !important;
}

.standard-ad-card.ad-expired .ad-card-media-wrapper img {
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.btn-expired-action {
  background: #E2E8F0 !important;
  color: #64748B !important;
  border: 1px solid #CBD5E1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.expiry-callout-expired {
  background: #F8FAFC;
  border-left: 4px solid #64748B;
  color: #475569;
  padding: 10px 14px;
  border-radius: var(--radius-xs, 6px);
  font-size: 0.84rem;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.expiry-callout-active {
  background: #EFF6FF;
  border-left: 4px solid #0284C7;
  color: #1E40AF;
  padding: 10px 14px;
  border-radius: var(--radius-xs, 6px);
  font-size: 0.84rem;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.expiry-callout-active.urgent {
  background: #FEF2F2;
  border-left-color: #EF4444;
  color: #991B1B;
}

/* Botão Favoritar Touch-Friendly (40x40px) com Animação Heart Pop */
.btn-ad-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--bsb-ink-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-ad-fav:hover {
  transform: scale(1.15);
  background: #FFFFFF;
  color: #DC2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-ad-fav.favorited {
  background: #FFFFFF;
  color: #DC2626;
  border-color: #FECACA;
}

.btn-ad-fav.favorited svg {
  fill: #DC2626;
  animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Corpo do Card */
.ad-card-body {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ad-card-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  min-height: 28px;
}

.ad-card-price {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bsb-athos);
  letter-spacing: -0.3px;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  flex: 1;
}

.ad-card-price.price-free {
  color: var(--bsb-green);
  font-size: 1.12rem;
}

.ad-card-time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bsb-ink-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.ad-card-title {
  font-family: var(--font-headline);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--bsb-ink);
  line-height: 1.32;
  margin-bottom: 8px;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.1em;
  transition: color 0.15s ease;
}

.ad-card-title:hover {
  color: var(--bsb-sky);
}

.ad-card-desc {
  font-family: var(--font-serif-body);
  font-size: 0.9rem;
  color: var(--bsb-ink-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  min-height: 4.5em;
}

/* Rodapé do Card com Vizinho e Ações */
.ad-card-footer {
  border-top: 1px solid var(--bsb-rule);
  padding: 12px 16px;
  background: var(--bsb-paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ad-card-resident-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.resident-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bsb-sky-light);
  color: var(--bsb-athos);
  border: 1px solid var(--bsb-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.resident-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.resident-name {
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--bsb-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  max-width: 58%;
}

.resident-community-tag,
.resident-block-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bsb-athos-dark);
  background: var(--bsb-sky-light);
  border: 1px solid var(--bsb-rule);
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42%;
  flex-shrink: 1;
}

.ad-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex-wrap: nowrap;
}

.btn-whatsapp-ad {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  background: linear-gradient(135deg, #25D366, #1EBE5D);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
  touch-action: manipulation;
}

.btn-whatsapp-ad span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-whatsapp-ad:hover {
  background: linear-gradient(135deg, #1EBE5D, #16A34A);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-ad svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.btn-whatsapp-ad:hover svg {
  transform: scale(1.15) rotate(8deg);
}

.btn-share-ad {
  min-height: 42px;
  height: 42px;
  width: 42px;
  background: #FFFFFF;
  border: 1px solid var(--bsb-rule);
  color: var(--bsb-ink-muted);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.btn-share-ad:hover {
  background: var(--bsb-sky-light);
  color: var(--bsb-athos);
  border-color: var(--bsb-sky);
  transform: translateY(-2px);
}

.btn-share-ad svg {
  transition: transform 0.2s ease;
}

.btn-share-ad:hover svg {
  transform: rotate(-15deg) scale(1.15);
}

/* ==========================================================================
   8. MODAL DE LEITURA EDITORIAL IMERSIVA (VISÃO ARTIGO / LAUDA)
   ========================================================================== */
.modal-reading-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 5px solid var(--bsb-sky);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s ease;
}

.modal-backdrop.open .modal-reading-card {
  transform: scale(1) translateY(0);
}

.reading-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--cb-rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cb-paper);
}

.reading-header-badge {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cb-terracotta);
}

.btn-reading-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--cb-ink-light);
  cursor: pointer;
  line-height: 1;
}

.reading-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reading-lead-image {
  width: 100%;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reading-lead-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.reading-title-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reading-headline {
  font-family: var(--font-headline);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cb-navy-dark);
  line-height: 1.25;
}

.reading-price-badge {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--cb-navy);
}

.reading-resident-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cb-paper-warm);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cb-rule);
}

.lead-neighbor-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lead-neighbor-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bsb-sky-light);
  color: var(--bsb-athos-dark);
  border: 1.5px solid var(--bsb-athos);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(2, 132, 199, 0.15);
}

.lead-neighbor-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lead-neighbor-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cb-navy);
}

.lead-neighbor-block {
  font-size: 0.8rem;
  color: var(--cb-ink-muted);
}

.reading-narrative {
  font-family: var(--font-serif-body);
  font-size: 1.05rem;
  color: var(--cb-ink-body);
  line-height: 1.7;
  white-space: pre-line;
  padding: 8px 0;
  border-top: 1px solid var(--cb-rule-subtle);
  border-bottom: 1px solid var(--cb-rule-subtle);
}

.reading-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  width: 100%;
}

.reading-actions-bar .btn-whatsapp-ad,
.reading-actions-bar .btn-primary-website {
  flex: 1;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.reading-actions-bar .btn-instagram-secondary,
.reading-actions-bar .btn-website-secondary,
.reading-actions-bar .btn-share-ad {
  width: 48px;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   10. MODAL DE PUBLICAÇÃO & FORMULÁRIO (PADRÃO EDITORIAL PRESERVADO)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 33, 0.75);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-editorial-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 620px;
  max-height: min(92vh, 760px);
  max-height: calc(100dvh - 32px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s ease;
  border-top: 4px solid var(--bsb-athos);
  margin: auto;
}

.modal-backdrop.open .modal-editorial-card {
  transform: scale(1) translateY(0);
}

/* FIX CRÍTICO DE SCROLL: O formulário precisa ser um flex-container que respeita a altura máxima */
.modal-editorial-card form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-header {
  flex-shrink: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--cb-rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cb-paper);
}

.modal-header-title {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cb-navy);
}

.modal-header-subtitle {
  font-size: 0.8rem;
  color: var(--cb-ink-muted);
}

.btn-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cb-ink-light);
  cursor: pointer;
  padding: 4px 8px;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overscroll-behavior: contain;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cb-navy-dark);
}

.form-group label .required {
  color: #DC2626;
}

.form-input,
.form-select,
.form-textarea {
  padding: 10px 12px;
  border: 1px solid var(--cb-rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--cb-ink);
  outline: none;
  background: #FFFFFF;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cb-navy);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.45;
}

.photo-upload-container {
  border: 2px dashed var(--cb-rule);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  background: var(--cb-paper);
  cursor: pointer;
  transition: all 0.2s ease;
}

.photo-upload-container:hover {
  border-color: var(--cb-navy-light);
  background: #F4F6F1;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.photo-thumb-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--cb-rule);
}

.photo-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb-item .btn-remove-thumb {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-ai-enhance {
  background: #FDF6E2;
  border: 1px solid #D4AF37;
  color: #854D0E;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-ai-enhance:hover {
  background: #FAEAC0;
}

.btn-ai-mini {
  background: #FDF6E2;
  border: 1px solid #D4AF37;
  color: #854D0E;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-ai-mini:hover {
  background: #FAEAC0;
}

.privacy-callout {
  background: #F0F4F8;
  border-left: 3px solid #0056B3;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  color: var(--cb-ink-muted);
  line-height: 1.4;
}

.modal-footer {
  flex-shrink: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--cb-rule);
  background: var(--cb-paper);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-secondary {
  background: #FFFFFF;
  border: 1px solid var(--cb-rule);
  color: var(--cb-ink);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #F1F3ED;
}

.btn-primary-publish {
  background: var(--cb-navy);
  border: 1px solid var(--cb-navy-dark);
  color: #FFFFFF;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary-publish:hover {
  background: var(--cb-navy-dark);
  color: var(--cb-terracotta-light);
}

/* ==========================================================================
   11. ESTADO VAZIO & EXPEDIENTE EDITORIAL
   ========================================================================== */
.empty-state-editorial {
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border: 1px dashed var(--cb-rule);
  border-radius: var(--radius-md);
  margin: 20px 0 40px;
}

.empty-state-editorial svg {
  width: 52px;
  height: 52px;
  color: var(--cb-terracotta);
  margin-bottom: 12px;
}

.empty-state-editorial h3 {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  color: var(--cb-navy);
  margin-bottom: 6px;
}

.empty-state-editorial p {
  color: var(--cb-ink-muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 16px;
}

.editorial-footer {
  margin-top: 60px;
  border-top: 3px double var(--cb-rule-dark);
  padding-top: 28px;
  text-align: center;
}

.colophon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--cb-ink-muted);
}

.colophon-title {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cb-navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-bottom-copy {
  border-top: 1px solid var(--cb-rule);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--cb-ink-light);
}

.footer-admin-row {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.btn-footer-moderation {
  background: transparent;
  border: 1px dashed var(--cb-rule);
  color: var(--cb-ink-muted);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.btn-footer-moderation:hover {
  border-color: var(--bsb-athos);
  color: var(--bsb-athos);
  background: var(--cb-paper-warm);
}

.btn-footer-moderation svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   12. NOTIFICAÇÃO TOAST
   ========================================================================== */
.newspaper-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--cb-navy-dark);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--cb-terracotta);
}

.newspaper-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   13. RESPONSIVIDADE & AJUSTES MOBILE
   ========================================================================== */
@media (max-width: 900px) {
  .masthead-ornament-left,
  .masthead-ornament-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .newspaper-wrapper {
    padding: 10px 14px 40px;
  }

  .news-meta-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .filters-main-controls {
    grid-template-columns: 1fr;
  }

  .masthead-actions-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }

  .stats-pill-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn-editorial-publish {
    width: 100%;
    justify-content: center;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .modal-reading-card,
  .modal-editorial-card {
    max-width: 96vw;
    width: 100%;
    max-height: 92vh;
  }

  .reading-body {
    padding: 16px;
  }

  .reading-headline {
    font-size: 1.35rem;
  }

  .reading-actions-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .reading-actions-bar .btn-whatsapp-ad,
  .reading-actions-bar .btn-primary-website {
    flex: 1;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    font-size: 0.88rem;
    padding: 0 10px;
  }

  .reading-actions-bar .btn-instagram-secondary,
  .reading-actions-bar .btn-website-secondary,
  .reading-actions-bar .btn-share-ad {
    width: 46px;
    height: 46px;
    min-height: 46px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .newspaper-wrapper {
    padding: 8px 10px 32px;
  }

  .masthead-title {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem);
    letter-spacing: -0.5px;
  }

  .masthead-quadra-badge {
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    padding: 3px 11px;
    gap: 6px;
  }

  .masthead-subtitle-strip {
    font-size: 0.76rem;
    gap: 6px;
    margin: 6px 0 4px;
  }

  .strip-quote {
    display: inline-block;
    font-size: 0.76rem;
    line-height: 1.35;
    padding: 0 6px;
    text-align: center;
  }

  .filter-chips-group {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .ad-card-price {
    font-size: 1.2rem;
  }

  .ad-card-title {
    font-size: 1.05rem;
  }

  .ad-card-desc {
    font-size: 0.86rem;
  }
}
/* ==========================================================================
   14. ESPECIALIZAÇÕES DE LAYOUT POR CATEGORIA / CADERNO
   ========================================================================== */

/* 1. Mural & Avisos Comunitários */
.standard-ad-card[data-cat="mural"] {
  border-top: 4px solid var(--bsb-ipe);
  background: #FCFDFB;
}

.ad-card-mural-notice {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #FEF9C3 0%, #FEF08A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #FDE047;
}

.ad-card-mural-notice-icon {
  font-size: 2rem;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.ad-card-mural-notice-title {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  color: #78350F;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ad-card-mural-notice-sub {
  font-size: 0.78rem;
  color: #92400E;
  margin-top: 4px;
  font-weight: 500;
}

.standard-ad-card[data-cat="mural"] .btn-whatsapp-ad {
  background: #D97706;
}
.standard-ad-card[data-cat="mural"] .btn-whatsapp-ad:hover {
  background: #B45309;
}

/* 2. Serviços & Ofícios */
.standard-ad-card[data-cat="servico"] {
  border-top: 4px solid var(--bsb-athos);
}
.standard-ad-card[data-cat="servico"] .btn-whatsapp-ad {
  background: #1D4ED8;
}
.standard-ad-card[data-cat="servico"] .btn-whatsapp-ad:hover {
  background: #1E40AF;
}

/* 3. Quitutes dos Vizinhos */
.standard-ad-card[data-cat="gastronomia"] {
  border-top: 4px solid #E11D48;
}
.standard-ad-card[data-cat="gastronomia"] .btn-whatsapp-ad {
  background: #E11D48;
}
.standard-ad-card[data-cat="gastronomia"] .btn-whatsapp-ad:hover {
  background: #BE123C;
}

/* 4. Imóveis (Aluguel & Venda) */
.standard-ad-card[data-cat="imoveis"] {
  border-top: 4px solid #7C3AED;
}
.standard-ad-card[data-cat="imoveis"] .btn-whatsapp-ad {
  background: #7C3AED;
}
.standard-ad-card[data-cat="imoveis"] .btn-whatsapp-ad:hover {
  background: #6D28D9;
}

/* 5. Desapegos & Garimpos */
.standard-ad-card[data-cat="desapego"] {
  border-top: 4px solid #0284C7;
}

/* Badges específicos por caderno */
.badge-category-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-cat-mural { background: #FEF3C7; color: #92400E; }
.badge-cat-servico { background: #DBEAFE; color: #1E40AF; }
.badge-cat-gastronomia { background: #FFE4E6; color: #9F1239; }
.badge-cat-imoveis { background: #EDE9FE; color: #5B21B6; }
.badge-cat-pet { background: #D1FAE5; color: #065F46; }
.badge-cat-desapego { background: #E0F2FE; color: #0369A1; }

/* Horário Oficial e Clima Real */
.clock-live {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  color: var(--bsb-athos-dark);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.weather-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  transition: opacity 0.2s ease;
}

.weather-live svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
}

.weather-live:hover {
  opacity: 0.85;
}

/* ==========================================================================
   MODERAÇÃO EDITORIAL & MESA DA REDAÇÃO
   ========================================================================== */
.btn-moderation-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cb-paper-warm);
  border: 1.5px solid var(--cb-navy);
  color: var(--cb-navy);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.btn-moderation-trigger:hover {
  background: var(--cb-navy);
  color: #FFFFFF;
}

.badge-pending {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.2;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.4);
  animation: pulseBadge 1.5s infinite alternate;
}

@keyframes pulseBadge {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.08); opacity: 1; }
}

.modal-moderation-card {
  background: #FFFFFF;
  border: 3px solid var(--cb-navy);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.25);
  border-radius: 8px;
  width: 95%;
}

.mod-item-card {
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 16px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.mod-item-card:hover {
  border-color: var(--cb-navy);
}

.mod-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.mod-item-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--cb-navy);
  margin-bottom: 4px;
}

.mod-item-meta {
  font-size: 0.8rem;
  color: var(--cb-ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mod-item-desc {
  font-size: 0.88rem;
  color: var(--cb-ink-light);
  line-height: 1.45;
  background: var(--cb-paper-warm);
  padding: 10px;
  border-radius: 6px;
}

.mod-actions-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 6px;
}

.btn-approve-mod {
  background: #16A34A;
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-approve-mod:hover {
  background: #15803D;
}

.btn-reject-mod {
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid #FECDD3;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-reject-mod:hover {
  background: #FFE4E6;
  color: #BE123C;
}

.btn-delete-active-mod {
  background: #FFF1F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Curadoria Editorial: Destaques e Etiquetas na Moderação */
.mod-curator-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 10px 0;
}

.mod-curator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.mod-curator-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--cb-navy);
}

.mod-featured-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: #FEF9C3;
  color: #854D0E;
  border: 1px solid #FDE047;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  user-select: none;
  transition: all 0.2s ease;
}

.mod-featured-toggle:hover {
  background: #FEF08A;
}

.mod-featured-toggle input[type="checkbox"] {
  cursor: pointer;
  accent-color: #CA8A04;
  width: 14px;
  height: 14px;
}

.mod-badge-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mod-badge-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.mod-badge-input {
  font-size: 0.84rem;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  width: 100%;
  background: #FFFFFF;
}

.btn-clear-badge {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.btn-clear-badge:hover {
  color: #475569;
  background: #E2E8F0;
}

.mod-badge-suggestions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mod-badge-suggest-label {
  font-size: 0.74rem;
  color: var(--cb-ink-muted);
  font-weight: 600;
}

.badge-chip-suggest {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--cb-ink-body);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.badge-chip-suggest:hover {
  background: #E0F2FE;
  border-color: #38BDF8;
  color: #0369A1;
}

.btn-edit-badge-mod {
  background: #F1F5F9;
  color: var(--cb-navy);
  border: 1px solid #CBD5E1;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-edit-badge-mod:hover {
  background: #E2E8F0;
}

.btn-save-badge-mod {
  background: #0284C7;
  color: #FFFFFF;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-save-badge-mod:hover {
  background: #0369A1;
}

.active-edit-badge-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 10px;
}

/* Botões de Ação para Links Externos / Sites Oficiais */
.btn-primary-website {
  background: linear-gradient(135deg, #0284C7, #1D4ED8);
  color: #FFFFFF !important;
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  min-height: 42px;
  height: 42px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-website:hover {
  background: linear-gradient(135deg, #0369A1, #1E40AF);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.btn-primary-website svg {
  flex-shrink: 0;
}

.btn-primary-website span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-whatsapp-icon-only {
  background: #25D366;
  color: #FFFFFF !important;
  width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-icon-only:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
}

/* ==========================================================================
   SKELETON LOADERS DE ALTA VELOCIDADE (FEED INSTANTÂNEO)
   ========================================================================== */
.skeleton-ad-card {
  background: var(--cb-bg-card, #FFFFFF);
  border: 1px solid var(--bsb-rule, #E2E8F0);
  border-radius: var(--cb-radius-card, 4px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-kicker {
  height: 24px;
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite;
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(90deg, #CBD5E1 25%, #E2E8F0 50%, #CBD5E1 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite;
}

.skeleton-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  border-radius: 3px;
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   20. BOTÕES E COMPONENTES DE DOAÇÃO VIA MERCADO PAGO PIX (R$ 2,00)
   ========================================================================== */
.masthead-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-community-donate {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  color: #92400E;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-headline);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.08);
  white-space: nowrap;
}

.btn-community-donate:hover {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #78350F;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(180, 83, 9, 0.15);
}

.btn-community-donate svg {
  color: #D97706;
}

/* Modal de Doação */
.modal-donate-card {
  max-width: 480px;
}

.donate-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.donate-intro-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--cb-ink-light);
  line-height: 1.45;
}

.donate-value-selector {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.donate-value-label {
  font-family: var(--font-headline);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cb-navy);
}

.donate-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.donate-chip {
  flex: 1;
  min-width: 100px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.donate-chip:hover {
  border-color: #F59E0B;
  background: #FFFBEB;
}

.donate-chip.active {
  border-color: #D97706;
  background: #FEF3C7;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.2);
}

.donate-chip .chip-val {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.95rem;
  color: #78350F;
}

.donate-chip .chip-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #92400E;
}

.donate-pix-box {
  border: 1.5px dashed #CBD5E1;
  border-radius: 8px;
  padding: 16px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}

.pix-loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pix-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #F1F5F9;
  border-top-color: #0284C7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pix-loading-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cb-navy);
  margin: 0;
}

.pix-loading-sub {
  font-size: 0.76rem;
  color: var(--cb-ink-muted);
  margin: 0;
}

.pix-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.pix-instructions {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cb-navy);
  margin: 0;
}

.pix-qr-frame {
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.pix-qr-frame img {
  width: 170px;
  height: 170px;
  display: block;
}

.pix-value-tag {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  color: #15803D;
}

.pix-copiacola-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.pix-copiacola-input {
  width: 100%;
  font-size: 0.74rem;
  font-family: monospace;
  padding: 6px 8px;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  background: #F8FAFC;
  color: var(--cb-ink-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-copy-pix {
  width: 100%;
  background: #0284C7;
  color: #FFFFFF;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-copy-pix:hover {
  background: #0369A1;
}

.pix-polling-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #B45309;
  background: #FEF3C7;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #FDE68A;
}

.pix-polling-status .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  animation: pulseUrgent 1.5s infinite;
}

.pix-success-box {
  padding: 20px 10px;
  text-align: center;
}

.pix-success-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.pix-success-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: #15803D;
  margin: 0 0 6px 0;
}

.pix-success-desc {
  font-size: 0.88rem;
  color: var(--cb-ink-light);
  line-height: 1.5;
  margin: 0;
}

.donate-security-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--cb-ink-muted);
  line-height: 1.35;
}

.donate-security-note svg {
  color: #16A34A;
  flex-shrink: 0;
}

/* ==========================================================================
   21. RESGUARDO JURÍDICO & MARCO CIVIL DA INTERNET (ART. 19)
   ========================================================================== */
.legal-consent-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 10px;
}

.legal-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--cb-ink-body);
  line-height: 1.45;
}

.legal-consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--cb-navy);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}

.legal-link-inline {
  background: none;
  border: none;
  padding: 0;
  color: #0284C7;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

/* Modal de Termos */
.modal-terms-card {
  max-width: 680px;
}

.terms-body {
  max-height: 65vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--cb-ink-body);
}

.legal-section h4 {
  font-family: var(--font-headline);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--cb-navy);
  margin: 0 0 4px 0;
}

.legal-section p {
  margin: 0;
  color: var(--cb-ink-light);
}

.legal-section ul {
  margin: 6px 0 0 16px;
  padding: 0;
  color: var(--cb-ink-light);
}

.legal-section li {
  margin-bottom: 4px;
}

/* Aviso Legal e Doação no Modal de Leitura */
.reading-legal-notice {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 3.5px solid #0284C7;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.5;
}

/* ==========================================================================
   FAIXA DE APOIO / DOAÇÃO COMUNITÁRIA (DESIGN ELEGANTE & BONITINHO)
   ========================================================================== */
.reading-donate-card,
.reading-donate-strip {
  background: linear-gradient(135deg, #FFFDF8 0%, #FEF8EE 100%);
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(180, 83, 9, 0.05);
  margin-top: 4px;
}

.reading-donate-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.reading-donate-coffee-badge {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.1);
  flex-shrink: 0;
}

.reading-donate-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.reading-donate-heading {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #78350F;
  font-family: var(--font-headline, sans-serif);
  line-height: 1.25;
}

.reading-donate-sub {
  margin: 0;
  font-size: 0.77rem;
  color: #92400E;
  opacity: 0.9;
  line-height: 1.35;
}

.btn-reading-donate {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF !important;
  border: none;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
  flex-shrink: 0;
}

.btn-reading-donate:hover {
  background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.38);
}

.btn-reading-donate svg {
  transition: transform 0.2s ease;
}

.btn-reading-donate:hover svg {
  transform: translateX(3px);
}

/* Botões Secundários de Ação (Instagram / Website quando há WhatsApp) */
.btn-instagram-secondary {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
  color: #FFFFFF !important;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(225, 48, 108, 0.25);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.btn-instagram-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.38);
}

.btn-website-secondary {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #0284C7 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.btn-website-secondary:hover {
  background: #F0F9FF;
  border-color: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

/* Denúncia de Publicação Centralizada & Refinada */
.reading-report-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  margin-top: 4px;
}

.btn-link-report {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-link-report:hover {
  color: #DC2626;
  background: #FEF2F2;
}

.btn-link-report svg {
  flex-shrink: 0;
  color: #EF4444;
}

@media (max-width: 540px) {
  .reading-donate-card,
  .reading-donate-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .btn-reading-donate {
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
  }
}

/* Modal de Denúncias */
.modal-report-card {
  max-width: 500px;
}

.report-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-ad-target-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #991B1B;
}

/* Links do Rodapé */
.footer-legal-link {
  color: #0284C7;
  text-decoration: underline;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

.btn-footer-donate {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  display: inline-block;
  transition: background 0.2s;
}

.btn-footer-donate:hover {
  background: #FEF3C7;
}

.btn-footer-action-link {
  background: none;
  border: none;
  color: var(--cb-ink-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
}

.btn-footer-action-link:hover {
  color: var(--cb-navy);
  text-decoration: underline;
}

.footer-dot-sep {
  color: #CBD5E1;
  font-weight: 700;
}

.footer-credits {
  margin: 8px 0 6px;
  font-size: 0.88rem;
  color: #64748B;
  font-family: var(--font-sans);
}

.footer-author-link {
  color: #D97706;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-author-link:hover {
  color: #B45309;
}

/* ==========================================================================
   PAGINAÇÃO & CARREGAR MAIS NO FEED
   ========================================================================== */
.feed-pagination-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 16px 24px 16px;
  margin: 0 auto;
  max-width: 600px;
}

.feed-pagination-counter {
  font-size: 0.84rem;
  color: var(--bsb-ink-muted, #64748B);
  font-family: var(--font-sans, system-ui);
  text-align: center;
}

.feed-pagination-counter strong {
  color: var(--bsb-ink, #0F172A);
  font-weight: 700;
}

.btn-load-more-ads {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bsb-paper-card, #FFFFFF);
  color: var(--bsb-ink, #0F172A);
  border: 1.5px solid var(--bsb-rule, #CBD5E1);
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-sans, system-ui);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: all 0.22s ease-in-out;
}

.btn-load-more-ads svg {
  transition: transform 0.22s ease;
  color: var(--bsb-sky, #0284C7);
}

.btn-load-more-ads:hover {
  background: var(--bsb-sky-light, #F0F9FF);
  border-color: var(--bsb-sky, #0284C7);
  color: var(--bsb-athos-dark, #1E3A8A);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
  transform: translateY(-2px);
}

.btn-load-more-ads:hover svg {
  transform: translateY(3px);
}

.btn-load-more-ads:active {
  transform: translateY(0);
}

/* ==========================================================================
   VOUCHERS DE CUPOM & CÓDIGO DE INDICAÇÃO COM TOQUE PARA COPIAR
   ========================================================================== */

/* 1. Voucher Destacado no Modal de Leitura */
.reading-coupons-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 12px 0;
}

.reading-coupon-ticket {
  position: relative;
  background: linear-gradient(135deg, #FFFDF7 0%, #FEF9EE 100%);
  border: 1.5px dashed #F59E0B;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.reading-coupon-ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.22);
  border-color: #D97706;
}

.reading-coupon-ticket:active {
  transform: scale(0.985);
}

.ticket-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ticket-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1px solid #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  min-width: 0;
}

.ticket-tag-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B45309;
}

.ticket-code-val {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #78350F;
  line-height: 1.15;
  word-break: break-all;
}

.ticket-hint-small {
  font-size: 0.74rem;
  color: #92400E;
  font-weight: 500;
}

.ticket-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #D97706;
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
  transition: all 0.2s ease;
  flex-shrink: 0;
  pointer-events: none;
}

.reading-coupon-ticket:hover .ticket-action-btn {
  background: #B45309;
}

.reading-coupon-ticket.copied {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%) !important;
  border-color: #16A34A !important;
  border-style: solid !important;
  box-shadow: 0 4px 18px rgba(22, 163, 74, 0.25) !important;
}

.reading-coupon-ticket.copied .ticket-code-val {
  color: #14532D !important;
}

.reading-coupon-ticket.copied .ticket-action-btn {
  background: #16A34A !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35) !important;
}

/* 2. Cupom no Card do Feed (Mini Ticket Interativo) */
.ad-card-coupon-strip {
  margin: 6px 0 8px 0;
  width: 100%;
}

.btn-card-coupon-copy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #FFFBEB;
  border: 1.5px dashed #F59E0B;
  border-radius: 8px;
  padding: 7px 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  text-align: left;
}

.btn-card-coupon-copy:hover {
  background: #FEF3C7;
  border-color: #D97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.16);
}

.btn-card-coupon-copy:active {
  transform: scale(0.98);
}

.card-coupon-left {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
}

.card-coupon-icon {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

.card-coupon-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #B45309;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.card-coupon-code {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.98rem;
  font-weight: 800;
  color: #78350F;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-coupon-copy-badge {
  background: #F59E0B;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-card-coupon-copy:hover .card-coupon-copy-badge {
  background: #D97706;
}

.btn-card-coupon-copy.copied {
  background: #F0FDF4 !important;
  border-color: #16A34A !important;
  border-style: solid !important;
}

.btn-card-coupon-copy.copied .card-coupon-code {
  color: #15803D !important;
}

.btn-card-coupon-copy.copied .card-coupon-copy-badge {
  background: #16A34A !important;
}

/* 3. Chip Interativo Inline no Meio do Texto */
.inline-coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FEF3C7;
  color: #78350F;
  border: 1px dashed #D97706;
  border-radius: 6px;
  padding: 2px 7px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 3px;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.inline-coupon-chip:hover {
  background: #FDE68A;
  border-color: #B45309;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.22);
}

.inline-coupon-chip:active {
  transform: scale(0.96);
}

.inline-coupon-chip .chip-action {
  font-family: var(--font-sans);
  font-size: 0.68em;
  font-weight: 800;
  text-transform: uppercase;
  background: #D97706;
  color: #FFFFFF;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 2px;
}

.inline-coupon-chip.copied {
  background: #DCFCE7 !important;
  color: #14532D !important;
  border-color: #16A34A !important;
  border-style: solid !important;
}

.inline-coupon-chip.copied .chip-action {
  background: #16A34A !important;
}





