/* v2.02 — single-post mobile navigation consistency.
   Override historic header rules (including block-editor customised headers).
   Keep the post content, in-article navigations, destination maps and desktop untouched. */
@media (max-width: 767px) {
  body.single-post .at199-mobile-dock,
  body.single-format-standard .at199-mobile-dock,
  body.single-post .wp-site-blocks ~ .at199-mobile-dock {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 2147483010 !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  /* Classic and block header variants, including headers customised in Site Editor. */
  body.single-post .at-header .at-primary-menu,
  body.single-post .at-header .at-utility-menu,
  body.single-post .at-header-main > .wp-block-navigation,
  body.single-post .at-header-utility .wp-block-navigation,
  body.single-post .wp-site-blocks > header .wp-block-navigation,
  body.single-post .wp-site-blocks > .wp-block-template-part .at-header .wp-block-navigation,
  body.single-post .wp-site-blocks > .wp-block-template-part .at-header-main .wp-block-navigation,
  body.single-post .wp-site-blocks > .wp-block-template-part .at-header-utility .wp-block-navigation,
  body.single-post header.site-header .wp-block-navigation,
  body.single-post header.site-header .menu-toggle,
  body.single-post header.site-header .primary-navigation,
  body.single-post .at-header .wp-block-navigation__responsive-container-open,
  body.single-post .at-header .wp-block-navigation__responsive-container.is-menu-open {
    display: none !important;
  }
  body.single-post .at-header .at-logo-line {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
  }
  body.single-post .at-header .at-header-main {
    justify-content: center !important;
  }
  body.single-post .at199-mobile-dock__item {
    display: flex !important;
    min-width: 0 !important;
  }
  body.single-post { padding-bottom: calc(100px + env(safe-area-inset-bottom,0px)) !important; }
  body.single-post .at-share-rail__restore { display: none !important; }
}
