/**
 * 专题自有资源卡片样式：文献(.wxItem)、上传视频(.uvItem)
 * 作用于 specialtopic_pub*.html（page_share.css 左图右文布局）及旧版 specialtopic_*.html（page.css 大图布局）
 * 只新增 wx / uv 前缀类，不覆盖原有卡片样式
 */

/* ---------- 公共 ---------- */
/* page_share.css 中 .artCountNews .imgWrap img 为 contain，这里提高优先级改为 cover，封面铺满不留白 */
.wxItem img,
.uvItem img,
.wxItem .artCountNews .imgWrap img,
.uvItem .artCountNews .imgWrap img {
    object-fit: cover;
}

/* ---------- 文献卡片 ---------- */
/* 角标：贴封面左上角的小标签（避开人物面部、不与右侧标题争视线），圆角与封面 .2rem 圆角吻合
   尺寸为原 supremeIcon（2.2rem × 1.2rem，字号 .6rem）缩小约 30% */
.wxItem .wxIcon,
.wxItem .artCountNews .imgWrap .wxIcon {
    left: 0;
    right: auto;
    top: 0;
    width: auto;
    min-width: 0;
    height: .84rem;
    line-height: .84rem;
    padding: 0 .28rem;
    border-radius: .2rem 0 .3rem 0;
    font-size: .42rem;
    letter-spacing: .03rem;
    background: rgba(160, 119, 60, .92);
    box-shadow: none;
}

/* 右侧文字区：标题两行贴顶，入口按钮贴底，与左侧封面上下对齐
   标题 2rem + 底部行（padding 1.5rem + 按钮 .9rem）= 4.4rem = 封面高度 */
.itemNew .wxItemBottom {
    padding-top: 1.5rem;
    line-height: .9rem;
}

/* “进入文献馆 ›” 入口：古铜色描边胶囊 + 极浅底色 */
.wxEnter {
    display: inline-block;
    float: right;
    height: .9rem;
    line-height: .9rem;
    padding: 0 .45rem;
    font-size: .5rem;
    color: #A0773C;
    background: rgba(160, 119, 60, .06);
    border: 1px solid rgba(160, 119, 60, .5);
    border-radius: .45rem;
    white-space: nowrap;
}

/* 旧版大图布局（page.css）：入口放在 via 行右侧 */
.wxItem .via .wxEnter {
    margin-top: -.1rem;
}

/* ---------- 上传视频卡片 ---------- */
.uvItem .uvTag {
    color: #4A4A4A;
}

/* 卡片内播放器：默认收起，点击卡片后在卡片下方展开 */
.uvItem .uvPlayer {
    display: none;
    margin-top: .5rem;
    border-radius: .2rem;
    overflow: hidden;
    background: #000;
}

.uvItem.uvPlaying .uvPlayer {
    display: block;
}

.uvItem .uvPlayer video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 12rem;
    background: #000;
}

/* 播放中：封面变暗并显示“收起”提示，提示再次点击可收起 */
.uvItem.uvPlaying .imgCell img,
.uvItem.uvPlaying .v img {
    opacity: .6;
}

.uvItem .uvFold {
    display: none;
    float: right;
    font-size: .5rem;
    color: #777;
}

.uvItem.uvPlaying .uvFold {
    display: inline;
}
