
/* =====================================================================
   封面占位体系 .vid-ph（自 index.html L168-186 引入 · 四变体 · 网格纹理；本页无播放钮不加 kenburns）
   ===================================================================== */
.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);
}

.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: var(--color-brand-yellow);
}

.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;
}


/* =====================================================================
   最新资讯二级页 · 追加组件样式（仅引用 :root 既有令牌，零新增色值/字体）
   类前缀：.tpage-* / .tsecnav / .tg-head / .ng-sec / .nlist / .ng-card / .rrow(复用) / .nmodal-*
   ===================================================================== */



/* ---------- ② 分类筛选条 .tsecnav（pill 为筛选按钮 · 含计数角标） ---------- */

.tsecnav__pill.icon01 {
    background: url(../img/zxzx_icon01.png) no-repeat left center;
}

.tsecnav__pill.icon02 {
    background: url(../img/zxzx_icon02.png) no-repeat left center;
}
.tsecnav__pill.icon03 {
    background: url(../img/zxzx_icon03.png) no-repeat left center;
}
.tsecnav__pill.icon04 {
    background: url(../img/zxzx_icon04.png) no-repeat left center;
}
.tsecnav__pill.icon05 {
    background: url(../img/zxzx_icon05.png) no-repeat left center;
}
.tsecnav__pill.icon06 {
    background: url(../img/zxzx_icon06.png) no-repeat left center;
}

.tsecnav__pill.icon01:hover {
    background: url(../img/zxzx_icon01_h.png) no-repeat left center;
}

.tsecnav__pill.icon02:hover {
    background: url(../img/zxzx_icon02_h.png) no-repeat left center;
}
.tsecnav__pill.icon03:hover {
    background: url(../img/zxzx_icon03_h.png) no-repeat left center;
}
.tsecnav__pill.icon04:hover {
    background: url(../img/zxzx_icon04_h.png) no-repeat left center;
}
.tsecnav__pill.icon05:hover {
    background: url(../img/zxzx_icon05_h.png) no-repeat left center;
}
.tsecnav__pill.icon06:hover {
    background: url(../img/zxzx_icon06_h.png) no-repeat left center;
}

.tsecnav__pill.icon01.is-active {
    background: url(../img/zxzx_icon01_h.png) no-repeat left center;
}

.tsecnav__pill.icon02.is-active {
    background: url(../img/zxzx_icon02_h.png) no-repeat left center;
}
.tsecnav__pill.icon03.is-active {
    background: url(../img/zxzx_icon03_h.png) no-repeat left center;
}
.tsecnav__pill.icon04.is-active {
    background: url(../img/zxzx_icon04_h.png) no-repeat left center;
}
.tsecnav__pill.icon05.is-active {
    background: url(../img/zxzx_icon05_h.png) no-repeat left center;
}
.tsecnav__pill.icon06.is-active {
    background: url(../img/zxzx_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: var(--color-bg-soft);
    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: var(--color-brand-yellow);
}

/* 移动端 <768：pill 条横向滚动、不换行、隐藏滚动条；按钮不压缩 */
@media(max-width:1023px){
    .tsecnav .container{
        gap: 5px;
    }
    .tsecnav__pill{
        padding: 5px 15px 5px 30px;
        font-size: 24px;
        background-size: 25px !important;
    }
}
@media(max-width:767px) {
    .tsecnav .container {
        gap: 5px 6px;
        /* 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; */
        font-size: 18px;
        background-size: 20px !important;
        padding: 5px 15px 5px 20px;
    }
}

/* ---------- ③ 分组 .ng-sec（视觉 = 成绩页 .rg-sec 同款 · 白底大留白） ---------- */
.ng-sec {
    background: var(--color-white);
    padding-block: var(--space-6);
}

section.ng-sec[id] {
    scroll-margin-top: 150px;
}

/* 避让吸顶 pill 条 */
.ng-sec.is-empty {
    display: none;
}

/* 筛选后隐藏空组（JS 加） */
.nlist[id] {
    scroll-margin-top: 150px;
}

/* #sec-list 同规则：横幅 CTA / 导航锚点 */
.nlist>.ng-sec:first-child {
    padding-top: var(--space-3);
}

/* 首组与吸顶 pill 紧凑 */
@media(min-width:1024px) {
    .ng-sec {
        padding-block: var(--space-8);
    }
}

@media(max-width:1023px) {

    section.ng-sec[id],
    .nlist[id] {
        scroll-margin-top: 64px;
    }
}

/* 组头：复用成绩页 .tg-head 后，资讯页覆盖内容测量为 1080 */
.tg-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    margin: 0 auto var(--space-5);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-4);
    max-width: 1080px;
}

