/*
Theme Name: Analitic Portal
Theme URI: https://analitic.com.br
Author: Analitic Assessoria & Consultoria
Author URI: https://analitic.com.br
Description: Portal de notícias e gestão empresarial da Analitic. Autoridade, educação e atração de público para empresários.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: analitic
Tags: news, magazine, responsive, custom-colors, custom-menu, featured-images, footer-widgets, right-sidebar, two-columns, business
*/

/* ===========================
   VARIÁVEIS — Identidade Analitic
   Manual da Marca: vermelho #Ed3237
   vinho #932D2E, quase-preto #373435
   smoke #F3F0F0, timber #DAD0D0
=========================== */
:root {
  --red:           #Ed3237;
  --wine:          #932D2E;
  --dark:          #373435;
  --smoke:         #F3F0F0;
  --timber:        #DAD0D0;
  --white:         #FFFFFF;
  --text:          #1C1C2E;
  --text-muted:    #5A6475;
  --border:        #E0E6EE;
  --light:         #F4F6F9;
  --shadow:        0 2px 12px rgba(55,52,53,0.10);
  --shadow-hover:  0 6px 24px rgba(55,52,53,0.18);
  --radius:        6px;
  --radius-lg:     12px;

  /* Cores por categoria — contraste garantido */
  --cat-gestao:        #1A3A5C;   /* Azul corporativo */
  --cat-economia:      #0F7A55;   /* Verde escuro */
  --cat-tecnologia:    #5B21B6;   /* Roxo */
  --cat-contabilidade: #B91C1C;   /* Vermelho escuro */
  --cat-agro:          #4A7C2F;   /* Verde rural */
  --cat-negocios:      #C2610F;   /* Laranja */
  --cat-artigos:       #0369A1;   /* Azul médio */
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--smoke);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===========================
   TIPOGRAFIA
=========================== */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Sora', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1.2rem; }

/* ===========================
   CONTAINER
=========================== */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px;  margin: 0 auto; padding: 0 20px; }

