/* Shared shell only. Elementor owns the editable header/footer content. */
body.maxcorp-shell {
    --mc-ink: #10110f;
    --mc-cream: #f0ece2;
    --mc-gold: #b7a17b;
    font-family: 'Manrope', sans-serif;
}
.maxcorp-shell .elementor-location-header,
.maxcorp-shell .elementor-location-footer { width: 100%; }
.maxcorp-shell .elementor-location-header a:focus-visible,
.maxcorp-shell .elementor-location-footer a:focus-visible {
    outline: 2px solid var(--mc-gold);
    outline-offset: 6px;
}
.maxcorp-shell .elementor-location-header .mc-shared-header a:hover { color: var(--mc-gold); }
.maxcorp-shell .mc-menu-toggle { display: none; }
.maxcorp-shell .elementor-location-header .mc-nav-toggle-ready { display: none; }
.maxcorp-shell .elementor-location-footer { background: #0d0f0c; }
/* Full-width Elementor pages use their own section spacing. */
.maxcorp-shell.elementor-page #content > .ast-container { max-width: none; padding: 0; }
.maxcorp-shell.elementor-page #primary { margin: 0; }
@media (max-width: 1100px) {
    .maxcorp-shell .elementor-location-header .mc-shared-header { min-height: 98px; height: auto; }
    .maxcorp-shell .elementor-location-header .mc-shared-header > div { flex-wrap: wrap; min-height: 98px; }
    .maxcorp-shell .elementor-location-header .mc-shared-header img { width: 120px; max-width: 120px; height: auto; }
    .maxcorp-shell .mc-menu-toggle {
        display: inline-flex; align-items: center; gap: 12px;
        background: transparent; color: var(--mc-cream); border: 1px solid #5d5a4b;
        padding: 10px 14px; border-radius: 0; font: 500 14px 'Manrope', sans-serif;
        margin-left: auto; cursor: pointer;
    }
    .maxcorp-shell .mc-menu-toggle:focus-visible { outline: 2px solid var(--mc-gold); outline-offset: 4px; }
    .maxcorp-shell .elementor-location-header .mc-shared-navigation {
        width: 100%; flex-basis: 100%; display: flex; flex-wrap: wrap;
        justify-content: flex-start; gap: 6px 24px; padding: 0 0 24px;
    }
    .maxcorp-shell .elementor-location-header .mc-shared-navigation a { padding: 10px 0; }
    .maxcorp-shell .elementor-location-header .mc-shared-navigation[data-collapsed='true'] { display: none; }
    .maxcorp-shell .elementor-location-footer .mc-shared-footer { padding: 40px 24px 24px; }
}
@media (max-width: 540px) {
    .maxcorp-shell .elementor-location-header .mc-shared-navigation { flex-direction: column; align-items: stretch; gap: 0; }
    .maxcorp-shell .elementor-location-header .mc-shared-navigation a { width: 100%; padding: 12px 0; }
    .maxcorp-shell .elementor-location-header .mc-shared-navigation a:last-child { text-align: center; margin-top: 8px; padding: 14px; }
}
