// Teaser
//
// Teaser of page
//
// Markup: teaser.hbs
//
// Style guide: components.teaser

.teaser,
%teaser {
  &--wide {
    @include margin-bottom(30px);
    display: inline-block;
    width: 100%;
  }

  &__title {
    @extend %h3;
    @include margin(.5 0);
  }

  &__date {
    @extend %date--without-label;
  }

  &__image {
    img {
      @include margin-bottom(5px);
      display: block;
    }
  }

  &__image-wide {
    @include respond-to('medium') {
      float: left;
      width: 30%;
    }

    img {
      @include respond-to('medium') {
        padding-right: 30px;
      }
    }
  }

  &__content {
    p {
      margin-top: 0;
    }
  }
}

// Teaser has image
//
// Teaser of page
//
// Markup: teaser-image.hbs
//
// .teaser--wide  - Teaser Wide.
//
// Style guide: components.teaser.teaser-image

.teaser--wide {
  @extend %teaser--wide;

  .teaser__image {
    @extend %teaser__image-wide;
  }
}

