/*
 * Header rhythm shared by every solution page that has both a breadcrumb and
 * hash toggles: breadcrumb -> toggles -> headline.
 */
main.has-page-path > section.page-path-host > .mx-auto > .page-hash-layout {
  margin-top: 36px !important;
}

main .page-hash-copy {
  /* Keep the hash row anchored even when the adjacent visual is taller. */
  align-self: start;
  min-width: 0;
}

/* Keep solution introductions at 600px, anchored to the copy's left edge. */
main.has-page-path > :is(
  #operate-hero, #erp-hero, #wb-hero, #app-store-hero, #sell-hero,
  #ch-hero, #booster-hero, #hs-hero, #b2b-hero, #partners-hero,
  #grow-hero, #ads-hero, .canvas-hero, #post-hero, .studio-hero
) .page-hash-copy > p.text-body {
  width: 600px;
  max-width: 100%;
  align-self: flex-start;
}

/* Match the ERP header's introduction style on the creative pages. */
main.has-page-path > :is(.canvas-hero, .studio-hero) .page-hash-copy > p.text-body {
  margin: 26px 0 28px;
  color: #68748a;
  font-family: Inter, "Noto Sans KR", sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: inherit;
}

main .page-hash {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

main .page-hash > span {
  padding: 6px 11px;
  border: 1px solid #cbd9ff;
  border-radius: 7px;
  background: #edf2ff;
  color: #354bd7;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.025em;
}

main .page-hash > .page-hash-primary {
  border-color: #4d6cff;
  background: #4d6cff;
  color: #fff;
  letter-spacing: .06em;
}

main.has-page-path > section.page-path-host .page-hash-copy > .page-hash + h1 {
  margin-top: 24px !important;
}

@media (max-width: 600px) {
  main.has-page-path > section.page-path-host > .mx-auto > .page-hash-layout {
    margin-top: 28px !important;
  }
}
