/* =====================================================
   体验优化样式
   新闻列表 / 新闻详情 / 全站间距与移动端适配
   ===================================================== */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ---------------- 新闻列表 ---------------- */
.newslist {
	max-width: 880px;
}

.newslist li {
	margin-bottom: 45px;
	padding-bottom: 45px;
	border-bottom: 1px solid #eee;
}

.newslist li:last-child {
	border-bottom: none;
}

.newslist .img {
	width: 220px;
	background: #f7f7f7;
}

.newslist .img img {
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.newslist .txt {
	float: none;
	width: auto;
	margin: 0 0 0 255px;
	text-align: left;
}

.newslist li.noimg .txt {
	margin-left: 0;
}

.newslist .txt h2 {
	font-size: 20px;
	line-height: 1.5;
	text-align: left;
	transition: color .3s;
}

.newslist li:hover .txt h2 {
	color: #000;
}

.newslist .txt .date {
	display: block;
	float: none;
	font-size: 14px;
	font-weight: normal;
	color: #999;
	margin-top: 8px;
}

.newslist .txt p {
	margin-top: 14px;
	text-indent: 0;
	font-size: 15px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------------- 新闻详情 ---------------- */
.newsdetail {
	max-width: 100%;
	margin-bottom: 90px;
}

.newsdetail .head {
	line-height: 1.5;
}

.newsdetail .date {
	text-align: center;
	font-size: 14px;
	font-weight: normal;
	color: #999;
	margin-top: 16px;
}

.newsdetail .body {
	margin-top: 40px;
	font-size: 16px;
	line-height: 1.9;
	color: #555;
}

.newsdetail .body p {
	margin: 1em 0;
}

.newsdetail .body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 28px auto;
	cursor: zoom-in;
}

.newsdetail .body video {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 28px auto;
}

/* 正文内视频:点击弹出播放 */
.gxw-video-wrap {
	position: relative;
	max-width: 720px;
	margin: 28px auto;
	background: #000;
	cursor: pointer;
}

.gxw-video-wrap video {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	pointer-events: none;
}

.gxw-video-wrap .gxw-video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55) url(../images/fy43.png) no-repeat center;
	background-size: 26px 26px;
	transition: transform .3s, background-color .3s;
}

.gxw-video-wrap:hover .gxw-video-play {
	transform: scale(1.12);
	background-color: rgba(0, 0, 0, .75);
}

.gxw-video-wrap.portrait {
	max-width: 420px;
}

/* 视频弹层自适应 */
.gxw-video-layer .layui-layer-content {
	height: 100% !important;
}

/* ---------------- Lightbox(fancybox) ---------------- */
.fancybox-container {
	z-index: 999999;
}

html.fancybox-enabled .header,
html.gxw-fb-open .header {
	z-index: 0 !important;
}

.fancybox-bg {
	background: rgba(15, 15, 15, .92);
}

/* ---------------- 分页 ---------------- */
ul.pagination {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* ---------------- 页脚 ---------------- */
.footer {
	border-top: 1px solid #eee;
	padding-top: 24px;
	margin-top: 40px;
}

/* ---------------- 移动端适配 ---------------- */
@media screen and (max-width: 1220px) {
	.newslist .txt {
		margin-left: 245px;
	}
}

@media screen and (max-width: 1000px) {
	.newslist {
		padding-top: 10px;
	}

	.newslist li {
		margin-bottom: 26px;
		padding-bottom: 26px;
	}

	.newslist li a {
		align-items: flex-start;
	}

	.newslist .img {
		width: 38%;
		flex-shrink: 0;
		margin-top: 0;
	}

	.newslist .img img {
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.newslist .txt {
		flex: 1;
		width: auto;
		margin: 0 0 0 12px;
	}

	.newslist .txt h2 {
		font-size: 16px;
		line-height: 1.5;
	}

	.newslist .txt .date {
		font-size: 12px;
		margin-top: 6px;
	}

	.newslist .txt p {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 13px;
		text-indent: 0;
		line-height: 1.6;
		margin-top: 8px;
	}

	.newsdetail {
		margin-bottom: 40px;
	}

	.newsdetail .body {
		margin-top: 25px;
		font-size: 15px;
		line-height: 1.8;
	}

	.newsdetail .body img,
	.newsdetail .body video,
	.gxw-video-wrap {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.footer {
		text-align: center;
	}

	.footer .left,
	.footer .right {
		float: none;
		line-height: 1.8;
	}

	.footer .left a {
		margin-left: 10px;
	}

	.gxw-video-layer {
		width: 92vw !important;
		left: 4vw !important;
		margin-left: 0 !important;
		height: 60vh !important;
		top: 18vh !important;
	}

	.gxw-video-layer video {
		height: 100% !important;
	}

	.gxw-video-wrap.portrait {
		max-width: 70vw;
	}
}
