/* Support both retained and removed Sudy content wrappers. */
.research-grid > [frag="窗口内容"], .papers-grid > [frag="窗口内容"], .news-list > [frag="窗口内容"], .lead-news-window > [frag="窗口内容"] { display: contents; }
.cms-navigation ul { list-style: none; margin: 0; padding: 0; }
.cms-navigation > ul > li, .cms-navigation > [frag="窗口内容"] > ul > li { position: relative; }
.cms-navigation > ul > li > a, .cms-navigation > [frag="窗口内容"] > ul > li > a { min-height: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; font-size: 13px; color: #d2e4e4; padding-right: 5px; }
.nav-symbol .icon { width: 29px; height: 29px; }
.cms-navigation li:first-child > a .icon, .cms-navigation a:hover { color: var(--accent); }
.cms-navigation .img1 { display: none; }
.cms-navigation .ernav { display: none; position: absolute; left: 95px; top: 8px; min-width: 240px; max-height: 75vh; overflow: auto; padding: 15px; background: #031e24fa; border: 1px solid var(--rule); border-left: 2px solid var(--accent); box-shadow: 0 10px 30px #0008; }
.cms-navigation li:hover > .ernav, .cms-navigation li.is-open > .ernav { display: block; }
.cms-navigation .ernav a { display: block; padding: 12px 10px; border-bottom: 1px solid #15504d; font-size: 14px; }
.cms-navigation .ernav ul ul { padding-left: 15px; }
.submenu-toggle { position: absolute; right: 0; top: 35px; padding: 7px 1px; color: var(--accent); }
.submenu-toggle .icon { width: 13px; height: 18px; }
.site-header .search { display: flex; align-items: center; gap: 8px; flex: 0 1 345px; width: 345px; min-width: 250px; height: 46px; border: 1px solid var(--accent-soft); background: #00382c66; padding: 8px 12px; color: var(--ink); }
.search > [frag="窗口内容"], .search form { display: flex; align-items: center; width: 100%; gap: 8px; margin: 0; }
.search .inp-but { flex: 0 0 24px; }
.search .inp-text { flex: 1; min-width: 0; }
.search input[type="text"], .search input[type="search"] { background: transparent; color: var(--ink); border: 0; width: 100%; font-size: 12px; height: 28px; }
.search input[type="button"], .search input[type="submit"] { cursor: pointer; border: 0; width: 24px; height: 26px; background: transparent url('../images/hud/search.svg') center/21px no-repeat; color: transparent; }
.search input::placeholder { color: #c2d5d4; }
.search .clearfix { display: none; }
.feature-stage > [frag="窗口内容"] { display: contents; }
.feature-slide:not([hidden]) ~ .feature-slide { display: none; }
.research-image { display: block; }
.research-copy a:hover, .paper-copy a:hover, .profile-article { color: var(--accent); }
.research-content p { margin: 0; }
.research-content img, .paper-content img { max-width: 100%; height: auto; }
.research-content, .paper-content { overflow-wrap: anywhere; }
.lead-news-window { display: flex; min-width: 0; }
.lead-news-window .lead-news { flex: 1; min-height: 310px; }
.news-list { max-height: none; }
.news-entry { min-height: 68px; }
.cms-contact { font-size: 12px; line-height: 1.8; align-self: center; overflow-wrap: anywhere; }
.cms-contact p + p { margin-top: 8px; }
.cms-contact img { display: inline-block; vertical-align: middle; }
.cms-copyright { flex: 1; padding-right: 25px; }
.cms-introduction { margin: 0 0 34px; padding: 22px 26px; border: 1px solid var(--rule); background: #03292bcc; }
.cms-profile { position: relative; }
.profile-article { position: absolute; right: 0; top: 0; display: inline-flex; padding: 5px; }
.cms-profile h2 { padding-right: 40px; font-size: 21px; }
.cms-introduction .profile-summary { max-height: 240px; overflow: auto; margin: 16px 0 0; padding-right: 14px; }
.cms-introduction .profile-summary > ul { margin: 0; padding-left: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 34px; }
.cms-introduction .profile-summary > ul > li:last-child { grid-column: 1 / -1; }
.cms-introduction .rencai { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.hero.without-people { grid-template-columns: minmax(0, 1fr); }
.profile-summary { overflow-wrap: anywhere; }
.profile-summary img { max-width: 100%; height: auto; }
.profile-summary .ren-li { position: relative; display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid #155b55; }
.profile-summary .ren-img { flex: 0 0 75px; }
.profile-summary .ren-img img { width: 75px; }
.profile-summary h5 {
    font-size:18px;
    margin:0 0 8px;
    color:#2b2118 !important;
    font-weight:700;
}
.profile-summary .ren-tt { flex: 1; }
.profile-summary .ren-li > a { position: absolute; inset: 0; }
.profile-summary .ren-li > a:focus-visible { outline-offset: 0; }
.person-main > span:last-child { overflow-wrap: anywhere; }

/* ============================================================
   White + Orange CMS compatibility override
   ============================================================ */
.cms-navigation > ul > li > a,
.cms-navigation > [frag="窗口内容"] > ul > li > a{color:#4a382b}
.cms-navigation .ernav{
  background:#fffdfafa;
  border-color:var(--rule);
  border-left-color:var(--accent);
  box-shadow:0 10px 30px #7c431424;
}
.cms-navigation .ernav a{border-bottom-color:#f1d2b4;color:#4a382b}
.site-header .search{
  border-color:var(--accent-soft);
  background:#fff3e6;
  color:var(--ink);
}
.search input[type="text"],.search input[type="search"]{color:var(--ink)}
.search input::placeholder{color:#9b8a7b}
.search input[type="button"],.search input[type="submit"]{
  filter:sepia(1) saturate(7) hue-rotate(340deg) brightness(.92) contrast(1.08);
}
.cms-introduction{
  border-color:var(--rule);
  background:#fffaf5;
  color:var(--ink);
}
.profile-summary .ren-li{border-bottom-color:#efd0b0}

.cms-introduction .profile-summary .ren-li h5,
.cms-introduction .profile-summary .ren-li h5 span,
.cms-introduction .profile-summary .ren-li h5 a {
    color:#d96a1d !important;
    font-size:18px;
    font-weight:700;
}
/* =========================================
   Hide Publications submenu
   ========================================= */

/* 隐藏 Publications 的下拉年份菜单 */
.cms-navigation > ul > li:nth-child(2) > .ernav,
.cms-navigation > [frag="窗口内容"] > ul > li:nth-child(2) > .ernav {
    display: none !important;
}

/* 隐藏 Publications 右侧的小箭头按钮 */
.cms-navigation > ul > li:nth-child(2) > .submenu-toggle,
.cms-navigation > [frag="窗口内容"] > ul > li:nth-child(2) > .submenu-toggle {
    display: none !important;
}
.cms-navigation > ul > li:nth-child(2) > a::after,
.cms-navigation > [frag="窗口内容"] > ul > li:nth-child(2) > a::after {
    display: none !important;
    content: none !important;
}
