/* Mobile-only spacing and navigation; desktop rules remain unchanged. */
@media (max-width:767px) {
  html body .afm-downloads-editable-content > .wp-block-file {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:14px!important;height:auto!important;min-height:0!important;
    padding:20px!important;
  }
  html body .afm-downloads-editable-content > .wp-block-file > a:not(.wp-block-file__button) {
    flex:0 0 auto!important;height:auto!important;min-height:0!important;margin:0!important;
  }
  html body .afm-downloads-editable-content > .wp-block-file > .wp-block-file__button {
    flex:0 0 auto!important;margin:0!important;
  }
  html body main#main {padding-bottom:0!important;margin-bottom:0!important;min-height:0!important;}
  html body main#main > :last-child {margin-bottom:0!important;padding-bottom:16px!important;min-height:0!important;}
  html body main#main .inner-page {padding-bottom:16px!important;min-height:0!important;}
  html body footer.footer,html body footer.site-footer {
    margin-top:0!important;padding-top:20px!important;
  }
  html body footer.footer::before,html body footer.site-footer::before {
    display:none!important;height:0!important;
  }
  html body .site-header .navwrap {
    background:#fff!important;overscroll-behavior-y:contain;
    padding-bottom:18px!important;
  }
  html body .site-header .navwrap > .af-cart-link {order:-4!important;flex-shrink:0;}
  html body .site-header .navwrap > .cta {order:-3!important;flex-shrink:0;}
  html body .site-header .navwrap > .afm-social {order:-2!important;}
  html body .site-header .navwrap > .main-nav {order:0!important;}
  html:has(.site-header .navwrap.is-open),html body:has(.site-header .navwrap.is-open) {
    background:#fff!important;overscroll-behavior-y:none;
  }
}
