:root {
  --hct-site-header-height: 72px;
  --hct-site-gutter: 24px;
}

#hctSiteBrand {
  display: block;
  flex: none;
  width: 88px;
  height: 49px;
  line-height: 0;
  text-decoration: none;
}
#hctSiteBrand img {
  display: block;
  width: 88px;
  max-width: none;
  height: 49px;
}
#hctSiteBrand:focus-visible {
  outline: 3px solid #ff981f;
  outline-offset: 4px;
}

[data-hct-site-row].wrap.nav {
  box-sizing: border-box;
  max-width: none;
  width: 100%;
  min-height: var(--hct-site-header-height);
  padding: 0 var(--hct-site-gutter);
}
[data-hct-site-row] > #hctSiteBrand {
  align-self: flex-start;
  margin: 12px 0 11px;
}

body[data-hct-site-layout="page"] { margin: 0; }
.hct-site-masthead {
  box-sizing: border-box;
  height: var(--hct-site-header-height);
  padding: 12px var(--hct-site-gutter) 11px;
  background: #101820;
}
body[data-hct-site-layout="member"] > .hct-site-masthead {
  position: fixed;
  inset: 0 auto auto 0;
  width: 224px;
  z-index: 1001;
}

/* The old shared clients can insert header markup after the page has rendered. */
body[data-hct-site-layout] :is(.topbar,.net-head,.ws-head,.community-head) .brand:not(#hctSiteBrand) { display: none; }

@media (max-width: 820px) {
  body[data-hct-site-layout="member"] > .hct-site-masthead {
    width: 136px;
    background: transparent;
  }
}
@media print {
  body[data-hct-site-layout="member"] > .hct-site-masthead { position: static; }
}
