/* Mobile header shared by the Spanish and English Elementor templates. */
@media (max-width:1024px) {
    body > header { position:relative; z-index:20; background:#242424; }
    body > header .elementor > .e-con.e-parent {
        position:relative !important; inset:auto !important; transform:none !important;
        display:grid !important; grid-template-columns:minmax(0,1fr) auto 44px;
        align-items:center; gap:10px; padding:8px 14px !important;
        width:100% !important; min-height:60px; height:auto; background:#242424;
    }
    body > header .e-con.e-parent > .e-child:not(.elementor-hidden-tablet):not(.elementor-hidden-mobile) {
        position:static; width:auto !important; min-width:0; min-height:0;
        margin:0; padding:0; display:flex; justify-content:center;
    }
    body > header .e-con.e-parent > .elementor-hidden-tablet.elementor-hidden-mobile { display:none !important; }
    body > header .elementor-widget-theme-site-logo { width:100%; margin:0; }
    body > header .custom-logo-link { display:flex; align-items:center; width:fit-content; }
    body > header .custom-logo-link img { display:block; width:clamp(104px,31vw,152px); max-width:100%; height:auto; }
    body > header .elementor-widget-icon a { display:grid; place-items:center; width:44px; height:44px; }
    body > header .elementor-widget-heading.elementor-hidden-mobile { display:none !important; }
    body > header .elementor-widget-nav-menu,body > header .adeje-nav { position:static; width:auto; margin:0; }
    header .adeje-nav .adeje-toggle,header .adeje-nav .adeje-toggle:is(:hover,:focus,:active) {
        display:block; min-height:44px; background:#333; color:white; border:1px solid #b79a68;
        padding:7px 13px; font:600 16px/1.3 Roboto,Arial,sans-serif; border-radius:4px;
    }
    header .adeje-nav .adeje-menu {
        position:absolute; top:100%; inset-inline:0; width:auto; z-index:100;
        max-height:min(65vh,32rem); max-height:min(65dvh,32rem); overflow-y:auto;
        overscroll-behavior:contain; margin:0; padding:8px 16px; background:#292929;
        border-top:1px solid #57534b; box-shadow:0 8px 14px #0005;
    }
    header .adeje-nav .adeje-menu li { padding:0; margin:0; }
    header .adeje-nav .adeje-menu a, header .adeje-nav .adeje-branch {
        display:flex; align-items:center; justify-content:space-between; width:100%;
        min-height:44px; padding:8px 10px; border:0; border-radius:0;
        color:white; background:transparent; font:500 16px/1.4 Roboto,Arial,sans-serif;
        text-decoration:none; text-align:start; white-space:normal;
    }
    header .adeje-nav .adeje-branch::after { content:'+'; margin-inline-start:.7em; }
    header .adeje-nav .adeje-branch[aria-expanded=true]::after { content:'−'; }
    header .adeje-nav .adeje-menu .sub-menu { width:auto; margin:0; padding:0 0 0 12px; background:#353535; }
    header .adeje-nav .adeje-menu .sub-menu[hidden] { display:none !important; }
    header .adeje-nav :focus-visible { outline:2px solid #dfbe76; outline-offset:-3px; }
}
