@import "settings.breakpoints";
@import "settings.colors";
@import "settings.vars";
@import "settings.z-index";

@import "mixins/settings.fonts";
@import "mixins/tools.mixins";

.o-financial-disclaimer {
  @include font-gm-sans;

  .o-card--story {
    width: 100%;
  }

  .o-financial-disclaimer__copy {
    color: $color-grey-660;
    font-size: rem(14);
    line-height: line-height(14, 17);
    letter-spacing: rem(0.3);
    padding: rem(3) 0;
    margin: 0;
  }

  .o-financial-disclaimer__link {
    text-decoration: none;
    color: $color-grey-660;
    border-bottom: 1px solid $color-grey-660;

    &:visited {
      color: $color-grey-660;
      border-bottom: 1px solid $color-grey-660;
    }

    &:hover,
    &:focus {
      color: $color-grey-300;
      border-bottom: 1px solid $color-grey-300;
    }

    &:active {
      color: $color-grey-900;
      border-bottom: 1px solid $color-grey-900;
    }
  }

  .o-financial-disclaimer__container {
    padding: rem(20) 0;
    margin: 0;
  }

  .o-financial-disclaimer__anchor {
    color: $color-grey-660;
  }

  .o-financial-disclaimer__img {
    display: inline-block;
    height: auto;
    padding: 0;
    margin: 0 rem(10);
  }

  .o-financial-disclaimer__content {
    display: flex;
    flex-direction: column-reverse;
  }

  @include mq($from: desktop) {
    .o-financial-disclaimer__content {
      flex-direction: row-reverse;
      justify-content: flex-end;
      align-items: center;

      .o-financial-disclaimer__copy {
        margin-left: rem(20);
      }
    }
  }
}

.o-stock-disclaimer__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: rem(10);
  margin-right: rem(10);
}

.o-stock-disclaimer__img--stock {
  margin-top: rem(12);
}

// Stock Reports +
.o-card--stock-report-plus {
  background-color: #F0E8E4;
}

// StockCalc Report
.o-card--stock-calc-report {
  background-color: $color-blue-50;
  border: 1px solid $color-grey-200;
}
