@charset "utf-8";
/**
 * 南通大学数学与统计学院 - 简洁宽幅响应式主题样式表
 * 全屏宽幅自适应 + 去边框简洁风 + 纯SVG矢量图标 + 微信端PNG二维码兼容
 */

:root {
    --ntu-navy: #0c1f5c;
    --ntu-blue: #163a99;
    --ntu-blue-mid: #1e4fc4;
    --ntu-sky: #2b7bf4;
    --ntu-sky-soft: #eef5ff;
    --ntu-ice: #f5f8fd;
    --ntu-surface: #ffffff;
    --ntu-border: #e3ebf6;
    --ntu-border-strong: #cddaf0;
    --ntu-ink: #17233a;
    --ntu-text: #34435c;
    --ntu-muted: #667691;
    --ntu-radius-sm: 8px;
    --ntu-radius-md: 12px;
    --ntu-radius-lg: 16px;
    --ntu-shadow-xs: 0 2px 10px rgba(15, 39, 98, 0.045);
    --ntu-shadow-sm: 0 6px 22px rgba(15, 39, 98, 0.065);
    --ntu-shadow-md: 0 12px 32px rgba(15, 39, 98, 0.1);
    --container-max: 1480px;
    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, Arial, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, div, dl, dt, dd, ul, ol, li, p, blockquote, pre, hr, figure, table, caption, th, td, form, fieldset, legend, input, button, textarea, menu {
    margin: 0;
    padding: 0;
}
header, footer, section, article, aside, nav, hgroup, address, figure, figcaption, menu, details { display: block; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th { text-align: left; font-weight: normal; }
html, body, fieldset, img, iframe, abbr { border: 0; }
img { vertical-align: top; max-width: 100%; }
html {
    overflow-x: clip;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
i, cite, em, var, address, dfn { font-style: normal; }
[hidefocus], summary { outline: 0; }
li { list-style: none; }
h1, h2, h3, h4, h5, h6, small { font-size: 100%; }
sup, sub { font-size: 83%; }
pre, code, kbd, samp { font-family: inherit; }
q:before, q:after { content: none; }
textarea { overflow: auto; resize: none; }
label, summary { cursor: default; }
a, button { cursor: pointer; }
h1, h2, h3, h4, h5, h6, em, strong, b { font-weight: 600; }
del, ins, u, s, a, a:hover { text-decoration: none; }
:focus { outline: 0; }

body, textarea, input, button, select, keygen, legend {
    font-family: var(--font-sans);
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ntu-text);
    outline: 0;
}

body {
    background-color: var(--ntu-surface);
    color: var(--ntu-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

p { line-height: 1.8; }
a { color: var(--ntu-ink); text-decoration: none; transition: color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
a:hover { color: var(--ntu-blue-mid); }

.none { display: none; }
.wcb { width: 100%; height: 30px; border: 2px dashed #97CBE0; }
.hidden { visibility: hidden; }
.clear { width: 100%; height: 0; line-height: 0; font-size: 0; overflow: hidden; clear: both; display: block; }
.clearfix:after { clear: both; content: ""; display: block; height: 0; visibility: hidden; }
.clearfix { display: block; }

.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

::-webkit-input-placeholder { color: #94a3b8; }
::placeholder { color: #94a3b8; }

/* ==================== Global Fluid Container ==================== */
.wrapper {
    width: 100%;
    margin: 0 auto;
}
.wrapper .inner {
    width: min(94%, var(--container-max));
    max-width: var(--container-max);
    margin: 0 auto;
}
.mod { width: 100%; }
.mbox { width: 100%; }

/* ==================== Legacy #headtop Hidden (Links overlaid in Header) ==================== */
#headtop {
    display: none;
}

/* ==================== Full-Bleed Brand Header (#header) ==================== */
.header, #header {
    width: 100%;
    background:
        url("images/icons/math-header-bg.svg") center center / cover no-repeat,
        linear-gradient(125deg, #0b1e5c 0%, #163b9a 52%, #0e2876 100%);
    border-bottom: none;
    position: relative;
    z-index: 210;
    overflow: hidden;
}
.header .inner {
    padding: 10px 0 10px;
}
.header .mod {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
}
.header .mod:after { display: none; }
.head-left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 6px;
}
.header .sitelogo a {
    display: inline-flex;
    align-items: center;
}
.header .sitelogo img {
    height: 65px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(6, 18, 56, 0.24));
}
.header .sitelogo embed {
    height: 65px;
    max-width: 100%;
    pointer-events: none;
}
.head-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    padding-right: 2px;
    padding-top: 3px;
}
.head-right > img,
.head-right > embed,
.head-right .head-motto {
    height: 62px;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 0.96;
    filter: drop-shadow(0 2px 6px rgba(6, 18, 56, 0.18));
}

/* ==================== Sticky Glass Navigation Bar (#nav) ==================== */
#nav {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(15, 39, 98, 0.045);
    position: sticky;
    top: 0;
    z-index: 200;
}
#nav .inner { position: relative; }
.nav .wp-menu {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin: 0;
}
.nav .wp-menu:after { display: none; }
.nav .wp-menu .menu-item {
    position: relative;
    flex: 1 1 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav .wp-menu .menu-item a.menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 0 8px;
    height: 56px;
    line-height: 56px;
    color: var(--ntu-ink);
    font-size: 16.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    position: relative;
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav .wp-menu .menu-item a.menu-link::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--ntu-sky);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease);
}
.nav .wp-menu .menu-item:hover a.menu-link,
.nav .wp-menu .menu-item.hover a.menu-link,
.nav .wp-menu .menu-item a.menu-link:hover,
.nav .wp-menu .menu-item.selected a.menu-link {
    color: var(--ntu-blue);
    background-color: rgba(43, 123, 244, 0.05);
}
.nav .wp-menu .menu-item:hover a.menu-link::after,
.nav .wp-menu .menu-item.hover a.menu-link::after,
.nav .wp-menu .menu-item.selected a.menu-link::after {
    transform: scaleX(1);
}
.nav .wp-menu .menu-item a.menu-link > .menu-switch-arrow {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("images/icons/arrow-down-dark.svg") no-repeat center / 13px 13px;
    opacity: 0.65;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav .wp-menu .menu-item.hover a.menu-link > .menu-switch-arrow,
.nav .wp-menu .menu-item:hover a.menu-link > .menu-switch-arrow {
    background-image: url("images/icons/arrow-down-blue.svg");
    opacity: 1;
    transform: rotate(180deg);
}

/* Sub-menu Dropdown */
.nav .sub-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    min-width: 172px;
    padding: 8px;
    z-index: 250;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 14px 36px rgba(15, 39, 98, 0.11);
    text-align: left;
}
.nav .wp-menu .menu-item:nth-last-child(-n+2) .sub-menu {
    left: auto;
    right: 0;
    transform: none;
}
.nav .sub-menu .sub-item {
    position: relative;
    white-space: nowrap;
}
.nav .sub-menu .sub-item a {
    display: block;
    color: var(--ntu-text);
    height: 40px;
    line-height: 40px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 8px;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.nav .sub-menu .sub-item.hover > a,
.nav .sub-menu .sub-item a:hover {
    color: var(--ntu-blue);
    background-color: var(--ntu-sky-soft);
    padding-left: 18px;
}
.nav .sub-menu .sub-menu {
    left: 100%;
    right: auto;
    top: -8px;
    transform: none;
    margin-left: 6px;
    border-radius: 12px;
}

/* ==================== Full-Bleed Hero Banner (#banner) ==================== */
#banner {
    width: 100%;
    background: linear-gradient(135deg, #0d2266 0%, #1c47b8 55%, #123185 100%);
    position: relative;
    z-index: 60;
    overflow: hidden;
}
#banner .inner {
    width: 100%;
    max-width: 2290px;
    margin: 0 auto;
    position: relative;
    text-align: left;
}
/* 精准匹配封面 2290x813 原始比例，避免上下裁切 */
.mbanner .focus,
.mbanner .focus .focus-container {
    width: 100% !important;
    aspect-ratio: 2290 / 813;
    height: auto !important;
}
.mbanner .focus {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #0d2266;
}
.mbanner .focus .focus-item a {
    display: block;
    width: 100%;
    height: 100%;
}
.mbanner .focus .focus-item img,
.focus-item a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}
.mbanner .focus::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44%;
    background: linear-gradient(180deg, rgba(10, 24, 66, 0) 0%, rgba(10, 24, 66, 0.72) 100%);
    pointer-events: none;
    z-index: 30;
}
.mbanner .focus .focus-title-bar {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(94%, var(--container-max)) !important;
    bottom: 38px !important;
    margin-left: 0 !important;
    height: auto !important;
    z-index: 45;
    pointer-events: none;
    text-align: left;
}
.mbanner .focus .focus-title-bg {
    display: none;
}
.mbanner .focus .focus-title {
    position: relative;
    display: inline-block;
    max-width: 78%;
    height: auto;
    line-height: 1.4;
    padding: 11px 22px;
    background: rgba(11, 28, 78, 0.54);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid #60a5fa;
    border-radius: 0 10px 10px 0;
    color: #ffffff;
    font-size: clamp(17px, 1.65vw, 25px);
    font-weight: 600;
    font-family: var(--font-sans);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}
