/* ============================================================
   专辑渐变横幅（参考 MOOC 栏目卡片）
   随机内置底图由 /js/albumBanner.js 在页面加载时分配
   ============================================================ */
.album-banner {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eef1f5;
}
.album-banner-img {
    display: block;
    width: 100%;
    height: 157px;
    object-fit: cover;
}
.album-banner-title {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .28);
    overflow-wrap: anywhere;
}
.album-banner-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}
/* 详情页：横幅按 16:9 自适应宽度 */
.album-banner--fill .album-banner-img {
    height: auto;
    aspect-ratio: 16 / 9;
}
/* 学生端 Bootstrap4 卡片：横幅贴顶并保留圆角 */
.card > .album-banner {
    border-radius: .25rem .25rem 0 0;
}
/* 管理端 Bootstrap3 缩略图：抵消 thumbnail 的 4px 内边距 */
.thumbnail > .album-banner {
    margin: -4px -4px 0;
    border-radius: 3px 3px 0 0;
}
