/* ================================
   HEADER
   ================================ */

#masthead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
}

.site-header,
.ast-primary-header-bar,
.main-header-bar,
.site-primary-header-wrap,
.ast-builder-grid-row {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.custom-logo {
    max-height: 130px;
    width: auto;
}

#masthead .menu-link,
#masthead a {
    color: #ffffff;
    font-weight: 500;
}

#masthead .ast-custom-button {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 30px;
    padding: 13px 26px;
}

/* Menú visible en páginas interiores */
body:not(.home) #masthead,
body:not(.home) .site-header,
body:not(.home) .ast-primary-header-bar,
body:not(.home) .main-header-bar {
    position: relative !important;
    background: #ffffff !important;
}

body:not(.home) #masthead .menu-link,
body:not(.home) #masthead a,
body:not(.home) .main-header-menu a {
    color: #0b1b2b !important;
}

body:not(.home) #masthead .ast-custom-button {
    color: #0b1b2b !important;
    border-color: #0b1b2b !important;
    background: transparent !important;
}

/* Menú móvil Astra */

.ast-mobile-popup-drawer .menu-link,
.ast-mobile-popup-drawer .ast-builder-menu-mobile .menu-item a {
    color: #000000 !important;
}

/* Menú activo */
.ast-mobile-popup-drawer .current-menu-item > a {
    color: var(--color-primary) !important;
}

/* MENÚ HAMBURGUESA ASTRA - FORZAR TEXTO NEGRO */

/* MENÚ MÓVIL - TEXTO NEGRO */

.ast-mobile-popup-drawer a,
.ast-mobile-popup-drawer .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-link,
.ast-mobile-popup-drawer .ast-builder-menu-mobile .menu-item > a,
.ast-mobile-header-content a,
.ast-mobile-header-content .menu-link {
    color: #000000 !important;
}

.ast-mobile-popup-drawer a:hover,
.ast-mobile-popup-drawer .menu-link:hover {
    color: #d4af37 !important;
}

/* LOGO GENERAL */
.custom-logo {
    width: auto;
    height: auto;
    max-height: 120px;
}