/* ===============================
   TOPO | REMOVER LOGIN
   =============================== */
.hp-menu__item--user-account,
.hp-menu__item.hp-menu__item--user-account,
.ast-header-account,
.ast-header-login {
    display: none !important;
}

/* Override específico do Astra (nível interno) */
.ast-primary-header-bar .ast-header-wrap,
.ast-primary-header-bar .ast-container,
.ast-primary-header-bar .ast-flex,
.ast-primary-header-bar {
    background-color: #1d3d64 !important;
    background: #1d3d64 !important;
}

/* Header Astra - todos os níveis internos */
.ast-primary-header-bar,
.ast-primary-header-bar .ast-header-wrap,
.ast-primary-header-bar .ast-container,
.ast-primary-header-bar .ast-flex,
.ast-primary-header-bar .site-primary-header-wrap,
.ast-primary-header-bar .site-header-primary-section-left,
.ast-primary-header-bar .site-header-primary-section-right,
.ast-primary-header-bar .ast-header-html-1,
.ast-primary-header-bar .ast-builder-menu-1,
.ast-primary-header-bar .ast-header-search,
.ast-primary-header-bar .ast-builder-layout-element {
    background-color: #1d3d64 !important;
    background: #1d3d64 !important;
    background-image: none !important;
}

/* Links e ícones do menu */
.ast-primary-header-bar .menu-link,
.ast-primary-header-bar .ast-menu-toggle,
.ast-primary-header-bar .ast-search-icon,
.ast-primary-header-bar .astra-search-icon,
.ast-primary-header-bar .ast-icon,
.ast-primary-header-bar .ast-builder-menu-1 .menu-item > .menu-link {
    color: #ffffff !important;
}

/* Hover e item atual */
.ast-primary-header-bar .menu-item:hover > .menu-link,
.ast-primary-header-bar .menu-item.current-menu-item > .menu-link,
.ast-primary-header-bar .current-menu-ancestor > .menu-link,
.ast-primary-header-bar .ast-search-icon:hover,
.ast-primary-header-bar .astra-search-icon:hover {
    color: #d9e6f2 !important;
}

/* Fundo do cabeçalho principal */
.main-header-bar {
    background-color: #1d3d64 !important;
}

/* Cabeçalho sticky (quando rola a página) */
.ast-sticky-header .main-header-bar {
    background-color: #1d3d64 !important;
}

/* Header transparente (caso esteja ativado) */
.ast-transparent-header .main-header-bar {
    background-color: #1d3d64 !important;
}

/* Menu mobile */
.ast-mobile-header-wrap .main-header-bar {
    background-color: #1d3d64 !important;
}

body header.site-header.ast-primary-header-bar.main-header-bar {
    background-color: #1d3d64 !important;
    background: #1d3d64 !important;
}

/* Header completo Astra - desktop e mobile */
header.site-header,
#masthead,
#ast-desktop-header,
#ast-mobile-header,
.ast-main-header-wrap,
.main-header-bar-wrap,
.ast-header-wrap,
.ast-primary-header-bar,
.ast-primary-header,
.main-header-bar,
.site-primary-header-wrap {
    background: #1d3d64 !important;
    background-color: #1d3d64 !important;
    background-image: none !important;
}

/* Links e ícones do header */
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > .ast-menu-toggle,
.ast-header-search .astra-search-icon,
.ast-mobile-header-wrap .menu-toggle {
    color: #ffffff !important;
}

/* Hover */
.ast-builder-menu-1 .menu-item:hover > .menu-link,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link,
.ast-header-search .astra-search-icon:hover {
    color: #d7e4f2 !important;
}

/* Override total do header */
#masthead .ast-primary-header-bar,
#masthead .ast-primary-header-bar * {
    background-color: #1d3d64 !important;
    background-image: none !important;
}

.feed-xl-sidebar .sidebar-ads {
    text-align: center !important;
}

.feed-xl-sidebar .sidebar-ads > div {
    display: inline-block;
}
/* Oculta somente o botão Entrar do HivePress no cabeçalho */
#masthead .menu-item--user-login {
    display: none !important;
}