.zp-crumb {
  padding-block: 1.1rem;
  color: var(--zp-muted);
  font-size: .82rem;
}

.zp-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zp-crumb li + li::before {
  margin-right: .7rem;
  color: #60788c;
  content: "/";
}

@media screen {
  /* Match the two bands across the viewport without widening the breadcrumb content. */
  .zp:has(> .zp-crumb + .zp-hero) {
    --zp-top-bg: linear-gradient(90deg, #f6f9fb 60%, #e0e9f7 100%);
  }

  .zp > .zp-crumb:has(+ .zp-hero) {
    position: relative;
    isolation: isolate;
  }

  .zp > .zp-crumb:has(+ .zp-hero)::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline: calc((100% - 100vw) / 2);
    z-index: -1;
    pointer-events: none;
    background: var(--zp-top-bg);
  }

  .zp > .zp-crumb + .zp-hero {
    background: var(--zp-top-bg) center / 100vw 100% no-repeat;
  }
}
