/* =========================================================
   GWM PUBLIC MARKETING HEADER
   File: style_public_header_260506_corrected.css
   Scope: public/home/anonymous pages only
   Uses original GWM blue: #00007A

   Consolidated fixes:
   - Removes duplicated menu/mobile overrides
   - Keeps header and language dropdown above page content
   - Prevents dropdown links from inheriting button styling
   - Preserves desktop/tablet/mobile layout behavior
========================================================= */

:root {
    --gwm-public-primary: #00007A;
    --gwm-public-primary-hover: #1A1A96;
    --gwm-public-accent: #3B5BDB;
    --gwm-public-accent-hover: #4C6EF5;
    --gwm-public-text: #FFFFFF;
    --gwm-public-muted: rgba(255,255,255,.82);
    --gwm-public-border: rgba(255,255,255,.14);
    --gwm-public-shadow: 0 10px 30px rgba(0,0,0,.16);
    --gwm-public-header-z: 100000;
    --gwm-public-dropdown-z: 100003;
}

/* Prevent tiny horizontal layout jumps from focused/hovered header elements */
html,
body {
    overflow-x: hidden;
}

/* =========================================================
   Header shell
========================================================= */

.gwm-public-header {
    position: sticky !important;
    top: 0 !important;
    z-index: var(--gwm-public-header-z) !important;
    width: 100% !important;
    background: var(--gwm-public-primary) !important;
    border-bottom: 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.14) !important;
    overflow: visible !important;
}

    .gwm-public-header,
    .gwm-public-header * {
        box-sizing: border-box !important;
    }

        .gwm-public-header .header-upper,
        .gwm-public-header .auto-container,
        .gwm-public-header .inner-container,
        .gwm-public-header .header-right,
        .gwm-public-header .header-language {
            overflow: visible !important;
        }

        .gwm-public-header .header-upper {
            position: relative !important;
            padding: 12px 0 !important;
            background: var(--gwm-public-primary) !important;
            z-index: calc(var(--gwm-public-header-z) + 1) !important;
        }

        .gwm-public-header .auto-container {
            position: relative !important;
            width: 100% !important;
            max-width: 1320px !important;
            margin: 0 auto !important;
            padding: 0 24px !important;
        }

        .gwm-public-header .inner-container {
            position: relative !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 24px !important;
            width: 100% !important;
        }

        /* =========================================================
   Logo
========================================================= */

        .gwm-public-header .logo-box {
            display: flex !important;
            align-items: center !important;
            flex: 0 0 auto !important;
            min-width: 0 !important;
        }

        .gwm-public-header .gwm-site-logo {
            display: inline-flex !important;
            align-items: center !important;
            gap: 12px !important;
            min-width: 300px !important;
            color: #ffffff !important;
            text-decoration: none !important;
            white-space: nowrap !important;
        }

        .gwm-public-header .gwm-site-logo__mark {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 46px !important;
            height: 46px !important;
            flex: 0 0 46px !important;
            border-radius: 12px !important;
            overflow: hidden !important;
            background: rgba(255,255,255,.08) !important;
        }

        .gwm-public-header .gwm-site-logo__image {
            display: block !important;
            max-width: 42px !important;
            max-height: 42px !important;
            width: auto !important;
            height: auto !important;
        }

        .gwm-public-header .gwm-site-logo__text {
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            min-width: 0 !important;
        }

        .gwm-public-header .gwm-site-logo__name {
            display: block !important;
            font-family: "Lato","Helvetica","Arial",sans-serif !important;
            font-size: 17px !important;
            font-weight: 600 !important;
            line-height: 1.05 !important;
            color: #ffffff !important;
            letter-spacing: .01em !important;
        }

        .gwm-public-header .gwm-site-logo__tagline {
            display: block !important;
            margin-top: 3px !important;
            font-family: "Lato","Helvetica","Arial",sans-serif !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            line-height: 1.05 !important;
            letter-spacing: .08em !important;
            text-transform: uppercase !important;
            color: var(--gwm-public-muted) !important;
            white-space: nowrap !important;
        }

        /* =========================================================
   Desktop navigation
========================================================= */

        .gwm-public-header #mainMenu,
        .gwm-public-header .main-menu,
        .gwm-public-header #mainMenu nav,
        .gwm-public-header .main-menu nav {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 1 1 auto !important;
            min-width: 0 !important;
            width: auto !important;
            max-width: none !important;
            height: auto !important;
            min-height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            border: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            overflow: visible !important;
            float: none !important;
        }

            .gwm-public-header #mainMenu ul,
            .gwm-public-header .main-menu ul,
            .gwm-public-header ul.navigation,
            .gwm-public-header .navigation {
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                flex-direction: row !important;
                gap: 32px !important;
                width: auto !important;
                max-width: none !important;
                height: auto !important;
                min-height: 0 !important;
                padding: 0 !important;
                margin: 0 !important;
                border: 0 !important;
                background: transparent !important;
                box-shadow: none !important;
                list-style: none !important;
                overflow: visible !important;
                white-space: nowrap !important;
            }

                .gwm-public-header #mainMenu li,
                .gwm-public-header .main-menu li,
                .gwm-public-header ul.navigation > li,
                .gwm-public-header .navigation > li {
                    display: block !important;
                    position: relative !important;
                    float: none !important;
                    width: auto !important;
                    min-width: 0 !important;
                    max-width: none !important;
                    height: auto !important;
                    min-height: 0 !important;
                    padding: 0 !important;
                    margin: 0 !important;
                    border: 0 !important;
                    border-radius: 0 !important;
                    background: transparent !important;
                    box-shadow: none !important;
                    overflow: visible !important;
                    list-style: none !important;
                }

                    .gwm-public-header #mainMenu li > a:not(.header-cta):not(.dropdown-item),
                    .gwm-public-header .main-menu li > a:not(.header-cta):not(.dropdown-item),
                    .gwm-public-header ul.navigation > li > a:not(.header-cta):not(.dropdown-item),
                    .gwm-public-header .navigation > li > a:not(.header-cta):not(.dropdown-item) {
                        display: inline-flex !important;
                        align-items: center !important;
                        justify-content: center !important;
                        position: relative !important;
                        width: auto !important;
                        min-width: 0 !important;
                        max-width: none !important;
                        height: auto !important;
                        min-height: 0 !important;
                        padding: 8px 0 !important;
                        margin: 0 !important;
                        border: 0 !important;
                        border-radius: 0 !important;
                        background: transparent !important;
                        background-color: transparent !important;
                        background-image: none !important;
                        box-shadow: none !important;
                        color: #ffffff !important;
                        font-family: "Lato","Helvetica","Arial",sans-serif !important;
                        font-size: 13px !important;
                        font-weight: 600 !important;
                        line-height: 1.2 !important;
                        letter-spacing: .055em !important;
                        text-transform: uppercase !important;
                        text-decoration: none !important;
                        text-indent: 0 !important;
                        opacity: 1 !important;
                        visibility: visible !important;
                        overflow: visible !important;
                        white-space: nowrap !important;
                        pointer-events: auto !important;
                        transform: none !important;
                        transition: color .18s ease !important;
                    }

                        .gwm-public-header #mainMenu li > a:not(.header-cta):not(.dropdown-item)::before,
                        .gwm-public-header #mainMenu li > a:not(.header-cta):not(.dropdown-item)::after,
                        .gwm-public-header .main-menu li > a:not(.header-cta):not(.dropdown-item)::before,
                        .gwm-public-header .main-menu li > a:not(.header-cta):not(.dropdown-item)::after,
                        .gwm-public-header ul.navigation > li > a:not(.header-cta):not(.dropdown-item)::before,
                        .gwm-public-header ul.navigation > li > a:not(.header-cta):not(.dropdown-item)::after,
                        .gwm-public-header .navigation > li > a:not(.header-cta):not(.dropdown-item)::before,
                        .gwm-public-header .navigation > li > a:not(.header-cta):not(.dropdown-item)::after {
                            display: none !important;
                            content: none !important;
                            width: 0 !important;
                            height: 0 !important;
                            background: transparent !important;
                            border: 0 !important;
                            box-shadow: none !important;
                        }

                        .gwm-public-header #mainMenu li > a:not(.header-cta):not(.dropdown-item) *,
                        .gwm-public-header .main-menu li > a:not(.header-cta):not(.dropdown-item) *,
                        .gwm-public-header ul.navigation > li > a:not(.header-cta):not(.dropdown-item) *,
                        .gwm-public-header .navigation > li > a:not(.header-cta):not(.dropdown-item) * {
                            color: inherit !important;
                            font: inherit !important;
                            line-height: inherit !important;
                            text-transform: inherit !important;
                            letter-spacing: inherit !important;
                            text-indent: 0 !important;
                            opacity: 1 !important;
                            visibility: visible !important;
                            background: transparent !important;
                        }

                        .gwm-public-header #mainMenu li > a:not(.header-cta):not(.dropdown-item):hover,
                        .gwm-public-header #mainMenu li.current > a:not(.header-cta):not(.dropdown-item),
                        .gwm-public-header #mainMenu li > a:not(.header-cta):not(.dropdown-item):focus,
                        .gwm-public-header .main-menu li > a:not(.header-cta):not(.dropdown-item):hover,
                        .gwm-public-header .main-menu li.current > a:not(.header-cta):not(.dropdown-item),
                        .gwm-public-header .main-menu li > a:not(.header-cta):not(.dropdown-item):focus,
                        .gwm-public-header ul.navigation > li > a:not(.header-cta):not(.dropdown-item):hover,
                        .gwm-public-header ul.navigation > li.current > a:not(.header-cta):not(.dropdown-item),
                        .gwm-public-header ul.navigation > li > a:not(.header-cta):not(.dropdown-item):focus,
                        .gwm-public-header .navigation > li > a:not(.header-cta):not(.dropdown-item):hover,
                        .gwm-public-header .navigation > li.current > a:not(.header-cta):not(.dropdown-item),
                        .gwm-public-header .navigation > li > a:not(.header-cta):not(.dropdown-item):focus {
                            color: #D6E4FF !important;
                            background: transparent !important;
                            text-decoration: none !important;
                            transform: none !important;
                        }

                    .gwm-public-header .navigation > li > a:focus-visible,
                    .gwm-public-header #mainMenu li > a:focus-visible {
                        outline: 2px solid rgba(255,255,255,.6) !important;
                        outline-offset: 4px !important;
                    }

        /* =========================================================
   Right controls and language dropdown
========================================================= */

        .gwm-public-header .header-right {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
            gap: 16px !important;
            flex: 0 0 auto !important;
            position: relative !important;
            z-index: calc(var(--gwm-public-header-z) + 1) !important;
        }

        .gwm-public-header .header-language {
            display: flex !important;
            align-items: center !important;
            position: relative !important;
            z-index: calc(var(--gwm-public-header-z) + 2) !important;
        }

            /* Language toggle only. Do not target dropdown-item links here. */
            .gwm-public-header .header-language > .btn,
            .gwm-public-header .header-language > a:not(.dropdown-item),
            .gwm-public-header .header-language > button,
            .gwm-public-header .header-language .dropdown-toggle,
            .gwm-public-header .language-button,
            .gwm-public-header .btn-language {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                min-height: 40px !important;
                padding: 8px 16px !important;
                border-radius: 8px !important;
                background: var(--gwm-public-accent) !important;
                border: 1px solid var(--gwm-public-accent) !important;
                color: #ffffff !important;
                font-family: "Lato","Helvetica","Arial",sans-serif !important;
                font-size: 14px !important;
                font-weight: 600 !important;
                line-height: 1.2 !important;
                letter-spacing: .04em !important;
                text-decoration: none !important;
                white-space: nowrap !important;
                box-shadow: none !important;
                transform: none !important;
            }

                .gwm-public-header .header-language > .btn:hover,
                .gwm-public-header .header-language > .btn:focus,
                .gwm-public-header .header-language > a:not(.dropdown-item):hover,
                .gwm-public-header .header-language > a:not(.dropdown-item):focus,
                .gwm-public-header .header-language > button:hover,
                .gwm-public-header .header-language > button:focus,
                .gwm-public-header .header-language .dropdown-toggle:hover,
                .gwm-public-header .header-language .dropdown-toggle:focus,
                .gwm-public-header .language-button:hover,
                .gwm-public-header .language-button:focus,
                .gwm-public-header .btn-language:hover,
                .gwm-public-header .btn-language:focus {
                    background: var(--gwm-public-accent-hover) !important;
                    border-color: var(--gwm-public-accent-hover) !important;
                    color: #ffffff !important;
                    text-decoration: none !important;
                }

            .gwm-public-header .header-language .dropdown-menu {
                position: absolute !important;
                top: calc(100% + 8px) !important;
                right: 0 !important;
                left: auto !important;
                z-index: var(--gwm-public-dropdown-z) !important;
                min-width: 220px !important;
                max-height: calc(100vh - 120px) !important;
                padding: 8px !important;
                margin: 0 !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                border: 1px solid rgba(15,23,42,.10) !important;
                border-radius: 10px !important;
                background: #ffffff !important;
                box-shadow: 0 18px 44px rgba(15,23,42,.25) !important;
            }

                .gwm-public-header .header-language .dropdown-menu.show,
                .gwm-public-header .header-language.show .dropdown-menu,
                .gwm-public-header .header-language.open .dropdown-menu {
                    display: block !important;
                    visibility: visible !important;
                    opacity: 1 !important;
                }

                .gwm-public-header .header-language .dropdown-item,
                .gwm-public-header .header-language .dropdown-menu a,
                .gwm-public-header .header-language .dropdown-menu button {
                    display: flex !important;
                    align-items: center !important;
                    justify-content: flex-start !important;
                    width: 100% !important;
                    min-height: 38px !important;
                    padding: 9px 12px !important;
                    margin: 0 !important;
                    border: 0 !important;
                    border-radius: 8px !important;
                    background: transparent !important;
                    color: var(--gwm-public-primary) !important;
                    font-family: "Lato","Helvetica","Arial",sans-serif !important;
                    font-size: 14px !important;
                    font-weight: 600 !important;
                    line-height: 1.2 !important;
                    letter-spacing: .01em !important;
                    text-align: left !important;
                    text-decoration: none !important;
                    text-transform: none !important;
                    white-space: normal !important;
                    box-shadow: none !important;
                    transform: none !important;
                }

                    .gwm-public-header .header-language .dropdown-item:hover,
                    .gwm-public-header .header-language .dropdown-item:focus,
                    .gwm-public-header .header-language .dropdown-menu a:hover,
                    .gwm-public-header .header-language .dropdown-menu a:focus,
                    .gwm-public-header .header-language .dropdown-menu button:hover,
                    .gwm-public-header .header-language .dropdown-menu button:focus {
                        background: #EEF2FF !important;
                        color: var(--gwm-public-primary) !important;
                        text-decoration: none !important;
                    }

        .gwm-public-header .header-cta {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-height: 42px !important;
            padding: 10px 20px !important;
            border: 1px solid rgba(255,255,255,.22) !important;
            border-radius: 10px !important;
            background: #ffffff !important;
            color: var(--gwm-public-primary) !important;
            box-shadow: var(--gwm-public-shadow) !important;
            font-family: "Lato","Helvetica","Arial",sans-serif !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            line-height: 1.2 !important;
            text-decoration: none !important;
            white-space: nowrap !important;
            transform: none !important;
        }

            .gwm-public-header .header-cta:hover,
            .gwm-public-header .header-cta:focus {
                background: #F8FAFC !important;
                color: var(--gwm-public-primary) !important;
                text-decoration: none !important;
                transform: none !important;
            }

        /* Hide mobile trigger on desktop */
        .gwm-public-header #mainMenu-trigger,
        .gwm-public-header .mobile-nav-trigger {
            display: none !important;
        }

