@import '../../_style/index.less';
@cardPrefixCls: am-card;

.@{cardPrefixCls} {
    padding-bottom: 0;
    .hairline('all', transparent, 0);

    &:not(.@{cardPrefixCls}-full) {
        margin: 0 @hd * 12.5;
        border-radius: @hd * 6;
        .hairline('all', transparent, @radius-md);
    }

    &&-full {
      // .hairline('all', transparent, 0);
      position: relative;
      .hairline('top', transparent);
      .hairline('bottom', transparent);
    }
    &-header {
        position: relative;
        overflow: hidden;
        font-size: @hd * 16;
        .thumb {
            position: absolute;
            width: @hd * 8;
            left: -@hd * 4;
            height: @hd * 20;
            background-color: @brand-primary;
            background: linear-gradient(180deg, #E14C46 0%, #E87672 100%);
            border-radius: @hd * 10;
        }

        &-content {
          display: block;
          flex: 2;
          .ellipsis();
        }


        &-extra {
            font-size: @hd * 16;
            overflow: hidden;
            .extra {
              width: 100%;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              display: block;
              text-align: right;
            }
        }
    }

    &-body {
        .hairline('top', transparent);
        padding: 0 @h-spacing-lg 0;
        &-padding {
            &-top {
                padding-top: @v-spacing-md;
            }
            &-bottom {
                padding-bottom: @v-spacing-md;
            }
        }
    }

    &-footer {
        padding: @v-spacing-md @h-spacing-lg;
    }
}
