@charset "utf-8";
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Microsoft YaHei', sans-serif;
}
:root {
 --primary: #c90;       /* 金色主色调 */
 --secondary: #a00;     /* 红色辅助色 */
 --dark: #333;          /* 深色文字 */
 --light: #666;         /* 浅色文字 */
 --gray: #f5f5f5;       /* 浅灰背景 */
 --border: #e0e0e0;     /* 边框色 */
 --white: #ffffff;      /* 白色背景 */
 --shadow: rgba(0, 0, 0, 0.08); /* 阴影色 */
}
body {
	background: var(--white); /* 白色背景 */
	color: var(--dark);       /* 深色文字 */
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
	line-height: 1.6;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
a {
	text-decoration: none;
	color:#000000;
}
ul, li {
	list-style-type: none;
}
/* 头部样式 */
        header {
	background: var(--white);
	border-bottom: 2px solid var(--primary);
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px var(--shadow);
}
.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo {
	display: flex;
	align-items: center;
}
.logo h1 {
	font-size: 28px;
	color: var(--primary);
	text-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
	letter-spacing: 2px;
}
.logo span {
	color: var(--secondary);
}
nav ul {
	display: flex;
	list-style: none;
}
nav li {
	margin-left: 20px;
}
nav a {
	color: var(--dark);
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 15px;
	border-radius: 5px;
	transition: all 0.3s;
}
nav a:hover, nav a.active {
	background: var(--primary);
	color: var(--white);
}
/* 主内容区 */
.page.active {
	display: block;
}
 @keyframes fadeIn {
 from {
opacity: 0;
transform: translateY(20px);
}
to {
	opacity: 1;
	transform: translateY(0);
}
}
/* 首页样式 */
.hero {
	background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
	background-image: url('/template/pc/skin/images/banner.jpg');
	background-size: cover;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 40px;
	text-align: center;
	margin-bottom: 30px;
	box-shadow: 0 5px 15px var(--shadow);
}
.hero h2 {
	font-size: 36px;
	color: #ffffff;
	margin-bottom: 20px;
}
.hero p {
	font-size: 18px;
	margin: 0 auto 25px;
	color: #ffffff;
}
.btn {
	display: inline-block;
	background: var(--primary);
	color: var(--white);
	padding: 12px 30px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	font-size: 18px;
	transition: all 0.3s;
	border: none;
	cursor: pointer;
}
.btn:hover {
	background: #e6b800;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}
.section-title {
	font-size: 28px;
	color: var(--primary);
	margin: 40px 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary);
	position: relative;
}
 .section-title::after {
 content: "";
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 100px;
 height: 2px;
 background: var(--secondary);
}
/* 资讯版块样式 - 保持两排并排展示 */
        .news-section {
	margin-bottom: 50px;
}
.news-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr); /* 每行5篇，两排共10篇 */
	gap: 15px;
}
.news-item {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 15px;
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 2px 8px var(--shadow);
}
.news-item:hover {
	border-color: var(--primary);
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
}
.news-header {
	margin-bottom: 10px;
}
.news-title {
	font-size: 16px;
	color: var(--dark);
	margin-bottom: 8px;
	transition: color 0.3s;
	line-height: 1.4;
	height: 44px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.news-item:hover .news-title {
	color: var(--primary);
}
.news-meta {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: var(--light);
	margin-bottom: 10px;
	flex-wrap: wrap;
	gap: 8px;
}
.news-time {
	display: flex;
	align-items: center;
	margin-right: 0;
}
.news-time i {
	margin-right: 3px;
	color: var(--primary);
	font-size: 11px;
}
.news-category {
	background: rgba(201, 153, 0, 0.1);
	color: var(--primary);
	padding: 1px 6px;
	border-radius: 3px;
	font-size: 11px;
}
.news-desc {
	font-size: 13px;
	line-height: 1.5;
	color: var(--light);
	flex-grow: 1;
	height: 60px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
/* 列表页样式 */
.list-page {
	display: flex;
	gap: 30px;
}
.m-page {
	clear:both;
	font-size:15px;
	height:37px;
	line-height:37px;
	margin:25px 10px 10px 10px;
	list-style: none;
}
.m-page li {
	float:left;
}
.m-page a, .m-page span {
	padding: 8px 15px;
	font-size: 15px;
	color: #333;
	border: 1px solid #eee;
	border-radius: 3px;
	background-color: #eee;
	margin: 0 5px;
}
.m-page span.thisclass, .x-page span.thisclass, .page strong {
	padding: 8px 15px;
	font-size: 15px;
	color: #333;
	border: 1px solid #eee;
	border-radius: 3px;
	background-color: #eee;
	margin: 0 5px;
}
.m-page a:hover {
	background: #04ce9b;
	border: 1px solid #04ce9b;
	color: #fff
}
.m-page b {
	padding: 8px 15px;
	font-size: 15px;
	color: #333;
	border: 1px solid #04ce9b;
	border-radius: 3px;
	background: #04ce9b;
	color:#fff;
	margin: 0 5px;
}
.m-page a b {
	padding: 6px 15px;
	font-size: 15px;
	color: #333;
	border: 1px solid #eee;
	border-radius: 3px;
	background-color: #eee;
	margin: 0 5px;
}
.m-page a:hover b {
	background-color: #04ce9b;
	color: #fff;
	border: 1px solid #04ce9b;
}
.list-main {
	flex: 3;
}
.list-sidebar {
	flex: 1;
}
.article-list {
	background: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px var(--shadow);
}
.article-item {
	padding: 20px;
	border-bottom: 1px solid var(--border);
	transition: all 0.3s;
}
.article-item:hover {
	background: rgba(201, 153, 0, 0.05);
}
.article-item:last-child {
	border-bottom: none;
}
.article-title {
	font-size: 20px;
	color: var(--dark);
	margin-bottom: 10px;
	transition: color 0.3s;
}
.article-item:hover .article-title {
	color: var(--primary);
}
.article-meta {
	display: flex;
	align-items: center;
	font-size: 13px;
	color: var(--light);
	margin-bottom: 10px;
	flex-wrap: wrap;
	gap: 15px;
}
.article-category {
	background: rgba(170, 0, 0, 0.1);
	color: var(--secondary);
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
}
.article-desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--light);
}
.sidebar-widget {
	background: var(--white);
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
	box-shadow: 0 2px 8px var(--shadow);
}
.widget-title {
	font-size: 20px;
	color: var(--primary);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}