.mbanner .focus .focus-title a {
    display: block;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mbanner .focus .focus-pagination {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 22px;
    width: min(94%, var(--container-max));
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    z-index: 60;
    height: auto;
}
.mbanner .focus .focus-page {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    margin: 0;
    transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.mbanner .focus .focus-page:hover { background: rgba(255, 255, 255, 0.85); }
.mbanner .focus .focus-page-active {
    width: 28px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}
.mbanner .focus .focus-navigation {
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border-radius: 50%;
    background-color: rgba(12, 31, 92, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    text-indent: -999em;
    overflow: hidden;
    opacity: 0.82;
    transition: all 0.25s var(--ease);
    z-index: 55;
}
.mbanner .focus .focus-prev {
    left: max(20px, calc((100% - var(--container-max)) / 2));
    background-image: url("images/icons/chevron-left.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}
.mbanner .focus .focus-next {
    right: max(20px, calc((100% - var(--container-max)) / 2));
    background-image: url("images/icons/chevron-right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}
.mbanner .focus .focus-navigation:hover {
    opacity: 1;
    background-color: rgba(22, 58, 153, 0.88);
    transform: scale(1.06);
}

/* ==================== Flexframe Main Wrapper ==================== */
.flexframe {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ==================== Section Header System ==================== */
.post { margin-bottom: 0; }
.post .tt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 13px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(22, 58, 153, 0.08);
    position: relative;
}
.post .tt::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 58px;
    height: 2.5px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--ntu-blue), var(--ntu-sky));
}
.post .tt .tit {
    display: flex;
    align-items: center;
    float: none;
    font-size: 23px;
    font-weight: 700;
}
.post1 .tt .tit .title {
    display: inline-flex;
    align-items: center;
    line-height: 1.3;
    font-size: 23px;
    font-weight: 700;
    color: var(--ntu-ink);
    border-bottom: none;
    background: url("images/icons/news.svg") no-repeat left center / 28px 28px;
    padding-left: 38px;
    margin-right: 0;
    cursor: pointer;
    letter-spacing: 0.01em;
}
.post .more_btn {
    float: none;
    height: auto;
    margin-top: 0;
    line-height: 1;
}
.post .more_btn .more_text,
.post .more_btn a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ntu-blue);
    background: rgba(43, 123, 244, 0.07);
    border: none;
    transition: all 0.25s var(--ease);
}
.post .more_btn .more_text::after,
.post .more_btn a::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("images/icons/arrow-right-blue.svg") no-repeat center / 14px 14px;
    transition: transform 0.25s var(--ease);
}
.post .more_btn a:hover,
.post .more_btn .more_text:hover {
    background: rgba(43, 123, 244, 0.14);
    color: var(--ntu-navy);
}
.post .more_btn a:hover::after,
.post .more_btn .more_text:hover::after {
    transform: translateX(3px);
}
.post .more_btn .more_text:has(a) {
    padding: 0;
    background: transparent;
    border: none;
}
.post .more_btn .more_text:has(a)::after { display: none; }
/* 修复 WebPlus 渲染 <a><span class="more_text">更多</span></a> 嵌套双层框与双箭头 */
.post .more_btn a .more_text {
    display: inline !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}
.post .more_btn a .more_text::after,
.post .more_btn a .more_text:hover::after {
    display: none !important;
    content: none !important;
}
.post .more_btn a:hover .more_text {
    background: transparent !important;
    color: inherit !important;
}
/* 隐藏 WebPlus 自动输出在图片框与已带“更多”按钮栏目底部的默认 more 图标 */
#banner .more,
.post-11 .more,
.post-21 .more,
#container-5 .more,
.main5 .more {
    display: none !important;
}
/* 学术报告 / 学工动态底部的 more 转为简洁居中按钮 */
#container-3 .more {
    display: flex;
    justify-content: center;
    margin-top: 22px;
    text-align: center;
}
#container-3 .more a.more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ntu-blue);
    background: rgba(43, 123, 244, 0.08);
    transition: all 0.25s var(--ease);
}
#container-3 .more a.more-link:hover {
    background: rgba(43, 123, 244, 0.16);
    color: var(--ntu-navy);
}
#container-3 .more a.more-link .moretext img {
    display: none !important;
}
#container-3 .more a.more-link .moretext::before {
    content: "查看更多";
}
#container-3 .more a.more-link::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("images/icons/arrow-right-blue.svg") no-repeat center / 14px 14px;
    transition: transform 0.25s var(--ease);
}
#container-3 .more a.more-link:hover::after {
    transform: translateX(3px);
}

