/* 学科专业：分类侧栏与正文，不使用列表和首页切屏。 */
body{margin:0;background:#fff}.program-main,.program-cover{font-family:"Microsoft YaHei",sans-serif;color:#243852}.program-main *{box-sizing:border-box}.program-main a,.program-main a:visited{color:inherit;text-decoration:none}
.program-cover{margin-top:var(--home-nav-height,100px);height:clamp(180px,20vw,320px);overflow:hidden;background:#edf2f8}.program-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform 1.1s ease}
.program-main{max-width:1440px;margin:0 auto;padding:36px 5% 64px;min-height:45vh}.program-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:start}.program-sidebar{border:1px solid #e3e9f2;border-radius:6px;overflow:hidden;box-shadow:0 6px 22px #20365c08}.program-sidebar h2{background:linear-gradient(120deg,#345baa,#294c92);color:#fff;margin:0;padding:26px 24px;font-size:24px;letter-spacing:2px}.program-sidebar nav{padding:10px 16px;display:flex;flex-direction:column}.program-sidebar nav>a{display:flex;align-items:center;justify-content:space-between;padding:15px 12px;border-bottom:1px solid #edf0f5;line-height:1.6;font-size:16px;color:#43536b;text-decoration:none}.program-sidebar nav>a:last-child{border:0}.program-sidebar a>span{color:#a6b2c4;font-size:21px}.program-sidebar nav>a[aria-current]{background:#edf3fc;color:#2b58a0;box-shadow:inset 3px 0 #345baa;font-weight:600}.program-sidebar nav>a:hover{background:#f3f6fb;color:#2b58a0}.program-sidebar .program-subcategory{padding-left:26px;font-size:14px}
.program-content{min-width:0;padding:4px 0}.program-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #e2e8f1;padding-bottom:18px;margin-bottom:28px}.program-heading h1{font-size:27px;font-weight:600;margin:0;position:relative;flex:none}.program-heading h1::after{content:"";position:absolute;bottom:-19px;left:0;width:48px;height:3px;background:#345baa}.program-breadcrumb{font-size:13px;line-height:1.8;text-align:right;color:#7b899d}.program-breadcrumb a:hover{color:#345baa}
.program-body{display:flow-root;line-height:1.95;font-size:17px;color:#344054;overflow-wrap:anywhere}.program-body img,.program-body video{max-width:100%;height:auto}.program-body iframe{max-width:100%}.program-body table{display:block;max-width:100%;overflow-x:auto}.program-body a{color:#345baa;text-decoration:underline}.program-empty{color:#8190a5;padding:30px 0}.program-main a:focus-visible{outline:2px solid #345baa;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.program-cover:hover img{transform:scale(1.035)}}
@media(max-width:760px){.program-cover{height:180px}.program-main{padding:24px 5% 40px}.program-layout{grid-template-columns:1fr;gap:26px}.program-sidebar h2{font-size:21px;padding:18px 20px}.program-sidebar nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;padding:14px}.program-sidebar nav>a{padding:8px 14px;border:1px solid #e7ecf4;border-radius:4px;font-size:14px}.program-sidebar nav>a>span{display:none}.program-sidebar nav>a[aria-current]{box-shadow:none}.program-heading{flex-wrap:wrap;gap:12px}.program-heading h1{font-size:24px}.program-breadcrumb{text-align:left}.program-body{font-size:16px}}
@media(prefers-reduced-motion:reduce){.program-cover img{transition:none}.program-cover:hover img{transform:none}}
/* 正文适配富文本粘贴内容，禁止固定宽度和 nowrap 撑开正文列。 */
.program-layout,.program-content,.program-body{min-width:0;max-width:100%;box-sizing:border-box}
.program-body{width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;font-size:17px;line-height:1.95}
.program-body :where(div,p,section,article,span,h1,h2,h3,h4,h5,h6,ul,ol,li){max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box}
.program-body :where(div,p,section,article){width:auto!important;min-width:0!important;height:auto!important;max-height:none!important}
.program-body p{margin:0 0 1.2em;line-height:1.95!important}
.program-body :where(h2,h3,h4){line-height:1.6!important;margin-top:1.6em;margin-bottom:.7em}
.program-body> :first-child{margin-top:0}
.program-body img{max-width:100%!important;height:auto!important}
.program-body pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
.program-body table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed;white-space:normal}
.program-body :where(td,th){white-space:normal!important;overflow-wrap:anywhere;min-width:0}
@media(max-width:760px){.program-body{font-size:16px;line-height:1.85}.program-body p{line-height:1.85!important}.program-heading{min-width:0}.program-breadcrumb{overflow-wrap:anywhere}}
/* 富文本换行基线：覆盖编辑器内联 nowrap、固定画布与 pre 等结构。 */
html{width:100%;max-width:100%;box-sizing:border-box}
body{width:100%;max-width:100%;min-width:0}
.program-main{width:100%;box-sizing:border-box}
.program-body,.program-body *{box-sizing:border-box;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
.program-body :where(div,section,article,p,pre,blockquote){width:auto!important;height:auto!important}
.program-body pre{white-space:pre-wrap!important;font-family:inherit}
.program-body :where(p,div,section){line-height:1.95!important}
.program-body :where(img,video){display:inline-block;height:auto!important}
.program-body table{display:table;width:100%!important;table-layout:fixed}
.program-body :where(td,th){width:auto!important}
@media(max-width:760px){
 .program-layout{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 .program-content,.program-sidebar,.program-heading{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 .program-main{padding-left:20px;padding-right:20px}
 .program-body{font-size:16px}
 .program-body :where(p,div,section){font-size:inherit;line-height:1.85!important}
 .program-cover{width:100%}
}

.program-list{display:grid;gap:16px}
.program-row{display:flex;align-items:center;gap:24px;padding:18px 22px;min-width:0;border:1px solid #e6ecf4;border-radius:6px;background:#fff;box-shadow:0 5px 20px #20365c08;transition:transform .2s,box-shadow .2s}
.program-row time{display:flex;flex-direction:column;align-items:center;gap:3px;flex:0 0 62px;padding:8px;background:#f0f4fa;border-radius:5px;color:#345baa}
.program-row time strong{font-size:29px;font-weight:500;line-height:1.2}.program-row time span{font-size:11px}
.program-row h2{min-width:0;flex:1;margin:0;font-size:19px;line-height:1.6;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.program-row-arrow{flex:none;font-size:22px;color:#345baa}
.program-row:hover{transform:translateY(-2px);box-shadow:0 9px 24px #20365c15}
.program-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-top:32px;font-size:13px;color:#71839d}.program-pagination a{padding:6px 12px;background:#edf3fb;border-radius:4px;color:#345baa}.program-pagination a[aria-current]{background:#345baa;color:#fff}
.program-article-header{text-align:center;margin:0 0 28px;padding:8px 0 24px;border-bottom:1px solid #e4eaf2}.program-article-header h2{margin:0 0 16px;font-size:27px;line-height:1.6}.program-article-header>p{color:#71839d}.program-article-header>div{display:flex;justify-content:center;gap:12px 24px;flex-wrap:wrap;font-size:13px;color:#8190a5}
.program-attachments{margin-top:28px;padding-top:20px;border-top:1px solid #e4eaf2}.program-attachments h2{font-size:18px}.program-attachments a,.program-back{color:#345baa!important}.program-back{display:inline-block;margin-top:28px}.program-empty{padding:24px;color:#8190a5}
@media(max-width:760px){.program-row{padding:14px;gap:14px}.program-row h2{font-size:16px}.program-row time{flex-basis:52px}.program-article-header h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.program-row{transition:none}.program-row:hover{transform:none}}
