@import "mixins/tools.mixins";

.o-member-feature__content--exclusive-content {
  .o-member-feature__title {
    @include grid-row(1, 2);
  }
}
.o-member-feature-exclusive-content {
  @include grid-row(2, 3);
}
.o-member-feature-exclusive-content__cards {
  width: 100%;
  margin-bottom: rem(5);
  display: flex;
  flex-wrap: wrap;
  .o-member-feature-exclusive-content__card {
    margin-left: rem(10);
    margin-right: rem(10);
    margin-bottom: rem(20);
    // IE11 needs us to specify these 3 properties individually.
    // It doesn't like the shorthand "flex:" syntax. See:
    // https://github.com/philipwalton/flexbugs#flexbug-4
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(50% - #{rem(10)}); // 20px gap divided by 2 items
    &:nth-of-type(odd) {
      margin-left: 0;
    }
    &:nth-of-type(even) {
      margin-right: 0;
    }
  }
  .u-wrapper,
  .o-card {
    height: 100%;
    margin: 0;
  }
}
.o-member-feature-exclusive-content__button {
  text-align: center;
  .c-button {
    width: 100%;
  }
}

