/* The shallow title band carries the homepage's blue diagonal across the site. */
.subpage .page-heading {
  position: relative;
  isolation: isolate;
  padding: 0;
  border-bottom: 1px solid #d2e2ed;
  background: #f1f6f9;
}

.page-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(28%, 470px);
  background: linear-gradient(117deg, transparent 0 30%, #e4eff6 30% 77%, #d8e9f4 77%);
  pointer-events: none;
}

.page-heading-inner {
  position: relative;
  padding-block: clamp(14px, 1.5vw, 22px) clamp(18px, 2vw, 28px);
}

.page-heading-inner::after {
  content: "";
  position: absolute;
  inset: auto auto -1px 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(to right, var(--blue) 0 74%, var(--yellow) 74%);
}

.heading-parents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  margin-bottom: 7px;
  color: #465e70;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
}

.heading-parents a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  text-decoration: underline;
  text-decoration-color: #adbfca;
  text-underline-offset: 3px;
}

.heading-parents a:hover { color: var(--blue); text-decoration-color: currentColor; }

.heading-separator {
  width: 5px;
  height: 5px;
  border: solid #778d9c;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}

.subpage .page-heading h1 {
  max-width: 32em;
  margin: 0;
  color: #173950;
  font-size: clamp(27px, 2.7vw, 36px);
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1.4;
  word-break: auto-phrase;
  text-wrap: balance;
}

.subpage .page-heading .heading-lead {
  max-width: 57em;
  margin: 8px 0 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
  color: #475b68;
}

@media (max-width: 700px) {
  .page-heading-inner { padding-block: 10px 17px; }
  .page-heading-inner::after { width: 46px; }
  .heading-parents { font-size: 12px; margin-bottom: 5px; }
  .subpage .page-heading h1 { font-size: clamp(22px, 5.9vw, 29px); line-height: 1.45; }
  .subpage .page-heading .heading-lead { margin-top: 7px; font-size: 14px; }
}