/* ===========================
   TAGS DE CATEGORIA
=========================== */
.cat-tag {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  color: #F3F0F0;
  background: var(--red);
}
.cat-tag.gestao-empresarial    { background: var(--cat-gestao);        color: #F3F0F0; }
.cat-tag.economia-mercado      { background: var(--cat-economia);      color: #F3F0F0; }
.cat-tag.tecnologia-erp        { background: var(--cat-tecnologia);    color: #F3F0F0; }
.cat-tag.contabilidade-financas{ background: var(--cat-contabilidade); color: #F3F0F0; }
.cat-tag.agro-gestao-rural     { background: var(--cat-agro);          color: #F3F0F0; }
.cat-tag.mundo-dos-negocios    { background: var(--cat-negocios);      color: #F3F0F0; }
.cat-tag.artigos-analises      { background: var(--cat-artigos);       color: #F3F0F0; }

/* ===========================
   SECTION HEADER
=========================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--timber);
}
.section-header h2 {
  font-size: 1.1rem;
  font-family: 'Sora', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-header h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--red);
  border-radius: 2px;
}
.section-header .ver-mais {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-header .ver-mais:hover { color: var(--wine); }

/* ===========================
   TOP BAR — Redes Sociais
=========================== */
.top-bar {
  background: var(--dark);
  padding: 5px 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-date {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.3px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.social-links .label {
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,.35);
  margin-right: 4px;
}
.social-link {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  transition: background 0.2s, border-color 0.2s;
}
.social-link:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ===========================
   BREAKING NEWS TICKER — fundo #932D2E
=========================== */
.breaking-bar {
  background: var(--wine);
  padding: 7px 0;
  overflow: hidden;
}
.breaking-bar .container {
  display: flex;
  align-items: center;
  gap: 0;
}
.breaking-label {
  background: var(--smoke);
  color: var(--wine);
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 14px;
}
.breaking-track-wrap { overflow: hidden; flex: 1; }
.breaking-track {
  display: inline-block;
  white-space: nowrap;
  animation: scrollTicker 35s linear infinite;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--smoke);
}
.breaking-track .ticker-item { margin-right: 30px; display: inline-flex; align-items: center; gap: 5px; }
.breaking-track .ticker-val  { font-weight: 700; color: var(--smoke); }
.breaking-track .ticker-up   { color: #A8F0D8; font-size: 0.72rem; font-weight: 700; }
.breaking-track .ticker-dn   { color: #FFCDD2; font-size: 0.72rem; font-weight: 700; }
@keyframes scrollTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   HEADER PRINCIPAL
=========================== */
#masthead {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 42px; height: 42px;
  background: var(--red);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon .logo-a {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  font-family: Georgia, serif;
  line-height: 1;
}
.logo-text-wrap { display: flex; flex-direction: column; }
.site-logo-text {
  font-family: 'Sora', Georgia, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}
.site-logo-text .red { color: var(--red); }
.site-tagline {
  font-family: 'Sora', sans-serif;
  font-size: 0.62rem;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--light);
  border: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.search-icon:hover { background: var(--timber); }
.search-icon svg { width: 15px; height: 15px; stroke: var(--text-muted); fill: none; stroke-width: 2; }

/* ===========================
   NAVEGAÇÃO PRINCIPAL
=========================== */
#site-navigation { background: var(--dark); }
.nav-inner { display: flex; align-items: center; }
.main-menu { display: flex; align-items: center; }
.main-menu > li > a {
  display: block;
  padding: 11px 15px;
  font-family: 'Sora', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  border-bottom: 2px solid transparent;
}
.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a {
  color: #fff;
  border-bottom-color: var(--red);
}
.main-menu li { position: relative; }
.sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  min-width: 220px;
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow-hover);
  z-index: 999;
  border-radius: 0 0 var(--radius) var(--radius);
}
.main-menu li:hover > .sub-menu { display: block; }
.sub-menu li a {
  display: block;
  padding: 9px 16px;
  font-family: 'Sora', sans-serif;
  font-size: 0.76rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { background: var(--smoke); color: var(--red); padding-left: 22px; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
  margin-left: auto;
}
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ===========================
   BARRA DE PROGRESSO DE LEITURA
=========================== */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--wine), var(--red));
  z-index: 9999;
  transition: width 0.1s;
}

/* ===========================
   HERO — BANNER ROTATIVO
=========================== */
.hero-section { background: var(--white); padding: 20px 0; border-bottom: 1px solid var(--border); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 20px;
}
.hero-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 300px;
  cursor: pointer;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide  { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,10,10,.92) 0%, rgba(30,10,10,.35) 55%, transparent 100%);
}
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
}
.hero-content h2 {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 8px 0 10px;
  line-height: 1.3;
}
.hero-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-meta span { font-family: 'Sora', sans-serif; font-size: 0.72rem; color: rgba(255,255,255,.7); }
.dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.4); }
/* Dots indicadores */
.hero-dots {
  position: absolute; bottom: 14px; right: 14px;
  display: flex; gap: 5px; z-index: 10;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all 0.2s;
}
.hero-dot.active { background: var(--white); width: 20px; border-radius: 4px; }

/* Hero sidebar */
.hero-sidebar { display: flex; flex-direction: column; gap: 10px; }
.hero-side-card {
  display: flex; gap: 10px;
  padding: 10px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--white);
  transition: background 0.15s, transform 0.15s;
}
.hero-side-card:hover { background: var(--smoke); transform: translateX(3px); }
.hero-side-thumb {
  flex-shrink: 0; width: 72px; height: 56px;
  border-radius: var(--radius); overflow: hidden;
}
.hero-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-body h3 { font-size: 0.82rem; line-height: 1.35; margin: 5px 0 4px; font-weight: 600; }
.hero-side-meta { font-family: 'Sora', sans-serif; font-size: 0.7rem; color: var(--text-muted); }

/* ===========================
   LAYOUT PRINCIPAL
=========================== */
#content { padding: 24px 0 40px; }
.content-area {
  display: grid;
  grid-template-columns: 1fr 295px;
  gap: 24px;
}

/* ===========================
   SEÇÕES DE CATEGORIAS
=========================== */
.category-section { margin-bottom: 30px; }
.posts-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.posts-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.posts-grid-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.posts-list { display: flex; flex-direction: column; gap: 10px; }

