: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;
}

/* 文章详情页专用样式 */
.cont {
	background: white;
	border-radius: 12px;
	padding: 15px;
	margin: 10px 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cont h1 {
	font-size: 22px;
	color: var(--dark-color);
	margin-bottom: 20px;
	line-height: 1.4;
	text-align: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

/* 医生信息区域 */
.ys {
	display: flex;
	align-items: center;
	padding: 15px;
	background-color: #f8f9fa;
	border-radius: 10px;
	margin-bottom: 25px;
	position: relative;
}

.ys_t img {
	border-radius: 50%;
	margin-right: 15px;
	border: 2px solid var(--primary-color);
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.ys > div {
	flex: 1;
}

.ys > div p {
	margin-bottom: 8px;
	font-size: 16px;
}

.ys > div p strong {
	color: var(--primary-color);
	font-size: 18px;
}

.ys > div a {
	background-color: var(--accent-color);
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	text-decoration: none;
	font-size: 14px;
	display: inline-block;
	margin-right: 10px;
	transition: all 0.3s;
}

.ys > div a:hover {
	background-color: #c0392b;
}

.ys > div span {
	color: var(--text-light);
	font-size: 14px;
}

.ys i {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
}

.ys i img {
	width: 40px;
	height: auto;
}

/* 文章正文样式 */
.body {
	font-size: 16px;
	line-height: 1.8;
	color: #444;
	padding: 0 10px;
}

.body p {
	margin-bottom: 20px;
	text-align: justify;
}

.body p:first-of-type {
	font-weight: 500;
	color: var(--dark-color);
}

/* 相关文章区域 */
.look {
	background-color: #f8f9fa;
	border-radius: 10px;
	padding: 15px;
	margin: 25px 15px;
}

.look p {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px dashed #ddd;
}

.look p:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.look a {
	color: var(--primary-color);
	text-decoration: none;
	font-size: 16px;
	display: block;
	transition: all 0.3s;
}

.look a:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

.look a::before {
	content: "•";
	color: var(--accent-color);
	margin-right: 8px;
	font-weight: bold;
	font-size: 20px;
	vertical-align: middle;
}

/* 热点关注区域 */
#ahot {
	background-color: white;
	border-radius: 12px;
	padding: 20px;
	margin: 25px 15px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#ahot .title {
	font-size: 18px;
	font-weight: bold;
	color: var(--primary-color);
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.am-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0;
}

.am-table tr {
	border-bottom: 1px solid #eee;
}

.am-table tr:last-child {
	border-bottom: none;
}

.am-table td {
	padding: 15px 10px;
	vertical-align: middle;
	font-size: 15px;
}

.am-table td:first-child {
	font-weight: bold;
	color: var(--primary-color);
	width: 20%;
}

.am-table td:nth-child(2) {
	width: 55%;
}

.am-table td:last-child {
	width: 25%;
	text-align: center;
}

.tdbj a {
	display: block;
	background-color: var(--accent-color);
	color: white !important;
	padding: 8px 12px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
}

.tdbj a:hover {
	background-color: #c0392b;
}

/* 底部按钮区域 */
#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;
}
