/**
 * Copyright IBM Corp. 2016, 2023
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

@use 'sass:list';

@use '../../globals/utils/flex-grid' as *;
@use '../../../components/link-with-icon';

@mixin themed-items {
  background: $background;
  color: $text-primary;
}

@mixin content-group-cards {
  .#{$prefix}--content-group-cards {
    &__row {
      @include make-row;
    }

    &-item__col {
      margin-block: list.slash($grid-gutter, 2);
      @include make-col-ready;

      @include breakpoint(lg) {
        @include make-col(8, 16);
      }
    }

    @include themed-items;
  }
}