.post .con { padding: 0; margin: 0; }

/* ==================== Section 1: 学院新闻 (.main1 / #container-1) ==================== */
.main1 {
    display: block;
    background: var(--ntu-surface);
    padding: 46px 0 54px;
}
.main1 .inner { padding: 0; }
.main1 .mod {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 38px;
    align-items: stretch;
}
.main1 .mod:after { display: none; }
.main1 .ml,
.main1 .mc {
    float: none;
    width: 100%;
    min-width: 0;
}
.main1 .mr { display: none; }

/* Featured News Slider (.post-11) */
.post-11 {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.post-11 .con {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-11 .con > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-11 .focus {
    width: 100% !important;
    height: 100% !important;
    min-height: 430px;
    border-radius: var(--ntu-radius-lg);
    overflow: hidden;
    box-shadow: var(--ntu-shadow-md);
    background: #0f2568;
    position: relative;
}
.post-11 .focus .focus-container {
    width: 100% !important;
    height: 100% !important;
    min-height: 430px;
}
.post-11 .focus .focus-item {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}
.post-11 .focus .focus-item a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}
/* 首页新闻图严格等比满宽、上下居中裁剪，杜绝拉伸变形 */
.post-11 .focus .focus-item img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transition: transform 0.6s var(--ease);
}
.post-11 .focus:hover .focus-item img {
    transform: scale(1.03);
}
.post-11 .focus .focus-title-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    margin-left: 0;
    z-index: 45;
}
.post-11 .focus .focus-title-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 24, 66, 0) 0%, rgba(10, 24, 66, 0.85) 100%);
    opacity: 1;
}
.post-11 .focus .focus-title {
    position: relative;
    display: block;
    height: auto;
    line-height: 1.45;
    padding: 30px 22px 17px;
    font-size: 17.5px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-11 .focus .focus-title a {
    display: block;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-11 .focus .focus-pagination {
    position: absolute;
    right: 18px;
    bottom: 60px;
    left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 60;
}
.post-11 .focus .focus-page {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    text-indent: -999em;
    overflow: hidden;
    margin: 0;
    transition: all 0.25s var(--ease);
}
.post-11 .focus .focus-page-active {
    width: 24px;
    background: #ffffff;
}
.post-11 .focus .focus-navigation {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    border-radius: 50%;
    background-color: rgba(12, 31, 92, 0.45);
    backdrop-filter: blur(6px);
    border: none;
    text-indent: -999em;
    overflow: hidden;
    opacity: 0;
    transition: all 0.25s var(--ease);
}
.post-11 .focus:hover .focus-navigation { opacity: 0.92; }
.post-11 .focus .focus-prev {
    left: 14px;
    background-image: url("images/icons/chevron-left.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}
.post-11 .focus .focus-next {
    right: 14px;
    background-image: url("images/icons/chevron-right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}
.post-11 .focus .focus-navigation:hover {
    background-color: rgba(22, 58, 153, 0.9);
    opacity: 1;
}

/* News List Right Column (.rili2 - Borderless Editorial) */
div#container-1 .tt {
    margin-bottom: 14px;
}
.rili2 .news_list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rili2 .news_list li.news {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 13px 12px;
    margin: 0;
    border-radius: 10px;
    border: none;
    border-bottom: 1px solid rgba(22, 58, 153, 0.065);
    background: transparent;
    transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.rili2 .news_list li.news:after { display: none; }
.rili2 .news_list li.news:last-child {
    border-bottom: none;
}
.rili2 .news_list li.news:hover {
    background: var(--ntu-ice);
    transform: translateX(3px);
}
.rili2 .news_list li.news .news_date {
    float: none;
    margin: 2px 0 0 0;
    width: 66px;
    min-width: 66px;
    padding: 7px 6px;
    border-radius: 10px;
    background: var(--ntu-sky-soft);
    text-align: center;
    transition: background-color 0.25s var(--ease);
}
.rili2 .news_list li.news:hover .news_date {
    background: var(--ntu-blue);
}
.rili2 .news_list li.news .news_date .news_year {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ntu-blue);
    text-align: center;
    transition: color 0.25s var(--ease);
}
.rili2 .news_list li.news .news_date .news_days {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 2px;
    color: var(--ntu-muted);
    text-align: center;
    transition: color 0.25s var(--ease);
}
.rili2 .news_list li.news:hover .news_date .news_year,
.rili2 .news_list li.news:hover .news_date .news_days {
    color: #ffffff;
}
.rili2 .news_list li.news .news_wz {
    flex: 1;
    min-width: 0;
    width: auto;
    overflow: hidden;
}
.rili2 .news_list li.news .news_wz .news_con {
    margin-left: 0;
    padding: 0;
    min-width: 0;
    overflow: hidden;
}
.rili2 .news_list li.news .news_title {
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ntu-ink);
    margin-bottom: 5px;
    display: block;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.rili2 .news_list li.news .news_title a {
    display: block;
    width: 100%;
    color: inherit;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.rili2 .news_list li.news:hover .news_title,
.rili2 .news_list li.news:hover .news_title a { color: var(--ntu-blue); }
.rili2 .news_list li.news .news_text {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ntu-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== Section 2: 学术报告 / 学工动态 / 共青团 (#container-3 / .main3) ==================== */
div#container-3,
.main3 {
    display: block;
    width: 100%;
    height: auto;
    padding: 54px 0 60px;
    background:
        url("images/icons/math-section-bg.svg") center center / cover no-repeat,
        linear-gradient(180deg, #f5f8fe 0%, #eef4fc 100%);
    border: none;
}
.sudy-tab { width: 100%; }

/* 3-Tab Segmented Pill Menu */
.sudy-tab .tab-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: auto;
    width: auto;
    padding: 6px;
    margin: 0 auto 34px;
    background: rgba(255, 255, 255, 0.94);
    border: none;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(15, 39, 98, 0.06);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.sudy-tab .tab-menu li {
    display: inline-flex;
    align-items: center;
    float: none;
    height: 46px;
    line-height: 46px;
    padding: 0 26px 0 50px !important;
    margin: 0;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 23px 23px;
    white-space: nowrap;
    transition: background-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.sudy-tab .tab-menu li.x2 {
    background-image: url("images/icons/lecture.svg");
}
.sudy-tab .tab-menu li.x1 {
    background-image: url("images/icons/student.svg");
}
.sudy-tab .tab-menu li.x3 {
    background-image: url("images/icons/youth.svg");
}
.sudy-tab .tab-menu li a {
    color: var(--ntu-text);
    padding: 0;
    border: none;
    background: transparent;
    transition: color 0.25s var(--ease);
}
.sudy-tab .tab-menu li:hover {
    background-color: var(--ntu-sky-soft) !important;
}
.sudy-tab .tab-menu li.selected {
    background-color: var(--ntu-blue) !important;
    box-shadow: 0 6px 16px rgba(22, 58, 153, 0.24);
}
.sudy-tab .tab-menu li.x2.selected {
    background-image: url("images/icons/lecture-white.svg");
}
.sudy-tab .tab-menu li.x1.selected {
    background-image: url("images/icons/student-white.svg");
}
.sudy-tab .tab-menu li.x3.selected {
    background-image: url("images/icons/youth-white.svg");
}
.sudy-tab .tab-menu li.selected a {
    color: #ffffff !important;
    border-bottom: none;
}

/* 2-Column Borderless Card Grid */
.con3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    align-items: start;
}
.con3 ul.news_list,
.con3 ul.news_list2 {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.con3 li,
.con3 li.news.n3.clearfix,
.con3 li.news.n6.clearfix {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.94);
    border: none;
    border-radius: var(--ntu-radius-md);
    box-shadow: 0 2px 14px rgba(15, 39, 98, 0.04);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background-color 0.28s var(--ease);
}
.con3 li:after { display: none; }
.con3 li:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 39, 98, 0.08);
}
.con3 .news_date {
    float: none;
    margin: 0;
    width: 70px;
    min-width: 70px;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-self: flex-start;
    background: #eef4ff;
}
.con3 .news_year {
    background: linear-gradient(135deg, var(--ntu-blue), var(--ntu-sky));
    line-height: 40px;
    font-size: 23px;
    font-weight: 700;
    color: #ffffff;
}
.con3 .news_days {
    color: var(--ntu-blue);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 28px;
    background: #eef4ff;
}
.con3 .news_wz {
    flex: 1;
    min-width: 0;
    width: auto;
    overflow: hidden;
}
.con3 .news_con {
    margin-left: 0;
    min-width: 0;
    overflow: hidden;
}
.con3 .news_title {
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.48;
    width: 100%;
    color: var(--ntu-ink);
    margin-bottom: 6px;
    display: block;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.con3 .news_title:last-child {
    margin-bottom: 0;
}
.con3 .news_title a {
    display: block;
    width: 100%;
    color: inherit;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.con3 li:hover .news_title,
.con3 li:hover .news_title a { color: var(--ntu-blue); }
.con3 .news_text,
.con3 .news_text a,
.news_list2 .news_text a {
    font-size: 14.5px !important;
    color: var(--ntu-muted) !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== Section 3: 通知公示 & 教学通知 (Borderless Clean Editorial) ==================== */
.main5 {
    display: block;
    width: 100%;
    padding: 54px 0 50px;
    margin-top: 0;
    background: var(--ntu-surface);
}
.main5 .mod {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: start;
}
.main5 .mod:after { display: none; }
.post.post1.post-302.mbox,
.post.post1.post-303.mbox {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.post.post1.post-302.mbox span.title {
    background: url("images/icons/notice.svg") no-repeat left center / 28px 28px;
    padding-left: 38px;
}
.post.post1.post-303.mbox span.title {
    background: url("images/icons/teaching.svg") no-repeat left center / 28px 28px;
    padding-left: 38px;
}
div#container-5 .tt {
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 13px;
}
div#container-5 .more_btn { margin-right: 0; }
.main5 .con { width: 100%; }
div#container-5 li {
    background: none;
    border-bottom: 1px solid rgba(22, 58, 153, 0.065);
    transition: background-color 0.22s var(--ease);
}
div#container-5 li:last-child { border-bottom: none; }
div#container-5 li:hover {
    background: var(--ntu-ice);
    border-radius: 8px;
}
div#container-5 .news_title {
    font-size: 16.5px;
    line-height: 1.55;
    padding: 12px 10px 12px 26px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
}
div#container-5 .news_title::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: url("images/icons/chevron-right-blue.svg") no-repeat center / 15px 15px;
    opacity: 0.72;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
div#container-5 li:hover .news_title::before {
    opacity: 1;
    transform: translate(3px, -50%);
}
div#container-5 .news_title a {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ntu-ink);
}
div#container-5 li:hover .news_title a { color: var(--ntu-blue); }

/* ==================== Section 4: 友情链接 (Borderless Minimalist) ==================== */
.main4 {
    display: block;
    width: 100%;
    background: #f7fafe;
    margin-top: 0;
    padding: 38px 0 46px;
}
.main4 .inner { padding: 0; }
.post.post1.post-4.mbox .tt {
    margin-bottom: 18px;
    padding-bottom: 12px;
}
.post.post1.post-4.mbox span.title {
    background: url("images/icons/links.svg") no-repeat left center / 25px 25px;
    padding-left: 35px;
    font-size: 21px;
    color: var(--ntu-ink);
}
.main4 .list_con .news_list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
    gap: 10px 18px !important;
    width: 100%;
}
.main4 .list_con .news_list::before,
.main4 .list_con .news_list::after {
    display: none !important;
    content: none !important;
}
.main4 .list_con .news_list li.news {
    line-height: normal !important;
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}
.main4 .list_con .news_list li.news > div,
.main4 .list_con .news_list li.news span.news_title {
    float: none !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: normal !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* 覆盖 WebPlus tpl2/default.css 的 .articlelist1_a_title { height: 25px; line-height: 25px; } 彻底解决上下重叠 */
.news_title .articlelist1_a_title,
.main4 .list_con a {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    padding: 10px 14px 10px 36px !important;
    margin: 0 !important;
    font-size: 17.5px !important;
    font-weight: 500;
    line-height: 1.55 !important;
    color: var(--ntu-text);
    background: transparent url("images/icons/external-link.svg") no-repeat 11px center / 16px 16px;
    border: none;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}
.news_title .articlelist1_a_title:hover,
.main4 .list_con a:hover {
    color: var(--ntu-blue);
    background-color: rgba(43, 123, 244, 0.08);
    transform: translateX(2px);
}

/* ==================== Full-Bleed Footer (#footer) ==================== */
#footer {
    width: 100%;
    background:
        url("images/icons/math-header-bg.svg") center top / cover no-repeat,
        linear-gradient(130deg, #0a1b52 0%, #133288 55%, #0c2266 100%);
    border-top: none;
    color: rgba(255, 255, 255, 0.88);
    padding: 38px 0 34px;
    height: auto;
    line-height: inherit;
    position: relative;
}
#footer .inner .mod {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px 32px;
}
#footer .inner .mod:after { display: none; }
#footer .inner .foot-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: start;
}
#footer .inner .foot-left .lcontent {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0;
}
#footer .inner .foot-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    margin: 0;
}
#footer .inner .foot-center .ccontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}
#footer .inner .foot-center p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 22px;
    text-align: center;
}
#footer .inner .foot-center p:empty,
#footer .inner .foot-center p:has(> span:empty:only-child) {
    display: none;
}
#footer .inner .foot-center .footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    line-height: 1.5;
    padding: 4px 2px;
    transition: color 0.22s var(--ease), transform 0.22s var(--ease);
}
#footer .inner .foot-center .footer-link img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.9;
}
#footer .inner .foot-center .footer-link:hover {
    color: #93c5fd;
    text-decoration: none;
    transform: translateY(-1px);
}
#footer .inner .foot-center .footer-sep {
    color: rgba(255, 255, 255, 0.26);
    margin: 0;
    user-select: none;
}
#footer .inner .foot-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    margin: 0;
}
.footer-qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 12px;
}
/* 桌面端展示矢量 SVG 二维码；平板竖屏及手机端在 media.css 中切换为 PNG 以便微信长按识别 */
#qrc {
    display: block;
    width: 104px;
    height: 104px;
    border-radius: 6px;
}
#qrm {
    display: none;
    width: 144px;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}
