@use '../../global/scss/tools' as nsw;

.nsw-callout {
  padding: nsw.rem(16px);
  border-left: solid 4px var(--nsw-brand-dark);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  @include nsw.component-spacing();

  @include nsw.breakpoint('md', max-width) {
    flex-direction: column;
  }

  &__content {
    flex: 1 1 auto;
    text-wrap: pretty;
  }

  &__pictogram {
    flex: 0 0 auto;
    width: nsw.rem(48px);
    height: nsw.rem(48px);
    margin-right: nsw.rem(16px);
    margin-top: nsw.rem(-2px);

    @include nsw.breakpoint('md', max-width) {
      margin-right: 0;
      margin-bottom: nsw.rem(12px);
      margin-top: 0;
    }

    img,
    svg {
      display: block;
      width: 100%;
      height: 100%;
    }
  }
      
  .nsw-section--invert & {
    border-color: var(--nsw-brand-light);
  }
}
