/* ==== AWMB app-bar v3 (bottom-bar-scoped; the top nav = kadence's defaults) ==== */
@media (max-width: 1023px) {
  .site-bottom-header-wrap.kadence-sticky-header, #mobile-header .site-bottom-header-wrap {
    min-height: 58px !important; height: 58px !important;
    position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; top: auto !important;
    z-index: 9999 !important; width: 100%; margin: 0 !important;
    background: #1a2232 !important; padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 12px rgba(0,0,0,.25);
  }
  html body { padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important; }
  #masthead, #main-header { display: none !important; } /* mobile = the mobile-header only */
  #mobile-header .site-bottom-header-wrap nav.main-navigation ul.menu {
    display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; list-style: none; margin: 0; padding: 0 4px;
  }
  #mobile-header .site-bottom-header-wrap .main-navigation a {
    padding: 8px 12px; font-size: 14px; white-space: nowrap; color: #ffffff !important; opacity: 1 !important; font-weight: 500;
  }
  #mobile-header .mobile-header-button-wrap a {
    background: #c9a24a !important; color: #1a2232 !important; border-radius: 6px; padding: 8px 16px; font-weight: 600; white-space: nowrap;
  }
  #mobile-header .site-bottom-header-wrap .site-header-row-container-inner { height: 56px; align-items: center; }
  .entry-content .wp-block-columns.is-layout-flex { flex-direction: column !important; gap: 1.5rem; }
  .entry-content .wp-block-columns.is-layout-flex > .wp-block-column { max-width: 100% !important; flex-basis: auto !important; }
  .entry-content h1 { font-size: clamp(2rem, 9vw, 3.2rem) !important; }
}

#mobile-header { display: block !important; }