#footer .inner p {
    font-size: 14.5px;
    line-height: 1.8;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}
#footer .inner p span { margin: 0 2px; }
#footer .inner .copyright a {
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}
#footer .inner .copyright a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* ==================== Sub-Pages: Banner, Sidebar, List, Article ==================== */
.l-banner {
    width: 100%;
    height: clamp(160px, 18.75vw, 280px);
    background-position: center 45%;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    position: relative;
    background-color: var(--ntu-navy);
}
.l-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 31, 92, 0.16) 0%, rgba(12, 31, 92, 0.04) 50%, rgba(12, 31, 92, 0.16) 100%);
    pointer-events: none;
}
.l-banner img { display: none; height: 100%; vertical-align: top; }

#l-container {
    background: var(--ntu-ice);
    padding: 34px 0 58px;
    min-height: 560px;
}
#l-container .inner { padding: 0; }
#l-container .mod,
#l-container .inner.clearfix {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
#l-container .mod:after,
#l-container .inner.clearfix:after { display: none; }
#l-container .clear { display: none; }

/* Left Sidebar Column Menu (Borderless) */
.col_menu {
    width: 268px;
    flex: 0 0 268px;
    float: none;
    margin-right: 0;
    background: #ffffff;
    border: none;
    border-radius: var(--ntu-radius-md);
    box-shadow: 0 4px 20px rgba(15, 39, 98, 0.045);
    overflow: hidden;
    position: sticky;
    top: 76px;
}
.col_menu .col_menu_head {
    background: linear-gradient(125deg, var(--ntu-navy) 0%, var(--ntu-blue) 100%);
    position: relative;
    padding: 0;
}
.col_menu .col_menu_head h3.col_name {
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
}
.col_menu .col_menu_head h3.col_name .col_name_text {
    display: block;
    line-height: 56px;
    padding: 0 20px 0 24px;
}
.col_menu .col_menu_con { border: none; padding: 8px 0; }
.col_list .wp_listcolumn { border: none; }
.col_list .wp_listcolumn .wp_column a {
    display: block;
    color: var(--ntu-text);
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.2s var(--ease);
}
.col_list .wp_listcolumn .wp_column a .column-name {
    display: block;
    padding: 12px 18px 12px 22px;
    line-height: 1.45;
}
.col_list .wp_listcolumn .wp_column a:hover,
.col_list .wp_listcolumn .wp_column a.selected {
    color: var(--ntu-blue);
    background: var(--ntu-sky-soft);
    border-left-color: var(--ntu-sky);
}
.col_list .wp_listcolumn .wp_column a.selected span.column-name {
    color: var(--ntu-blue);
    font-weight: 600;
}
.col_list .wp_listcolumn .wp_column.parent > a .column-name {
    font-weight: 600;
    color: var(--ntu-blue);
}
.col_list .wp_listcolumn .wp_column .sub_list a {
    font-size: 15px;
    font-weight: 400;
    border-top: 1px solid #f1f5fb;
}
.col_list .wp_listcolumn .sub_list a .column-name {
    padding: 9px 16px 9px 38px;
    line-height: 1.45;
}
.col_list .wp_listcolumn .sub_list .sub_list a .column-name {
    padding: 8px 16px 8px 52px;
}

