/* 科学研究页新增组件样式（配合 listcolumn.css / head.css / footer.css 使用） */

/* ===== 内容区容器 ===== */
.sci-main {
	width: 100%;
	box-sizing: border-box;
}

.pane {
	width: 100%;
	box-sizing: border-box;
}

/* ===== 团队卡（研究方向） ===== */
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
}

.team-card {
	position: relative;
	display: block;
	background: #fff;
	border: 1px solid #E6EAF3;
	border-radius: .8rem;
	overflow: hidden;
	text-decoration: none;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.team-card .card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.team-card:hover {
	transform: translateY(-.6rem);
	box-shadow: 0 1.6rem 3.2rem rgba(11, 49, 143, .16);
	border-color: rgba(11, 49, 143, .32);
}

.team-card .team-pic {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center top;
	background: #F2F5FA;
	transition: transform .4s ease;
}

.team-card:hover .team-pic {
	transform: scale(1.04);
}

.team-card .team-body {
	padding: 2.2rem 2.4rem 2rem;
}

.team-card .team-name {
	font-size: 2rem;
	font-weight: 600;
	line-height: 3rem;
	color: #222;
}

.team-card .team-name a {
	color: #222;
	text-decoration: none;
}

.team-card .team-name a:hover {
	color: #0B318F;
}

.team-card .team-desc {
	margin-top: 1rem;
	font-size: 1.4rem;
	line-height: 2.4rem;
	color: #8C93A6;
	pointer-events: none;
}

.team-card .team-desc a {
	color: #8C93A6;
	text-decoration: none;
	pointer-events: none;
}

.team-card .team-more {
	display: inline-block;
	margin-top: 1.6rem;
	font-size: 1.5rem;
	color: #0B318F;
}

.team-card .team-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: .8rem;
}

.team-card .team-tag {
	display: inline-block;
	font-size: 1.2rem;
	line-height: 1.9rem;
	padding: .2rem .9rem;
	border-radius: .4rem;
	background: #F1F5FE;
	color: #33549E;
	border: 1px solid #C9D6F2;
}

.team-card .team-tag:empty {
	display: none;
}

.team-card .team-time {
	font-size: 1.3rem;
	color: #98A0B3;
}

/* ===== 团队详情 ===== */
.team-detail {
	padding-bottom: 2rem;
}

.team-detail .back {
	display: inline-block;
	margin-bottom: 2.4rem;
	font-size: 1.5rem;
	color: #0B318F;
	text-decoration: none;
}

.team-detail .detail-name {
	font-size: 3rem;
	font-weight: 600;
	color: #222;
	line-height: 4.2rem;
}

.team-detail .detail-brief {
	margin-top: 1.2rem;
	font-size: 1.5rem;
	color: #8C93A6;
}

.team-detail .sec-title {
	margin: 4rem 0 2rem;
	font-size: 2rem;
	font-weight: 600;
	color: #222;
	padding-left: 1.4rem;
	border-left: .4rem solid #0B318F;
	line-height: 2.2rem;
}

.team-detail .desc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.team-detail .desc-list li {
	position: relative;
	padding: .6rem 0 .6rem 2rem;
	font-size: 1.5rem;
	line-height: 2.6rem;
	color: #333F55;
}

.team-detail .desc-list li::before {
	content: "";
	position: absolute;
	left: .4rem;
	top: 1.8rem;
	width: .6rem;
	height: .6rem;
	background: rgba(11, 49, 143, .4);
	border-radius: .2rem;
}

/* ===== 论文卡 ===== */
.paper-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.4rem;
}

.paper {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #E6EAF3;
	border-radius: .8rem;
	overflow: hidden;
	min-height: 34rem;
	transition: transform .3s ease, box-shadow .3s ease;
}

.paper:hover {
	transform: translateY(-.4rem);
	box-shadow: 0 1.2rem 2.6rem rgba(11, 49, 143, .12);
}

.paper .paper-pic {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center top;
	background: #F2F5FA;
	border-bottom: 1px solid #E6EAF3;
}

.paper .paper-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 2rem 2.2rem 2rem;
}

