/*
 Theme Name:   Thiago Fachetti Child
 Theme URI:    https://thiagofachetti.com.br
 Description:  Tema filho do GeneratePress — Thiago Fachetti Advogados
 Author:       Agência Evolux
 Template:     generatepress
 Version:      2.0.0
*/

/* ── Zera o container principal do GP ── */
#page,
#page.grid-container,
#page.container,
#page.hfeed {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ── Previne scroll horizontal ── */
html, body {
    overflow-x: hidden !important;
}

/* ── O .tf-wrap já cuida do resto ── */
.tf-wrap {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ── Remove espaço e fundo dos containers GP em templates customizados ── */
body.blog .entry-header,
body.home .entry-header,
body[class*="page-template-"] .entry-header {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.blog .inside-article,
body.blog article,
body.home .inside-article,
body.home article,
body[class*="page-template-"] .inside-article,
body[class*="page-template-"] article {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.blog #secondary,
body.blog .widget-area,
body.home #secondary,
body.home .widget-area,
body[class*="page-template-"] #secondary,
body[class*="page-template-"] .widget-area {
    display: none !important;
}