/* Right Main Column Content Card (Borderless) */
.col_news {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    float: none;
    min-height: 520px;
    background: #ffffff;
    border: none;
    border-radius: var(--ntu-radius-md);
    box-shadow: 0 4px 20px rgba(15, 39, 98, 0.045);
    padding: 28px 36px 36px;
}
.col_news .col_news_box { margin-left: 0; }
.col_news_head {
    border-bottom: 1px solid rgba(22, 58, 153, 0.08);
    padding-bottom: 14px;
    margin-bottom: 18px;
    position: relative;
}
.col_news_head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 58px;
    height: 2.5px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--ntu-blue), var(--ntu-sky));
}
.col_metas {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 10px 18px;
    width: 100%;
}
.col_metas::before,
.col_metas::after {
    display: none !important;
    content: none !important;
}
.col_metas > div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.col_metas .col_title {
    order: 1 !important;
    float: none !important;
    margin: 0 !important;
    margin-right: auto !important;
    height: auto;
    line-height: 1.3;
    text-align: left !important;
}
.col_metas .col_title h2 {
    font-size: 23px;
    font-weight: 700;
    color: var(--ntu-ink);
    border-bottom: none;
    text-align: left !important;
}
.col_metas .col_path {
    order: 2 !important;
    float: none !important;
    margin: 0 !important;
    margin-left: auto !important;
    height: auto;
    line-height: 1.5;
    font-size: 14px;
    color: var(--ntu-muted);
    white-space: normal;
}
.col_metas .col_path a { color: var(--ntu-text); }
.col_metas .col_path a:hover { color: var(--ntu-blue); }
/* 显式绘制面包屑层级分割竖线，确保即使 protect.js 清理 &nbsp; 后依然清晰显示 */
.col_metas .col_path .possplit {
    display: inline-block !important;
    width: 1px !important;
    height: 12px !important;
    margin: 0 9px !important;
    padding: 0 !important;
    background: #b6c5dc !important;
    vertical-align: -1px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

.col_news_con { padding: 0; margin: 0; }
.col_news_list { margin-top: 4px; }
/* 新闻列表页“每页显示 20 / 50 / 100 条”简洁胶囊栏（置于 col_news_head 内部、底线之上，无多余横线） */
.list-page-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 10px 0 -2px;
    padding: 0;
    border: none !important;
    font-size: 13.5px;
    color: var(--ntu-muted);
}
.list-page-toolbar .list-size-control {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.list-page-toolbar .list-size-label,
.list-page-toolbar .list-size-unit {
    color: var(--ntu-muted);
    font-size: 13.5px;
    white-space: nowrap;
}
.list-page-toolbar .list-size-pills {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border-radius: 999px;
    background: #e9f0fc;
}
.list-page-toolbar .size-pill {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    color: var(--ntu-ink);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.list-page-toolbar .size-pill:hover {
    background: rgba(255, 255, 255, 0.85);
    color: var(--ntu-blue);
}
.list-page-toolbar .size-pill.active {
    background: var(--ntu-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(22, 58, 153, 0.22);
}
.list-page-toolbar .list-loading-tip {
    font-size: 12.5px;
    color: var(--ntu-sky);
    min-width: 0;
}
.list .col_news_con ul.news_list.is-loading {
    opacity: 0.52;
    transition: opacity 0.2s ease;
}
.wp_paging a.is-disabled {
    opacity: 0.42;
    pointer-events: none;
    cursor: default;
}
.list .col_news_con .news_list li.news {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 12px 14px 28px;
    line-height: 1.55;
    border-bottom: 1px solid rgba(22, 58, 153, 0.065);
    position: relative;
    transition: background-color 0.2s var(--ease);
}
.list .col_news_con .news_list li.news:after { display: none; }
.list .col_news_con .news_list li.news::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: url("images/icons/chevron-right-blue.svg") no-repeat center / 15px 15px;
    opacity: 0.72;
}
.list .col_news_con .news_list li.news:hover {
    background: var(--ntu-ice);
    border-radius: 8px;
}
.list .col_news_con .news_list li.news span.news_title {
    float: none;
    flex: 1;
    min-width: 0;
    font-size: 16.5px;
    color: var(--ntu-ink);
}
.list .col_news_con .news_list li.news span.news_meta {
    float: none;
    flex-shrink: 0;
    font-size: 14px;
    color: var(--ntu-muted);
    white-space: nowrap;
}
.col_news_list .wp_entry,
.col_news_list .wp_entry p {
    line-height: 1.9;
    font-size: 16.5px;
    color: var(--ntu-text);
}
.col_news_list .wp_entry p { margin-bottom: 14px; }
.col_news_list .wp_entry img { max-width: 100%; height: auto; border-radius: 10px; }

/* Teacher Photo Grid (.news_tu - 贴合标准竖版证件照比例 3:4，窄列5栏更紧凑，同时兼容任意比例不拉伸) */
.news_tu .con { padding: 12px 0; }
.news_tu .news_list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 16px;
    margin: 0;
}
.news_tu .news_list:after { display: none; }
.list .col_news_con .news_tu .news_list li.news,
.news_tu .news_list li.news {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    float: none;
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: var(--ntu-radius-md);
    padding: 12px 8px 10px;
    text-align: center;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.list .col_news_con .news_tu .news_list li.news::before,
.news_tu .news_list li.news::before { display: none !important; }
.list .col_news_con .news_tu .news_list li.news:hover,
.news_tu .news_list li.news:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(15, 39, 98, 0.08);
    background: #ffffff;
}
.news_tu .news_list li.news .news_box { margin: 0; display: block; width: 100%; }
.news_tu .news_list li.news .news_imgs {
    width: 132px;
    height: 176px;
    max-width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news_tu .news_list li.news .news_imgs a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}
.news_tu .news_list li.news .news_imgs img,
.news .news_imgs a img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #ffffff;
    display: block;
}
.news_tu .news_list li.news .news_title {
    width: 100%;
    text-align: center;
    line-height: 1.45;
    height: auto;
    padding-top: 12px;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--ntu-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==================== Article Detail Page (#d-container) ==================== */
#d-container {
    background: var(--ntu-ice);
    padding: 36px 0 60px;
}
#d-container .inner {
    background: transparent;
}
.infobox {
    max-width: 1040px;
    margin: 0 auto;
    padding: 44px 58px 52px;
    background: #ffffff;
    border: none;
    border-radius: var(--ntu-radius-lg);
    box-shadow: 0 6px 26px rgba(15, 39, 98, 0.05);
}
.article { padding-top: 0; min-height: 480px; }
.article h1.arti_title {
    line-height: 1.45;
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: var(--ntu-navy);
    margin-bottom: 10px;
}
.article h2.arti_title {
    line-height: 1.5;
    font-size: 19px;
    font-weight: 500;
    text-align: center;
    color: var(--ntu-muted);
    margin-bottom: 12px;
}
.article .arti_metas {
    padding: 11px 16px;
    margin: 14px 0 28px;
    text-align: center;
    background: var(--ntu-ice);
    border-radius: 10px;
    border: none;
}
.article .arti_metas span {
    margin: 0 14px;
    font-size: 14px;
    color: var(--ntu-muted);
}
.article .entry {
    margin: 0 auto;
    overflow-x: auto;
    margin-top: 12px;
}
.article .entry .read,
.article .entry .read p {
    line-height: 1.92;
    font-size: 17px;
    color: var(--ntu-text);
}
.article .entry .read p { margin-bottom: 16px; }
body:not(.role) .article .entry .read img:not([src^="data:image/svg+xml"]):not(.sudy-attachment-icon):not([src*="_ueditor/themes/"]):not([src*="fileTypeImages/"]):not([src*="icons/files/"]) {
    display: block;
    margin: 18px auto;
    max-width: 100%;
    height: auto !important;
    border-radius: 10px;
}
/* 附件图标保持行内左对齐、无圆角、不居中（仅限编辑器生成的附件图标，不影响正文其他图片） */
.article .entry .read img.sudy-attachment-icon,
.article .entry .read img[src*="_ueditor/themes/"][src*="icon_"],
.article .entry .read img[src*="fileTypeImages/"][src*="icon_"],
.article .entry .read img[src*="icons/files/"],
.wp_articlecontent img.sudy-attachment-icon,
.wp_articlecontent img[src*="_ueditor/themes/"][src*="icon_"],
.wp_articlecontent img[src*="fileTypeImages/"][src*="icon_"],
.wp_articlecontent img[src*="icons/files/"],
.col_news_list .wp_entry img.sudy-attachment-icon,
.col_news_list .wp_entry img[src*="_ueditor/themes/"][src*="icon_"],
.col_news_list .wp_entry img[src*="fileTypeImages/"][src*="icon_"],
.col_news_list .wp_entry img[src*="icons/files/"] {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    vertical-align: -6px !important;
    object-fit: contain !important;
    background: transparent !important;
}
/* 兼容原师资简介页（body.role）：保持原有顶栏、直接书写的 HTML 照片/表格排版与 protect.js 邮箱 SVG */
.role .col_news_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.role .col_news_head .article {
    min-height: 0;
}
.role .col_news_head .article h1.arti_title {
    text-align: left;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: var(--ntu-blue);
}
.role .col_news_head .article ~ .col_metas,
.role .col_news_head .article ~ .col_metas > div {
    width: auto !important;
    margin-left: auto;
}
.role .article h2.arti_title {
    text-align: left;
    font-size: 17px;
    color: var(--ntu-muted);
    margin-bottom: 10px;
}
.role .article h2.arti_title:empty {
    display: none;
}
.role .article .entry .read img:not([src^="data:image/svg+xml"]) {
    display: inline-block;
    margin: 0;
    max-width: 100%;
    border-radius: 6px;
}
.role .article .entry .read table {
    margin: 0 auto;
    border: none !important;
    max-width: 100%;
}
.article .entry .read img[src^="data:image/svg+xml"] {
    display: inline-block !important;
    margin: 0 !important;
    max-width: none !important;
    border-radius: 0 !important;
}
.article .entry .read table {
    margin: 18px auto;
    max-width: 100%;
}

