.breadcrumbs[data-stb-breadcrumbs='current'] {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--p-spacing-rem-12);

  & > button {
    cursor: pointer;
  }

  /* not the last item */
  & .breadcrumb:not(:last-child) {
    font-size: var(--p-font-styles-size-16);
  }

  /* bold + equal padding for last item */
  & .breadcrumb:last-child {
    color: var(--p-color-text-selected);
    pointer-events: none;

    > span {
      text-decoration: none;
    }

    /* hide icon in last item */
    & i {
      display: none;
    }
  }

  & .breadcrumb {
    align-items: center;
    background: transparent;
    border: none;
    box-sizing: border-box;
    color: var(--p-color-text-primary);
    display: flex;
    gap: var(--p-spacing-04);
    padding: var(--p-spacing-08) 0;
    position: relative;
    text-decoration: none;
    transition: background-color 0.1s ease;

    @media (hover: hover) and (pointer: fine) {
      &:hover {
        color: var(--p-color-text-primary-hover);
      }
    }

    &:active {
      > span {
        color: var(--p-color-text-interactive);
        text-decoration: none;
      }
    }

    &:focus-visible {
      outline: var(--p-outline);
    }

    > span {
      text-decoration: underline;
      text-decoration-thickness: 0.0625rem;
      text-underline-offset: var(--p-spacing-rem-04);
    }
  }

  /* Hide all links and display only the back NavLink on small screens */
  &:has([data-stb-navlink]) {
    .breadcrumb {
      display: none;
    }

    & [data-stb-navlink] {
      display: flex;
      outline-offset: var(--p-outline-offset);
      pointer-events: auto;

      i.navlinkIcon {
        display: inline;
      }
    }

    @media (min-width: 600px) {
      .breadcrumb {
        display: flex;
      }

      & [data-stb-navlink] {
        display: none;
      }
    }
  }
}
.systemIconBase[data-stb-system-icon='current'] {
  flex-shrink: 0;
  font-family: 'Storebrand Symbols';
  font-size: 1rem;
  height: 1rem;
  line-height: 1rem;
  width: 1rem;

  &[data-legacy='true'] {
    /* An option to turn on the legacy System Icons, if necessary. */
    font-family: 'System-Icons' !important;
  }

  &::before {
    content: attr(data-icon-name);
    white-space: nowrap;
  }

  @media (min-width: 600px) {
    font-size: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    width: 1.5rem;
  }
}
.iconBase[data-stb-icon='current'] {
  display: inline-flex;

  & svg {
    height: 100%;
    width: 100%;
  }

  & img {
    height: 100%;
    width: 100%;
  }
}
.illustrationBase[data-stb-illustration='current'] {
  display: inline-flex;

  &.autoHeight {
    img {
      height: auto;
      width: auto;
    }
  }

  & img {
    max-width: 100%;
    vertical-align: middle;
  }
}
