/* ========== Footer + mobile info bar ========== */
html,
body {
  height: 100%;
}

body {
  padding-bottom: var(--bottom-bar-space);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mobile-info-bar {
  display: none;
  background: #f6f6f7;
  border-bottom: 1px solid #e7e7ea;
}
.mobile-info-bar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: .35rem 1rem .2rem;
  display: flex;
  justify-content: center;
  gap: .75rem;
  font-size: .85rem;
  color: #4c4943;
  font-weight: 600;
}
.mobile-info-bar a {
  color: inherit;
  text-decoration: none;
}
.mobile-info-bar span {
  color: #b5b0a8;
}

.page-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-content {
  flex: 1;
  min-height: 0;
}

.site-footer {
  border-top: 1px solid #e7e7ea;
  background: #f6f6f7;
  height: calc(var(--topbar-height, 64px) * 0.8);
  min-height: 42px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .85rem;
  color: #4c4943;
  font-weight: 600;
}
.site-footer__inner {
  display: inline-flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.site-footer__link {
  font-weight: 600;
  color: var(--topbar-link-color, #4c4943);
  text-decoration: none;
}
.site-footer__link.is-active {
  color: var(--topbar-link-active, #1c1a17);
  font-weight: 700;
}
.site-footer span {
  color: #b5b0a8;
}

@media (max-width: 700px) and (hover: none) {
  .mobile-info-bar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 55;
  }
}

@media (max-width: 700px) {
  .site-footer {
    display: none;
  }
}