/* =========================================================
   Desktop spacing balance
========================================================= */

@media only screen and (min-width: 992px) {
    .gwm-public-header .logo-box {
        flex: 0 0 330px !important;
    }

    .gwm-public-header .header-right {
        flex: 0 0 auto !important;
        min-width: 300px !important;
    }
}

/* =========================================================
   Tablet
========================================================= */

@media only screen and (max-width: 991px) and (min-width: 768px) {
    .gwm-public-header .gwm-site-logo {
        min-width: 250px !important;
    }

    .gwm-public-header .gwm-site-logo__name {
        font-size: 16px !important;
    }

    .gwm-public-header .gwm-site-logo__tagline {
        font-size: 10px !important;
    }

    .gwm-public-header #mainMenu ul,
    .gwm-public-header .main-menu ul,
    .gwm-public-header ul.navigation,
    .gwm-public-header .navigation {
        gap: 20px !important;
    }

        .gwm-public-header #mainMenu li > a:not(.header-cta):not(.dropdown-item),
        .gwm-public-header .main-menu li > a:not(.header-cta):not(.dropdown-item),
        .gwm-public-header ul.navigation > li > a:not(.header-cta):not(.dropdown-item),
        .gwm-public-header .navigation > li > a:not(.header-cta):not(.dropdown-item) {
            font-size: 12px !important;
            letter-spacing: .045em !important;
        }
}

