/* =========================================================
   GHOSTBASE V1.9.9.8
   REMOVE ESPAÇO VAZIO ACIMA DO HERO
   Mantém hero full width + faixa premium + formulário.
   ========================================================= */

html.gb1997-community-page,
html.gb1997-community-page body{
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
}

/* neutraliza wrappers que herdaram altura/min-height/padding antigo */
.gb1997-community-page main,
.gb1997-community-page .page-content,
.gb1997-community-page .content,
.gb1997-community-page .community-wrapper,
.gb1997-community-page .community-form-shell-v237,
.gb1997-community-page .gb1991-shell,
.gb1997-community-page .container{
    min-height:0!important;
    height:auto!important;
    padding-top:0!important;
    margin-top:0!important;
}

/* remove "reserva" de espaço dos heros antigos escondidos */
.gb1997-community-page .gb1997-old-hero{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    position:absolute!important;
    width:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
}

/* hero final deve começar imediatamente após o header/menu */
.gb1997-community-page .gb1997-hero{
    margin-top:0!important;
    margin-bottom:0!important;
    top:auto!important;
    transform:none!important;
}

/* remove espaçadores vazios que podem ter ficado antes do hero */
.gb1997-community-page .gb1997-hero + .gb1997-info{
    margin-top:14px!important;
}

/* caso o wrapper use flex/grid com espaço distribuído */
.gb1997-community-page body,
.gb1997-community-page main,
.gb1997-community-page .community-wrapper,
.gb1997-community-page .community-form-shell-v237{
    justify-content:flex-start!important;
    align-content:start!important;
}

/* impede pseudo-elementos antigos de criar altura */
.gb1997-community-page .gb1997-old-hero::before,
.gb1997-community-page .gb1997-old-hero::after{
    content:none!important;
    display:none!important;
}

/* formulário mantém posição premium, sem distância excessiva */
.gb1997-community-page .form-shell,
.gb1997-community-page .community-form-card-v237,
.gb1997-community-page .v26-register-team form,
.gb1997-community-page .v232-register-team form,
.gb1997-community-page .v18-form-card,
.gb1997-community-page .gbsubmit-form,
.gb1997-community-page .gb1991-card{
    margin-top:0!important;
}

/* evita seção vazia entre menu e hero */
.gb1997-community-page .gb1997-hero:first-of-type{
    padding-top:0!important;
}

/* mantém conteúdo interno do hero */
.gb1997-community-page .gb1997-hero-inner{
    padding-top:46px!important;
    padding-bottom:38px!important;
}

/* mobile */
@media(max-width:700px){
    .gb1997-community-page .gb1997-hero-inner{
        padding-top:34px!important;
        padding-bottom:28px!important;
    }
}
