:root {
	--primary-color: #3498db;
	--secondary-color: #2980b9;
	--accent-color: #e74c3c;
	--light-color: #f8f9fa;
	--dark-color: #343a40;
	--text-color: #333;
	--text-light: #6c757d;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--text-color);
	background-color: #f5f7fa;
	line-height: 1.6;
	overflow-x: hidden;
	max-width: 640px;
	margin:0 auto;
}

/* 页眉样式 */
header {
	background-color: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 100;
}

.logo-container {
	padding: 10px 0px;
	background-color: #126ebb;
	
}

.logo-container img {
	width: 100%;
}

/* 导航部分 - 2行3列 */
.nav-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
	padding: 10px;
	background-color: var(--primary-color);
}

.nav-link {
	background-color: rgba(255, 255, 255, 0.15);
	color: white;
	text-decoration: none;
	font-size: 15px;
	padding: 12px 5px;
	transition: all 0.3s;
	border-radius: 4px;
	text-align: center;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-link:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

/* Banner部分 */
.banner-section {
	position: relative;
	margin: 15px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-section img {
	width: 100%;
	height: auto;
	display: block;
}

.quick-contact {
	position: absolute;
	bottom: 20px;
	right: 15px;
}

.contact-button {
	background-color: var(--accent-color);
	color: white;
	font-weight: bold;
	padding: 10px 15px;
	border-radius: 30px;
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	font-size: 14px;
}

.contact-button i {
	margin-right: 8px;
}

/* 疾病百科部分 - 3行4列 */
.disease-section {
	margin: 25px 15px;
	background: white;
	border-radius: 12px;
	padding: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 2px solid var(--primary-color);
	margin-bottom: 20px;
}

.section-title {
	font-size: 20px;
	color: var(--primary-color);
	font-weight: 700;
}

.section-subtitle {
	font-size: 14px;
	color: var(--text-light);
	text-transform: uppercase;
}

.disease-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 5px;
}

.disease-card {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 3px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	text-align: center;
	padding:10px 0 0 0;
}

a{text-decoration:none}

.disease-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.disease-img {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

.disease-name {
	text-align: center;
	color: var(--dark-color);
	text-decoration: none;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 新闻部分 */
.news-section {
	background: white;
	border-radius: 12px;
	padding: 15px;
	margin: 25px 15px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.news-list {
	list-style: none;
}

.news-item {
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.news-item:last-child {
	border-bottom: none;
}

.news-link {
	display: flex;
	align-items: center;
	color: var(--text-color);
	text-decoration: none;
	font-size: 15px;
}

.news-link::before {
	content: "•";
	color: var(--primary-color);
	font-size: 20px;
	margin-right: 10px;
}

/* 案例展示 */
.case-showcase {
	margin: 25px 15px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.case-showcase img {
	width: 100%;
}

/* 底部导航 */
.footer-nav {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 25px 15px;
}

.footer-link {
	background-color: var(--primary-color);
	color: white;
	border-radius: 30px;
	padding: 10px;
	text-align: center;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s;
}

.footer-link:hover {
	background-color: var(--secondary-color);
}

/* 版权信息 */
.footer {
	text-align: center;
	padding: 20px 15px;
	color: var(--text-light);
	font-size: 14px;
	background-color: #f0f4f8;
	margin-top: 20px;
}

.footer p {
	margin-bottom: 8px;
}

/* 响应式调整 */
@media (max-width: 480px) {
	.disease-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.disease-name {
		font-size: 12px;
	}
	
	.nav-link {
		font-size: 13px;
		padding: 10px 3px;
	}
}

@media (max-width: 360px) {
	.disease-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.footer-nav {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
}