/* Article content follows the document flow so ad resizing cannot remove its scroll area. */
body {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

#page {
  height: auto;
  min-height: 100vh;
}

#main,
#main-content {
  height: auto;
  overflow: visible;
}

#main-content {
  min-height: 0;
  overflow-x: clip;
}

@media only screen and (max-width: 991px) {
  html {
    scroll-padding-top: 50px;
  }

  #main {
    position: relative;
    top: auto;
    bottom: auto;
    padding-top: 50px;
  }

  .mobile-header {
    top: 0;
  }
}
