/* Force footer to flow naturally with content */
.page-footer,
.footer-main {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin-top: 4rem;
}

/* Flexbox layout for sticky footer at bottom of content */
html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.container-bf {
  flex: 1 0 auto;
}

.page-footer {
  flex-shrink: 0;
  margin-top: auto;
}
