:root {
  color-scheme: light;
  --hs-navy: #001144;
  --hs-blue: #056cd3;
  --hs-link: #0754a6;
  --hs-text: #30343b;
  --hs-border: #e6e9ef;
}

html { scroll-behavior: smooth; }
body.site-body { margin: 0; }
/* Como no WordPress, o menu interno sobrepõe o começo do hero e fica transparente no topo. */
body.content-page .elementor-8039 .top-header,
.elementor-8039 .internal-header {
  position: absolute !important;
  top: 60px !important;
  right: 0 !important;
  left: 0 !important;
  inset: 60px 0 auto !important;
  width: 100%;
  background-color: transparent !important;
  z-index: 5;
}
/* Ao rolar, o menu passa a ocupar o topo da viewport com a barra azul. */
body.content-page .elementor-8039 .top-header.sticky,
.elementor-8039 .internal-header.sticky {
  position: fixed !important;
  inset: 0 0 auto !important;
  background-color: #001144 !important;
  z-index: 20 !important;
}
/* Algumas páginas perdiam o gradiente do breadcrumb e exibiam uma faixa branca entre o menu e o hero. */
body.content-page .site-content .bread-crumb:not(.elementor-motion-effects-element-type-background) {
  background: linear-gradient(180deg, #002997 0%, #099dff 100%) !important;
}
/* O tema Hostiko reserva espaço para um header que era absoluto no WordPress. No layout Node o header já ocupa seu lugar no fluxo. */
body.content-page .site-content { padding-top: 0 !important; }
body.content-page .elementor-8039 .top-header.sticky {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 20 !important;
}
/* Mantém o cabeçalho inteiro acima das animações/carrosséis da home durante a rolagem. */
.epress-template-content-header.is-sticky {
  position: relative !important;
  z-index: 10000 !important;
  isolation: isolate;
}
.epress-template-content-header.is-sticky .top-header.sticky {
  z-index: 10001 !important;
}
body.content-page .elementor-8039 .top-header > .elementor-container { margin-inline: auto; }
.site-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-content { min-height: 45vh; }
.site-content .content > h1,
.site-content .content > p,
.site-content .content > .term-archive-list,
.site-content .content > nav[aria-label="Paginação"] { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-content .content > h1 { margin-top: 38px; color: var(--hs-navy); font: 600 32px/1.2 Rubik, Arial, sans-serif; }
.term-archive-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; padding: 0; list-style: none; }
.term-archive-list li { padding: 14px 0; border-bottom: 1px solid var(--hs-border); }
.term-archive-list a { color: var(--hs-link); font-weight: 600; }
.term-archive-list time { display: block; margin-top: 4px; color: #6b7280; font-size: 12px; }
.site-content .content > nav[aria-label="Paginação"] { margin-block: 24px 48px; display: flex; justify-content: center; gap: 18px; }

@media (max-width: 767px) {
  .site-container { width: min(100% - 28px, 1180px); }
  .term-archive-list { grid-template-columns: 1fr; }
}
