.block-banner {
  inline-size: 100%;

  &--default & {
    &-content {
      position: relative;
      padding: $spacing-xxxl 0;
      margin: auto;
      justify-content: space-between;
      @include grid-cols(12);

      @include media-down(md) {
        @include grid-cols(1);
      }
      
      &::before {
        position: absolute;
        content: '';
        top: 0;
        left: -100%;
        right: -100%;
        width: 100vw;
        height: 100%;
        margin: auto;
        background-color: $color-main;
        z-index: -1;
      }

      &-info {
        display: grid;
        color: $color-white;
        row-gap: $spacing-xs;
        @include col-span(6);
        @include col-start(2);
        
        @include media-down(xl) {
          @include col-span(8);
          @include col-start(1);
        }

        @include media-down(md) {
          width: 100%;
          @include col-span(1);
        }
      }

       &-links { 
        display: flex;
        align-items: center;
        justify-content: end;
        @include col-span(4);

        @include media-down(md) {
          width: 100%;
          justify-content: start;
          @include col-span(1);
        }
      }
    }
  }

  &--smaller & {
    &-content {
      display: flex;
      flex-wrap: wrap;
      padding: $spacing-sm $spacing-lg;
      justify-content: space-between;
      gap: $spacing-sm;

      &-links {
        display: flex;
        flex-wrap: wrap;
        gap: $spacing-xs $spacing-lg;
        align-items: center;
      }
    }
  }
}
