/* FC_HOME_HOTFIX_V5_VISUAL - 21/11/2026
   Apenas a Home: contraste nas manchetes, navegacao por colunas,
   linhas editoriais bordeaux e comandos uniformes do jornal.
   Nao modifica imagens 1200x784, banco, anuncios ou modulo automatico. */
:root { --fc-v5-bordo: #901527; }
/* Destaque principal: mantém a manchete menor da V4, mas garante contraste
   com fotos muito claras; faixa em degradê sem bordas de uma caixa opaca. */
body .hero-slider .hero-slide:after {
  background: linear-gradient(to top,
    rgba(5, 9, 14, .49) 0%,
    rgba(5, 9, 14, .13) 36%,
    transparent 70%) !important;
}
body .hero-slider .hero-slide .hero-copy {
  left:0; right:0; bottom:0; border:0; border-radius:0;
  padding:24px 19px 43px;
  background: linear-gradient(to bottom,
    rgba(5, 8, 12, .05) 0%,
    rgba(5, 8, 12, .58) 19%,
    rgba(5, 8, 12, .83) 62%,
    rgba(5, 8, 12, .88) 100%) !important;
  box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none;
}
body .hero-slider .hero-slide .hero-copy h1,
body .hero-slider .hero-slide .hero-copy h2 {
  font-size: clamp(21px, 1.73vw, 27px);
  line-height:1.14;
  font-weight:700;
  max-width:96%;
  text-shadow:0 1px 4px rgba(0,0,0,.75);
}
body .hero-slider .hero-slide .fc-hero-kicker,
body .hero-slider .hero-slide .fc-news-time {
  text-shadow:0 1px 2px rgba(0,0,0,.56);
}
/* Identidade visual: linha bordô sob TODAS as manchetes de seção. */
body .fc-central-block .section-head,
body .fc-local-home .section-head,
body .fc-latest-home .section-head,
body .fc-sp-home-v2 .section-head {
  border-bottom: 1px solid var(--fc-v5-bordo) !important;
}
/* Botões no quadro Jornal Impresso: dimensões iguais e realce bordô. */
body .fc-print-bottom .fc-print-links {
  display:flex; flex-direction:column; align-items:stretch;
  gap:7px; min-width:0; width:min(100%, 190px);
}
body .fc-print-bottom .fc-print-links > a {
  display:inline-flex; align-items:center; justify-content:center;
  width:100%; min-height:32px; text-align:center;
  margin:0; padding:7px 9px; border-radius:5px;
  border:1px solid var(--fc-v5-bordo); box-sizing:border-box;
  color:var(--fc-v5-bordo); background:#fff;
  font:700 11px/1.25 Arial,sans-serif;
  text-decoration:none; transition:background-color .18s ease, color .18s ease;
}
body .fc-print-bottom .fc-print-links > a:first-child {
  color:#fff; background:var(--fc-v5-bordo);
}
body .fc-print-bottom .fc-print-links > a:hover,
body .fc-print-bottom .fc-print-links > a:focus-visible {
  color:#fff; background:#6f1020; border-color:#6f1020;
  text-decoration:none; filter:none;
}
/* Menu de Notícias: manter todos os links gerados pelo painel, agora em
   3 colunas sem barra de rolagem no desktop; Eventos: 2 colunas. */
@media (min-width:1151px) {
  body .nav-shell { position:relative; z-index:110; }
  body .nav-shell .nav.fc-full-menu { overflow:visible !important; }
  body .nav-shell .nav .fc-dropdown { position:relative; }
  body .nav-shell .nav .fc-submenu-news,
  body .nav-shell .nav .fc-submenu-events {
    display:grid; grid-auto-flow:row;
    gap:2px 8px; width:max-content; max-width:calc(100vw - 36px);
    max-height:none; overflow:visible;
    padding:12px; border-radius:0 0 9px 9px;
    background:#fff; box-shadow:0 14px 32px rgba(0,0,0,.18);
  }
  body .nav-shell .nav .fc-submenu-news {
    grid-template-columns:repeat(3,minmax(160px, 185px));
  }
  body .nav-shell .nav .fc-submenu-events {
    grid-template-columns:repeat(2,minmax(170px, 196px));
  }
  body .nav-shell .nav .fc-submenu-news > a:first-child,
  body .nav-shell .nav .fc-submenu-events > a:first-child {
    grid-column:1 / -1; padding-bottom:10px; margin-bottom:4px;
  }
  body .nav-shell .nav .fc-submenu-news > a,
  body .nav-shell .nav .fc-submenu-events > a {
    padding:8px 10px; white-space:normal; font-size:13px;
    line-height:1.25; border-radius:4px;
  }
}
/* Menu recolhível em telas intermediárias: duas colunas, com rolagem
   apenas quando a altura do dispositivo não comporta os itens. */
@media (min-width:601px) and (max-width:1150px) {
  body .nav-shell .mobile-nav-links .fc-submenu-news {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:3px; max-height:72vh; overflow-y:auto; padding:8px;
  }
  body .nav-shell .mobile-nav-links .fc-submenu-news > a:first-child {
    grid-column:1/-1;
  }
}
@media (max-width:700px) {
  body .hero-slider .hero-slide .hero-copy { padding:17px 12px 42px; }
  body .hero-slider .hero-slide .hero-copy h1,
  body .hero-slider .hero-slide .hero-copy h2 {
    font-size:clamp(18px,4.6vw,23px); line-height:1.15;
  }
}
@media (prefers-reduced-motion:reduce) {
  body .fc-print-bottom .fc-print-links > a { transition:none; }
}
