/**
 * Card #1406 — center the site logo within the shared site-wide nav header
 * on mobile widths.
 *
 * The header (logo image widget + Jeg Kit nav-menu widget, in a shared
 * column pair) is duplicated per-page in Elementor rather than being a
 * single global template instance, so widget element IDs differ from page
 * to page. Target by widget type instead of ID so this applies uniformly:
 * the logo column is whichever column sits alongside the nav-menu column
 * inside the same row.
 *
 * Only the logo's own alignment changes — the nav-menu widget (hamburger
 * icon + its menu) is untouched, so it keeps opening the same site nav it
 * already opens today.
 */
@media (max-width: 767px) {
    .elementor-container:has(.elementor-widget-jkit_nav_menu) > .elementor-column:has(.elementor-widget-image) {
        text-align: center;
    }
    .elementor-container:has(.elementor-widget-jkit_nav_menu) > .elementor-column:has(.elementor-widget-image) .elementor-widget-image,
    .elementor-container:has(.elementor-widget-jkit_nav_menu) > .elementor-column:has(.elementor-widget-image) .elementor-widget-container,
    .elementor-container:has(.elementor-widget-jkit_nav_menu) > .elementor-column:has(.elementor-widget-image) img {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }
    .elementor-container:has(.elementor-widget-jkit_nav_menu) > .elementor-column:has(.elementor-widget-image) img {
        display: block;
    }

    /*
     * Card #3381 — the rules that sat here (Card #1408 / #1415) pinned the Member Dashboard's theme-picker
     * icon (`.gm-dash-theme-wrap`, moved into this nav by JavaScript) at the top-left and pushed the logo 56px
     * right to clear it. The Member Dashboard now prints its own header strip (`.bb-md-nav`, the same one
     * Coach and GM print) and hides this theme header at phone width, so nothing is moved into this nav
     * any more and the rules are gone. The centring above (Card #1406) still applies to every other page.
     */
}
