@import url(common.css);

/* =====================================================================
   视频占位体系（.vid-ph）— 全站统一：黄底墨黑三角播放钮（自 index.html L168-200 完整版引入）
   ===================================================================== */
.vid-ph {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--color-dark-ink);
}

.vid-ph__bg {
    position: absolute;
    inset: 0;
    background: var(--color-dark-blue);
    transition: transform .6s ease;
}

.vid-ph--ink .vid-ph__bg {
    background: var(--color-dark-ink);
}

.vid-ph--cool .vid-ph__bg {
    background: var(--color-brand-blue);
}

.vid-ph--deep .vid-ph__bg {
    background: var(--color-brand-blue-deep);
}

.vid-ph--warm .vid-ph__bg {
    background:;
}

.vid-ph__grid {
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image: linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
    background-size: 44px 44px;
}

.vid-ph__shimmer {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(120% 80% at 30% 20%, rgba(255, 255, 255, .18), transparent 60%);
    transition: opacity .4s ease;
}

.vid-ph.is-playing .vid-ph__shimmer {
    opacity: 1;
    animation: kenburns 9s ease-in-out infinite alternate;
}

.vid-ph.is-playing .vid-ph__bg {
    animation: kenburns 12s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.08) translate(-2%, -2%);
    }
}

/* 播放钮：黄底墨黑三角（暖黄底改白底墨黑三角，避免同色边界消失） */
.vid-ph__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background:;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, background .2s ease;
    box-shadow: var(--shadow-card);
    z-index: 2;
}

.vid-ph__play svg {
    width: 20px;
    height: 20px;
    fill: var(--color-on-yellow);
    margin-left: 3px;
}

.vid-ph.is-playing .vid-ph__play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
}

.vid-ph--warm .vid-ph__play {
    background: var(--color-white);
}

.vid-ph--warm .vid-ph__play svg {
    fill: var(--color-ink);
}

.vid-ph__pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10, 10, 10, .7);
    color: #fff;
    font-size: .6875rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 3;
    letter-spacing: .02em;
}

.vid-ph__tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .04em;
    z-index: 3;
    opacity: .9;
    background: rgba(10, 10, 10, .6);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

/* 视频卡（.vcard 自 index.html L201-211 引入 · 复用类名） */
.vcard {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    cursor: pointer;
}

.vcard:hover {
    box-shadow: var(--shadow-float);
    border-color:;
}

.vcard__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.vcard__media .vid-ph__bg {
    transition: transform .4s ease;
}

.vcard:hover .vid-ph__bg {
    transform: scale(1.04);
}

.vcard:hover .vid-ph__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.vcard__body {
    padding: 12px 16px;
}

.vcard__body h4 {
    margin-bottom: 4px;
}

.vcard__body .small {
    color: var(--color-text-secondary);
}

/* ---------- ② 分类筛选条 .tsecnav（pill 为筛选按钮 · 含计数角标） ---------- */

.tsecnav__pill.icon01 {
    background: url(../img/spzx_icon01.png) no-repeat left center;
}

.tsecnav__pill.icon02 {
    background: url(../img/spzx_icon02.png) no-repeat left center;
}
.tsecnav__pill.icon03 {
    background: url(../img/spzx_icon03.png) no-repeat left center;
}
.tsecnav__pill.icon04 {
    background: url(../img/spzx_icon04.png) no-repeat left center;
}
.tsecnav__pill.icon05 {
    background: url(../img/spzx_icon05.png) no-repeat left center;
}
.tsecnav__pill.icon06 {
    background: url(../img/spzx_icon06.png) no-repeat left center;
}


.tsecnav__pill.icon01:hover {
    background: url(../img/spzx_icon01_h.png) no-repeat left center;
}

.tsecnav__pill.icon02:hover {
    background: url(../img/spzx_icon02_h.png) no-repeat left center;
}
.tsecnav__pill.icon03:hover {
    background: url(../img/spzx_icon03_h.png) no-repeat left center;
}
.tsecnav__pill.icon04:hover {
    background: url(../img/spzx_icon04_h.png) no-repeat left center;
}
.tsecnav__pill.icon05:hover {
    background: url(../img/spzx_icon05_h.png) no-repeat left center;
}
.tsecnav__pill.icon06:hover {
    background: url(../img/spzx_icon06_h.png) no-repeat left center;
}

