/* ============ 列表页专属样式 ============ */

/* banner：单张静态图 */
.list_banner {
	width: 100%;
	overflow: hidden;
}
.list_banner img {
	width: 100%;
	display: block;
	aspect-ratio: 2560 / 1040;
	object-fit: cover;
}

/* 面包屑 */
.breadcrumb {
	width: 100%;
	box-shadow: 0 8px 25px 0 rgba(0, 0, 0, .13);
	position: relative;
}
.breadcrumb_inner {
	width: 14rem;
	margin: 0 auto;
	text-align: left;
	font-size: .16rem;
	color: #888;
	padding: .25rem 0;
	display: flex;
	align-items: center;
	line-height: 1;
}
.breadcrumb .home_icon {
	display: inline-block;
	width: .2rem;
	height: .2rem;
	background: center center no-repeat url(../img/list_position_icon.png);
	background-size: contain;
	vertical-align: middle;
	margin-right: .08rem;
}
.breadcrumb .label {
	color: #999;
}
.breadcrumb a {
	color: #666;
	margin: 0 .05rem;
}
.breadcrumb a:hover {
	color: #00489a;
}
.breadcrumb .sep {
	color: #ccc;
	margin: 0 .05rem;
}
.breadcrumb .cur {
	color: #333;
	margin-left: .05rem;
}

/* 主体容器 */
.list_main {
	background: #fff;
	padding: .5rem 0 .8rem 0;
}
.list_container {
	width: 14rem;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

/* 左侧栏 */
.side_bar {
	width: 2.8rem;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.side_bar .side_title {
	background: #00489a;
	color: #fff;
	font-size: .24rem;
	font-weight: bold;
	text-align: center;
	padding: .35rem 0;
}
.side_bar .side_menu {
	background: #f5f7fa;
}
.side_bar .side_menu li {
	padding: .28rem 0;
	text-align: center;
	font-size: .18rem;
	color: #555;
	border-left: 3px solid transparent;
	cursor: pointer;
}
.side_bar .side_menu li.on {
	background: #fff;
	border-left-color: #edbb3b;
	color: #00489a;
	font-weight: bold;
}
.side_bar .side_menu li a {
	color: inherit;
	display: block;
}
.side_bar .side_menu li:hover {
	background: #fff;
	border-left-color: #edbb3b;
	color: #00489a;
}

/* 右侧新闻列表 */
.list_content {
	flex: 1;
	margin-left: .5rem;
	display: flex;
	flex-direction: column;
	gap: .2rem;
}
.news_card {
	background: #fff;
	border: 1px solid #ececec;
	padding: .22rem .25rem;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
	transition: box-shadow .2s ease;
	cursor: pointer;
	width: auto;
	flex: 1;
}
.news_card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
	background-color: #f5f6f8;
}
.news_card .news_text {
	flex: 1;
	padding-right: .25rem;
	display: flex;
	flex-direction: column;
}
.news_card .news_text h3 {
	font-size: .2rem;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: .1rem;
}
.news_card .news_text h3 a {
	color: #112d71;
}
.news_card .news_text h3 a:hover {
	color: #00489a;
}
.news_card .news_text p {
	font-size: .15rem;
	color: #777;
	line-height: 1.7;
	margin-bottom: .12rem;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.news_card .news_text .date {
	font-size: .15rem;
	color: #ceab59;
	margin-top: auto;
}
.news_card .news_pic {
	width: 2.4rem;
	flex-shrink: 0;
	overflow: hidden;
}
.news_card .news_pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}
.news_card .news_pic:hover img {
	transform: scale(1.05);
}

/* 分页 */
.columnpager {
	margin-top: .6rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
.columnpager ul {
	display: flex;
	align-items: center;
	gap: .08rem;
}
.columnpager ul li {
	list-style: none;
}
.columnpager ul li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: .42rem;
	height: .42rem;
	padding: 0 .12rem;
	border: 1px solid #ddd;
	color: #666;
	font-size: .16rem;
	box-sizing: border-box;
}
.columnpager ul li a:hover {
	border-color: #00489a;
	color: #00489a;
}
.columnpager ul li.row a {
	background: #00489a;
	border-color: #00489a;
	color: #fff;
}

/* ============ 移动端适配 ============ */
@media screen and (max-width: 999px) {
	.breadcrumb_inner {
		width: auto;
		font-size: 13px;
		padding: 10px 2%;
		text-align: left;
		line-height: 1;
		display: flex;
		align-items: center;
	}
	.breadcrumb_inner .home_icon {
		width: .4rem;
		height: .4rem;
		margin-right: .05rem;
	}
	.list_main {
		padding: 15px 0;
	}
	.list_container {
		width: 100%;
		flex-direction: column;
		padding: 0 2%;
		box-sizing: border-box;
	}
	.side_bar {
		display: none;
	}
	.list_content {
		margin-left: 0;
	}
	.news_card {
		padding: 12px;
	}
	.news_card .news_text h3 {
		font-size: 16px;
	}
	.news_card .news_text p {
		font-size: 14px;
		-webkit-line-clamp: 2;
	}
	.news_card .news_text .date {
		font-size: 13px;
	}
	.news_card .news_pic {
		width: 110px;
	}
	.columnpager ul li a {
		min-width: 32px;
		height: 32px;
		font-size: 14px;
	}
}

/* ============ 纯文字列表（无图） ============ */
.text_list {
	gap: 0;
}
.text_list .text_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .22rem 0;
	border-bottom: 1px solid #ececec;
}
.text_list .text_row .t {
	flex: 1;
	color: #666;
	font-size: .18rem;
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right: .3rem;
}
.text_list .text_row.on .t {
	color: #112d71;
	font-weight: bold;
}
.text_list .text_row .t:hover {
	color: #00489a;
}
.text_list .text_row .d {
	flex-shrink: 0;
	color: #999;
	font-size: .16rem;
}

@media screen and (max-width: 999px) {
	.text_list .text_row {
		padding: 10px 0;
		flex-direction: column;
		align-items: stretch;
	}
	.text_list .text_row .t {
		font-size: 15px;
		white-space: normal;
		word-break: break-all;
		padding-right: 0;
		min-width: 0;
		line-height: 1.5;
	}
	.text_list .text_row .d {
		font-size: 13px;
		text-align: right;
		margin-top: .06rem;
	}
}

/* ============ 详情页 ============ */
.detail_content {
	display: block;
}
.detail_content .detail_title {
	font-size: .28rem;
	font-weight: bold;
	color: #00489a;
	text-align: center;
	line-height: 1.3;
	margin: .2rem 0 .3rem 0;
}
.detail_content .detail_meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .15rem 0;
	border-bottom: 1px solid #ececec;
	font-size: .15rem;
	color: #999;
}
.detail_content .detail_meta .source {
	color: #999;
}
.detail_content .article_box {
	padding: .3rem 0;
	font-size: .16rem;
	color: #555;
	line-height: 2;
}
.detail_content .article_box p {
	margin: 0 0 .2rem 0;
	text-align: justify;
}
.detail_content .article_box p strong {
	color: #333;
	font-weight: bold;
}

@media screen and (max-width: 999px) {
	.detail_content .detail_title {
		font-size: 20px;
	}
	.detail_content .detail_meta {
		font-size: 12px;
	}
	.detail_content .article_box {
		font-size: 14px;
		line-height: 1.9;
	}
}