.hot-article {
	padding: 12px 0;
	border-bottom: 1px dashed var(--border);
}
.hot-article:last-child {
	border-bottom: none;
}
.hot-article-title {
	font-size: 15px;
	color: var(--dark);
	margin-bottom: 5px;
	transition: color 0.3s;
	line-height: 1.4;
}
.hot-article:hover .hot-article-title {
	color: var(--primary);
}
.hot-article-meta {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: var(--light);
}
.hot-article-time {
	display: flex;
	align-items: center;
	margin-right: 10px;
}
.hot-article-time i {
	margin-right: 3px;
	color: var(--primary);
}
/* 攻略详情页样式 - 左右分栏 */
        .guide-detail {
	display: flex;
	gap: 30px;
}
.guide-main {
	flex: 3;
	background: var(--white);
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 8px var(--shadow);
}
.guide-sidebar {
	flex: 1;
}
.guide-title {
	font-size: 32px;
	color: var(--dark);
	margin-bottom: 20px;
	line-height: 1.4;
}
.guide-meta {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: var(--light);
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
}
.guide-content {
	line-height: 1.8;
	color: var(--dark);
}
.guide-content h3 {
	font-size: 24px;
	color: var(--primary);
	margin: 30px 0 15px;
}
.guide-content h4 {
	font-size: 20px;
	color: var(--dark);
	margin: 25px 0 10px;
}
.guide-content p {
	margin-bottom: 15px;
}
.guide-content ul, .guide-content ol {
	margin: 15px 0 15px 30px;
}
.guide-content li {
	margin-bottom: 8px;
}
/* 页脚样式 */
        footer {
	background: var(--white);
	border-top: 1px solid var(--border);
	padding: 30px 0;
	margin-top: 50px;
	box-shadow: 0 -2px 10px var(--shadow);
}

        
        /* 响应式设计 - 保持首页两排布局的核心特性 */
        @media (max-width: 1200px) {
 .news-grid {
 grid-template-columns: repeat(4, 1fr); /* 中等屏幕每行4篇 */
}
}
 @media (max-width: 992px) {
 .news-grid {
 grid-template-columns: repeat(3, 1fr); /* 小屏幕每行3篇 */
}
 .list-page, .guide-detail {
 flex-direction: column;
}
 nav ul {
 flex-wrap: wrap;
 justify-content: center;
}
 nav li {
 margin: 5px 10px;
}
}
 @media (max-width: 768px) {
 .hero {
 padding: 30px 20px;
}
 .hero h2 {
 font-size: 28px;
}
 .hero p {
 font-size: 16px;
}
 .section-title {
 font-size: 24px;
}
 .news-grid {
 grid-template-columns: repeat(2, 1fr); /* 超小屏幕每行2篇 */
}
 .news-title {
 font-size: 15px;
 height: 40px;
}
 .news-desc {
 font-size: 12px;
 height: 54px;
}
 .guide-title {
 font-size: 28px;
}
}
 @media (max-width: 576px) {
 .news-grid {
 grid-template-columns: 1fr; /* 最小屏幕单列显示 */
}
 .logo h1 {
 font-size: 22px;
}
 nav a {
 font-size: 14px;
 padding: 6px 10px;
}
 .guide-main {
 padding: 20px;
}
}