.tsecnav__pill.icon01.is-active {
    background: url(../img/spzx_icon01_h.png) no-repeat left center;
}

.tsecnav__pill.icon02.is-active {
    background: url(../img/spzx_icon02_h.png) no-repeat left center;
}
.tsecnav__pill.icon03.is-active {
    background: url(../img/spzx_icon03_h.png) no-repeat left center;
}
.tsecnav__pill.icon04.is-active {
    background: url(../img/spzx_icon04_h.png) no-repeat left center;
}
.tsecnav__pill.icon05.is-active {
    background: url(../img/spzx_icon05_h.png) no-repeat left center;
}
.tsecnav__pill.icon06.is-active {
    background: url(../img/spzx_icon06_h.png) no-repeat left center;
}


/* ---------- ②′ 计数角标（pill 内 · 激活态反转为墨黑底黄字） ---------- */
.tsecnav__badge {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background:;
    color: var(--color-text-secondary);
    font-family: var(--font-number);
    font-weight: 800;
    font-size: .72rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: background .18s ease, color .18s ease;
}

.tsecnav__pill.is-active .tsecnav__badge {
    background: var(--color-ink);
    color:;
}

/* 移动端 <768：pill 条横向滚动、不换行、隐藏滚动条；按钮不压缩 */
@media(max-width:767px) {
    .tsecnav .container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--space-4);
    }

    .tsecnav .container::-webkit-scrollbar {
        display: none;
    }

    .tsecnav__pill {
        flex: 0 0 auto;
    }
}


/* =====================================================================
   视频中心二级页 · 追加组件样式（仅引用 :root 既有令牌，零新增色值/字体）
   类前缀：.vlist / .vgrid / .vcard__*（新增子元素）；.vcard/.vid-ph 复用 index
   ===================================================================== */

/* ---------- ③ 视频网格区 .vlist（白底 · 容器 1200 由 .container 承当） ---------- */
.vlist {
    background: var(--color-white);
    padding-block: var(--space-4) var(--space-8);
}

.vlist[id] {
    scroll-margin-top: 150px;
}

/* 避让吸顶 pill */
@media(min-width:1024px) {
    .vlist {
        padding-block: var(--space-6) var(--space-9);
    }
}

@media(max-width:1023px) {
    .vlist[id] {
        scroll-margin-top: 64px;
    }
}

/* 网格上方灰字占位注记 */
.vlist__note {
    margin-bottom: var(--space-4);
    font-size: .75rem;
    line-height: 1.5;
    color: var(--color-text-tertiary);
    letter-spacing: .02em;
}

/* 空态：筛选无匹配时显示（JS .is-show，占位 24 条下不会触发） */
.vlist__empty {
    display: none;
    margin: var(--space-4) auto var(--space-6);
    padding: var(--space-7) var(--space-5);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: .9375rem;
    background:;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-card);
}

.vlist__empty.is-show {
    display: block;
}

/* ---------- ④ 3 列视频卡网格 .vgrid（容器宽度 = .container 1200） ---------- */
.vgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    min-width: 0;
}

@media(min-width:768px) {
    .vgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-5);
    }
}

