/* JobLik 0.33.917 — only restores mobile document scrolling.
   Gallery data selection is intentionally left to the last known-good
   server-side gallery renderer restored in this release. */
@media (max-width: 780px){
  html:has(body.joblik-listing-gallery-page){
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
  }
  body.joblik-listing-gallery-page,
  body.joblik-listing-gallery-page.jam-shell-fixed-ready,
  body.joblik-listing-gallery-page.jam-nav-ready{
    height:auto!important;
    min-height:100dvh!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
  }
  body.joblik-listing-gallery-page > main{
    position:relative!important;
    height:auto!important;
    min-height:calc(100dvh - var(--jam-mobile-content-top,89px))!important;
    max-height:none!important;
    overflow:visible!important;
    overscroll-behavior:visible!important;
    touch-action:pan-y!important;
    padding-bottom:calc(var(--jam-mobile-bottom-height,66px) + env(safe-area-inset-bottom,0px) + 14px)!important;
  }
  body.joblik-listing-gallery-page > main > *{max-height:none!important;}
}
