: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;
	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;
}

/* 面包屑导航 */
.breadcrumb-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px;
	background-color: var(--primary-color);
	color: white;
}

.breadcrumb {
	display: flex;
	align-items: center;
	font-size: 14px;
}

.breadcrumb a {
	color: white;
	text-decoration: none;
	margin: 0 5px;
	display: flex;
	align-items: center;
}

.breadcrumb span {
	margin: 0 5px;
}

.breadcrumb-call {
	background-color: var(--accent-color);
	color: white;
	border-radius: 30px;
	padding: 6px 12px;
	font-size: 13px;
	display: flex;
	align-items: center;
	text-decoration: none;
}

.breadcrumb-call i {
	margin-right: 5px;
}

/* 文章列表区域 */
#main {
	padding: 5px 10px;
}

.article-list {
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	margin-bottom: 25px;
}

.article-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	border-bottom: 1px solid #eee;
	transition: all 0.3s;
}

.article-item:hover {
	background-color: #f8f9fa;
}

.article-item:last-child {
	border-bottom: none;
}

.article-title {
	flex: 1;
	font-size: 16px;
	color: var(--dark-color);
	text-decoration: none;
	transition: all 0.3s;
}

.article-title:hover {
	color: var(--accent-color);
}


.article-link {
	background-color: var(--secondary-color);
	color: white;
	padding: 6px 15px;
	border-radius: 20px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
}

.article-link:hover {
	background-color: var(--primary-color);
	transform: translateY(-2px);
}

/* 分页控件 */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 5px 0;
	flex-wrap: wrap;
}

.pagination a{
	display: inline-block;
	padding: 5px 8px;
	margin: 0 3px;
	border-radius: 5px;
	text-decoration: none;
	color: var(--text-color);
	background-color: #f0f4f8;
	transition: all 0.3s;
	font-size: 14px;
	min-width: 36px;
	text-align: center;
}

.pagination a:hover {
	background-color: var(--primary-color);
	color: white;
}

.pagination a.current {
	background-color: var(--primary-color);
	color: white;
	font-weight: bold;
}

.pagination a.prev, .pagination a.next {
	background-color: var(--light-color);
	font-weight: 500;
}

/* 底部按钮区域 */
#btn {
	display: flex;
	justify-content: space-between;
	margin: 10px 15px;
	gap: 15px;
}

.callPhone, .callDoctor {
	flex: 1;
	text-align: center;
	padding: 15px;
	border-radius: 8px;
	color: white;
	font-weight: bold;
	text-decoration: none;
	font-size: 16px;
}

.callPhone {
	background-color: var(--primary-color);
}

.callPhone:hover {
	background-color: var(--secondary-color);
}

.callDoctor {
	background-color: var(--accent-color);
}

.callDoctor:hover {
	background-color: #c0392b;
}

.callPhone::before, .callDoctor::before {
	content: "";
	width: 24px;
	height: 24px;
	margin-right: 8px;
	background-size: contain;
	background-repeat: no-repeat;
}


/* 底部导航 */
.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;
}