/* ============================================================
   GH TECHNICAL - WordPress integration layer
   Only bridges WordPress chrome. Nothing here may restate design
   rules: body/element selectors combined with a class outrank the
   design's own class selectors and silently break it.
   ============================================================ */

/* The admin bar is fixed to the top of the viewport for logged-in users,
   so the fixed site chrome has to start below it. */
body.admin-bar #header,
body.admin-bar .thread,
body.admin-bar #loader,
body.admin-bar .mobile-menu {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar #header,
  body.admin-bar .thread,
  body.admin-bar #loader,
  body.admin-bar .mobile-menu {
    top: 46px;
  }
}

/* Parent-theme and block-editor chrome that the GH templates replace. */
.site-header,
.site-footer,
.page-header,
.entry-header,
.wp-block-template-part {
  display: none;
}