/* =========================================================
   Phone menu
========================================================= */

@media only screen and (max-width: 767px) {
    .gwm-public-header .auto-container {
        padding: 0 16px !important;
    }

    .gwm-public-header .inner-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }

    .gwm-public-header .logo-box {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

/*    .gwm-public-header .gwm-site-logo {
        min-width: 0 !important;
        width: auto !important;
        max-width: calc(100vw - 96px) !important;
        gap: 10px !important;
    }*/

    .gwm-public-header .gwm-site-logo {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        gap: 10px !important;
    }

    .gwm-public-header .gwm-site-logo__mark {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
    }

    .gwm-public-header .gwm-site-logo__name {
        font-size: 15px !important;
        line-height: 1.1 !important;
        white-space: normal !important;
    }

    .gwm-public-header .gwm-site-logo__tagline {
        display: block !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        letter-spacing: .06em !important;
    }

    .gwm-public-header .header-right {
        display: none !important;
    }

    .gwm-public-header #mainMenu-trigger,
    .gwm-public-header .mobile-nav-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        z-index: calc(var(--gwm-public-header-z) + 4) !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        margin-left: auto !important;
        border: 1px solid rgba(255,255,255,.3) !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        color: var(--gwm-public-primary) !important;
    }

    .gwm-public-header #mainMenu,
    .gwm-public-header .main-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: var(--gwm-public-primary) !important;
        z-index: calc(var(--gwm-public-header-z) + 3) !important;
    }

        body.mainMenu-open .gwm-public-header #mainMenu,
        body.mainMenu-open .gwm-public-header .main-menu,
        .gwm-public-header.menu-open #mainMenu,
        .gwm-public-header.menu-open .main-menu,
        .gwm-public-header #mainMenu.show,
        .gwm-public-header .main-menu.show {
            display: block !important;
            padding: 20px 24px !important;
            border-top: 1px solid rgba(255,255,255,.16) !important;
            border-bottom: 1px solid rgba(255,255,255,.16) !important;
            box-shadow: 0 20px 40px rgba(15,23,42,.24) !important;
        }

        .gwm-public-header #mainMenu nav,
        .gwm-public-header .main-menu nav,
        .gwm-public-header #mainMenu ul,
        .gwm-public-header .main-menu ul,
        .gwm-public-header #mainMenu li,
        .gwm-public-header .main-menu li {
            display: block !important;
            width: 100% !important;
        }

        body.mainMenu-open .gwm-public-header #mainMenu nav,
        body.mainMenu-open .gwm-public-header .main-menu nav,
        body.mainMenu-open .gwm-public-header #mainMenu ul.navigation,
        body.mainMenu-open .gwm-public-header .main-menu ul.navigation,
        .gwm-public-header.menu-open #mainMenu nav,
        .gwm-public-header.menu-open .main-menu nav,
        .gwm-public-header.menu-open #mainMenu ul.navigation,
        .gwm-public-header.menu-open .main-menu ul.navigation,
        .gwm-public-header #mainMenu.show nav,
        .gwm-public-header .main-menu.show nav,
        .gwm-public-header #mainMenu.show ul.navigation,
        .gwm-public-header .main-menu.show ul.navigation {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            justify-content: flex-start !important;
            gap: 14px !important;
            width: 100% !important;
            float: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        body.mainMenu-open .gwm-public-header #mainMenu li > a:not(.header-cta):not(.dropdown-item),
        body.mainMenu-open .gwm-public-header .main-menu li > a:not(.header-cta):not(.dropdown-item),
        .gwm-public-header.menu-open #mainMenu li > a:not(.header-cta):not(.dropdown-item),
        .gwm-public-header.menu-open .main-menu li > a:not(.header-cta):not(.dropdown-item),
        .gwm-public-header #mainMenu.show li > a:not(.header-cta):not(.dropdown-item),
        .gwm-public-header .main-menu.show li > a:not(.header-cta):not(.dropdown-item) {
            display: flex !important;
            justify-content: flex-start !important;
            width: 100% !important;
            padding: 10px 0 !important;
            font-size: 16px !important;
            color: #ffffff !important;
        }
}