@media(min-width:1024px) {
    .vgrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------- 卡 = 复用 index .vcard 后 .vgrid 作用域微调 ---------- */
.vgrid .vcard {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vgrid .vcard:hover {
    transform: translateY(-3px);
}

.vcard:focus-visible {
    outline: 3px solid rgba(30, 64, 175, .35);
    outline-offset: 2px;
}

/* 封面 16:9 = .vcard__media 现成；时长角标左→右下 */
.vgrid .vid-ph__pill {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: auto;
}

/* 中央播放钮：默认低透明常显，hover 浮现完整 */
.vgrid .vid-ph__play {
    opacity: .9;
    transform: translate(-50%, -50%) scale(.92);
}

.vgrid .vcard:hover .vid-ph__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

/* body：tag + 标题(2行截断) + 日期(底部对齐)，替代首页 h4+.small */
.vgrid .vcard__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 14px 16px 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.vgrid .vcard__body h4 {
    margin-bottom: 0;
}

/* 分类 tag：浅蓝底深蓝字（= .ng-card__tag/.rrow__tag 语感） */
.vcard__tag {
    display: inline-flex;
    align-self: flex-start;
    white-space: nowrap;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-brand-blue-deep);
    background: var(--color-brand-blue-light);
}

/* 标题 2 行截断（title 属性兜底） */
.vcard__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9375rem;
    line-height: 1.5;
    color: var(--color-text-heading);
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media(min-width:768px) {
    .vcard__title {
        font-size: 1rem;
    }
}

/* 日期：.num 灰字，margin-top:auto 底部对齐 */
.vcard__date {
    font-family: var(--font-number);
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    margin-top: auto;
    padding-top: 2px;
}
/* —— ② 视频介绍条（对应参考页 banner 后 #videoIntroduction 左主视频 + 右相关视频 · 复用首页 .vid-ph 视频占位 L171-199，播放 = 等效占位 is-playing 视觉） —— */
.listpage__video-intro {
    background: var(--color-bg);
    padding-block: var(--space-6) var(--space-5);
}

.listpage__video-intro .section-head {
    margin-bottom: var(--space-5);
    max-width: 760px;
}

.listpage__video-intro .section-head .eyebrow {
    margin-bottom: var(--space-3);
}

.listpage__video-intro .section-head .h1 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.listpage__video-intro .section-head .lead {
    font-size: .875rem;
    margin-top: var(--space-2);
}

.listpage__video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
}

@media(min-width:1024px) {
    .listpage__video-grid {
        grid-template-columns: 1.7fr 1fr;
        gap: var(--space-6);
    }
}

.listpage__video-main {
    min-width: 0;
}

.listpage__video-stage {
    position: relative;
    aspect-ratio: 16/7;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.listpage__video-stage .vid-ph {
    height: 100%;
}

.listpage__video-stage .vid-ph__bg {
    transition: transform .5s ease;
}

.listpage__video-stage:hover .vid-ph__bg {
    transform: scale(1.04);
}

.listpage__video-stage:hover .vid-ph__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.listpage__video-cap {
    margin-top: var(--space-2);
}

.listpage__video-cap h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--color-text-heading);
    margin-bottom: 2px;
}

.listpage__video-cap .small {
    color: var(--color-text-secondary);
    font-size: .8125rem;
}

.listpage__video-rail {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 0;
}

.listpage__video-item {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    background:;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card-sm);
    padding: 8px 10px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    cursor: pointer;
    text-decoration: none;
}

.listpage__video-item:hover {
    transform: translateX(3px);
    border-color:;
    box-shadow: var(--shadow-card);
}

.listpage__video-item .vid-ph {
    flex: 0 0 auto;
    width: 118px;
    aspect-ratio: 16/9;
    height: auto;
    border-radius: 6px;
    overflow: hidden;
}

.listpage__video-item .vid-ph__play {
    width: 28px;
    height: 28px;
}

.listpage__video-item .vid-ph__play svg {
    width: 11px;
    height: 11px;
    margin-left: 2px;
}

.listpage__video-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.listpage__video-copy .listpage__video-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .875rem;
    color: var(--color-text-heading);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listpage__video-copy .micro {
    color: var(--color-text-secondary);
    font-size: .7rem;
}

/* —— ④ 列表区（白底 · 单列行卡） —— */
.listpage__list-zone {
    background: var(--color-bg);
    padding-block: var(--space-6) var(--space-5);
}

.listpage__list-zone .section-head {
    margin-bottom: var(--space-5);
    max-width: 760px;
}

.listpage__list-zone .section-head .eyebrow {
    margin-bottom: var(--space-3);
}

.listpage__list-zone .section-head .h1 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.listpage__list-zone .section-head .lead {
    font-size: .875rem;
    margin-top: var(--space-2);
}