.paper .paper-venue {
	font-size: 1.4rem;
	line-height: 2.4rem;
	color: #222;
	pointer-events: none;
}

.paper .paper-venue a {
	color: #222;
	text-decoration: none;
	display: inline !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

.paper .paper-title {
	margin-top: .8rem;
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 2.8rem;
	color: #222;
	display: block !important;
	-webkit-line-clamp: unset !important;
	overflow: visible !important;
}

.paper .paper-title a {
	color: #222;
	text-decoration: none;
	pointer-events: none;
	cursor: default;
}

/* ===== 学术交流列表 ===== */
.content {
	list-style: none;
	margin: 0;
	padding: 0;
}

.content li {
	font-size: 1.8rem;
	border-bottom: 1px solid #d6d6d6;
	padding: 2rem 0 2rem 0;
}

.content li:first-child {
	padding: 0 0 2rem 0;
}

.content li::before {
	content: "•";
	margin-right: 10px;
}

.content .content-box {
	display: flex;
	width: 100%;
}

.content .content-title {
	width: 80%;
	justify-content: flex-start;
	display: flex;
}

.content .content-title a {
	color: #000;
	text-decoration: none;
}

.content .content-title a:hover {
	font-weight: 500;
	color: rgba(11, 49, 143, 1);
}

.content .content-time {
	flex: 1;
	justify-content: flex-end;
	display: flex;
	color: #666;
}

/* ===== 分页 ===== */
.wp_paging_box {
	margin: 2rem 0 0 0;
	overflow: hidden;
}

.wp_paging {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	font-family: 'Microsoft Yahei', Verdana, Geneva, sans-serif;
	color: #494949;
	float: right;
}

.wp_paging input {
	font-size: 12px;
}

.wp_paging li {
	display: inline-block;
	height: 25px;
	line-height: 25px;
	float: left;
	margin-top: 5px;
}

.wp_paging li span,
.wp_paging li a {
	display: inline-block;
	float: left;
	margin-left: 10px;
}

.wp_paging li em {
	font-style: normal;
}

.wp_paging li a {
	cursor: pointer;
	color: #666;
	line-height: 25px;
	height: 25px;
	text-decoration: none;
}

.wp_paging li a:hover {
	color: #000;
}

.wp_paging .pageNum {
	width: 3.2rem;
	height: 2.2rem;
	line-height: 2.2rem;
	border: 1px solid #D8D8D8;
	text-align: center;
	font-size: 12px;
	color: #494949;
}

/* 隐藏头部原生搜索框（旧站同样隐藏） */
.head .wp_search {
	display: none !important;
}

/* 栅格容器兜底（防止 antd 样式缺失） */
.main-module .ant-row-flex {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.main-module .ant-col {
	box-sizing: border-box;
}

.main-module .ant-col-4 {
	flex: 0 0 16.6667%;
	max-width: 16.6667%;
}

.main-module .ant-col-8 {
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
	padding: 0 1.5rem 3rem 1.5rem;
}

.main-module .ant-col-19 {
	flex: 0 0 79.1667%;
	max-width: 79.1667%;
}

.main-module .ant-col-offset-1 {
	margin-left: 4.1667%;
}

.main-module .ant-row {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 -1.5rem;
}

.main-module .sci-main {
	width: 100%;
}

/* CMS 容器拆解：让卡片直接成为网格子项 */
.team-grid > [frag],
.paper-grid > [frag],
.team-grid > div[frag="窗口704"] {
	display: contents !important;
}

/* 网格强化 */
.team-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 3rem !important;
	width: 100% !important;
}

.team-card {
	width: 100% !important;
	min-width: 0 !important;
}

.paper-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 2.4rem !important;
	width: 100% !important;
}

/* 头部放大镜：在旧站 head.css 基础上上提 1px */
.head .head-top .search {
	top: 2rem;
}

/* 页脚图标：与旧站实测一致（13rem 等宽、5rem 间距） */
.footer .anticons-list li {
	width: 13rem !important;
	height: 70px;
	margin-right: 5rem !important;
}

.footer .anticons-list li:first-child {
	width: 13rem !important;
}

.footer .anticons-list li:last-child {
	width: 9rem !important;
	margin-right: 0 !important;
}

