
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
}

body {
	background-color: #fff;	/** f5f7fa **/
	color: #333;
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 头部样式 */
header {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #f0f0f0;
}

.logo-section {
	display: flex;
	align-items: center;
}

.logo {
	width: 60px;
	height: 60px;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	margin-right: 15px;
	font-size: 24px;
	font-weight: bold;
}

.hospital-name h1 {
	color: #875c1b;
	font-size: 32px;
	margin-bottom: 3px;
}

.hospital-name p {
	color: #666;
	font-size: 14px;
}

.contact-info {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.hotline {
	color: #e63946;
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 5px;
}

.hotline-label {
	color: #666;
	font-size: 14px;
}

/* 导航栏样式 - 修改为蓝色背景，全屏宽度 */
nav {
	background-color: #875c1b;
	padding: 0;
	width: 100%;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.nav-list {
	display: flex;
	list-style: none;
	position: relative;
}

.nav-item {
	position: relative;
	flex: 1;
	text-align: center;
}

.nav-link {
	display: block;
	padding: 18px 10px;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s;
	border-bottom: 3px solid transparent;
}

.nav-link:hover {
	background-color: #a07533;
	border-bottom-color: #fff;
}

.dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: white;
	min-width: 200px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s;
	z-index: 100;
	border-radius: 0 0 5px 5px;
}

.nav-item:hover .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-item {
	display: block;
	padding: 12px 20px;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.2s;
	text-align: left;
}

.dropdown-item:hover {
	background-color: #f8f9fa;
	color: #875c1b;
	padding-left: 25px;
}

.dropdown-item:last-child {
	border-bottom: none;
}

/* Banner轮播样式 */
.banner-section {
	position: relative;
	margin-top: 0px;
	overflow: hidden;
	border-radius: 0px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.banner {
	height: 400px;
	position: relative;
	overflow: hidden;
}

.banner-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: white;
	text-align: center;
	padding: 0 20%;
}

.banner-slide.active {
	opacity: 1;
}

.banner-button {
	background-color: white;
	color: #875c1b;
	padding: 12px 30px;
	border-radius: 30px;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s;
	border: none;
	cursor: pointer;
	font-size: 16px;
}

.banner-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.banner-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 22px;
	transition: all 0.3s;
	z-index: 10;
}

.banner-nav:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.banner-prev {
	left: 20px;
}

.banner-next {
	right: 20px;
}

.banner-dots {
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.banner-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s;
}

.banner-dot.active {
	background-color: white;
	transform: scale(1.2);
}

/* 服务导航栏 - 新增 */
.service-nav {
	display: flex;
	margin: 10px 0px 10px 0px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item {
	flex: 1;
	display: flex;
	align-items: center;
	padding: 25px 15px;
	color: white;
	text-decoration: none;
	transition: all 0.3s;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
	font-size: 36px;
	margin-right: 15px;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.2);
}

.service-text {
	flex: 1;
}

.service-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 5px;
}

.service-subtitle {
	font-size: 14px;
	opacity: 0.9;
}

