@import "tools.mixins";

@mixin o-member-feature-4columns-item-community-sm {
  .o-member-feature__content--community {
    .o-member-feature-4columns-link,
    .o-member-feature-4columns-item--no-link {
      @include grid-template-rows(0, rem(64) auto auto);
      @include grid-template-columns(0, 1fr);
    }
  }

  .o-member-feature-4columns--community {
    .o-member-feature-4columns-item {
      &:nth-of-type(1) {
        .o-member-feature__icon {
          width: rem(64);
          height: rem(64);
        }
      }
      &:nth-of-type(2) {
        .o-member-feature__icon {
          width: rem(61);
          height: rem(59);
        }
      }
      &:nth-of-type(3) {
        .o-member-feature__icon {
          width: rem(93);
          height: rem(44);
        }
      }
      &:nth-of-type(4) {
        .o-member-feature__icon {
          width: rem(37);
          height: rem(63);
        }
      }
    }
  }
}