.listpage__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* 条目卡 = 复用首页 .ncard 行卡（图左文右 · hover lift 由 .ncard:hover 提供） */
.listpage__card .ncard__media {
    flex: 0 0 300px;
}

.listpage__card .vid-ph__bg {
    transition: transform .5s ease;
}

.listpage__card:hover .vid-ph__bg {
    transform: scale(1.05);
}

/* 放宽标题为两行省略（首页 .ncard__body h4 单行 L489-491） */
.listpage__main .ncard__body h4 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listpage__card .small-meta {
    margin-bottom: var(--space-2);
}

/* 字段区（对应参考页 .txtBox dl dt/dd：班型特点/报名时间） */
.listpage__fields {
    display: grid;
    gap: 3px;
    margin: 2px 0 4px;
}

.listpage__field {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: .8rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.listpage__field .flabel {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.listpage__field b {
    color: var(--color-text-primary);
    font-weight: 700;
    font-family: var(--font-heading);
}

/* —— ⑤ 分页器（对应参考页 .pageBox · 首页无分页组件 · 按钮/标签语言拼装） —— */
.listpage__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-6);
}

.listpage__page {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius-pill);
    font-family: var(--font-number);
    font-weight: 700;
    font-size: .875rem;
    color: var(--color-text-secondary);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.listpage__page:hover {
    color: var(--color-brand-yellow-text);
    border-color:;
    background: var(--color-bg-yellow-soft);
}

.listpage__page.is-active {
    background:;
    color: var(--color-on-yellow);
    font-weight: 800;
    border-color: var(--color-ink);
    box-shadow: 2px 2px 0 var(--color-ink);
}

.listpage__page:focus-visible {
    outline: 3px solid rgba(30, 64, 175, .35);
    outline-offset: 2px;
}

.listpage__page[disabled] {
    opacity: .42;
    pointer-events: none;
    background:;
}

.listpage__pager .pager-prev,
.listpage__pager .pager-next {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 14px;
}

.listpage__pager svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
}

/* —— ⑥ 校园口号 + 6 卡 3×2 紧凑块（V2 · 复刻首页 ⑧ 校园环境「进东昱，就是近美院」口号 + 下方 .campus__vgrid 6 卡（.ccard，L2250–2305 首页同款内容） · 内层直接复用首页既有类名 .campus__vgrid/.ccard/.vid-ph（选择器均为顶层独立类，无 .campus 祖先依赖，直接生效） · 替代原快捷导航区） —— */
.listpage__campus {
    background:;
    padding-block: var(--space-6) var(--space-8);
}

.listpage__campus-head {
    max-width: 760px;
    margin: 0 auto var(--space-4);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.listpage__campus-head .eyebrow {
    margin-bottom: var(--space-1);
}

.listpage__campus-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: .02em;
    color: var(--color-text-heading);
}

.listpage__campus-sub {
    font-size: .8125rem;
    color: var(--color-text-secondary);
}

.listpage__campus .campus__vgrid {
    margin-top: var(--space-4);
}

/* 移动端收窄：首页 .campus__vgrid 恒 3 列（L812 无降级）；列表页紧凑块补 2 列 / 单列降级（只覆盖本块，不改继承 CSS） */
@media(max-width:767px) {
    .listpage__campus .campus__vgrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:479px) {
    .listpage__campus .campus__vgrid {
        grid-template-columns: 1fr;
    }
}

/* —— 复刻自首页 ⑧ 校园环境 → 口号 + 6 卡紧凑版 —— */
/* —— 移动端（≤767）图文堆叠 —— */
@media(max-width:767px) {
    .listpage__card {
        flex-wrap: wrap;
    }

    .listpage__card .ncard__media {
        flex: 0 0 100%;
        height: auto;
    }

    .listpage__card .ncard__media .vid-ph {
        aspect-ratio: 16/7;
        height: auto;
        min-height: 120px;
    }

    .listpage__card .ncard__body {
        flex: 1 0 100%;
    }

    .listpage__field {
        flex-wrap: wrap;
        gap: 4px;
    }

    .listpage__pager {
        gap: 6px;
    }
}