.service-1 { background-color: #a2ad2c; }
.service-2 { background-color: #2cabad; }
.service-3 { background-color: #2c72ad; }
.service-4 { background-color: #2cad7e; }
.service-5 { background-color: #2c90ad; }

/* 主要内容区域 */
.main-content {
	padding: 5px 0 10px;
}

.section-title {
	color: #875c1b;
	font-size: 28px;
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e9ecef;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 80px;
	height: 2px;
	background-color: #875c1b;
}


/* 医院简介和新闻动态在同一行 */
.intro-news-row {
	display: flex;
	margin-bottom: 20px;
	gap: 15px;
}

.intro-section {
	flex: 1;
	background-color: white;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.intro-text {
	color: #555;
	line-height: 1.8;
	margin-bottom: 20px;
}

.intro-stats {
	display: flex;
	justify-content: space-around;
	margin-top: 30px;
	flex-wrap: wrap;
}

.stat-item {
	text-align: center;
	padding: 15px;
	min-width: 180px;
}

.stat-number {
	font-size: 36px;
	color: #875c1b;
	font-weight: bold;
	margin-bottom: 5px;
}

.stat-label {
	color: #666;
	font-size: 16px;
}

/* 新闻动态部分 - 3行2列布局 */
.news-section {
	flex: 1;
	background-color: white;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.tabs-header {
	/** display: flex; 去掉这个平均分布 **/
	background-color: #f8f9fa;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
	margin-bottom: 0;
}

.tab-button {
	flex: 1;
	padding: 18px;
	background: none;
	border: none;
	font-size: 18px;
	font-weight: 500;
	color: #666;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
}

.tab-button.active {
	background-color: white;
	color: #875c1b;
	box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.05);
}

.tabs-content {
	background-color: white;
	padding: 20px 0 0;
	border-radius: 0 0 8px 8px;
	min-height: 300px;
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: block;
	animation: fadeIn 0.5s;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.news-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.news-item {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
	border-bottom: none;
}

.news-img {
	width: 100px;
	height: 80px;
	border-radius: 5px;
	overflow: hidden;
	flex-shrink: 0;
}

.news-img-placeholder {
	width: 100%;
	height: 100%;
	background-color: #e9ecef;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #875c1b;
	font-size: 30px;
}

.news-content {
	flex: 1;
}

.news-title {
	font-size: 16px;
	color: #333;
	text-decoration: none;
	transition: color 0.2s;
	font-weight: 500;
	line-height: 1.4;
	display: block;
	margin-bottom: 8px;
}

.news-title:hover {
	color: #875c1b;
}

.news-date {
	color: #999;
	font-size: 14px;
}

/* 病种导航板块 - 新增 */
.disease-nav-section {
	margin-bottom: 20px;
}

.disease-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
	background-color: white;
	padding: 0px 30px 30px 30px;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.disease-item {
	padding: 15px 10px;
	background-color: #f8f9fa;
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
	border: 1px solid #e9ecef;
}
.disease-item a{
	color: #666;
	text-decoration: none;
}
.disease-item:hover {
	background-color: #fff9ef;
	color: #875c1b;
	border-color: #875c1b;
	transform: translateY(-3px);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.disease-name {
	font-size: 16px;
	font-weight: 500;
}

/* 专家名医轮播 */
.doctors-section {
	margin-bottom: 20px;
}

.doctors-slider {
	position: relative;
	overflow: hidden;
	padding: 10px 0;
}

.doctors-container {
	display: flex;
	transition: transform 0.5s ease;
}

.doctor-card {
	flex: 0 0 calc(100% / 4 - 20px);
	margin: 0 10px;
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s;
}

.doctor-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.doctor-img {
	/** height: 200px; **/
	width:100%;
	background-color: #e9ecef;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #875c1b;
	font-size: 60px;
}

.doctor-info {
	padding: 20px;
}

.doctor-name {
	font-size: 20px;
	color: #333;
	margin-bottom: 8px;
}

.doctor-title {
	color: #875c1b;
	font-size: 16px;
	margin-bottom: 10px;
}

.doctor-desc {
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: white;
	color: #875c1b;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 20px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
	z-index: 10;
}

.slider-nav:hover {
	background-color: #875c1b;
	color: white;
}

.slider-prev {
	left: -20px;
}

.slider-next {
	right: -20px;
}

.doctors-section:hover .slider-prev {
	left: 10px;
}

.doctors-section:hover .slider-next {
	right: 10px;
}

/* 医院环境切换区域 - 修改为图片轮播 */
.facility-section {
	margin-bottom: 20px;
}

.facility-tabs-header {
	display: flex;
	margin-bottom: 25px;
	border-bottom: 2px solid #e9ecef;
}

.facility-tab-button {
	padding: 12px 25px 12px 0px;
	background: none;
	border: none;
	font-size: 28px;
	font-weight: bold;
	color: #666;
	cursor: pointer;
	transition: all 0.3s;
	position: relative;
}

.facility-tab-button.active {
	color: #875c1b;
}

.facility-tab-button.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #875c1b;
}

.facility-content {
	position: relative;
	overflow: hidden;
	height: 270px;
}

.facility-pane {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: translateX(30px);
	transition: opacity 0.5s, transform 0.5s;
}

.facility-pane.active {
	opacity: 1;
	transform: translateX(0);
}

/* 图片轮播容器 */
.facility-slider {
	position: relative;
	overflow: hidden;
	padding: 0px 0px 20px 0px;
}

.facility-images-container {
	display: flex;
	transition: transform 0.5s ease;
}

.facility-image-item {
	flex: 0 0 20%; /* 每行显示5个图片，每个占20% */
	padding: 0 10px;
	box-sizing: border-box;
}

.facility-img {
	height: 180px;
	width:210px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	margin-bottom: 15px;
	background-color: #f5f7fa;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #875c1b;
	font-size: 24px;
	font-weight: bold;
}

.facility-img-title {
	text-align: center;
	font-size: 16px;
	color: #333;
	font-weight: 500;
}

.facility-slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: white;
	color: #875c1b;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 20px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
	z-index: 10;
}

.facility-slider-nav:hover {
	background-color: #875c1b;
	color: white;
}

.facility-slider-prev {
	left: -20px;
}

.facility-slider-next {
	right: -20px;
}

.facility-section:hover .facility-slider-prev {
	left: 10px;
}

.facility-section:hover .facility-slider-next {
	right: 10px;
}

/* 页脚样式 */
footer {
	background-color: #333;
	color: white;
	padding: 40px 0 20px;
	margin-top: 40px;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.footer-column {
	flex: 1;
	min-width: 250px;
	margin-bottom: 30px;
}

.footer-title {
	font-size: 20px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.footer-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: white;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: #d1e7ff;
	text-decoration: none;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: white;
	padding-left: 5px;
}

.qrcode-container {
	display: flex;
	gap: 30px;
	margin-top: 15px;
}

.qrcode-item {
	text-align: center;
}

.qrcode-img {
	width: 120px;
	height: 120px;
	background-color: white;
	border-radius: 8px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #875c1b;
	font-size: 40px;
}

.qrcode-text {
	font-size: 14px;
	color: #d1e7ff;
}

.hotline-footer {
	font-size: 24px;
	font-weight: bold;
	color: #ffd166;
	margin: 15px 0;
}
	   
.copyright {
	text-align: center;
	padding-top: 20px;
	margin-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #d1e7ff;
	font-size: 14px;
	line-height:30px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.disease-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.facility-image-item {
		flex: 0 0 25%; /* 屏幕较小显示4个 */
	}
}