/**
 * Largura total das páginas do EVE.
 *
 * Temas clássicos e de blocos limitam o conteúdo a um container estreito. O
 * sistema tem barra lateral de 430px, tabelas de doze colunas e gráficos —
 * espremido nesse container ele fica ilegível. Estas regras soltam apenas as
 * páginas marcadas com o template do plugin, sem tocar no resto do site.
 */

.raftech-eve-pagina{width:100%;max-width:100%;margin:0 auto;padding:0}
.raftech-eve-pagina-cabeca{max-width:1200px;margin:0 auto;padding:28px 20px 0}
.raftech-eve-pagina-cabeca h1{margin:0;font-family:'Montserrat',system-ui,sans-serif;font-size:1.8rem;color:#0f172a}

/* Temas clássicos: os contêineres mais comuns. */
body.raftech-eve-largura-total #content,
body.raftech-eve-largura-total #primary,
body.raftech-eve-largura-total #main,
body.raftech-eve-largura-total .site-content,
body.raftech-eve-largura-total .content-area,
body.raftech-eve-largura-total .entry-content,
body.raftech-eve-largura-total .site-main,
body.raftech-eve-largura-total .page-content,
body.raftech-eve-largura-total article.page{
  max-width:100%!important;width:100%!important;
  margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;
  float:none!important;
}

/* A barra lateral do tema não cabe ao lado de um sistema desta largura. */
body.raftech-eve-largura-total #secondary,
body.raftech-eve-largura-total .widget-area,
body.raftech-eve-largura-total .sidebar:not(.raftech-eve .sidebar){display:none!important}

/* Temas de blocos: soltar as variáveis de largura do layout. */
body.raftech-eve-largura-total .wp-site-blocks,
body.raftech-eve-largura-total .is-layout-constrained,
body.raftech-eve-largura-total .wp-block-post-content{
  max-width:100%!important;
}
body.raftech-eve-largura-total .is-layout-constrained > *{
  max-width:100%!important;margin-left:0!important;margin-right:0!important;
}
body.raftech-eve-largura-total{
  --wp--style--global--content-size:100%;
  --wp--style--global--wide-size:100%;
}

/* O sistema já traz o próprio respiro interno. */
body.raftech-eve-largura-total .raftech-eve{margin:0;max-width:100%}
body.raftech-eve-largura-total .eve-sim{padding:28px 20px}

@media print{
  body.raftech-eve-largura-total .raftech-eve-pagina-cabeca{display:none}
}
