/* ============================================================
   BurmeseWorship header alignment — mobile / iPhone only
   Hamburger is now first child of .app-header.
   Navigation IDs, events, drawer and desktop layout stay unchanged.
   ============================================================ */
@media (max-width: 820px) {
  header.app-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 10px !important;
    /* Retain top safe area already used by the app */
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
    min-height: calc(68px + env(safe-area-inset-top, 0px)) !important;
    height: auto !important;
  }
  header.app-header > #mobileMenuBtn.mobile-menu-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    flex: 0 0 44px !important;
    border: 0 !important;
    background: transparent !important;
    color: #6b3a12 !important;
    cursor: pointer;
    z-index: 51 !important;
  }
  header.app-header > #mobileMenuBtn.mobile-menu-btn span {
    display: block !important;
    width: 23px !important;
    height: 2.5px !important;
    border-radius: 99px !important;
    background: currentColor !important;
    margin: 0 !important;
  }
  header.app-header > .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  header.app-header .logo {
    gap: 10px !important;
    min-width: 0 !important;
    align-items: center !important;
  }
  header.app-header .logo-img {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    object-fit: contain !important;
  }
  header.app-header .logo-text {
    min-width: 0 !important;
  }
  header.app-header .logo-text h1 {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.18 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  header.app-header .logo-text p {
    display: block !important;
    margin-top: 3px !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}
@media (min-width: 821px) {
  header.app-header > #mobileMenuBtn.mobile-menu-btn {
    display: none !important;
  }
}