/* =========================================================
   GWM PUBLIC HEADER PATCH 05
   Final language dropdown visibility fix

   Fixes:
   - Dropdown hidden by Contact page content container
   - Dropdown hidden by Login page gray overlay/content layer
   - Dropdown hidden by Platform page sections
   - Rounded stacked dropdown item corners
========================================================= */

/* Header must be the top-level public page layer */
.gwm-public-header {
    position: sticky !important;
    top: 0 !important;
    z-index: var(--gwm-public-header-z) !important;
    overflow: visible !important;
    isolation: isolate !important;
}

    /* Header wrappers must not clip the dropdown */
    .gwm-public-header,
    .gwm-public-header .header-upper,
    .gwm-public-header .auto-container,
    .gwm-public-header .inner-container,
    .gwm-public-header .header-right,
    .gwm-public-header .header-language,
    .gwm-public-header .dropdown,
    .gwm-public-header .dropdown-wrapper,
    .gwm-public-header .language-dropdown {
        overflow: visible !important;
        clip-path: none !important;
        contain: none !important;
        filter: none !important;
    }

        .gwm-public-header .header-upper,
        .gwm-public-header .auto-container,
        .gwm-public-header .inner-container,
        .gwm-public-header .header-right,
        .gwm-public-header .header-language,
        .gwm-public-header .dropdown,
        .gwm-public-header .dropdown-wrapper,
        .gwm-public-header .language-dropdown {
            position: relative !important;
            z-index: var(--gwm-public-header-z) !important;
        }

