/* ============================================================
   TIEII 2027 内页样式 inner.css (v=20260929g)
   —— 依赖 home.css（导航/Footer/Token）；页面 body 需带 tie-home 类。
   富文本内容（后台编辑器产出）无法携带动态效果 class，
   故所有动效均通过结构选择器 + 伪元素实现，不依赖富文本 class。
   ============================================================ */

/* ---------- 1. 通栏 Hero（亮蓝 + 标题 + 后台配置介绍） ---------- */
.ny-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 380px at 85% -20%, rgba(255, 255, 255, .14), transparent 60%),
        radial-gradient(700px 320px at 8% 140%, rgba(0, 184, 212, .25), transparent 62%),
        linear-gradient(118deg, #1a5fc8 0%, #2e7ce4 55%, #3b8df0 100%);
    color: #fff;
    padding: 46px 0 44px;
}
.ny-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
    pointer-events: none;
}
/* 底部渐变细线 */
.ny-hero::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #00b8d4 30%, #42a5f5 50%, #00b8d4 70%, transparent);
}
.ny-hero .w-1200 { position: relative; z-index: 1; }
.ny-hero h1 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800; line-height: 1.3; letter-spacing: -.01em;
    margin: 0 0 14px;
}
/* hero 介绍文字（来自后台配置内容的首段） */
.ny-hero-intro {
    max-width: 780px;
    color: rgba(255, 255, 255, .92);
    font-size: 1rem; line-height: 1.9;
}
.ny-hero-intro p { margin: 0 0 10px; }
.ny-hero-intro p:last-child { margin-bottom: 0; }
.ny-hero-intro a { color: #fff; text-decoration: underline; }
.ny-crumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: .85rem; letter-spacing: .04em;
    color: rgba(255, 255, 255, .72);
}
.ny-crumb a { color: rgba(255, 255, 255, .85); position: relative; }
/* 面包屑下划线滑穿 */
.ny-crumb a::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 100%; height: 1px;
    background: #00b8d4;
    transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--tie-ease);
}
.ny-crumb a:hover { color: #fff; }
.ny-crumb a:hover::after { transform: scaleX(1); transform-origin: left; }
.ny-crumb .ny-crumb-sep { opacity: .5; }
.ny-crumb .ny-crumb-cur { color: #fff; font-weight: 700; }

/* ---------- 2. 内容壳（全站内页通栏白底，与 committee 页一致） ---------- */
/* 短内容页 footer 贴底（sticky footer） */
body.tie-home { display: flex; flex-direction: column; min-height: 100vh; }
body.tie-home > footer#contact { margin-top: auto; }
.ny-main { padding: 48px 0 72px; background: #fff; flex: 1 0 auto; }
/* 通栏模式（page.html 后台内容自带排版）：无白卡、无宽度限制 */
.ny-main-full { padding: 0; background: #f5f9ff; }
body.tie-home { background: #fff; text-align: left; }
.tie-prose-full { width: 100%; }
/* 后台旧版外层容器（max-width:1040 浅蓝块，两侧露白）升级为 committee 通栏版式：
   容器全宽浅蓝底，直接子块限宽 1200 居中（不改后台数据，!important 覆盖内联样式） */
.tie-prose-full > div[style*="max-width: 1040px"],
.tie-prose-full > div[style*="max-width:1040px"] {
    max-width: 100% !important;
    padding: 0 !important;
}
.tie-prose-full > div[style*="max-width: 1040px"] > *,
.tie-prose-full > div[style*="max-width:1040px"] > * {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* 后台新版通栏容器（width:100%）：直接子块（含 h2/h3 标题）同样限宽 1200 居中，防止宽屏拉伸/标题贴边 */
.tie-prose-full > div[style*="width: 100%"] > * {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* 后台 li 自带静态圆点 span（absolute 定位）与模板菱形动态标记重复：隐藏静态点，保留 hover 动效 */
.tie-prose li > p > span[style*="position:absolute"],
.tie-prose li > p > span[style*="position: absolute"] { display: none !important; }
/* Registration 费用表等后台卡片：去掉自带的浅蓝 1px 边框（保留阴影与圆角） */
.tie-prose div[style*="border:1px solid #E1EDFF"],
.tie-prose div[style*="border: 1px solid #E1EDFF"] { border: none !important; }
@media (max-width: 1259px) {
    .tie-prose-full > div[style*="max-width: 1040px"],
    .tie-prose-full > div[style*="max-width:1040px"] {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .tie-prose-full > div[style*="max-width: 1040px"] > *,
    .tie-prose-full > div[style*="max-width:1040px"] > * { max-width: 100%; }
    .tie-prose-full > div[style*="width: 100%"] > * { max-width: 100%; }
}

/* 侧栏（left.html / sub-nav） */
.ny-layout { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; }
.ny-side {
    position: sticky; top: 96px;
    background: #fff; border: 1px solid var(--tie-line);
    border-radius: 16px; padding: 26px 24px;
    box-shadow: 0 6px 18px rgba(10, 42, 96, .05);
}
.ny-side h4 {
    font-size: .82rem; font-weight: 800;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--tie-navy);
    padding-bottom: 10px; margin: 26px 0 12px;
    border-bottom: 2px solid var(--tie-line);
    position: relative;
}
.ny-side h4::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 34px; height: 2px;
    background: var(--tie-grad);
}
.ny-side h4:first-child { margin-top: 0; }
.ny-side ul { margin: 0; padding: 0; }
.ny-side li { display: block; padding: 0; margin: 2px 0; }
.ny-side a {
    display: block; position: relative;
    padding: 7px 0 7px 16px;
    color: var(--tie-muted); font-weight: 600; font-size: .95rem;
    transition: color .25s ease, padding-left .25s var(--tie-ease);
}
.ny-side a::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 6px; height: 6px; margin-top: -3px;
    border: 2px solid var(--tie-cyan);
    border-radius: 2px;
    transform: rotate(45deg);
    transition: background .25s ease, transform .35s var(--tie-ease);
}
.ny-side a:hover { color: var(--tie-navy); padding-left: 22px; }
.ny-side a:hover::before { background: var(--tie-cyan); transform: rotate(225deg) scale(1.1); }
.ny-side h5 { color: var(--tie-navy); font-weight: 800; font-size: 1rem; margin: 4px 0 10px; }
.ny-side p { margin: 0 0 10px; color: var(--tie-muted); font-size: .88rem; }
/* left.html 兜底（style.css 退役后） */
.ny-side .public_c { color: var(--tie-navy); font-weight: 800; font-size: 1.02rem; margin: 2px 0 12px; }
.ny-side a[href^="mailto"] { font-size: .92rem; }

/* ---------- 3. 富文本排版 .tie-prose（结构选择器，动效不依赖编辑器 class） ---------- */
.tie-prose { color: var(--tie-ink); font-size: 1.02rem; line-height: 1.9; }
.tie-prose > *:first-child { margin-top: 0; }

/* 标题：h2 居中蓝字 + 下方短横线（参考图 General Chairs 效果）；h1 保留左竖条 */
.tie-prose h1, .tie-prose h2, .tie-prose h3, .tie-prose h4, .tie-prose h5 {
    color: inherit; font-weight: 800;
    line-height: 1.4; letter-spacing: -.01em;
}
.tie-prose h1 {
    position: relative;
    font-size: 1.45rem;
    margin: 40px 0 18px;
    padding-left: 16px;
}
.tie-prose h1::before {
    content: '';
    position: absolute; left: 0; top: .28em; bottom: .28em;
    width: 5px; border-radius: 99px;
    background: var(--tie-grad);
    transition: width .3s var(--tie-ease);
}
.tie-prose h1:hover::before { width: 9px; }
.tie-prose h2 {
    text-align: center;
    color: var(--tie-blue);
    font-size: 1.5rem;
    margin: 44px 0 26px;
    padding-bottom: 14px;
    position: relative;
}
.tie-prose h2::after {
    content: '';
    display: block;
    width: 44px; height: 3px; border-radius: 99px;
    margin: 12px auto 0;
    background: var(--tie-blue);
}
.tie-prose h3 { font-size: 1.2rem; margin: 30px 0 14px; }
.tie-prose h4 { font-size: 1.08rem; margin: 24px 0 12px; }
/* 后台内容自带内联排版的标题（编辑器精心设计的 h1/h2）不再叠加模板装饰，
   避免 hero 内 h1 出现多余竖条、h2 出现双横线 */
.tie-prose h1[style] { padding-left: 0; }
.tie-prose h1[style]::before { display: none; }
.tie-prose h2[style]::after { display: none; }

/* 后台 flex 标题（标题+渐变线横排）居中：text-align 对 flex 无效，用 justify-content */
.tie-prose h2[style*="display:flex"],
.tie-prose h2[style*="display: flex"] { justify-content: center; }
/* 后台 li 圆点（absolute 定位）锚定到各自 p：部分 li 的 p 缺 relative 导致圆点相对卡片定位而上浮错层 */
.tie-prose li > p { position: relative; }

/* ---------- 3b. Speakers 行卡（后台自带排版，JS 加 tie-spk 类） ----------
   默认收起详细简介（bio），hover 行卡时展开全部信息，
   并补全后台预留的 side-bar 竖条 / 头像缩放过渡动效；
   tie-spk-on 为 mouseenter/mouseleave JS 兜底类 */
.tie-spk { cursor: default; }
.tie-spk:hover, .tie-spk.tie-spk-on {
    border-color: #7FB3F5 !important;
    box-shadow: 0 18px 44px rgba(22, 101, 216, .16) !important;
}
.tie-spk:hover > .side-bar, .tie-spk.tie-spk-on > .side-bar { height: calc(100% - 44px) !important; }
.tie-spk:hover .avatar-img, .tie-spk.tie-spk-on .avatar-img { transform: scale(1.07); }
/* bio 详细简介段（后台 #364F6B 深色正文）：默认 2 行收起 + 底部渐隐 */
.tie-spk p[style*="#364F6B" i] {
    max-height: 200px;
    overflow: hidden;
    margin: 0 !important;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    transition: max-height .5s var(--tie-ease), -webkit-mask-image .4s ease, mask-image .4s ease;
}
.tie-spk:hover p[style*="#364F6B" i], .tie-spk.tie-spk-on p[style*="#364F6B" i] {
    max-height: 640px;
    -webkit-mask-image: none;
    mask-image: none;
}
/* 研究方向胶囊 hover 加深 */
.tie-spk:hover span[style*="#C2DBFA" i], .tie-spk.tie-spk-on span[style*="#C2DBFA" i] {
    background: #1665D8 !important;
    color: #fff !important;
    border-color: #1665D8 !important;
}

/* 正文与链接 */
.tie-prose p { margin: 0 0 14px; }
.tie-prose strong, .tie-prose b { color: var(--tie-navy); }
.tie-prose a {
    color: var(--tie-blue); font-weight: 600;
    background-image: linear-gradient(var(--tie-cyan), var(--tie-cyan));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: background-size .35s var(--tie-ease), color .25s ease;
}
.tie-prose a:hover { color: var(--tie-navy); background-size: 100% 2px; }

/* 列表：菱形标记 + hover 位移（覆盖富文本内联 list-style） */
.tie-prose ul { margin: 0 0 16px; padding: 0; }
.tie-prose ul li {
    position: relative; display: block;
    padding: 5px 0 5px 22px;
    list-style: none !important;
    transition: transform .28s var(--tie-ease), color .25s ease;
}
.tie-prose ul li::before {
    content: '';
    position: absolute; left: 2px; top: .95em;
    width: 7px; height: 7px;
    border: 2px solid var(--tie-cyan);
    border-radius: 2px;
    transform: rotate(45deg);
    transition: transform .35s var(--tie-ease), background .25s ease;
}
.tie-prose ul li:hover { transform: translateX(5px); color: var(--tie-navy); }
.tie-prose ul li:hover::before { background: var(--tie-cyan); transform: rotate(225deg) scale(1.12); }
.tie-prose ol { margin: 0 0 16px; padding-left: 24px; }
.tie-prose ol li { padding: 4px 0; transition: color .25s ease; }
.tie-prose ol li::marker { color: var(--tie-blue); font-weight: 800; }
.tie-prose ol li:hover { color: var(--tie-navy); }

/* 表格：圆角卡 + 渐变表头 + 行 hover 扫光 */
.tie-prose table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    margin: 22px 0 28px;
    border: 1px solid var(--tie-line);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 22px rgba(10, 42, 96, .07);
}
.tie-prose table td, .tie-prose table th {
    word-break: break-word !important; word-wrap: break-word;
    padding: 13px 18px;
    border-bottom: 1px solid var(--tie-line);
    text-align: left;
    transition: background-color .25s ease;
}
.tie-prose table th {
    background: linear-gradient(120deg, #0d47a1, #1976d2);
    color: #fff !important; font-weight: 700; font-size: .95rem;
    letter-spacing: .02em;
    border-bottom: 0;
}
.tie-prose table tr:last-child td { border-bottom: 0; }
.tie-prose table tbody tr { transition: background-color .25s ease; }
.tie-prose table tbody tr:hover td { background: var(--tie-tint); }
.tie-prose table tbody tr { position: relative; }
.tie-prose table tbody tr td:first-child { position: relative; }
.tie-prose table tbody tr td:first-child::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--tie-grad);
    transform: scaleY(0); transform-origin: center;
    transition: transform .3s var(--tie-ease);
}
.tie-prose table tbody tr:hover td:first-child::before { transform: scaleY(1); }
/* 后台自带内联样式的表格（作者精心排版，如 Registration 费用表）：
   不叠加模板边框/阴影/行边框/左侧竖条，只对带 style 的 table 生效，不影响其他页面的普通表格 */
.tie-prose table[style] {
    border: none !important;
    box-shadow: none !important;
}
.tie-prose table[style] td,
.tie-prose table[style] th { border-bottom: 0 !important; }
.tie-prose table[style] tbody tr td:first-child { position: static !important; }
.tie-prose table[style] tbody tr td:first-child::before { display: none !important; }

/* 图片：圆角 + 阴影 + hover 微缩放 */
.tie-prose img {
    height: auto !important; max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(10, 42, 96, .12);
    transition: transform .4s var(--tie-ease), box-shadow .4s ease;
}
.tie-prose img:hover { transform: scale(1.015); box-shadow: 0 16px 36px rgba(10, 42, 96, .18); }

/* 引用块 */
.tie-prose blockquote {
    position: relative;
    margin: 22px 0; padding: 16px 22px 16px 26px;
    background: var(--tie-tint);
    border-left: 4px solid var(--tie-blue);
    border-radius: 0 12px 12px 0;
    color: var(--tie-muted); font-style: italic;
}
.tie-prose blockquote p:last-child { margin-bottom: 0; }

/* 代码与分隔线 */
.tie-prose code {
    background: var(--tie-tint); color: var(--tie-navy);
    padding: 2px 7px; border-radius: 6px;
    font-size: .88em;
}
.tie-prose hr {
    border: 0; height: 2px; margin: 34px 0;
    background: linear-gradient(90deg, var(--tie-line), transparent);
    border-radius: 99px;
}

/* ---------- 4. 富文本 topic-card（浅色卡，参考图人物卡效果） ---------- */
.tie-prose .topic-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--tie-line);
    border-radius: 16px;
    padding: 26px 26px 20px;
    box-shadow: 0 4px 14px rgba(10, 42, 96, .05);
    transition: transform .35s var(--tie-ease), box-shadow .35s ease, border-color .35s ease;
}
.tie-prose .topic-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 124, 228, .55);
    box-shadow: 0 18px 40px rgba(10, 42, 96, .14);
}
.tie-prose .topic-card h3 {
    font-size: 1.08rem !important; margin: 0 0 12px !important;
    padding: 0 !important; text-align: center;
    color: var(--tie-blue) !important;
}
.tie-prose .topic-card li { color: var(--tie-muted); }

