/* MVC sticky header on the homepage and consulting page only.
   Existing header size, colors, logo and navigation spacing remain unchanged. */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Subtle separation from the content while scrolling. */
  box-shadow: 0 2px 12px rgba(29, 51, 40, .08);
}

/* Keep the logged-in WordPress admin bar visible. */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  /* On small screens WordPress's admin toolbar scrolls out of view. */
  body.admin-bar .site-header { top: 0; }
}

/* Prevent in-page anchors from landing behind the persistent header. */
html { scroll-padding-top: 105px; }
@media (max-width: 720px) {
  html { scroll-padding-top: 92px; }
}
