/*
 * Keep the accordion inside the visible viewport below the sticky masthead.
 * The percentage resolves against the masthead's actual height, including
 * wrapped branding. Reserve the WordPress toolbar height when it is present.
 * Keep one scrolling surface so nested menus cannot trap touch gestures.
 */
.gta-mobile-2021 {
  box-sizing: border-box;
  top: 100%;
  max-width: 100vw;
  max-height: calc(100vh - 100% - var(--wp-admin--admin-bar--height, 0px));
  max-height: calc(100dvh - 100% - var(--wp-admin--admin-bar--height, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
}
