@import 'typography';
@import 'CTAs';
@import 'homepage-elements';

@mixin badges {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  line-height: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  color: $white;
}

@mixin badge($bg: $red) {
  padding: 3px 10px;
  min-width: 120px;
  background: $bg;
}

@mixin badge-clearance($bg: $yellow) {
  padding: 3px 10px;
  min-width: 120px;
  background: $bg;
  color: $black;
}

@mixin truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}