@import '../../style/theme/index';

$card-prefix-cls: #{$anna-prefix}-card;

.#{$card-prefix-cls} {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background-color: $light-base;
  font-size: 28px;
  color: $font-color;
  &-horizontal {
    display: flex;
  }
  &-shadow {
    box-shadow: 0px 2px 20px 0px #eaecee;
  }
  &-cover {
    > img,
    span,
    image,
    text,
    audio,
    video,
    scroll-view,
    map {
      display: block;
      width: 100%;
    }
  }
  &-head {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    padding: 24px 20px 0 20px;
  }
  &-title {
    font-size: 32px;
  }
  &-description {
    color: #999;
    font-size: 24px;
    font-weight: 400;
    margin-top: 12px;
  }
  &-extra {
    font-size: 28px;
  }
  &-content {
    padding: 24px 20px;
    &-head {
      display: flex;
      justify-content: space-between;
      font-weight: 500;
      padding: 0 0 24px 0;
    }
  }
  &-foot {
    background-color: $light-6;
    &-horizontal {
      margin-top: 24px;
      background-color: transparent;
    }
  }
}