/* Card padrão */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-card-img-wrap { overflow: hidden; }
.post-card-img { width: 100%; height: 150px; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card-img { transform: scale(1.04); }
.post-card-placeholder { width: 100%; height: 150px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.post-card-body { padding: 12px 14px 14px; }
.post-card-body h3 { font-size: 0.88rem; line-height: 1.4; margin: 6px 0 8px; font-weight: 600; }
.post-card-body h3 a:hover { color: var(--red); }
.post-card-meta { display: flex; align-items: center; gap: 6px; font-family: 'Sora', sans-serif; font-size: 0.7rem; color: var(--text-muted); }
.post-card-meta .dot { background: var(--timber); }
.post-card-excerpt { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.post-card-featured .post-card-img { height: 210px; }
.post-card-featured .post-card-placeholder { height: 210px; font-size: 3.5rem; }

/* Card horizontal */
.post-card-horizontal {
  display: flex; gap: 10px;
  padding: 10px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--white);
  transition: background 0.15s;
}
.post-card-horizontal:hover { background: var(--smoke); }
.post-card-horizontal .thumb { flex-shrink: 0; width: 72px; height: 58px; border-radius: var(--radius); overflow: hidden; }
.post-card-horizontal .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-horizontal .body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.post-card-horizontal .body h4 { font-size: 0.82rem; line-height: 1.35; margin: 4px 0 5px; font-weight: 600; }
.post-card-horizontal .body .meta { font-family: 'Sora', sans-serif; font-size: 0.7rem; color: var(--text-muted); }

/* ===========================
   SÉRIE ANALITIC — Animação
=========================== */
.serie-analitic-banner {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.serie-particles { position: absolute; inset: 0; pointer-events: none; }
.serie-particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  animation: floatUp 4s ease-in-out infinite;
}
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  20%  { opacity: .8; }
  80%  { opacity: .3; }
  100% { opacity: 0; transform: translateY(-80px) scale(1.5); }
}
.serie-scan-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
  animation: scanLine 3s ease-in-out infinite;
}
@keyframes scanLine {
  0%   { opacity: 0; transform: scaleX(0); }
  50%  { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(0); }
}
.serie-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  animation: pulseTxt 2s ease-in-out infinite;
}
@keyframes pulseTxt { 0%,100%{opacity:1} 50%{opacity:.5} }
.serie-analitic-banner h2 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.serie-analitic-banner p  { color: rgba(255,255,255,.6); font-size: 0.82rem; margin-bottom: 16px; line-height: 1.55; }
.serie-cards { display: flex; gap: 10px; flex-wrap: wrap; }
.serie-pill {
  background: rgba(237,50,55,.15);
  border: 0.5px solid rgba(237,50,55,.4);
  color: rgba(255,255,255,.85);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Sora', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  animation: pillGlow 3s ease-in-out infinite;
}
.serie-pill:nth-child(2) { animation-delay: .5s; }
.serie-pill:nth-child(3) { animation-delay: 1s; }
@keyframes pillGlow {
  0%,100%{ border-color:rgba(237,50,55,.4); box-shadow:none; }
  50%    { border-color:rgba(237,50,55,.9); box-shadow:0 0 10px rgba(237,50,55,.3); }
}
.serie-pill:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ===========================
   ANÚNCIO ENTRE SEÇÕES
=========================== */
.ad-between-sections {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  height: 90px;
  margin-bottom: 30px;
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ad-label { opacity: 0.5; font-size: 0.62rem; }

/* ===========================
   SIDEBAR
=========================== */
#secondary { display: flex; flex-direction: column; gap: 18px; }
.widget {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.widget-title {
  background: var(--dark);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 14px;
}
.widget-title.red { background: var(--wine); }
.widget-body { padding: 14px; }

/* Ad sidebar */
.widget-ad .widget-body {
  padding: 0;
  min-height: 250px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: var(--smoke);
  border: 1.5px dashed var(--timber);
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.widget-ad .ad-size { font-size: 0.62rem; opacity: 0.5; }

/* Cotações */
.quote-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 0.82rem;
}
.quote-item:last-child { border-bottom: none; }
.quote-name { font-weight: 600; color: var(--text); }
.quote-val  { font-weight: 700; color: var(--dark); }
.quote-up   { color: #0F7A55; font-size: 0.72rem; font-weight: 700; }
.quote-dn   { color: var(--red); font-size: 0.72rem; font-weight: 700; }

/* Categorias */
.widget-categories ul li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 0.84rem;
}
.widget-categories ul li:last-child { border-bottom: none; }
.widget-categories ul li a { color: var(--text); font-weight: 500; }
.widget-categories ul li a:hover { color: var(--red); }
.cat-count {
  background: var(--smoke);
  color: var(--text-muted);
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-family: 'Sora', sans-serif;
}

/* Posts recentes */
.widget-recent-posts ul li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 0.5px solid var(--border); }
.widget-recent-posts ul li:last-child { border-bottom: none; }
.widget-recent-posts .thumb { flex-shrink: 0; width: 56px; height: 46px; border-radius: 4px; overflow: hidden; }
.widget-recent-posts .thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-posts .info h5 { font-size: 0.78rem; line-height: 1.35; margin-bottom: 3px; font-weight: 600; }
.widget-recent-posts .info span { font-family: 'Sora', sans-serif; font-size: 0.68rem; color: var(--text-muted); }

/* ===========================
   BOTÕES DE COMPARTILHAMENTO
=========================== */
.analitic-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 14px 18px;
  background: var(--smoke);
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
}
.share-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-right: 4px;
  white-space: nowrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 4px;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}
