.baseCard {
  margin: 0 auto;
  max-width: 34.5rem;
  width: 100%;
  overflow: hidden;
  background: var(--cards-background-color, #fff);
  border-radius: var(--cards-border-radius);
  border: var(--cards-border);
  position: relative;
  &.featured {
    background: transparent;
  }
}
.cardBanner {
  max-height: 24rem;
  width: 100%;
  img {
    height: 24rem;
    width: 100%;
    object-fit: cover;
  }
}
.cardContent {
  padding: 1.6rem;
  width: 100%;
  position: relative;
  color: var(--color-44);
  &.featured {
    color: #fff;
    .cardTitle {
      color: #fff;
      font-size: 1.8rem;
    }
    .cardProvider {
      font-size: 1.6rem;
    }
  }
}
.cardRating {
  position: absolute;
  top: -2.6rem;
  right: 1.6rem;
  ::before {
    margin-right: 0.6rem;
    font-size: 1.8rem;
  }
  > div {
    padding: 0.4rem 0.8rem;
    width: fit-content;
    align-items: center;
    line-height: 2.8rem;
    font-size: 1.8rem;
    border-radius: 10rem;
    color: var(--color-49);
    border-color: var(--color-52);
    background-color: var(--color-59);
    > span:last-child {
      line-height: 2.7rem;
      font-size: 1.6rem;
    }
  }
}
a > span.cardTitle {
  line-height: 3rem;
  font-size: 2rem;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--color-49);
}
.cardInner {
  @include flex-direction(row);
  margin-top: 2.4rem;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  > a:first-child {
    color: var(--color-53);
  }
}
.cardProvider {
  line-height: 2.4rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: underline;
}
.cardInner > a:last-child:not(.noStyle) {
  padding: 1.6rem 2.4rem;
  line-height: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: capitalize;
}