/* 保留原师资简介页兼容样式（仅微调配色贴合通大蓝） */
#l-container .t-right { margin-top: -16px; }
.namebox {
    position: relative;
    font-size: 19px;
    font-weight: 600;
    color: var(--ntu-navy);
}
.namebox::after {
    content: "";
    display: block;
    height: 1px;
    width: 30ch;
    max-width: 100%;
    background-color: #94a3b8;
    position: absolute;
    bottom: -5px;
    left: 0;
}

/* ==================== Search, Organization, Role & Pagination ==================== */
.wp_search {
    display: inline-flex;
    align-items: center;
    position: relative;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
}
.wp_search #keyword {
    width: 160px !important;
    padding: 5px 10px;
    border: none;
    height: 34px;
    line-height: 24px;
    background: transparent;
    color: #fff;
}
.wp_search .search {
    width: 36px;
    height: 34px;
    border: 0;
    background: #ffffff url("images/icons/search.svg") no-repeat center / 17px 17px;
    cursor: pointer;
}
.searchbox { text-align: right; margin-top: 4px; }
.wp-search {
    position: relative;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
}
.wp-search .search-input { margin-left: 8px; margin-right: 38px; }
.wp-search .search-input input.search-title {
    width: 100%;
    height: 34px;
    padding: 4px 0;
    line-height: 26px;
    background: none;
    color: #ffffff;
    font-size: 14px;
    border: 0;
}
.wp-search .search-btn { width: 36px; height: 34px; position: absolute; right: 0; top: 0; }
.wp-search .search-btn input.search-submit {
    width: 36px;
    height: 34px;
    border: 0;
    background: #ffffff url("images/icons/search.svg") no-repeat center / 17px 17px;
    cursor: pointer;
}

