/**
 * GWA Theme — Elementor Overrides
 *
 * Applied only on pages built with Elementor.
 * Ensures GWA design tokens take visual precedence over Elementor defaults.
 *
 * @package GWA
 * @since   2.0.0
 */

/* --- Force Elementor sections to respect our spacing --- */
.elementor-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* --- Section wrapper matches GWA --- */
.gwa-elementor-page .elementor-top-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* --- Dark Section --- */
.gwa-elementor-page .elementor-top-section.gwa-section-dark {
    background-color: #0B1F3A;
    color: #FFFFFF;
}
.gwa-elementor-page .elementor-top-section.gwa-section-darker {
    background-color: #020817;
    color: #FFFFFF;
}
.gwa-elementor-page .elementor-top-section.gwa-section-light {
    background-color: #F8FAFC;
}

/* --- Headings in Elementor --- */
.gwa-elementor-page .elementor-heading-title {
    font-family: 'Montserrat', system-ui, sans-serif !important;
    letter-spacing: -0.02em !important;
}

/* --- Buttons in Elementor --- */
.gwa-elementor-page .elementor-button {
    font-family: 'Montserrat', system-ui, sans-serif !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

/* --- Spacing adjustments --- */
.gwa-elementor-page .elementor-widget:not(:last-child) {
    margin-bottom: 0;
}

/* --- Hide theme header/footer when Elementor manages them --- */
body.elementor-page .gwa-header,
body.elementor-page .gwa-mobile-menu,
body.elementor-page .gwa-footer,
body.elementor-page .gwa-floating-whatsapp {
    display: none !important;
}

/* Only show when Elementor has NOT built these locations */
body:not(.elementor-page) .elementor-location-header,
body:not(.elementor-page) .elementor-location-footer {
    display: none;
}
