﻿/* eyoucms.com 易优CMS -- 好用,免费,安全 */

/* ===== 深色主题覆盖 ===== */
body {
	background: #0a0a0a;
	color: #bbb;
}
a {
	color: #ccc;
}
a:hover {
	color: #fff;
}

/* ===== Header 深色适配 ===== */
.header-new {
	background: #111;
	border-bottom: 1px solid #222;
}
.header-top {
	background: #111;
	border-bottom: 1px solid #222;
}
.header-top .logo-text h1 a {
	color: #c00;
}
.header-top .logo-text p {
	color: #888;
}
.header-search-form .search-input {
	background: #1a1a1a;
	border-color: #333;
	color: #ccc;
}
.header-search-form .search-btn {
	background: #c00;
	border-color: #c00;
	color: #fff;
}
.header-search-form .search-btn:hover {
	background: #a00;
	border-color: #a00;
}
.header-nav {
	background: #151515;
	border-bottom: 2px solid #c00;
}
.main-nav li a {
	color: #bbb;
}
.main-nav li.active a,
.main-nav li a:hover {
	color: #fff;
}

/* ===== Footer 深色适配 ===== */
.footer-new {
	background: #111;
	border-top: 1px solid #222;
	color: #888;
}
.footer-new .footer-top h4 {
	color: #c00;
}
.footer-new .footer-links a {
	color: #888;
}
.footer-new .footer-links a:hover {
	color: #fff;
}
.footer-new .footer-bottom {
	color: #666;
}

/* ===== 幻灯片区域 ===== */
.slider-section {
	background: #111;
	border: 1px solid #222;
	overflow: hidden;
	margin-bottom: 20px;
	position: relative;
}
.Slide {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 340px;
}
.slide-cont {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 340px;
}
.slide-item {
	position: absolute;
	left: -665px;
	width: 100%;
	height: 100%;
}
.slide-item a {
	display: block;
	width: 100%;
	height: 100%;
}
.slide-item img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.slide-item:hover img {
	transform: scale(1.03);
}
.slide-txt {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 56px;
}
.slide-txt .txt_bg {
	width: 100%;
	height: 56px;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.slide-txt a {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	overflow: hidden;
	width: 100%;
	height: 56px;
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	line-height: 56px;
	text-indent: 3%;
	padding-right: 120px;
	box-sizing: border-box;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.slide-nav {
	position: absolute;
	right: 20px;
	bottom: 22px;
	z-index: 2;
	display: inline-block;
	overflow: hidden;
	width: auto;
	height: 11px;
}
.slide-nav a {
	float: left;
	display: block;
	overflow: hidden;
	margin-left: 6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
	text-indent: -99em;
	cursor: pointer;
	transition: all .4s ease;
}
.slide-nav .nownav {
	width: 24px;
	background: #c00;
	border-radius: 5px;
}
#prev, #next {
	position: absolute;
	top: 50%;
	margin-top: -32px;
	display: none;
	width: 44px;
	height: 64px;
	background: rgba(0, 0, 0, 0.3);
	text-align: center;
	line-height: 64px;
	transition: all 0.3s ease;
}
#prev {
	left: 0
}
#next {
	right: 0
}
#prev i, #next i {
	font-size: 40px;
	line-height: 64px;
	color: rgba(255,255,255,0.8);
}
#prev:hover, #next:hover {
	background: rgba(192, 0, 0, 0.7);
}
#prev:hover i, #next:hover i {
	color: #fff
}

/* ===== 三栏网格 ===== */
.content-grid {
	overflow: hidden;
	margin: 0 -10px;
}

/* ===== 新闻区块 / 侧边栏共用卡片 ===== */
.news-section,
.sidebar-box {
	float: left;
	width: calc(33.333% - 20px);
	margin: 0 10px 20px;
	background: #111;
	border: 1px solid #222;
	padding: 16px;
	box-sizing: border-box;
	transition: border-color 0.3s ease;
}
.news-section:hover,
.sidebar-box:hover {
	border-color: #333;
}

/* ===== 区块标题 ===== */
.section-header,
.sidebar-box > h3 {
	position: relative;
	overflow: hidden;
	border-bottom: 2px solid #c00;
	padding-bottom: 8px;
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 700;
	color: #c00;
	line-height: 24px;
}
.section-header h3 {
	float: left;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}
.section-header h3 a {
	color: #c00;
	transition: color 0.2s;
}
.section-header .more {
	float: right;
	color: #888;
	font-size: 12px;
	line-height: 24px;
	transition: color 0.2s;
}
.section-header .more:hover {
	color: #fff;
}
.sidebar-box > h3 i {
	margin-right: 6px;
	font-size: 15px;
}