.tg-head__titles {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
}

.tg-head__titles h2.h2 {
    margin: 0;
}

.tg-head__count {
    font-family: var(--font-number);
    color: var(--color-text-secondary);
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: .02em;
    padding-bottom: 4px;
}

/* 组头下占位注记（5 组各一行） */
.ng-sec__note {
    margin: -4px auto var(--space-5);
    max-width: 1080px;
    font-size: .75rem;
    line-height: 1.5;
    color: var(--color-text-tertiary);
    letter-spacing: .02em;
}

/* 空态行：某筛选下所有组均 0 条时显示（JS 控制 .is-show） */
.nlist__empty {
    display: none;
    max-width: 1080px;
    margin: var(--space-2) auto var(--space-6);
    padding: var(--space-7) var(--space-5);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: .9375rem;
    background: var(--color-bg-soft);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-card);
}

.nlist__empty.is-show {
    display: block;
}

/* ---------- ④′ 纯列表行卡容器（复用成绩页 .rrow 行卡 · 1080 测量） ---------- */
.nlist__rows {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 1080px;
    margin-inline: auto;
    min-width: 0;
}

@media(min-width:1024px) {
    .nlist__rows {
        gap: var(--space-4);
    }
}

/* ---------- ④ 行卡 .rrow（照抄成绩页 L360-414 · 全套不改名） ---------- */
.rrow {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto 18px;
    /* tag / title / date / arrow */
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px 20px;
    text-align: left;
    cursor: pointer;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card-sm);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rrow:hover {
    background: var(--color-bg-soft);
    border-color: var(--color-brand-yellow);
}

.rrow:focus-visible {
    outline: 3px solid rgba(30, 64, 175, .35);
    outline-offset: 2px;
}

.rrow__tag {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    white-space: nowrap;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-brand-blue-deep);
    background: var(--color-brand-blue-light);
}

/* 非院校类（联考/校考/艺考新闻）用中性灰字灰描边 */
.rrow__tag--alt {
    color: var(--color-text-secondary);
    background: var(--color-white);
    border: 1px solid var(--color-border);
}

.rrow__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--color-text-heading);
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s ease;
}

@media(min-width:768px) {
    .rrow__title {
        font-size: 1rem;
    }
}

.rrow__date {
    font-family: var(--font-number);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: right;
}

.rrow__arrow {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    justify-self: end;
    color: var(--color-text-secondary);
    transition: color .18s ease, transform .18s ease;
}

.rrow__arrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rrow:hover .rrow__arrow {
    color: var(--color-ink);
    transform: translateX(3px);
}

@media(max-width:767px) {
    .rrow {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "tag date arrow" "title title title";
        gap: 8px 10px;
        padding: 12px 14px;
    }

    .rrow__tag {
        grid-area: tag;
        padding: 2px 10px;
        font-size: .75rem;
    }

    .rrow__title {
        grid-area: title;
        font-size: .9375rem;
        line-height: 1.55;
        -webkit-line-clamp: 2;
    }

    .rrow__date {
        grid-area: date;
        font-size: .75rem;
    }

    .rrow__arrow {
        grid-area: arrow;
        width: 20px;
        height: 20px;
    }
}

@media(max-width:360px) {
    .rrow {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "tag date" "title title" "arrow arrow";
    }
}

/* ---------- ⑤ 图文卡网格 .ncard-grid / .ng-card（2 列竖卡 · 1080 居中） ---------- */
.ncard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 1080px;
    margin-inline: auto;
    min-width: 0;
}

@media(min-width:768px) {
    .ncard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-5);
    }
}

/* 竖卡 .ng-card：白底 / 1px / radius14 / hover 上浮+黄描边 */
.ng-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    text-align: left;
    min-width: 0;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ng-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-float);
    border-color: var(--color-brand-yellow);
}

.ng-card:focus-visible {
    outline: 3px solid rgba(30, 64, 175, .35);
    outline-offset: 2px;
}

/* 封面：vid-ph 占位 2.35:1 通栏 + 角标「封面占位」 */
.ng-card__media {
    position: relative;
    aspect-ratio: 2.35/1;
    overflow: hidden;
    background: var(--color-bg-soft);
    flex: 0 0 auto;
}