/* ---------- 5. 新闻列表（list.html） ---------- */
.ny-news { display: flex; flex-direction: column; gap: 22px; }
.ny-news-card {
    display: grid; grid-template-columns: 220px 1fr; gap: 24px;
    background: #fff; border: 1px solid var(--tie-line);
    border-radius: 16px; overflow: hidden;
    transition: transform .35s var(--tie-ease), box-shadow .35s ease, border-color .35s ease;
}
.ny-news-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 40px rgba(10, 42, 96, .14); }
.ny-news-thumb { overflow: hidden; position: relative; min-height: 150px; background: var(--tie-tint); }
.ny-news-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s var(--tie-ease);
}
.ny-news-card:hover .ny-news-thumb img { transform: scale(1.06); }
.ny-news-body { padding: 20px 26px 20px 0; display: flex; flex-direction: column; }
.ny-news-time {
    font-size: .78rem; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--tie-cyan);
    margin-bottom: 8px;
}
.ny-news-body h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.5; }
.ny-news-body h3 a { color: var(--tie-ink); transition: color .25s ease; }
.ny-news-body h3 a:hover { color: var(--tie-navy); }
.ny-news-body p { margin: 0 0 12px; color: var(--tie-muted); font-size: .93rem; line-height: 1.7; }
.ny-more {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; font-size: .88rem; color: var(--tie-blue) !important;
}
.ny-more::after { content: '→'; transition: transform .3s var(--tie-ease); }
.ny-more:hover::after { transform: translateX(4px); }