.footer .anticons-list li img {
	width: 3.6rem;
	height: 3.6rem;
}

.footer .anticons-list li span {
	display: block;
	color: #fff;
	font-size: 1.6rem;
}

/* 页脚分割线：把 0.2px 的亚像素差补回，使线条与旧站落在同一像素 */ 
.footer .link-box .line {
	margin-top: calc(3rem + 0.2px);
}

/* 面包屑：与旧站一致（文字不可见） */
.location-module .info,
.location-module .Column_Position {
	opacity: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

/* 列表左内边距：与旧站一致（40px） */
.main-module .content {
	padding-left: 40px !important;
}

/* 科研动态 / 科研成果 / 学术交流 卡片：只保留标签+时间+标题，不显示简介 */
#pane-news .team-card .team-desc,
#pane-result .team-card .team-desc,
#pane-academic .team-card .team-desc,
#pane-news .team-card .team-desc a,
#pane-result .team-card .team-desc a,
#pane-academic .team-card .team-desc a {
	display: none !important;
}

/* 页脚：内容固定宽度居中（不随窗口拉伸），与页头同一策略 */
.footer {
	padding-left: calc(50% - 71rem) !important;
	padding-right: calc(50% - 71rem) !important;
}

/* 图标行与横线同基准：都占 100%，间距由剩余空间均分 */
.footer .link-box .line { width: 100% !important; }

.footer .link-box .anticons-list {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	justify-content: space-between !important;
	font-size: 0 !important;
}
.footer .link-box .anticons-list li {
	flex: 0 0 auto !important;
	margin-right: 0 !important;
	text-align: center;
}

/* ===== 手机端页脚自适应（<1080 生效，PC 完全不受影响） ===== */
@media (max-width: 1079px) {
	.footer {
		height: auto !important;
		min-height: 0 !important;
		padding: 44px 16px 24px 16px !important;
		background-size: cover !important;
		background-position: center top !important;
		overflow: hidden;
	}

	/* 内容层必须在渐变遮罩之上，否则白字会被盖住 */
	.footer > div[style] {
		position: relative !important;
		z-index: 2 !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		width: auto !important;
		margin: 0 !important;
	}

	.footer .footer-shade {
		z-index: 0 !important;
	}

	.footer .link-box { width: 100% !important; }

	/* 图标网格：每行 4 个、等宽、图标与文字上下居中 */
	.footer .link-box .anticons-list {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: flex-start !important;
		align-items: flex-start !important;
		gap: 0 !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		font-size: 0 !important;
	}

	.footer .link-box .anticons-list li {
		flex: 0 0 25% !important;
		max-width: 25% !important;
		width: 25% !important;
		min-width: 0 !important;
		margin: 0 0 14px 0 !important;
		padding: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: flex-start !important;
		height: auto !important;
		position: static !important;
		text-align: center;
	}

	.footer .link-box .anticons-list li a {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		width: 100% !important;
	}

	.footer .anticons-list img {
		display: block !important;
		width: 24px !important;
		height: 24px !important;
		margin: 0 auto !important;
	}

	.footer .anticons-list li span {
		display: block !important;
		font-size: 11px !important;
		line-height: 15px !important;
		margin: 4px 0 0 0 !important;
		padding: 0 !important;
		height: auto !important;
		white-space: nowrap;
		overflow: visible !important;
	}

	.footer .link-box .line {
		margin: 16px 0 0 0 !important;
		width: 100% !important;
	}

	.footer .footer-logo {
		position: static !important;
		width: 100% !important;
		margin-top: 22px !important;
	}

	.footer .footer-logo .logo {
		position: static !important;
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
	}

	.footer .footer-info {
		position: static !important;
		right: auto !important;
		margin: 16px 0 0 0 !important;
		text-align: center !important;
		font-size: 12px !important;
		line-height: 20px !important;
		white-space: normal !important;
	}

	.footer .footer-logo .weichat {
		position: static !important;
		display: block !important;
		margin: 16px auto 0 auto !important;
		text-align: center;
	}

	.footer-shade { height: 100% !important; }
}

