/* Milestone Horizons — Inner Page Backgrounds */

/* About page (page-id-88): all beige */
.page-id-88 body,
body.page-id-88 {
  background-color: #F4F1EC !important;
}
body.page-id-88 .wp-block-group,
body.page-id-88 .wp-block-post-content .wp-block-group {
  background-color: #F4F1EC !important;
  color: inherit !important;
}
body.page-id-88 .wp-block-group * {
  color: inherit !important;
}

/* Partners page (page-id-20): all white */
body.page-id-20 {
  background-color: #ffffff !important;
}
body.page-id-20 .wp-block-group,
body.page-id-20 .wp-block-post-content .wp-block-group {
  background-color: #ffffff !important;
  color: inherit !important;
}
body.page-id-20 .wp-block-group * {
  color: inherit !important;
}

/* Get in Touch page: cream base */
body.page-id-814,
body:not(.home):not(.page-id-88):not(.page-id-20) {
  background-color: #F4F1EC !important;
}

/* Homepage: hide page title block and spacer so hero fills top */
.home main > .wp-block-group:first-child,
.home main > .wp-block-spacer:first-of-type {
  display: none !important;
}

/* Homepage: remove any top margin/padding pushing the hero down */
.home main,
.home .entry-content,
.home .wp-block-post-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Homepage: overlay the nav on top of the hero so no white gap shows */
.home header.wp-block-template-part {
  position: absolute;
  top: 32px; /* account for WP admin bar */
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent !important;
}

body:not(.admin-bar).home header.wp-block-template-part {
  top: 0;
}

/* Pull the hero cover block up to fill behind the header */
.home .wp-block-post-content .wp-block-cover:first-child,
.home .entry-content .wp-block-cover:first-child {
  margin-top: -56px !important;
}

/* Make nav text white so it's readable over the dark hero image */
.home header.wp-block-template-part a,
.home header.wp-block-template-part .wp-block-site-title a,
.home header.wp-block-template-part .wp-block-navigation a {
  color: #ffffff !important;
}