/* ID Federal Halloween v3.8.4
 * Central de Marketing: uma unica camada de fundo, usando a arte aprovada com
 * caminho e placas embutidos. O layout funcional real permanece acima dela.
 */
html body.idf-halloween-active.idf-hw-central-v33,
html body.idf-halloween-active.idf-hw-demo-central.idf-hw-central-v33 {
  background-color:#071223 !important;
  background-image:url('./halloween-central-v33-desktop.webp') !important;
  background-repeat:no-repeat !important;
  background-position:center top !important;
  background-size:100% auto !important;
  background-attachment:scroll !important;
}

/* Neutraliza qualquer camada antiga que pudesse desenhar outro wallpaper por
 * cima ou reservar largura. As placas ja fazem parte da imagem de fundo. */
body.idf-halloween-active.idf-hw-central-v33 #idf-hw-story {
  background:transparent !important;
  background-image:none !important;
  width:100% !important;
  max-width:none !important;
  left:0 !important;
  right:0 !important;
  pointer-events:none !important;
}
body.idf-halloween-active.idf-hw-central-v33 #idf-hw-story .idf-journey-cards,
body.idf-halloween-active.idf-hw-central-v33 #idf-hw-story picture,
body.idf-halloween-active.idf-hw-central-v33 #idf-hw-story .idf-story-wallpaper,
body.idf-halloween-active.idf-hw-central-v33 #idf-hw-story .idf-story-softener {
  display:none !important;
}

/* Remove classes deixadas pelo layout compacto v3.6 caso o HTML tenha sido
 * cacheado anteriormente. Sem estreitar nem empurrar o portal. */
body.idf-halloween-active.idf-hw-central-v33 .idf-hw-central-slim-v36 {
  width:auto !important;
  max-width:none !important;
  margin-left:initial !important;
  margin-right:initial !important;
}
body.idf-halloween-active.idf-hw-central-v33 .idf-hw-central-layout-v36 {
  grid-template-columns:revert !important;
  column-gap:revert !important;
}
body.idf-halloween-active.idf-hw-central-v33 .idf-hw-central-sidebar-v36,
body.idf-halloween-active.idf-hw-central-v33 .idf-hw-central-main-v36 {
  flex:revert !important;
  width:revert !important;
  max-width:revert !important;
  min-width:0 !important;
}

/* Wrappers estruturais ficam transparentes para que somente o wallpaper do
 * body seja visto nas laterais; cards e formulario mantem suas superficies. */
body.idf-halloween-active.idf-hw-central-v33 :is(
  #page,.site,#content,.site-content,.entry-content,.wp-site-blocks,
  .elementor-section-wrap,.portal-wrapper,.dashboard-wrapper,.marketing-wrapper,
  .marketing-dashboard,.portal-container,.portal-main,.marketing-main
) {
  background-image:none !important;
}

@media(max-width:700px){
  html body.idf-halloween-active.idf-hw-central-v33,
  html body.idf-halloween-active.idf-hw-demo-central.idf-hw-central-v33 {
    background-image:url('./halloween-central-v33-mobile.webp') !important;
    background-size:100% auto !important;
    background-position:center top !important;
  }
}
