.block-system-breadcrumb-block,
.theme--ftc-uswds.path-news-events:not(.has-banner-image) .block-system-breadcrumb-block {
  @extend %trim;
  margin: 1rem 0;

  .region-banner & {
    width: auto;
  }

  .group-breadcrumb .language-switcher-block {
    .context-default-no-translate & {
      display: none;
    }
    .context-override-has-translate &,
    .context-override-has-translate.context-default-no-translate & {
      display: block;
    }
  }

  @include breakpoint($desktop) {
    margin: 2.2rem 0 4rem;

    .group-breadcrumb {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .language-switcher-block {
        white-space: nowrap;
        padding-left: 2rem;
      }
    }
  }

  + .language-switcher-language-url {
    display: none;
  }
}

@include breakpoint($desktop) {
  .language-switcher-block {
    text-align: right;
  }
  .context-override-has-translate h1 + .language-switcher-language-url {
    width: 100%;
  }
}

.usa-breadcrumb__list-item {
  @include at-media-max($theme-breadcrumb-min-width) {
    @include u-white-space("wrap");

    // Override uswds behavior.
    &:nth-last-child(2) {
      @include sr-only;
    }

    &:last-child {
      @include not-sr-only;

      .usa-breadcrumb__link {
        @include button-unstyled;
        @include exdent-icon;
        @include place-icon(
          $icon-breadcrumb-back,
          "before",
          0,
          baseline,
          $theme-breadcrumb-background-color
        );

        // Override link colors from button-unstyled()
        @include set-link-from-bg(
          $theme-breadcrumb-background-color,
          $theme-breadcrumb-link-color
        );

        @include u-display("inline-block");
        @include u-padding-bottom($theme-breadcrumb-padding-bottom);
        @include u-padding-top($theme-breadcrumb-padding-top);

        // Prevent underline that extends beyond text
        &,
        &:hover,
        &:active {
          @include u-text("no-underline");
        }

        span {
          @include u-text("underline");
        }
      }

      // Override icon spacing from place-icon() with non-token value
      .usa-breadcrumb__link::before {
        margin-right: $breadcrumb-icon-spacing;
      }
    }
  }

  &:not(:last-child)::after {
    background: none;
    -webkit-mask: none;
    content: '/';
  }
}

a.usa-breadcrumb__link {
  .region-banner & {
    color: $white !important;
  }
}
