@import "settings.colors";

@import "mixins/settings.fonts";
@import "mixins/tools.functions";
@import "mixins/tools.mixins";
@import "mixins/components.topic-card";

.c-topic-card__head {
  width: 100%;
  padding: rem(10);
  border: 1px solid $color-stone-200;
  border-bottom: none;
  background-color: $color-white;
  display: flex;
  align-items: center;
  .c-button {
    margin-left: auto;
    flex-shrink: 0;
  }
}
.c-topic-card__link {
  @include font-gm-sans-bold;
  margin-right: rem(10);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: rem(1);
  font-size: rem(14);
  line-height: 1;
  color: $color-grey-900;
  &:hover,
  &:focus {
    text-decoration: underline;
  }
}
.c-topic-card__link__icon {
  width: rem(10);
  height: rem(10);
  margin-left: rem(1.5);
  margin-top: rem(1);
  fill: $color-grey-300;
  display: inline-block;
  vertical-align: top;
}
.c-topic-card__body {
  @include c-topic-card-card;
  @include c-topic-card-bookmark-button;

  .c-card__label {
    margin-right: rem(15);
    margin-top: rem(10);
    margin-bottom: 0;
  }
  .c-card__meta--inline {
    display: inline-block;
    margin-top: 0;
  }
  .c-card__meta {
    margin-top: rem(8);
  }
}
