/*
Theme Name: Gorillah Zer0
Theme URI: https://gorillah.kreto.com.br
Author: Guilherme KreTo
Author URI: https://www.kreto.com.br
Description: Versão Zer0 do tema Gorillah. Totalmente limpo, focado apenas no CSS e na experiência Admin.
Version: V.Zer0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gorillah-theme
Tags: elementor, minimal, skeleton, performance, html5, admin-theme

Gorillah Theme - Theme Skeleton for Elementor
Copyright (C) 2024 Guilherme KreTo
*/
/* =============================================================================
   RESET CSS - Remove margens e paddings padrão do navegador
   ============================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    min-height: 100vh;
}


/* =============================================================================
   ELEMENTOR BOXED LAYOUT - Largura padrão 1140px
   ============================================================================= */

.e-con-boxed>.e-con-inner,
.elementor-section-boxed>.elementor-container {
    max-width: 1140px;
}

/* =============================================================================
   HEADER & FOOTER - Remove espaçamentos extras
   ============================================================================= */

header,
footer,
.elementor-location-header,
.elementor-location-footer,
[data-elementor-type="header"],
[data-elementor-type="footer"] {
    margin: 0 !important;
    padding: 0;
}

/* Remove margens do primeiro e último elemento dentro do header/footer */
.elementor-location-header>*:first-child,
.elementor-location-footer>*:first-child {
    margin-top: 0 !important;
}

.elementor-location-header>*:last-child,
.elementor-location-footer>*:last-child {
    margin-bottom: 0 !important;
}

/* =============================================================================
   ELEMENTOR - Remove espaçamentos das seções e containers
   ============================================================================= */

/* Primeira seção do Elementor (atua como header em Canvas) */
.elementor-section-wrap>.elementor-section:first-child,
.elementor>.elementor-section:first-child,
.elementor>.e-con:first-child,
[data-elementor-type="wp-page"]>.elementor-section:first-child,
[data-elementor-type="wp-page"]>.e-con:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Última seção do Elementor (atua como footer em Canvas) */
.elementor-section-wrap>.elementor-section:last-child,
.elementor>.elementor-section:last-child,
.elementor>.e-con:last-child,
[data-elementor-type="wp-page"]>.elementor-section:last-child,
[data-elementor-type="wp-page"]>.e-con:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Widgets do Elementor - reset de margens padrão */
.elementor-widget:first-child {
    margin-top: 0 !important;
}

.elementor-widget:last-child {
    margin-bottom: 0 !important;
}

/* Containers do Elementor (Flexbox Containers) */
.e-con>.e-con-inner>*:first-child {
    margin-top: 0 !important;
}

.e-con>.e-con-inner>*:last-child {
    margin-bottom: 0 !important;
}

/* =============================================================================
   HEADER & FOOTER - Zerar paddings internos do Elementor
   ============================================================================= */

/* Zerar paddings dos containers internos no Header */
.elementor-location-header .e-con,
.elementor-location-header .e-con-inner,
[data-elementor-type="header"] .e-con,
[data-elementor-type="header"] .e-con-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
}

/* Zerar paddings dos containers internos no Footer */
.elementor-location-footer .e-con,
.elementor-location-footer .e-con-inner,
[data-elementor-type="footer"] .e-con,
[data-elementor-type="footer"] .e-con-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
}