/* ===== 层级修复：党建压在页脚渐变之上、页脚内容压住遮罩（PC/手机通用） ===== */
.footer-module,
.footer-module .party-content,
.footer-module.split-module {
	position: relative !important;
	z-index: 3 !important;
}

/* 页脚内容层：字/图标必须在渐变遮罩之上 */
.footer > div[style],
.footer > .link-box,
.footer > .footer-logo {
	z-index: 2 !important;
}

.footer > .link-box,
.footer > .footer-logo {
	position: relative !important;
}

.footer .footer-shade,
.footer-shade {
	z-index: 0 !important;
}

/* ===== 党建区块高度跟随内容：避免卡片压进页脚 ===== */
.footer-module {
	height: auto !important;
	min-height: 65rem !important;
}

.footer-module .party-content {
	position: relative !important;
}

html.iics-small .footer-module {
	min-height: 0 !important;
	padding-bottom: 24px !important;
}

html.iics-small .footer-module .party-content {
	height: auto !important;
	min-height: 0 !important;
	padding-bottom: 12px !important;
}

/* ===== 手机页脚：遮罩必须以 .footer 为定位参照，且不超出 ===== */
html.iics-small .footer {
	position: relative !important;
}

html.iics-small .footer .footer-shade {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	height: auto !important;
	width: auto !important;
	z-index: 0 !important;
}

html.iics-small .footer > .link-box,
html.iics-small .footer > .footer-logo,
html.iics-small .footer > div[style] {
	position: relative !important;
	z-index: 2 !important;
}

/* ===== 手机页脚：渐变直接画在 .footer 上（不依赖 .footer-shade 位置） ===== */
html.iics-small .footer {
	position: relative !important;
	background-image:
		linear-gradient(115.01deg, rgba(215, 0, 0, 0.59) 0%, rgba(105, 18, 81, 0.79) 39.85%, rgba(105, 18, 81, 0.79) 48.96%, rgba(0, 24, 112, 1) 100%),
		url(../img/footer.png) !important;
	background-size: 100% 100%, cover !important;
	background-position: center center, center top !important;
	background-repeat: no-repeat, no-repeat !important;
}

/* 隐藏独立遮罩，避免它只盖一部分造成深浅分层 */
html.iics-small .footer-shade,
html.iics-small .footer .footer-shade {
	display: none !important;
}

/* ===== 手机页脚：防止右侧被裁切 ===== */
html.iics-small .footer {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow: visible !important;
	padding: 44px 12px 24px 12px !important;
}

html.iics-small .footer > .link-box,
html.iics-small .footer > .footer-logo,
html.iics-small .footer > div[style] {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow: visible !important;
}

html.iics-small .footer .link-box .anticons-list {
	box-sizing: border-box !important;
	max-width: 100% !important;
	overflow: visible !important;
}

html.iics-small .footer .footer-logo .logo {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

html.iics-small .footer .footer-info {
	white-space: normal !important;
	word-break: break-all !important;
	overflow-wrap: anywhere !important;
	text-align: center !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* ===== 桌面端允许横向滚动（窗口不足 1440 时可左右拖动，页面不再显得"偏"） ===== */
@media (min-width: 1080px) {
	html { overflow-x: auto !important; }
	body { overflow-x: visible !important; min-width: 192rem !important; }
	#PC { margin-left: auto !important; margin-right: auto !important; }
}

/* ===== 导航项均匀铺满容器（右端不留空） ===== */
.menu .wp_nav,
.menu ul.wp_nav {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.menu .wp_nav > .nav-item {
	float: none !important;
	display: block !important;
	margin-right: 0 !important;
	flex: 0 0 auto !important;
	text-align: center !important;
}

.menu .wp_nav > .nav-item > a {
	display: inline-block !important;
	white-space: nowrap;
}

/* 下拉子菜单保持原来的竖排、左对齐，不受影响 */
.menu .wp_nav .sub-nav {
	display: block !important;
	width: auto !important;
	min-width: 100%;
}

.menu .wp_nav .sub-nav .nav-item {
	display: block !important;
	margin-right: 0 !important;
	width: 100% !important;
}

.menu .wp_nav .sub-nav .nav-item > a {
	display: block !important;
	text-align: left !important;
}
