// @import "settings.breakpoints";
@import "settings.colors";

@import "mixins/components.package";

@import "mixins/tools.mixins";

// Default Package
.c-package--single-section {
  border-width: 1px 0 0 1px;
  .c-package__label {
    border-width: 0 1px 1px 0;
  }

  .u-wrapper {
    border-width: 0 1px 1px 0;
    &:last-of-type {
      border-width: 0 1px 0 0;
    }
  }

  .c-card .c-card__media {
    display: block;
  }
}

// Display Package
.c-package--single-section--display {
  .c-card__hed {
    @include font-pratt;
  }

  .u-wrapper:nth-of-type(n+2) {
    .c-card__media {
      display: none;
    }
  }
}

// Muted Package
.c-package--single-section--muted {
  .u-wrapper:first-of-type {
    .c-card__hed {
      @include font-hed(19, 21);
    }
  }

  .u-wrapper:nth-of-type(n+2) {
    .c-card__hed {
      @include font-pratt;
    }
    .c-card__media {
      display: none;
    }
  }
}

// Stacked Package
.c-package--single-section--stacked {
  .c-card__hed {
    @include font-pratt;
  }
}

// Video Package
.c-package--single-section--video {
  border-width: 1px;
  position: relative;

  .c-package__col {
    flex: 100%;
    &:first-of-type {
      @include c-package--display-card;
      .u-wrapper {
        border-width: 0;
      }
      .c-card {
        padding: 0;
      }

      .c-article-media__info {
        display: block;
      }
    }
    &:last-of-type {
      .c-card__hed {
        @include font-gm-sans;
        font-size: rem(14);
        line-height: line-height(14, 16);
        color: $color-grey-660;
      }
    }
  }

  .u-wrapper {
    border-width: 0;
  }

  .c-article-media__info {
    display: none;
  }

  .c-package__stories {
    margin-top: 0;
  }
  .c-card, .c-card:last-of-type, .c-package__label {
    border-width: 0;
  }
  .c-card__dek {
    display: none;
  }
}
