/* Page-only rules originally following shared site polish. */
/* 2026-11-15 mobile hot-search overlay fix:
   Keep the header and its dropdown above the video category grid on small screens. */
@media (max-width: 767px) {
  html body.body > header.site-header.avref26-header {
    position: relative !important;
    z-index: 12000 !important;
    isolation: isolate !important;
    overflow: visible !important;
  }
  html body.body > header.site-header.avref26-header .site-header-inner {
    position: relative !important;
    z-index: 12001 !important;
    overflow: visible !important;
  }
  html body.body > header.site-header.avref26-header .site-search-wrap {
    position: relative !important;
    z-index: 12002 !important;
    overflow: visible !important;
  }
  html body.body > header.site-header.avref26-header .site-hot-search-dropdown {
    position: absolute !important;
    z-index: 12003 !important;
    top: calc(100% + 7px) !important;
    left: 0 !important;
    right: 0 !important;
    max-height: min(60vh, 420px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }
  html body.body #video-categories,
  html body.body #video-categories .home-video-category-grid {
    position: relative !important;
    z-index: 0 !important;
  }
}