.ng-card__media .vid-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ng-card__cap {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    background: rgba(10, 10, 10, .55);
    color: #fff;
    font-family: var(--font-english);
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .14em;
    padding: 3px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    pointer-events: none;
}

/* 正文区 */
.ng-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
    flex: 1 1 auto;
    min-width: 0;
}

/* 分类 tag：浅蓝底深蓝字（= .rrow__tag 值） */
.ng-card__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 行截断 */
.ng-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 摘要 2 行截断（东昱资讯/公告 1 句） */
.ng-card__sum {
    font-size: .8125rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底行 meta：日期 .num 灰 + 箭头（hover 右移 3px，禁用橙红） */
.ng-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: auto;
    padding-top: var(--space-2);
}

.ng-card__date {
    font-family: var(--font-number);
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ng-card__arrow {
    width: 18px;
    height: 18px;
    color: var(--color-text-secondary);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    transition: color .18s ease, transform .18s ease;
}

.ng-card__arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ng-card:hover .ng-card__arrow {
    color: var(--color-ink);
    transform: translateX(3px);
}

/* ---------- ⑥ CTA 收口 .tpage-cta（中性浅灰卡 · 黄主按钮点缀） ---------- */
.tpage-cta {
    padding-block: var(--space-5) var(--space-8);
}

@media(min-width:1024px) {
    .tpage-cta {
        padding-block: var(--space-6) var(--space-9);
    }
}

.tpage-cta__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4) var(--space-5);
    background: var(--color-bg-soft);
    border-radius: var(--radius-card);
    padding: var(--space-5) var(--space-6);
}

@media(min-width:1024px) {
    .tpage-cta__card {
        padding: var(--space-6) var(--space-7);
    }
}

.tpage-cta__card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text-heading);
    font-size: 1.375rem;
    line-height: 1.3;
}

.tpage-cta__card p {
    margin-top: var(--space-2);
    color: var(--color-text-primary);
    font-size: .9375rem;
}

.tpage-cta__card .btn {
    flex: 0 0 auto;
}



/* 可选 CTA 与 lead 间距 */
@media(min-width:768px) {
    .tpage-hero--banner .container {
        padding: var(--space-6) var(--space-7);
    }

    /* 32/56 */
}

/* ---------- ⑦ 站内弹窗 .tmodal（白底圆角卡） + 资讯内容槽 ---------- */
.tmodal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(10, 10, 10, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.tmodal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.tmodal__panel {
    width: min(720px, 92vw);
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-card);
    transform: translateY(8px) scale(.98);
    transition: transform .2s ease;
}

.tmodal.is-open .tmodal__panel {
    transform: none;
}

.tmodal__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--color-border);
}

.tmodal__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1.2;
}

.tmodal__meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-2);
}

.tmodal__note {
    font-size: .75rem;
    color: var(--color-text-secondary);
}

.tmodal__close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    color: var(--color-ink);
    display: grid;
    place-items: center;
    transition: background .18s ease;
}

.tmodal__close:hover {
    background: var(--color-border);
}

.tmodal__close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.tmodal__body {
    padding: var(--space-6);
    overflow-y: auto;
    color: var(--color-text-primary);
    font-size: .9375rem;
    line-height: 1.85;
}

.tmodal__body p+p {
    margin-top: var(--space-3);
}

@media(max-width:767px) {
    .tmodal__top {
        padding: var(--space-4);
    }

    .tmodal__body {
        padding: var(--space-4);
    }

    .tmodal__name {
        font-size: 1.25rem;
    }
}

/* 资讯弹窗内容槽 */
.nmodal__date {
    font-family: var(--font-number);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
}

.nmodal__note {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    font-size: .8125rem;
    color: var(--color-text-tertiary);
}

/* 封面注入位：缩略图类有 variant 时正文顶部注入（vid-ph 2.35:1 通栏） */
.nmodal__cover {
    position: relative;
    width: 100%;
    aspect-ratio: 2.35/1;
    border-radius: var(--radius-card-sm);
    overflow: hidden;
    margin-bottom: var(--space-4);
}

.nmodal__cover .vid-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* 图片扩展位：占位虚线灰块（缩略图类正文顶部，预留注释） */
.nmodal__media {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-card-sm);
    background: var(--color-bg-soft);
    border: 1px dashed var(--color-border);
    display: grid;
    place-items: center;
    color: var(--color-text-tertiary);
    font-size: .8125rem;
    margin-bottom: var(--space-4);
}

@media(max-width:767px) {
    .nmodal__date {
        font-size: .75rem;
    }
}