/* ============================================================
   EIXO BRASIL 360 — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=Barlow+Condensed:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:         #1b3a6b;
  --blue-dark:    #122850;
  --blue-mid:     #254d8f;
  --blue-mobile:  #2d5fa8;  /* azul claro para barra mobile */
  --orange:     #e07b00;
  --orange-dk:  #b86300;
  --text:       #1e2530;
  --text-mid:   #3d4757;
  --muted:      #6b7685;
  --border:     #e2e6ec;
  --bg:         #f6f7f9;
  --white:      #ffffff;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.05);
  --shadow-md:  0 2px 8px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.07);
  --radius:     4px;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-cond:  'Barlow Condensed', sans-serif;
  --font-body:  'Source Sans 3', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* iOS Safari: evita scroll horizontal */
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;        /* bloqueia scroll horizontal */
  max-width: 100vw;          /* nunca ultrapassa a largura da tela */
  -webkit-text-size-adjust: 100%; /* iOS: evita zoom automático de fonte */
}
a { text-decoration: none; color: inherit; transition: color .2s; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 20px; }

.cat-tag {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}
.cat-tag.orange { background: var(--orange); }
.cat-tag.economia { background: #0e6b3a; }
.cat-tag.esportes { background: #7b2d8b; }
.cat-tag.saude    { background: #c0392b; }
.cat-tag.tecnologia { background: #2471a3; }

.section-label {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  border-left: 3px solid var(--orange);
  padding-left: 10px;
  margin-bottom: 20px;
}

.meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.meta .sep { opacity: .4; }

/* ── BREAKING BAR ── */
.breaking-bar {
  background: var(--blue);
  color: #fff;
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.breaking-label {
  background: var(--orange);
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
}
.breaking-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.ticker-wrap { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.ticker-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  animation: scroll-ticker 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { cursor: pointer; }
.ticker-track span:hover { color: #ffd080; }
.ticker-track span::before { content: "▸ "; opacity: .5; }
@keyframes scroll-ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── TOP BAR ── */
.topbar { background: var(--white); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 5px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { font-weight: 600; transition: color .2s; }
.topbar-links a:hover { color: var(--orange); }

/* ── HEADER DESKTOP ── */
.site-header { background: var(--white); border-bottom: 3px solid var(--blue); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 58px; width: auto; display: block; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-form { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.search-form input { border: none; padding: 8px 14px; font-size: 13px; width: 220px; outline: none; font-family: var(--font-body); background: var(--bg); color: var(--text); }
.search-form button { background: var(--blue); border: none; color: #fff; padding: 0 14px; cursor: pointer; font-size: 13px; font-weight: 600; font-family: var(--font-cond); letter-spacing: .5px; transition: background .2s; }
.search-form button:hover { background: var(--blue-mid); }
.btn-live { display: flex; align-items: center; gap: 7px; background: var(--orange); color: #fff; font-family: var(--font-cond); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 9px 16px; border-radius: var(--radius); white-space: nowrap; transition: background .2s; }
.btn-live:hover { background: var(--orange-dk); }

/* ── MOBILE HEADER BAR ──────────────────────────────────────
   Barra azul fixa no topo, só visível no mobile/tablet.
   Layout: [☰]  [LOGO CENTRALIZADA]  [🔍]
   Mesma estrutura do Campo Grande News.
──────────────────────────────────────────────────────────── */
.mobile-header {
  display: none; /* aparece só via media query */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--blue);
  height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  border-bottom: 3px solid var(--orange);
}

/* Botão hambúrguer ── lado esquerdo */
.mob-hamburger {
  width: 54px;
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.mob-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.mob-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mob-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mob-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Logo centralizada ── meio */
.mob-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 8px;
  min-width: 0;
}
.mob-logo img {
  height: 54px;       /* maior para acomodar ícone + lettering empilhados */
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  /* logo_mobile.png já tem as cores corretas — sem filtro */
}
/* Fallback texto se imagem falhar */
.mob-logo-text {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: .5px;
  white-space: nowrap;
}
.mob-logo-text em { color: var(--orange); font-style: normal; }

/* Botão lupa ── lado direito */
.mob-search-btn {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 22px;
  flex-shrink: 0;
  padding: 0;
}

/* Caixa de busca mobile — expande abaixo da barra ao clicar na lupa */
.mob-search-bar {
  display: none; /* só no mobile via media query */
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 299;
  background: var(--bg);
  padding: 10px 14px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform .3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.mob-search-bar.open { transform: translateY(0); }
.mob-search-bar input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--text);
  outline: none;
}
.mob-search-bar input::placeholder { color: var(--muted); }
.mob-search-bar button {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 0 18px;
  border-radius: var(--radius);
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Menu lateral mobile (slide da esquerda) */
.mob-nav-drawer {
  display: none; /* só no mobile via media query */
  position: fixed;
  top: 70px;
  left: 0;
  bottom: 0;
  width: 82vw;
  max-width: 300px;
  background: #ffffff;
  z-index: 298;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; /* scroll suave no iOS */
  transform: translateX(-100%);
  transition: transform .32s ease;
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
  border-top: 1px solid var(--border);
}
.mob-nav-drawer.open { transform: translateX(0); }
.mob-nav-drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.mob-nav-drawer a::before { content: '▸'; font-size: 11px; color: var(--orange); opacity: .7; }
.mob-nav-drawer a:hover,
.mob-nav-drawer a.active { background: var(--bg); color: var(--blue); }
.mob-nav-drawer a.active::before { opacity: 1; }

/* Overlay escuro atrás do drawer */
.mob-overlay {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.45);
  z-index: 297;
}
.mob-overlay.open { display: block; }

/* Empurra o conteúdo para baixo da barra fixa no mobile */
body.mobile-nav-active { padding-top: 62px; }

/* ── MAIN NAV ── */
.main-nav {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  transition: box-shadow .3s;
}

/* Logo que aparece na nav ao fazer scroll
   TÉCNICA: nunca usar display:none pois mata a transição CSS.
   Usamos width:0 + overflow:hidden + opacity:0 para esconder
   e revertemos tudo ao adicionar .scrolled na nav.          */
.nav-logo {
  display: flex;          /* sempre flex — a transição precisa disso */
  align-items: center;
  overflow: hidden;
  width: 0;               /* começa sem largura — invisível */
  max-width: 0;
  padding: 0;
  border-right: 1px solid transparent;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: width .35s ease,
              max-width .35s ease,
              opacity .35s ease,
              transform .35s ease,
              padding .35s ease,
              visibility .35s ease;
  pointer-events: none;
  text-decoration: none;
}
.nav-logo img {
  height: 30px;
  width: auto;
  min-width: 80px;        /* garante que a img não encolhe */
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* Estado: scrollou — logo abre e aparece */
.main-nav.scrolled .nav-logo {
  width: 130px;
  max-width: 130px;
  padding: 0 14px 0 16px;
  border-right: 1px solid rgba(255,255,255,.15);
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: stretch;
}
.nav-inner::-webkit-scrollbar { display: none; }

/* Links de navegação */
.main-nav a {
  display: block;
  color: rgba(255,255,255,.72);
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 17px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background .2s, color .2s;
}
.main-nav a:hover,
.main-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.main-nav a.active { border-bottom: 3px solid var(--orange); }

/* Botão hambúrguer — só no mobile */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
/* Animação X ao abrir */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-menu.open {
  max-height: 600px;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.75);
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .2s, color .2s;
  gap: 10px;
}
.mobile-menu a::before { content: '▸'; font-size: 10px; opacity: .4; }
.mobile-menu a:hover,
.mobile-menu a.active { background: rgba(255,255,255,.08); color: #fff; }
.mobile-menu a.active::before { color: var(--orange); opacity: 1; }

/* Busca dentro do menu mobile */
.mobile-search {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 8px;
}
.mobile-search input {
  flex: 1;
  padding: 9px 12px;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-body);
  background: rgba(255,255,255,.12);
  color: #fff;
  outline: none;
}
.mobile-search input::placeholder { color: rgba(255,255,255,.45); }
.mobile-search button {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 0 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-cond);
  letter-spacing: .5px;
}

/* ── HERO ── */
.hero { background: var(--white); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1fr 315px; gap: 1px; background: var(--border); }

.hero-main { position: relative; overflow: hidden; cursor: pointer; }
.hero-main img { transition: transform .55s ease; }
.hero-main:hover img { transform: scale(1.025); }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,16,32,.9) 40%, rgba(8,16,32,.2) 75%, transparent 100%); }
.hero-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 24px 22px; color: #fff; }
.hero-body .cat-tag { margin-bottom: 10px; }
.hero-body h1 { font-family: var(--font-serif); font-size: 23px; font-weight: 900; line-height: 1.3; margin-bottom: 8px; }
.hero-body p { font-size: 14px; opacity: .82; line-height: 1.6; }
.hero-body .meta { color: rgba(255,255,255,.5); margin-top: 10px; font-size: 12px; }

.hero-stack { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.hero-card { background: var(--white); padding: 13px; display: flex; flex-direction: column; flex: 1; cursor: pointer; transition: background .2s; }
.hero-card:hover { background: var(--bg); }
.hero-card img { margin-bottom: 10px; transition: opacity .25s; }
.hero-card:hover img { opacity: .9; }
.hero-card h3 { font-family: var(--font-serif); font-size: 13px; font-weight: 700; line-height: 1.4; }
.hero-card:hover h3 { color: var(--blue); }

/* ── MAIN LAYOUT ── */
.main-wrap { padding: 28px 0 40px; }
.content-grid { display: grid; grid-template-columns: 1fr 292px; gap: 30px; }

/* ── NEWS GRID ── */
.news-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { cursor: pointer; }
.news-card-img { overflow: hidden; margin-bottom: 10px; border-radius: var(--radius); }
.news-card img { transition: transform .4s; }
.news-card:hover img { transform: scale(1.05); }
.news-card h3 { font-family: var(--font-serif); font-size: 14.5px; font-weight: 700; line-height: 1.4; margin: 5px 0 4px; }
.news-card:hover h3 { color: var(--blue); }
.news-card p { font-size: 13px; color: var(--muted); }

/* ── WIDE CARD ── */
.wide-list { display: flex; flex-direction: column; }
.wide-card { display: grid; grid-template-columns: 185px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.wide-card:first-child { border-top: 1px solid var(--border); }
.wide-card .wc-img { overflow: hidden; border-radius: var(--radius); }
.wide-card img { transition: transform .4s; }
.wide-card:hover img { transform: scale(1.05); }
.wide-card-body { display: flex; flex-direction: column; justify-content: center; }
.wide-card h3 { font-family: var(--font-serif); font-size: 16px; font-weight: 700; line-height: 1.35; margin: 6px 0; }
.wide-card:hover h3 { color: var(--blue); }
.wide-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.section-block { margin-bottom: 32px; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.most-read li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.most-read li:last-child { border-bottom: none; }
.rank { font-family: var(--font-cond); font-size: 26px; font-weight: 700; color: #dde2e8; line-height: 1; width: 28px; flex-shrink: 0; transition: color .2s; }
.most-read li:hover .rank { color: var(--orange); }
.most-read h4 { font-family: var(--font-serif); font-size: 13px; font-weight: 700; line-height: 1.4; padding-top: 3px; }
.most-read li:hover h4 { color: var(--blue); }

.newsletter-box { background: var(--blue); color: #fff; padding: 20px 18px; border-radius: var(--radius); }
.newsletter-box h3 { font-family: var(--font-cond); font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.newsletter-box p { font-size: 13px; opacity: .72; margin-bottom: 14px; line-height: 1.5; }
.newsletter-box input { width: 100%; padding: 9px 12px; border: none; font-size: 13px; margin-bottom: 8px; font-family: var(--font-body); border-radius: 2px; outline: none; }
.newsletter-box button { width: 100%; background: var(--orange); color: #fff; border: none; padding: 10px; font-family: var(--font-cond); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background .2s; }
.newsletter-box button:hover { background: var(--orange-dk); }

.ad-placeholder { background: var(--white); border: 1px dashed var(--border); height: 250px; display: flex; align-items: center; justify-content: center; color: #c4cad4; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; border-radius: var(--radius); }

.recent-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; align-items: flex-start; }
.recent-list li:last-child { border-bottom: none; }
.recent-time { font-size: 11px; color: var(--muted); white-space: nowrap; flex-shrink: 0; padding-top: 2px; font-weight: 600; }
.recent-list h4 { font-size: 13px; font-weight: 600; line-height: 1.4; }
.recent-list li:hover h4 { color: var(--blue); }

/* ── EDITORIAS BAND ── */
.editorias-band { background: var(--white); border-top: 1px solid var(--border); padding: 32px 0; }
.editorias-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.edit-col .section-label { margin-bottom: 10px; }
.edit-item { padding: 9px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.edit-item:last-child { border-bottom: none; }
.edit-item h4 { font-size: 13.5px; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.edit-item:hover h4 { color: var(--blue); }
.edit-item .meta { font-size: 11px; }

/* ── ARTICLE PAGE ── */
.article-wrap { padding: 32px 0 48px; }
.article-header { margin-bottom: 24px; }
.article-header h1 { font-family: var(--font-serif); font-size: 28px; font-weight: 900; line-height: 1.3; margin: 10px 0 12px; }
.article-header .lead { font-size: 17px; color: var(--text-mid); line-height: 1.65; font-style: italic; margin-bottom: 16px; border-left: 3px solid var(--orange); padding-left: 16px; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.article-meta .author { font-weight: 700; color: var(--blue); }
.article-img-wrap { margin-bottom: 10px; border-radius: var(--radius); overflow: hidden; }
/* .article-img-wrap img — removido, regra unificada no final */
.article-caption { font-size: 12px; color: var(--muted); margin-bottom: 26px; font-style: italic; padding-left: 4px; }
.article-body { font-size: 16px; line-height: 1.8; color: var(--text); }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-family: var(--font-serif); font-size: 21px; font-weight: 700; margin: 28px 0 12px; color: var(--blue); }
.article-body blockquote { border-left: 4px solid var(--orange); padding: 14px 20px; background: var(--bg); margin: 24px 0; font-style: italic; font-size: 17px; color: var(--text-mid); border-radius: 0 var(--radius) var(--radius) 0; }
.share-bar { display: flex; align-items: center; gap: 10px; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 28px 0; }
.share-bar span { font-family: var(--font-cond); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.share-btn { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; border: none; font-family: var(--font-cond); letter-spacing: .5px; transition: opacity .2s; }
.share-btn:hover { opacity: .85; }
.share-btn.whatsapp { background: #25d366; color: #fff; }
.share-btn.facebook { background: #1877f2; color: #fff; }
.share-btn.twitter  { background: #111; color: #fff; }
.share-btn.copy     { background: var(--bg); color: var(--blue); border: 1.5px solid var(--border); }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 12px; }
.related-card { cursor: pointer; }
.related-card img { border-radius: var(--radius); margin-bottom: 8px; transition: opacity .25s; }
.related-card:hover img { opacity: .88; }
.related-card h4 { font-family: var(--font-serif); font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.related-card:hover h4 { color: var(--blue); }

/* ── EDITORIA PAGE ── */
.editoria-header { background: var(--blue); color: #fff; padding: 32px 0; margin-bottom: 32px; }
.editoria-header h1 { font-family: var(--font-cond); font-size: 36px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.editoria-header p { font-size: 15px; opacity: .7; margin-top: 5px; }
.editoria-count { font-family: var(--font-cond); font-size: 13px; font-weight: 700; letter-spacing: 1px; background: var(--orange); display: inline-block; padding: 4px 10px; border-radius: 2px; margin-top: 10px; }

.editoria-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 32px; }
.editoria-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: box-shadow .25s, transform .25s; }
.editoria-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
/* .editoria-card img — height controlado pelo aspect-ratio */
.editoria-card-body { padding: 14px 16px; }
.editoria-card h3 { font-family: var(--font-serif); font-size: 15px; font-weight: 700; line-height: 1.4; margin: 6px 0 5px; }
.editoria-card:hover h3 { color: var(--blue); }
.editoria-card p { font-size: 13px; color: var(--muted); }

.pagination { display: flex; gap: 6px; justify-content: center; padding: 24px 0; }
.page-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; background: var(--white); color: var(--text); transition: all .2s; }
.page-btn:hover, .page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── CONTACT PAGE ── */
.contact-wrap { padding: 40px 0 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.contact-form-wrap h2 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.contact-form-wrap > p { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text-mid); margin-bottom: 5px; font-family: var(--font-cond); letter-spacing: .5px; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: var(--font-body); color: var(--text); background: var(--white); outline: none; transition: border-color .2s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit { background: var(--blue); color: #fff; border: none; padding: 13px 32px; font-family: var(--font-cond); font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; transition: background .2s; }
.btn-submit:hover { background: var(--blue-mid); }
.contact-info h3 { font-family: var(--font-cond); font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.info-item { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.info-icon { width: 38px; height: 38px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.info-text strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.info-text span { font-size: 13px; color: var(--muted); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 40px; height: 40px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .2s, border-color .2s; cursor: pointer; }
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── FOOTER ── */
.site-footer { background: #14202e; color: #8a96a8; margin-top: 0; overflow-x: hidden; max-width: 100%; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding: 44px 0 36px; border-bottom: 1px solid #1e2e3e; }
.footer-logo img { height: 40px; width: auto; object-fit: contain; filter: brightness(0) invert(1) opacity(.8); margin-bottom: 14px; }
.footer-about { font-size: 13px; line-height: 1.75; max-width: 280px; color: #6b7a8d; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 33px; height: 33px; background: #1e2e3e; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 2px; transition: background .2s; }
.footer-social a:hover { background: var(--orange); color: #fff; }
.footer-col h4 { font-family: var(--font-cond); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #dde3ee; margin-bottom: 16px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13px; color: #5d6d7e; transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { padding: 14px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #3a4d5e; }
.footer-bottom a { color: #3a4d5e; transition: color .2s; }
.footer-bottom a:hover { color: var(--orange); }


/* ════════════════════════════════════════
   RESPONSIVO
════════════════════════════════════════ */
@media (max-width: 980px) {
  /* Oculta TUDO do desktop */
  .breaking-bar  { display: none !important; }
  .topbar        { display: none !important; }
  .site-header   { display: none !important; }
  .main-nav      { display: none !important; }

  /* Mostra barra mobile fixa e seus componentes */
  .mobile-header  { display: flex !important; }
  .mob-search-bar { display: flex !important; }
  .mob-nav-drawer { display: block !important; }

  /* Empurra conteúdo para não ficar atrás da barra */
  body { padding-top: 70px; }

  /* Grids */
  .hero-grid      { grid-template-columns: 1fr; }
  .hero-stack     { display: none; }
  .content-grid   { grid-template-columns: 1fr; }
  .news-grid-3    { grid-template-columns: 1fr 1fr; }
  .editorias-grid { grid-template-columns: 1fr 1fr; }
  .editoria-grid  { grid-template-columns: 1fr 1fr; }
  .footer-main    { grid-template-columns: 1fr 1fr; }
  .related-grid   { grid-template-columns: 1fr 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-body h1   { font-size: 19px; }
  .news-grid-3    { grid-template-columns: 1fr; }
  .wide-card      { grid-template-columns: 1fr; }
  /* .wide-card img mobile — height controlado pelo aspect-ratio */
  .editorias-grid { grid-template-columns: 1fr; }
  .editoria-grid  { grid-template-columns: 1fr; }
  .footer-main    { grid-template-columns: 1fr; }
  .related-grid   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .article-body   { font-size: 15px; }

  /* iOS Safari — garantir que nada ultrapasse a tela */
  .container, .container-sm,
  .footer-main, .footer-bottom,
  .site-footer, .hero, .main-wrap,
  section, article { max-width: 100vw; overflow-x: hidden; }

  /* Ticker horizontal — pode causar overflow no iOS */
  .ticker-track { animation-duration: 25s; }
}

/* ── ENQUETE / POLL ───────────────────────────────────── */
.poll-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.poll-header {
  background: var(--blue);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.poll-label {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.poll-edition {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,255,255,.1);
  padding: 2px 8px;
  border-radius: 2px;
}
.poll-question {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.poll-options {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.poll-btn {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 3px 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: border-color .2s, background .2s;
  width: 100%;
}
.poll-btn:hover { border-color: var(--blue); background: var(--white); }
.poll-btn.voted { border-color: var(--orange); background: #fff8f0; }
.poll-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  grid-column: 1;
  grid-row: 1;
  line-height: 1.3;
}
.poll-party {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-cond);
  letter-spacing: .5px;
  margin-left: 4px;
}
.poll-pct {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-width: 32px;
  text-align: right;
}
.poll-bar-wrap {
  grid-column: 1;
  grid-row: 2;
  background: var(--border);
  border-radius: 4px;
  height: 5px;
  overflow: hidden;
}
.poll-bar {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 4px;
  width: 0%;
  transition: width .5s ease;
}
.poll-btn.voted .poll-bar { background: var(--orange); }
.poll-footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 8px 14px 12px;
  font-weight: 600;
  letter-spacing: .3px;


@keyframes urgente-slide-in {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.urgente-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.urgente-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #c8102e;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.urgente-dot {
  width: 8px;
  height: 8px;
  background: #c8102e;
  border-radius: 50%;
  animation: urgente-pulse 1.2s ease-in-out infinite;
}

@keyframes urgente-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.urgente-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.urgente-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .urgente-link {
    font-size: 13px;
  }
  .urgente-label {
    font-size: 10px;
    padding: 3px 8px;
  }
}


/* ═══════════════════════════════════════════════════════
   IMAGENS — proporções fixas e crop centralizado
   ═══════════════════════════════════════════════════════ */

/* HERO PRINCIPAL — proporção 16:9 */
.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-main {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

/* HERO STACK — imagens horizontais pequenas */
.hero-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* CARDS DE NOTÍCIAS — proporção 5:3 */
.news-card-img {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #f0f0f0;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* WIDE CARDS — laterais, proporção 4:3 */
.wc-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
}

.wc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Loading state — fica cinza enquanto carrega */
img[loading="lazy"] {
  background: linear-gradient(90deg, #f0f0f0 0%, #e8e8e8 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  animation: img-loading 1.5s ease-in-out infinite;
}

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

/* Quando a imagem carrega, remove o efeito */
img.loaded {
  animation: none;
  background: transparent;
}


/* Cabeçalhos dentro do corpo do artigo */
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--font-cond);
  color: var(--text);
  margin: 30px 0 16px;
  line-height: 1.3;
}

.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 8px;
  display: inline-block;
}

.article-body h3 {
  font-size: 22px;
  font-weight: 700;
}

.article-body h4 {
  font-size: 18px;
  font-weight: 600;
}

/* Imagens dentro do corpo do artigo */
.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 4px;
}

.article-body figure {
  margin: 24px 0;
}

.article-body figure img {
  margin: 0 auto;
}

.article-body figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

/* Listas */
.article-body ul,
.article-body ol {
  margin: 16px 0 16px 20px;
  padding-left: 20px;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Citações (blockquote) - sobrescreve o padrão se houver */
.article-body blockquote {
  border-left: 4px solid var(--orange);
  background: #fafafa;
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  border-radius: 0 4px 4px 0;
}

.article-body blockquote p {
  margin: 0;
}

.article-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}

/* Links no corpo do artigo */
.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: var(--orange);
}

/* Vídeos incorporados (YouTube, Vimeo, etc.) */
.article-body iframe,
.article-body .wp-block-embed iframe {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 24px 0;
  border-radius: 4px;
  border: 0;
}

/* Galerias do WordPress */
.article-body .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.article-body .wp-block-gallery img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* Negrito e itálico */
.article-body strong,
.article-body b {
  font-weight: 700;
  color: var(--text);
}

.article-body em,
.article-body i {
  font-style: italic;
}

/* Espaçamento entre parágrafos */
.article-body p {
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 17px;
}

/* Tabelas */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-body table th,
.article-body table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-body table th {
  background: var(--bg);
  font-weight: 600;
}

/* Divisor */
.article-body hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 32px 0;
}

/* Code blocks (caso publiquem algo técnico) */
.article-body code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #c00;
}

.article-body pre {
  background: #2d2d2d;
  color: #f4f4f4;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 20px 0;
  font-size: 14px;
}

.article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Responsivo */
@media (max-width: 640px) {
  .article-body p { font-size: 16px; }
  .article-body h2 { font-size: 22px; }
  .article-body h3 { font-size: 19px; }
  .article-body blockquote {
    padding: 16px 18px;
    font-size: 16px;
  }
}


.busca-result {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
  transition: all .2s ease;
}

.busca-result:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
  border-color: var(--orange);
}

.busca-result-img {
  width: 220px;
  height: 130px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}

.busca-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.busca-result-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.busca-result-body .cat-tag {
  align-self: flex-start;
  margin-bottom: 8px;
}

.busca-result-body h3 {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
}

.busca-result-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.busca-result-body .meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
}

/* Quando não tem imagem */
.busca-result:not(:has(.busca-result-img)) {
  grid-template-columns: 1fr;
}

/* Responsivo mobile */
@media (max-width: 640px) {
  .busca-result {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .busca-result-img {
    width: 100%;
    height: 180px;
  }
  .busca-result-body h3 {
    font-size: 17px;
  }
}


/* ═══════════════════════════════════════════════════════════
   ★ BLOCO FINAL DE GARANTIA DE IMAGENS ★
   ─────────────────────────────────────────────────────────────
   Este bloco está no FINAL do arquivo para vencer qualquer
   regra anterior por ordem de cascata CSS.
   Use !important apenas onde realmente necessário.
   ═══════════════════════════════════════════════════════════ */

/* PÁGINA DA MATÉRIA — imagem principal sem corte */
.article-img-wrap {
  aspect-ratio: auto !important;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 8px;
  background: #f4f5f7;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  max-height: 720px;
  height: auto !important;
}

.article-img-wrap img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 720px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
  margin: 0 auto;
}

/* Imagens dentro do corpo da matéria — completas também */
.article-body img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  max-height: 600px !important;
  display: block;
  margin: 24px auto;
  border-radius: var(--radius);
  object-fit: contain !important;
}

/* CARDS DA HOME — mantém crop uniforme com object-position no topo */

/* HERO PRINCIPAL — imagem cobre tudo, título sobreposto */
.hero-main {
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: #1b3a6b; /* fallback enquanto carrega */
}

.hero-main img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* Gradiente para legibilidade do título sobreposto */
.hero-main .hero-gradient {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top,
    rgba(8,16,32,.92) 0%,
    rgba(8,16,32,.7) 30%,
    rgba(8,16,32,.2) 65%,
    transparent 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Título sobreposto na parte inferior */
.hero-main .hero-body {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 28px 28px 24px !important;
  color: #fff !important;
  z-index: 3 !important;
}

.hero-main .hero-body h1 {
  color: #fff !important;
  margin-bottom: 8px !important;
}

.hero-main .hero-body p {
  color: rgba(255,255,255,.88) !important;
}

.hero-main .hero-body .meta,
.hero-main .hero-body .meta span {
  color: rgba(255,255,255,.65) !important;
}

.hero-card img {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.news-card-img {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #f0f0f0;
}
.news-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.wc-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
}
.wc-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.editoria-card img {
  width: 100% !important;
  aspect-ratio: 5 / 3;
  height: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.related-card img {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.busca-result-img {
  overflow: hidden;
  background: #f0f0f0;
}
.busca-result-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* RESPONSIVO MOBILE */
@media (max-width: 640px) {
  .article-img-wrap {
    max-height: 480px;
    border-radius: 0;
  }
  .article-img-wrap img {
    max-height: 480px !important;
    border-radius: 0;
  }
  .article-body img {
    max-height: 400px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO — ESTICAR PARA ELIMINAR BARRA CINZA
   Estrategia: hero-main estica para alcancar altura do stack lateral.
   A imagem fica em position absolute cobrindo 100% da area com object-fit cover.
   ═══════════════════════════════════════════════════════════ */

.hero,
.hero > .container,
.hero-grid {
  background: #fff !important;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 315px !important;
  gap: 1px !important;
  align-items: stretch !important;  /* alinha colunas pela altura */
}

/* Hero principal estica verticalmente */
.hero-main {
  align-self: stretch !important;
  height: auto !important;
  min-height: 500px !important;
  background: #0a1428 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* IMAGEM do hero: cobre TODA a area, sem importar a altura */
.hero-main > img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* Stack lateral */
.hero-stack {
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
}

.hero-card {
  background: #fff !important;
}