/* ---------- 6. 文章详情（article.html） ---------- */
.ny-article-head { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 2px solid var(--tie-line); position: relative; }
.ny-article-head::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 72px; height: 2px;
    background: var(--tie-grad);
}
.ny-article-head h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--tie-ink); margin: 6px 0 0; }
.ny-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.ny-pn a {
    display: block; position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--tie-line);
    border-radius: 12px; padding: 14px 18px;
    font-size: .92rem; font-weight: 600; color: var(--tie-muted) !important;
    transition: border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.ny-pn a::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--tie-tint);
    transform: translateX(-101%);
    transition: transform .4s var(--tie-ease);
    z-index: 0;
}
.ny-pn a:hover { border-color: var(--tie-blue); color: var(--tie-navy) !important; box-shadow: 0 8px 20px rgba(10, 42, 96, .08); }
.ny-pn a:hover::before { transform: translateX(0); }
.ny-pn a span { position: relative; z-index: 1; }
.ny-pn .ny-pn-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tie-cyan); margin-bottom: 4px; }

/* ---------- 7. 表单（contact.html 留言表单） ---------- */
.ny-form {
    background: #fff; border: 1px solid var(--tie-line);
    border-radius: 16px; padding: 30px 28px;
    box-shadow: 0 8px 22px rgba(10, 42, 96, .06);
}
.ny-form .form-control {
    width: 100%;
    border: 1px solid var(--tie-line); border-radius: 10px;
    padding: 11px 15px; font-size: .95rem; color: var(--tie-ink);
    background: #fbfdff;
    box-shadow: none !important;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.ny-form .form-control:focus {
    border-color: var(--tie-blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, .12) !important;
    outline: 0;
}
.ny-form .form-group { margin-bottom: 16px; }
.ny-form .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    border: 0; border-radius: 999px;
    padding: 11px 30px;
    background: linear-gradient(120deg, #0d47a1, #1976d2 50%, #3ba1ec);
    background-size: 220% 100%; background-position: 0% 0;
    color: #fff; font-weight: 700; font-size: .95rem;
    box-shadow: 0 10px 24px rgba(13, 71, 161, .3);
    transition: background-position .4s var(--tie-ease), box-shadow .35s ease, transform .35s var(--tie-ease);
}
.ny-form .btn-primary::after { content: none; }
.ny-form .btn-primary:hover { background-position: 100% 0; box-shadow: 0 14px 30px rgba(13, 71, 161, .4); transform: translateY(-2px); }
.ny-form .captcha { width: 160px !important; float: left; margin-right: 24px; }
.ny-form small, .ny-form .ny-form-note { display: block; clear: both; color: var(--tie-muted); font-size: .8rem; margin-top: 6px; }

/* ---------- 7b. 搜索结果列表（search.html / tag.html） ---------- */
.ny-result { display: flex; flex-direction: column; gap: 14px; }
.ny-result-card {
    display: block;
    background: #fff; border: 1px solid var(--tie-line);
    border-radius: 14px; padding: 18px 22px;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--tie-ease);
}
.ny-result-card:hover { border-color: transparent; box-shadow: 0 12px 30px rgba(10, 42, 96, .12); transform: translateY(-3px); }
.ny-result-card h3 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.5; }
.ny-result-card h3 a { color: var(--tie-ink); }
.ny-result-card h3 a:hover { color: var(--tie-navy); }
.ny-result-card p { margin: 0; color: var(--tie-muted); font-size: .92rem; line-height: 1.7; }