.inss .part_xy .item h3 {
    line-height: 44px;
    font-size: 18px;
    font-weight: 600;
    color: var(--ntu-blue);
    border-bottom: 1px solid rgba(22, 58, 153, 0.08);
    margin-bottom: 10px;
}
.inss .part_xy .sub-box { width: 100%; padding: 6px 0 18px; }
.inss .part_xy .sub-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
}
.inss .part_xy .sub-list .sub-item {
    float: none;
    width: 100%;
    background: url("images/icons/chevron-right-blue.svg") no-repeat left center / 15px 15px;
}
.inss .part_xy .sub-list .sub-item a {
    display: block;
    line-height: 36px;
    padding-left: 20px;
    font-size: 15.5px;
}
.role .part_xy .item { margin-bottom: 12px; display: none; }
.role .part_xy .item.selected { display: block; }
.role .part_xy .item h3 { display: none; }
.role .part_xy .sub-list { margin-top: 12px; }
.role .part_xy .sub-list .sub-item {
    padding: 10px 0 6px;
    border-bottom: 1px solid rgba(22, 58, 153, 0.065);
}
.role .part_xy .sub-list .sub-item a {
    line-height: 36px;
    font-size: 16px;
    font-weight: 600;
}
.role .part_xy .sub-list .sub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
    margin: 8px 0 0 24px;
}
.role .part_xy .sub-list .sub-list .sub-item {
    padding: 0;
    border-bottom: none;
}
.role .part_xy .sub-list .sub-list .sub-item a { font-weight: 400; }

.botlinks .links-wrap {
    position: relative;
    display: inline-block;
    margin: 4px 8px;
    width: 174px;
    line-height: 38px;
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: var(--ntu-shadow-xs);
}
.botlinks .links-wrap a.links-arrow {
    display: block;
    height: 38px;
    line-height: 38px;
    padding: 0 28px 0 12px;
    color: var(--ntu-text);
    background: url("images/icons/arrow-down-dark.svg") no-repeat right 10px center / 14px 14px;
}
.botlinks .links-wrap .link-items {
    display: none;
    position: absolute;
    left: 0;
    bottom: 40px;
    min-width: 196px;
    max-height: 300px;
    overflow: auto;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    box-shadow: var(--ntu-shadow-md);
    padding: 6px;
}
.botlinks .links-wrap .link-items a {
    display: block;
    line-height: 32px;
    padding: 2px 10px;
    color: var(--ntu-text);
    border-radius: 6px;
}
.botlinks .links-wrap .link-items a:hover {
    color: #fff;
    background: var(--ntu-blue);
}