/* ===== 顶部新闻（左图右文） ===== */
.top-news {
	overflow: hidden;
	padding-bottom: 10px;
	margin-bottom: 8px;
	border-bottom: 1px solid #222;
}
.top-thumb {
	float: left;
	width: 46%;
	height: 90px;
	overflow: hidden;
	background: #1a1a1a;
}
.top-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.top-thumb:hover img {
	transform: scale(1.05);
}
.top-info {
	overflow: hidden;
	padding-left: 12px;
}
.top-info h4 {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 6px;
	font-weight: 600;
}
.top-info h4 a {
	color: #ddd;
	transition: color 0.2s;
}
.top-info h4 a:hover {
	color: #c00;
}
.top-info .summary {
	font-size: 12px;
	color: #888;
	line-height: 18px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===== 新闻列表 ===== */
.news-list {
	overflow: hidden;
}
.news-list li {
	overflow: hidden;
	padding: 6px 0;
	border-bottom: 1px dotted #222;
	line-height: 18px;
	position: relative;
	padding-left: 12px;
}
.news-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 13px;
	width: 3px;
	height: 3px;
	background: #c00;
	border-radius: 50%;
}
.news-list li:last-child {
	border-bottom: none;
}
.news-list li a {
	float: left;
	color: #aaa;
	font-size: 13px;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color 0.2s;
}
.news-list li a:hover {
	color: #fff;
}

/* ===== 热点排行 ===== */
.hot-rank ul {
	overflow: hidden;
}
.hot-rank li {
	overflow: hidden;
	padding: 7px 0;
	line-height: 20px;
	border-bottom: 1px solid #1a1a1a;
}
.hot-rank li:last-child {
	border-bottom: none;
}
.hot-rank li em {
	float: left;
	width: 20px;
	height: 20px;
	background: #222;
	color: #888;
	font-size: 11px;
	text-align: center;
	line-height: 20px;
	border-radius: 2px;
	margin-right: 8px;
	font-weight: 600;
	font-style: normal;
}
.hot-rank li.rank-1 em {
	background: #c00;
	color: #fff;
}
.hot-rank li.rank-2 em {
	background: #a33;
	color: #fff;
}
.hot-rank li.rank-3 em {
	background: #855;
	color: #fff;
}
.hot-rank li a {
	float: left;
	width: calc(100% - 28px);
	color: #aaa;
	font-size: 13px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color 0.2s;
}
.hot-rank li a:hover {
	color: #fff;
}

/* ===== 最新资讯 ===== */
.latest-news ul {
	overflow: hidden;
}
.latest-news li {
	overflow: hidden;
	padding: 6px 0;
	line-height: 20px;
	border-bottom: 1px solid #1a1a1a;
	position: relative;
	padding-left: 12px;
}
.latest-news li:last-child {
	border-bottom: none;
}
.latest-news li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 13px;
	width: 3px;
	height: 3px;
	background: #c00;
	border-radius: 50%;
}
.latest-news li a {
	float: left;
	width: 72%;
	color: #aaa;
	font-size: 13px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color 0.2s;
}
.latest-news li a:hover {
	color: #fff;
}
.latest-news li span {
	float: right;
	color: #666;
	font-size: 12px;
}

/* ===== 分类导航 ===== */
.cat-nav .cat-grid {
	overflow: hidden;
	margin: -4px;
}
.cat-nav .cat-grid a {
	float: left;
	width: calc(50% - 8px);
	margin: 4px;
	background: #1a1a1a;
	color: #999;
	font-size: 13px;
	text-align: center;
	padding: 8px 0;
	border-radius: 2px;
	transition: all 0.25s ease;
}
.cat-nav .cat-grid a:hover {
	background: #c00;
	color: #fff;
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
	.news-section,
	.sidebar-box {
		width: calc(50% - 20px);
	}
	.Slide,
	.slide-cont,
	.slide-item img {
		height: 260px;
	}
	#prev, #next {
		margin-top: -26px;
		height: 52px;
		width: 38px;
		line-height: 52px;
	}
	#prev i, #next i {
		font-size: 30px;
		line-height: 52px;
	}
	.top-thumb {
		height: 80px;
	}
}
@media (max-width: 660px) {
	.news-section,
	.sidebar-box {
		width: calc(100% - 20px);
	}
	.Slide,
	.slide-cont,
	.slide-item img {
		height: 180px;
	}
	.slide-txt {
		height: 44px;
	}
	.slide-txt .txt_bg {
		height: 44px;
	}
	.slide-txt a {
		font-size: 14px;
		height: 44px;
		line-height: 44px;
		padding-right: 100px;
	}
	#prev, #next {
		margin-top: -20px;
		height: 40px;
		width: 32px;
		line-height: 40px;
	}
	#prev i, #next i {
		font-size: 24px;
		line-height: 40px;
	}
	.top-thumb {
		width: 40%;
		height: 75px;
	}
}