/* ---------- 8. 分页 ---------- */
.ny-page { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.ny-page ul { display: flex; gap: 8px; margin: 0; padding: 0; }
.ny-page li { display: block; }
.ny-page li a, .ny-page li span, .ny-page .pagination li a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid var(--tie-line); border-radius: 10px;
    background: #fff; color: var(--tie-muted) !important;
    font-weight: 700; font-size: .9rem;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--tie-ease);
}
.ny-page li a:hover, .ny-page .pagination li a:hover { background: var(--tie-grad); border-color: transparent; color: #fff !important; transform: translateY(-2px); }
.ny-page .active span, .ny-page li.active span { background: var(--tie-grad); border-color: transparent; color: #fff !important; }

/* ---------- 8. 入场动画（配合 scripts.html 既有 reveal 逻辑） ---------- */
.reveal-ready .topic-card { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--tie-ease), transform .6s var(--tie-ease); }
.reveal-ready .topic-card.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 8c. 富文本动态效果 ---------- */
/* 后台自带排版卡片（带内联边框的 div）：hover 阴影加深；
   上浮位移仅对 tie-lift 卡片生效（JS 只给不含定位子孙的卡片加，
   避免 transform 改变 absolute 子孙定位基准造成目录瞬移） */
.tie-prose div[style*="border"] {
    transition: box-shadow .3s var(--tie-ease), transform .3s var(--tie-ease);
}
.tie-prose div[style*="border"]:hover {
    box-shadow: 0 14px 32px rgba(13, 51, 118, .14) !important;
}
.tie-prose div[style*="border"].tie-lift:hover { transform: translateY(-5px); }
/* 邮箱按钮（mailto）：emoji 字形自带留白叠加 gap 使视觉间隔偏大，
   收紧间距与图标行高（后台数据不动） */
.tie-prose a[href^="mailto"] { gap: 7px !important; }
.tie-prose a[href^="mailto"] > span:first-child { line-height: 1; }
/* 后台段落自带 max-width（如 SPEAKERS 引导文字 760px）导致不必要换行：
   放开段落限宽并突破 tie-prose 子块 1200px 限制（宽屏单行，窄屏自然换行） */
.tie-prose p[style*="max-width"] { max-width: none !important; }
/* 滚动入场动画：仅由 page.html 脚本加到内部卡片小模块上（其余内容零动效） */
.tie-fadeup {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s var(--tie-ease);
}
.tie-fadeup.tie-fadeup-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .tie-fadeup { opacity: 1; transform: none; transition: none; }
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 991px) {
    .ny-layout { grid-template-columns: 1fr; gap: 30px; }
    .ny-side { position: static; }
    .ny-hero { padding: 44px 0 38px; }
}
@media (max-width: 767px) {
    .ny-main { padding: 32px 0 56px; }
    .ny-news-card { grid-template-columns: 1fr; }
    .ny-news-thumb { min-height: 0; height: 180px; }
    .ny-news-body { padding: 0 20px 20px; }
    .ny-pn { grid-template-columns: 1fr; }
    .tie-prose table { display: block; overflow-x: auto; }
    .ny-hero h1 { font-size: 1.35rem; }
}
