/* Page titles stand on their own. Remove decorative category labels and their
   layout space, while retaining field labels, statuses and section headings. */
.portal-page-heading > span:first-child:has(+ h1),
:is(span, p, div)[class~="eyebrow"]:has(+ :is(h1, h2, h3)),
:is(span, p, div)[class*="-eyebrow"]:has(+ :is(h1, h2, h3)) {
  display: none !important;
}

/* The portal navigation identifies the page. Suppress the shared automatic
   department heading on every route, including newly created pages. Content
   headings, header actions and the browser document title remain independent. */
.portal-department > .portal-page-heading {
  display: none !important;
}
