/* ============================================================
   HSPS Rise course - fixed chrome overlay
   Strategy: pin the Rise app below the fixed header and size its
   scroll wrapper to the remaining viewport height.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

:root {
  --hsps-header-height: 92px;
}

#app {
  position: fixed !important;
  top: var(--hsps-header-height) !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  height: calc(100vh - var(--hsps-header-height)) !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#innerApp,
#page-wrap {
  height: calc(100vh - var(--hsps-header-height)) !important;
  max-height: calc(100vh - var(--hsps-header-height)) !important;
}

#page-wrap {
  overflow-y: auto !important;
}

/* Fixed header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  text-align: center;
  background: #fff;
  border-bottom: 10px solid #0e4e96;
}

.site-header a {
  display: inline-block;
  vertical-align: middle;
}

.site-header img {
  border: 0;
  height: 50px;
  width: auto;
}

.site-header .hs-logo {
  margin-right: 14px;
}