.wrapperinner {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.scroller { position: relative; width: max-content; min-width: 100%; }

/* Floating Award Badge (#sjTag) & Fixed Upper-Right Recruit Banner (#recruitFloat) — Non-overlapping & Clear of Bottom-Right Controls */
#sjTag {
    position: fixed !important;
    top: 180px !important;
    bottom: auto !important;
    right: 32px !important;
    width: 108px !important;
    margin: 0 !important;
    z-index: 220 !important;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
#sjTag.sj-visible {
    display: block !important;
}
#sjTag.sj-closed {
    display: none !important;
}
#sjTag img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    filter: drop-shadow(0 6px 14px rgba(12, 31, 92, 0.16));
}
#sjTag label {
    display: none;
    position: absolute;
    height: 22px;
    width: 22px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    top: -8px;
    right: -6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(12, 31, 92, 0.65);
    border-radius: 50%;
    z-index: 5;
}
#sjTag:hover label {
    display: block !important;
}
#sjTag label:hover {
    transform: rotate(90deg);
    background: rgba(12, 31, 92, 0.92);
}

/* 诚聘英才固定侧边飘窗模板（右上方锚定、与优秀网站上下错开永不重叠、避开右下角上下按钮） */
.ntu-side-float {
    position: fixed;
    top: 312px;
    bottom: auto;
    right: 16px;
    width: 140px;
    z-index: 221;
    font-family: var(--font-sans);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.ntu-side-float[data-enabled="false"],
.ntu-side-float.is-closed {
    display: none !important;
}
.ntu-side-float:hover {
    transform: translateY(-3px);
}
.ntu-side-float .side-float-close {
    position: absolute;
    top: -9px;
    right: -9px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: rgba(12, 31, 92, 0.85);
    color: #ffffff;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(12, 31, 92, 0.28);
    transition: background-color 0.2s ease, transform 0.25s ease;
    z-index: 5;
}
.ntu-side-float .side-float-close:hover {
    background: #d93025;
    transform: rotate(90deg);
}
.ntu-side-float .side-float-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 12px 14px;
    border-radius: 14px;
    background: linear-gradient(155deg, #0b2166 0%, #163a99 56%, #2457d6 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(12, 31, 92, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    overflow: hidden;
}
.ntu-side-float .side-float-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #fcd34d, #60a5fa);
}
.ntu-side-float .side-float-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -36px;
    bottom: -36px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.ntu-side-float .side-float-badge {
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 7px;
    white-space: nowrap;
}
.ntu-side-float .side-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fde68a;
    margin-bottom: 7px;
}
.ntu-side-float .side-float-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 5px;
}
.ntu-side-float .side-float-sub {
    display: block;
    font-size: 11.5px;
    line-height: 1.48;
    color: rgba(226, 238, 255, 0.92);
    margin-bottom: 10px;
}
.ntu-side-float .side-float-cta {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #163a99;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.ntu-side-float .side-float-card:hover .side-float-cta {
    background: #fef08a;
    color: #0b2166;
    transform: translateX(1px);
}
@media screen and (max-width: 1679px) {
    #sjTag {
        top: 170px !important;
        bottom: auto !important;
        right: 28px !important;
        width: 94px !important;
    }
    .ntu-side-float {
        top: 288px;
        bottom: auto;
        right: 12px;
        width: 126px;
    }
    .ntu-side-float .side-float-card {
        padding: 13px 10px 12px;
    }
    .ntu-side-float .side-float-title {
        font-size: 16.5px;
    }
}
@media screen and (max-width: 1199px) {
    #sjTag {
        top: 150px !important;
        bottom: auto !important;
        right: 26px !important;
        width: 82px !important;
    }
    .ntu-side-float {
        top: 254px;
        bottom: auto;
        right: 10px;
        width: 116px;
    }
    .ntu-side-float .side-float-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 5px;
    }
    .ntu-side-float .side-float-title {
        font-size: 15.5px;
    }
    .ntu-side-float .side-float-sub {
        font-size: 11px;
        margin-bottom: 8px;
    }
}
@media screen and (max-width: 767px) {
    /* 手机端不显示飘窗，右上方保留显示“优秀网站”徽章（避开右下角上下按钮） */
    .ntu-side-float,
    #recruitFloat {
        display: none !important;
    }
    #sjTag,
    #sjTag.sj-visible {
        display: block !important;
        position: fixed !important;
        top: 118px !important;
        bottom: auto !important;
        right: 10px !important;
        width: 64px !important;
        z-index: 220 !important;
    }
    #sjTag.sj-closed {
        display: none !important;
    }
    #sjTag label {
        display: block !important;
        width: 18px;
        height: 18px;
        line-height: 16px;
        font-size: 13px;
        top: -6px;
        right: -4px;
    }
}

.wp_paging {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    margin-top: 20px;
    padding-top: 8px;
    border-top: none !important;
    font-size: 14.5px;
    color: var(--ntu-muted);
    float: none !important;
}
.wp_paging::before,
.wp_paging::after {
    display: none !important;
    content: none !important;
}
.wp_paging li {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
}
.wp_paging li span {
    float: none !important;
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    line-height: 1.4;
}
.wp_paging li em {
    font-style: normal;
    font-weight: 600;
    color: var(--ntu-blue);
    margin: 0 3px;
}
.wp_paging li a,
.wp_paging li.page_nav a,
.wp_paging li.page_jump a.pagingJump {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    line-height: 1 !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    color: var(--ntu-text) !important;
    background: var(--ntu-ice) !important;
    font-size: 14px !important;
    white-space: nowrap;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.wp_paging li a span {
    display: inline !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
.wp_paging li a:hover,
.wp_paging li.page_nav a:hover,
.wp_paging li.page_jump a.pagingJump:hover {
    color: #ffffff !important;
    background: var(--ntu-blue) !important;
}
.wp_paging li.page_jump input.pageNum {
    width: 48px !important;
    height: 34px !important;
    line-height: 32px !important;
    padding: 0 6px !important;
    margin: 0 !important;
    text-align: center;
    border: 1px solid var(--ntu-border-strong) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: var(--ntu-ink) !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}