/*
   This is the key part:
   public page sections are explicitly placed below the header.
   The :not(.gwm-public-header *) guard prevents changing header containers.
*/
body .page-wrapper,
body .main-wrapper,
body .main-content,
body main,
body .content,
body .content-wrapper,
body .contact-section,
body .contact-form-section,
body .contact-page-section,
body .platform-section,
body .platform-page-section,
body .login-section,
body .login-page-section,
body .account-section,
body .page-title,
body .page-banner,
body .banner-section,
body .auto-container:not(.gwm-public-header .auto-container),
body section:not(.gwm-public-header section) {
    position: relative !important;
    z-index: 0 !important;
}

/* Common overlay/backdrop layers used on Login and themed pages */
body .overlay,
body .page-overlay,
body .login-overlay,
body .modal-backdrop,
body .backdrop,
body::before,
body::after {
    z-index: 0 !important;
}

/* Keep form/cards/content below the dropdown */
body .login-box,
body .login-form,
body .form-box,
body .contact-form,
body .contact-info,
body .platform-block,
body .platform-card,
body .feature-block,
body .feature-card {
    position: relative !important;
    z-index: 0 !important;
}

/* Dropdown panel */
.gwm-public-header .header-language .dropdown-menu,
.gwm-public-header .header-language .dropdown-menu.show,
.gwm-public-header .header-language ul.dropdown-menu,
.gwm-public-header .header-language .language-menu,
.gwm-public-header .header-language .language-list {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    z-index: var(--gwm-public-header-z) !important;
    min-width: 280px !important;
    max-width: 340px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: #3B5BDB !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.30) !important;
    transform: none !important;
}

    /* Keep hidden dropdowns hidden until opened by Bootstrap/theme JS */
    .gwm-public-header .header-language .dropdown-menu:not(.show):not([style*="display: block"]):not([style*="display:block"]) {
        display: none;
    }

    /* Force opened state visible */
    .gwm-public-header .header-language.show .dropdown-menu,
    .gwm-public-header .header-language.open .dropdown-menu,
    .gwm-public-header .header-language .dropdown.show .dropdown-menu,
    .gwm-public-header .header-language .dropdown.open .dropdown-menu,
    .gwm-public-header .header-language .dropdown-menu.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Square dropdown rows/items */
    .gwm-public-header .header-language .dropdown-menu,
    .gwm-public-header .header-language .dropdown-menu *,
    .gwm-public-header .header-language .language-menu,
    .gwm-public-header .header-language .language-menu *,
    .gwm-public-header .header-language .language-list,
    .gwm-public-header .header-language .language-list * {
        border-radius: 0 !important;
    }

        .gwm-public-header .header-language .dropdown-menu li,
        .gwm-public-header .header-language .language-menu li,
        .gwm-public-header .header-language .language-list li {
            margin: 0 !important;
            padding: 0 !important;
            list-style: none !important;
        }

        .gwm-public-header .header-language .dropdown-menu a,
        .gwm-public-header .header-language .dropdown-menu button,
        .gwm-public-header .header-language .language-menu a,
        .gwm-public-header .header-language .language-menu button,
        .gwm-public-header .header-language .language-list a,
        .gwm-public-header .header-language .language-list button {
            display: block !important;
            width: 100% !important;
            min-height: 38px !important;
            margin: 0 !important;
            padding: 10px 16px !important;
            border: 0 !important;
            border-radius: 0 !important;
            background: #3B5BDB !important;
            color: #ffffff !important;
            box-shadow: none !important;
            text-align: left !important;
            white-space: nowrap !important;
        }

            .gwm-public-header .header-language .dropdown-menu a:hover,
            .gwm-public-header .header-language .dropdown-menu a:focus,
            .gwm-public-header .header-language .dropdown-menu button:hover,
            .gwm-public-header .header-language .dropdown-menu button:focus,
            .gwm-public-header .header-language .language-menu a:hover,
            .gwm-public-header .header-language .language-menu a:focus,
            .gwm-public-header .header-language .language-list a:hover,
            .gwm-public-header .header-language .language-list a:focus {
                background: #1A1A96 !important;
                color: #ffffff !important;
            }

        .gwm-public-header .header-language .dropdown-menu li + li,
        .gwm-public-header .header-language .language-menu li + li,
        .gwm-public-header .header-language .language-list li + li {
            border-top: 1px solid rgba(255,255,255,.14) !important;
        }
