/*
Theme Name:   Guia de Apps — Astra Child
Theme URI:    https://guiadeapps.net
Description:  Tema filho do Astra para o site Guia de Apps.
Author:       Guia de Apps
Template:     astra
Version:      1.0.0
Text Domain:  guiadeapps-child
*/

/* ── Resetar estilos do Astra que conflitam ── */
.ast-container,
.ast-separate-container .ast-article-post,
.site-content .ast-container {
    max-width: var(--max);
    padding-left: var(--pad);
    padding-right: var(--pad);
}

/* Esconde o header/footer padrão do Astra caso os hooks não removam completamente */
#masthead.site-header,
#colophon.site-footer {
    display: none !important;
}

/* Garante que o conteúdo da home ocupe 100% */
.gda-home .site-content,
.gda-home #content {
    padding: 0 !important;
    margin: 0 !important;
}

.gda-home .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Remove padding superior que o Astra adiciona ao main */
.gda-home .site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ── Estilos globais compartilhados ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
