/* Banner content is opt-in; composition and typography belong to the site. */
:where(.cb-banner__body).bnb-banner__body { position: relative; z-index: 1; }
:where(.cb-banner__metadata).bnb-banner__metadata:empty { display: none; }
:where(.cb-banner__heading-source).bnb-banner__heading-source[hidden] {
  display: none !important;
}

:where(.cb-banner).bnb-banner { position: relative; }
:where(.cb-banner__back).bnb-banner__back {
  position: absolute;
  z-index: 2;
  inset-block-start: var(--banner-back-inset, 1rem);
  inset-inline: 0;
  padding-inline: var(--banner-back-inset, 1rem);
  pointer-events: none;
}
:where(.cb-banner__back-link).bnb-banner__back-link {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .5em;
  box-sizing: border-box;
  max-width: min(100%, var(--banner-back-max-width, 24rem));
  line-height: 1;
  color: inherit;
  text-decoration: none;
}
:where(.cb-banner__back-link).bnb-banner__back-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
:where(.cb-banner__back-icon).bnb-banner__back-icon {
  flex: 0 0 auto;
  font-family: var(--ui-font-font-family);
  font-size: 1.25em;
  line-height: 1;
}
:where(.cb-banner__back-label).bnb-banner__back-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