.share-btn:hover  { opacity: 0.85; transform: translateY(-1px); }
.share-btn:active { transform: scale(0.97); }
.share-whatsapp { background: #25D366; color: #fff; }
.share-telegram { background: #0088CC; color: #fff; }
.share-linkedin { background: #0077B5; color: #fff; }
.share-facebook { background: #1877F2; color: #fff; }
.share-twitter  { background: #000000; color: #fff; }
.share-copy     { background: var(--dark); color: var(--smoke); }

/* ===========================
   SINGLE POST
=========================== */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 295px;
  gap: 24px;
  padding: 24px 0 40px;
}
.article-header { margin-bottom: 22px; }
.article-header h1 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 10px 0 12px; line-height: 1.25; }
.article-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  border-left: 3px solid var(--red);
  padding-left: 16px;
}
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.article-meta span { font-family: 'Sora', sans-serif; font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.article-meta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.article-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 26px; }
.article-featured-img img { width: 100%; height: 400px; object-fit: cover; }
.article-caption { font-size: 0.73rem; color: var(--text-muted); padding: 7px 12px; font-style: italic; background: var(--smoke); }
.article-body { font-size: 1rem; line-height: 1.8; }
.article-body h2 { font-size: 1.35rem; margin: 26px 0 12px; color: var(--dark); }
.article-body h3 { font-size: 1.1rem;  margin: 20px 0 10px; }
.article-body p  { margin-bottom: 1.35rem; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  margin: 22px 0;
  background: var(--smoke);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--dark);
}
.ad-after-article {
  margin: 28px 0;
  background: var(--smoke);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  height: 120px;
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.related-posts { margin-top: 30px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }

/* ===========================
   FOOTER
=========================== */
#colophon { background: var(--dark); color: rgba(255,255,255,.8); padding: 36px 0 18px; }
.footer-bar { height: 3px; background: linear-gradient(to right, var(--wine), var(--red)); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-logo { font-family: 'Sora', Georgia, sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.footer-logo .red { color: var(--red); }
.footer-desc { font-size: 0.8rem; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 14px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 0.5px solid rgba(255,255,255,.12);
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: 0.8rem; color: rgba(255,255,255,.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,.1);
  padding-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,.3);
}

/* ===========================
   PAGINAÇÃO
=========================== */
.nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.nav-links a, .nav-links span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover     { background: var(--red); color: var(--white); border-color: var(--red); }
.nav-links .current    { background: var(--red); color: var(--white); border-color: var(--red); }
.nav-links .prev, .nav-links .next { width: auto; padding: 0 14px; }

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .content-area { grid-template-columns: 1fr 260px; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .content-area { grid-template-columns: 1fr; }
  #secondary { display: none; }
  .posts-grid-3 { grid-template-columns: 1fr 1fr; }
  .posts-grid-featured { grid-template-columns: 1fr; }
  .main-menu { display: none; flex-direction: column; width: 100%; }
  .main-menu.open { display: flex; }
  .main-menu > li > a { padding: 11px 20px; border-bottom: 1px solid rgba(255,255,255,.08); border-left: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .single-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .analitic-share-bar { gap: 6px; }
  .top-bar .social-links .label { display: none; }
}
@media (max-width: 480px) {
  .posts-grid-3, .posts-grid-2 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hero-main { height: 260px; }
  .article-featured-img img { height: 240px; }
  .share-btn { font-size: 0.65rem; padding: 5px 10px; }
}
