﻿:root {
 --primary-color: #2c3e50;
 --secondary-color: #3498db;
 --accent-color: #1abc9c;
 --light-color: #ecf0f1;
 --dark-color: #34495e;
 --text-color: #333;
 --text-light: #7f8c8d;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
body {
	background-color: #f5f7fa;
	color: var(--text-color);
	line-height: 1.6;
}
a {
	text-decoration: none;
	color: var(--secondary-color);
	transition: all 0.3s ease;
}
a:hover {
	color: var(--accent-color);
}
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}
/* 头部样式 */
        header {
	background-color: var(--primary-color);
	color: white;
	padding: 15px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.logo {
	display: flex;
	align-items: center;
}
.logo h1 {
	font-size: 24px;
	margin-left: 10px;
	font-weight: 600;
}
.logo-icon {
	font-size: 28px;
	color: var(--accent-color);
}
.contact-info {
	display: flex;
	align-items: center;
}
.phone {
	font-size: 18px;
	font-weight: bold;
	margin-right: 20px;
}
nav {
	background-color: var(--dark-color);
	margin-top: 15px;
}
.nav-menu {
	display: flex;
	list-style: none;
}
.nav-menu li {
	position: relative;
}
.nav-menu a {
	display: block;
	padding: 15px 20px;
	color: white;
	font-weight: 500;
}
.nav-menu a:hover {
	background-color: rgba(255, 255, 255, 0.1);
}
.nav-menu .active a {
	background-color: var(--accent-color);
}
/* 主要内容区域 */
        .main-content {
	padding: 30px 0;
	min-height: 500px;
}
/* 面包屑导航 */
        .breadcrumb {
	margin-bottom: 20px;
	font-size: 14px;
	color: var(--text-light);
}
.breadcrumb a {
	color: var(--secondary-color);
}
.breadcrumb a:hover {
	color: var(--accent-color);
}
/* 页面标题 */
        .page-title {
	font-size: 32px;
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--secondary-color);
	color: var(--primary-color);
}
/* 两列布局 */
        .two-column {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
}
/* 侧边栏 */
        .sidebar {
	background: white;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.sidebar-title {
	font-size: 18px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--light-color);
	color: var(--primary-color);
}
.sidebar-list {
	list-style: none;
}
.sidebar-list li {
	padding: 10px 0;
	border-bottom: 1px dashed var(--light-color);
}
.sidebar-list li:last-child {
	border-bottom: none;
}
/* 内容页样式 */
        .article-content {
	background: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.article-header {
	margin-bottom: 25px;
}
.article-title {
	font-size: 28px;
	margin-bottom: 15px;
	color: var(--primary-color);
	line-height: 1.3;
}
.article-meta {
	font-size: 14px;
	color: var(--text-light);
	margin-bottom: 15px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.article-meta span {
	display: inline-flex;
	align-items: center;
}
.article-meta .category {
	background: var(--secondary-color);
	color: white;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 12px;
}
.article-body {
	line-height: 1.8;
}
.article-body h2 {
	font-size: 22px;
	margin: 30px 0 15px;
	color: var(--dark-color);
	padding-bottom: 8px;
	border-bottom: 1px solid var(--light-color);
}
.article-body h3 {
	font-size: 18px;
	margin: 25px 0 12px;
	color: var(--dark-color);
}
.article-body p {
	margin-bottom: 15px;
}
.article-body ul, .article-body ol {
	margin-bottom: 15px;
	padding-left: 20px;
}
.article-body li {
	margin-bottom: 8px;
}
.article-body blockquote {
	border-left: 4px solid var(--secondary-color);
	padding: 15px 20px;
	margin: 20px 0;
	background: var(--light-color);
	border-radius: 0 8px 8px 0;
	font-style: italic;
}
.article-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.article-body th, .article-body td {
	padding: 12px 15px;
	border: 1px solid var(--light-color);
	text-align: left;
}
.article-body th {
	background-color: var(--light-color);
	font-weight: 600;
}
 .article-body tr:nth-child(even) {
 background-color: rgba(236, 240, 241, 0.5);
}
.case-image-large {
	width: 100%;
	height: 300px;
	background-color: var(--light-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 20px 0;
	border-radius: 8px;
	color: var(--text-light);
	overflow: hidden;
}
.case-image-large img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.case-info-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.case-info-table th, .case-info-table td {
	padding: 12px 15px;
	border: 1px solid var(--light-color);
	text-align: left;
}
.case-info-table th {
	background-color: var(--light-color);
	font-weight: 600;
	width: 30%;
}
.article-footer {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--light-color);
}
.article-tags {
	margin-bottom: 20px;
}
.tag {
	display: inline-block;
	background: var(--light-color);
	color: var(--text-color);
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 5px;
	margin-bottom: 5px;
}
.article-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}
.prev-article, .next-article {
	display: inline-block;
	padding: 10px 15px;
	background: var(--light-color);
	border-radius: 4px;
	transition: all 0.3s ease;
}
.prev-article:hover, .next-article:hover {
	background: var(--secondary-color);
	color: white;
}
/* 页脚样式 */
        footer {
	background-color: var(--primary-color);
	color: white;
	padding: 40px 0 20px;
}
.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}
.footer-section h3 {
	font-size: 18px;
	margin-bottom: 20px;
	color: var(--accent-color);
}
.footer-section p {
	margin-bottom: 10px;
	font-size: 14px;
}
.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}
        
        /* 响应式设计 */
        @media (max-width: 992px) {
 .two-column {
 grid-template-columns: 1fr;
}
 .header-top {
 flex-direction: column;
 align-items: flex-start;
}
 .contact-info {
 margin-top: 15px;
}
}
 @media (max-width: 768px) {
 .nav-menu {
 flex-direction: column;
}
 .article-content {
 padding: 20px;
}
 .page-title {
 font-size: 26px;
}
 .article-title {
 font-size: 24px;
}
 .article-navigation {
 flex-direction: column;
 gap: 10px;
}
 .prev-article, .next-article {
 text-align: center;
}
}
/* 特殊效果 */
        .tech-badge {
	display: inline-block;
	background: var(--secondary-color);
	color: white;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 5px;
	margin-bottom: 5px;
}
.read-more {
	display: inline-block;
	background: var(--secondary-color);
	color: white;
	padding: 8px 15px;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.3s ease;
}
.read-more:hover {
	background: var(--accent-color);
	color: white;
}
/* 代码块样式 */
        .code-block {
	background: #2d2d2d;
	color: #f8f8f2;
	padding: 15px;
	border-radius: 5px;
	margin: 15px 0;
	overflow-x: auto;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	line-height: 1.5;
}
.search{float:left;margin-left:40px;margin-top:8px}
.search .text{width:120px;height:40px;font-size:16px;border:none;text-indent:35px;color:#000;font-family:"Microsoft Yahei","冬青黑体简体中文 w3";outline:0;border-radius:5;transition:all .6s;background:url(../images/search.png) no-repeat 10px 13px;background-size:18px auto;border-radius:5px}
.search .text:focus{width:153px;color:#000;background:#fff url(../images/search.png) no-repeat 10px 13px;background-size:18px auto}