/*
 * M307.3 — Mobile bottom-navigation clearance consolidation.
 * Keep one predictable page-end reservation. M307.2 added clearance to both
 * the homepage wrapper and its final section, causing the values to compound.
 * The fixed five-item navigation is approximately 70px tall including its
 * own padding; 88px plus the device safe-area provides a modest scroll buffer.
 */
@media (max-width: 767px) {
  body.home.shk-managed-home-active #shikshan-homepage,
  body.home.shk-managed-home-active .shk-managed-homepage {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.home.shk-managed-home-active .shk-managed-homepage .shk-home-section:last-child,
  body.home.shk-managed-home-active .shk-managed-homepage .shk-home-section:last-of-type {
    padding-bottom: 0 !important;
  }

  body.home.shk-managed-home-active .shikshan-global-bottom-nav {
    bottom: calc(5px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
