/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}

/* 头部样式 */
.header {
    background-color: #00897b;
    color: white;
    padding: 10px;
    height: auto;
    min-height: 5vh;
}
.header .tel {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header2{
    color: #333;
    padding: 10px 0;
}
@media (max-width: 768px){
   .header2{
       
       
       padding: 0;
       border-top: none !important;
       
   } 
}


.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    /* width: 60px;
    height: 60px;
    margin-right: 10px; */
}

.logo h1 {
    font-size: 33px;
    line-height: 0.6;
    font-weight: bold;
    color: #00780d;
    margin-left: 0.5vw;
    margin-right: 0.5vw;
    letter-spacing: 0.05em;
    margin-top: 0.3vh;
}

.logo h1 span{
    font-size: 14px;
    font-weight: 100 !important;
    color: #00780d;
    letter-spacing: 0.08em;
}

.logo p {
    font-size: 24px;
    font-weight: solid;
    color: #00780d;
    float: left;
    display: block;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 0 12px;
    border: 1px solid #009994;
    border-radius: 0;
    width: 300px;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
}

.search-box button {
    background: url(../images/fdj.png);
    width: 81px;
    height: 48px;
    padding: 19px 25px;
    background-color: #009994;
    border: none;
    border-radius: 0;
    border-color:#009994;
    color: white;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
}

/* 移动端顶部栏 */
.mobile-top-bar {
    display: none;
}

.mobile-site-name {
    color: #00780d;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    flex: 1;
}

/* 电脑端搜索框 */
.desktop-search {
    display: block;
}

.nav {
    height: 4.3vh;
    position: relative;
    line-height: 4.5vh;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
   white-space: nowrap;
    flex: 1;
    text-align: center;
}

.nav-menu a {
    color: #444444;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #00780d;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* 轮播图样式 */
.banner {
    position: relative;
    background-color: #e0f2f1;
    /* padding: 60px 0; */
    text-align: center;
    overflow: hidden;
}
@media (max-width: 767px){
    .banner{display: none;}
}

.banner-content {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel {
    position: relative;
    width: 100%;
    height: 621px;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 8px; */
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: scale(1);
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    position: absolute;
    z-index: 2;
}

/* 快捷服务样式 */
.quick-services {
    padding-top: 6.4vh;
    padding-bottom: 2.8vh;
    /* padding: 40px 0; */
    background: url(../images/bg.png);
}
@media (max-width: 767px){
    .quick-services {display: none;}
}
.section-title {
    text-align: center;
    font-size: 28px;
    color: #00695c;
    margin-bottom: 30px;
    position: relative;
}

/* .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #00897b;
    margin: 10px auto;
} */

.yyjj {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;

}

.yyjj-item {
    text-align: center;
    background: #017672;
}

.yyjj-item .yyjj-title {
    color: #ffffff;
    float: left;
    width: 100%;
    text-align: left;
    text-indent: 1rem;
    padding-top: 1vh;
    padding-left: 1vw;
}

.yyjj-item .con {
    display: block;
    color: #ffffff;
    float: left;
    width: 100%;
    text-align: left;
    text-indent: 1.5rem;
    padding-top: 0.5vh;
    line-height: 2;
    
}


.yyjj-item .con1 {
    display: block;
    color: #ffffff;
    float: left;
    width: 92%;
    text-align: left;
    text-indent: 0;
    padding-top: 1vh;
    line-height: 1.5;
    border-top: 1px dotted #ffffff;
    margin: 0 4%;
    
}

.yyjj-item .con span {
    color: #fefc71;
}

.yyjj-item .yyjj-title img {
   width: 34px;
   height: 30px;
   float: left;
}

.yyjj-item img {
    width: 100%;
    height: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  
}

.service-item {
    text-align: center;
    height: 23vh;
}

.service-item a{
    color: #ffffff;
    text-decoration: none;
}

.lc1 {
    background: url(../images/lc1.png) no-repeat;
    background-size: 100%;
}

.lc2 {
    background: url(../images/lc2.png) no-repeat;
    background-size: 100%;
}

.lc3 {
    background: url(../images/lc3.png) no-repeat;
    background-size: 100%;
}

.lc4 {
    background: url(../images/lc4.png) no-repeat;
    background-size: 100%;
}



.service-icon {
    width: 80px;
    height: 80px;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: white;
    margin-top: 3vh;
}

.service-icon.green {
    background-color: #00897b;
    background: url(../images/jylc-b.png) no-repeat center center;
}

.service-icon.blue {
    background-color: #1976d2;
    background: url(../images/yygh-b.png) no-repeat center center;
}

.service-icon.orange {
    background-color: #f57c00;
    background: url(../images/yydh-b.png) no-repeat center center;
}

.service-icon.purple {
    background-color: #7b1fa2;
    background: url(../images/czmzb-b.png) no-repeat center center;
}

.service-item h4 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
}

/* 医院动态样式 */
.news {
    padding: 40px 0;
    /* background-color: #f5f5f5; */
    background: url(../images/bg2.png);
}
@media (max-width: 767px){
    .news {padding:10px 0;}
}

.news-tabs {
    display: flex;
    gap: 10px;
}
.tab-btn {
    padding: 3px 19px;
    background: none;
    border: none;
    border-radius: 4px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 25px;
    font-weight: 600;
}
.tab-btn.active {
    background-color: #ffffff;
    color: #028581;
    border-radius: 50px;
}

.tab-content {
    padding: 20px;
    display: none;
    padding-left: 15px;
}

.tab-content.active {
    display: block;
}
.tab-content h4 {
    font-size: 20px;
    color: #00695c;
    margin-bottom: 20px;
}

.tab-content ul {
    list-style: none;
}
.tab-content li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    float: left;
    width: 100%;
}
.tab-content li p{
    color: #abfdfa;
    display: block;
    float: left;
    text-align: center;
}


.tab-content li p span{
    width: 100%;
    float: left;
    text-align: center;
    font-weight: 600;    
    margin-left: -5px;
    line-height: 1.4;
}

.tab-content li p span:first-child{
    width: 100%;
    float: left;
    text-align: center;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 600;
}

.tab-content a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 20px;
    font-weight: 600;
}



.tab-content a:hover {
    color: #00897b;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.news-item {
    background: url(../images/news-bg.png);
    background-color: #01afa9;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 41.25vh;
}

.jdt {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
    padding: 0;
}

.focus-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.focus-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.focus-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.focus-slide.active {
    opacity: 1;
    position: relative;
}

.focus-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    font-size: 16px;
    text-align: left;
}

.focus-dots {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 25px;
    display: flex;
    justify-content: right;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

.focus-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.focus-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.focus-arrow.left {
    left: 15px;
}

.focus-arrow.right {
    right: 15px;
}

.news-content {
    display: flex;
    gap: 30px;
}

.news-image {
    flex: 1;
}

.news-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-list {
    flex: 1;
}

.news-list h4 {
    font-size: 20px;
    color: #00695c;
    margin-bottom: 20px;
}

.news-list ul {
    list-style: none;
}

.news-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.news-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-list a:hover {
    color: #00897b;
}

/* 科室介绍样式 */
.departments {
    padding: 40px 0;
    background: url(../images/bg3.png);
}

.section-titleks {
    text-align: left;
    font-size: 28px;
    color: #000000;
    margin-bottom: 30px;
    position: relative;
    line-height: 2;
}
.section-titleks a {
    text-decoration: none;
    color: #297e76;}

.kslogo::before{
    content: '';
    float: left;
    background: url(../images/ksjs-logo.png);
    width: 50px;
    height: 52px;
    margin-right: 10px;
    display: block;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    text-decoration: none;
}

.department-item {
    background: url(../images/ks-bg.png)no-repeat;
    background-size: 100%;
    background-color: #e0f2f1;
    color: #ffffff;
    padding: 20px;
    writing-mode: vertical-lr;
  text-orientation: upright;
    text-align: left;
    text-indent: 1rem;
    /* border-radius: 8px; */
    transition: transform 0.3s;
    width: 8vw;
    height: 27.6vh;
}

.departments-grid a:nth-child(2), .departments-grid a:nth-child(4), .departments-grid a:nth-child(6) {
    margin-top: 5vh;
}

.departments-grid a {
    color: #ffffff;
    text-decoration: none;
}

.department-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.department-item h4 {
    font-size: 24px;
    color: #ffffff;
}

.special-departments {
    /* display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; */
}

.special-departments div:nth-child(1){
    width: 30vw;
    float: left;
    z-index: 2;
}
.special-departments div:nth-child(2){
    width: 16vw;
    float: left;
    z-index: 3;
    margin-left: -1vw;
}

.special-departments div:nth-child(3){
    width: 16vw;
    float: left;
    z-index: 3;
    margin-left: 1vw;
}

.special-departments div:nth-child(4){
    width: 34vw;
    float: left;
    z-index: 1;
    margin-top: -20vh;
    margin-left: 24vw;
    
}

.department-image {
    position: relative;
    transition: transform 0.3s;
}

.department-image img {
    width: 100%;
    height: auto;
    /* border-radius: 8px; */
    object-fit: cover;
}


.department-image h5 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 137, 123, 10), rgba(0, 137, 123, 0));
    color: white;
    padding: 20px 10px 10px;
    text-align: left;
    border-radius:0;
    font-size: 1.4rem;

}

.department-image .t1{
    padding: 300px 30px 25px!important;
}
.department-image .t2{
    padding: 150px 10px 10px!important;
}
.department-image .t3{
    padding: 150px 10px 10px!important;
}
.department-image .t4{
    padding: 175px 30px 25px!important;
}

.department-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.department-image.special {
    grid-column: span 2;
}

/* 特色医疗样式 */
.special-medical {
    padding: 40px 0;
    background: #f9f9f9;
}

.zzj{
    background-color: #297e76;
    color: #ffffff;
    line-height: 2.5;
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

/* 张仲景经方传承工作室轮播 */
.zzj-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.zzj-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.zzj-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.zzj-slide.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.zzj-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.herb-cards {
    display: flex;
    gap: 20px;
    flex: 1;
}

.herb-card {
    flex: 1;
    background-color: #e0f2f1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.herb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.herb-card a {
    text-decoration: none;
    display: block;
}

.herb-card h4 {
    font-size: 20px;
    color: #00695c;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 2px solid #00897b;
}

.herb-desc {
    color: #297e76;
    text-align: justify;
    padding: 15px 0;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.herb-card img {
    width: 100%;
    max-width: 120px;
    object-fit: cover;
    margin-top: 15px;
}

.doctor-card {
    flex: 1;
    max-width: 400px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.doctor-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.doctor-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 137, 123, 0.8), rgba(0, 137, 123, 0));
    color: white;
    padding: 60px 20px 20px;
    text-align: right;
    font-size: 1.2rem;
    margin: 0;
}

.zzj-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.zzj-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 137, 123, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.zzj-dot.active {
    background-color: #00897b;
}
    text-align: right;
    font-size: 1.5rem;
}
.zzj-ys-tit a{
    text-decoration: none;
    color: #ffffff;
}

/* 专家团队样式 */
.experts {
    padding: 40px 0;
    background: url(../images/zjmy-bg.png);
    /* background-color: white; */
    margin-bottom: 40px;
}
@media (max-width: 768px){
    .experts {display: none;}
}

.myzj{
    color: #ffffff;
    display: flex;
    text-align: center;
    margin: 0 auto;
     margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.myzj::before{
    content: '';
    display: block;
    width: 16vw;
    height: 0.2vh;
    margin-right:2vw;
    background: #ffffff;
    color: #ffffff;
}
.myzj::after{
    content: '';
    display: block;
    width: 16vw;
    height: 0.2vh;
    margin-left: 2vw;
    background: #ffffff;
    color: #ffffff;
}
.experts-slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
    padding: 20px 70px;
    position: relative;
}
 
.experts-container {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}
 
.expert-item {
    flex: 0 0 180px;
    text-align: center;
}
.expert-item:hover {
   transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.expert-item a{
    text-decoration: none;
}

.expert-item p {
    font-size: 14px;
    color: #666;
}

.experts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.experts-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.experts-arrow.left {
    left: 10px;
}

.experts-arrow.right {
    right: 10px;
}



.expert-item img {
    width: 7vw;
    /* height: 120px; */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f1f1f1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: -5px;
}

.expert-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: -5px;
}

.expert-item p {
    font-size: 14px;
    color: #666;
}

.expert-item .zj-con {
    background: #ffffff;
    text-align: justify;
    padding-top: 12vh;
    padding-bottom: 3vh;
    padding-left: 1vw;
    padding-right: 1vw;
    margin-top: -12vh;
    border-radius: 8px;
    border: 2px solid #f1f1f1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}
/* 地图样式 */
.map {
    padding:  0;
    height: 55vh;
    background: url(../images/add.png);
    /* background-color: #e0f2f1; */
    margin-bottom: 60px;
}
.map-content {
    padding: 0;
    width: 18.5vw;
    height: 55vh;
    background-color: #217c75;
    color: #ffffff;
    padding-top: 6vh;
    padding-left: 1vw;
    padding-right: 1vw;
    padding-bottom: 12vh;
}

.map-content p{
    font-size: 1.8rem;
    line-height: 2;
    width: 6.4vw;
    border-bottom: 4px solid #ffffff;
    font-weight: 900;
    margin-bottom: 3vh;
}
.map-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.address{
    text-align: justify;
    line-height: 2.1;
    padding-left: 1.5vw;
}

/* 底部样式 */
.footer {
    background-color: #00695c;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    /* width: 50px;
    height: 50px; */
    margin-right: 1vw;
}

.footer-logo h3 {
    font-size: 20px;
}

.footer-info p {
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    /* 平板端适配 */
    .departments-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }

    .department-item {
        width: 100%;
        height: 180px;
    }

    .special-departments div:nth-child(1){
        width: 40vw;
    }
    .special-departments div:nth-child(2){
        width: 22vw;
    }
    .special-departments div:nth-child(3){
        width: 22vw;
    }
    .special-departments div:nth-child(4){
        width: 45vw;
        margin-top: -15vh;
        margin-left: 20vw;
    }

    .zzj-content {
        flex-direction: column;
        gap: 20px;
    }

    .herb-cards {
        flex-wrap: wrap;
    }

    .herb-card {
        flex: 0 0 calc(50% - 10px);
    }

    .doctor-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* 基础样式调整 */
    .container {
        padding: 0 10px;
    }

    /* 顶部导航栏 - 移动端隐藏 */
    .header {
        display: none;
    }

    /* 移动端顶部栏 */
    .mobile-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        margin-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .mobile-site-name {
        color: #00780d;
        font-size: 25px;
        font-weight: bold;
        text-decoration: none;
        flex: 1;
    }

    /* 头部导航栏 */
    .header1 {
        padding: 5px 0;
    }

    /* 隐藏桌面端logo和搜索框 */
    .header-top {
        display: none;
    }

    /* 汉堡菜单按钮 */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 38px;
        background-color: #00897b;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 20px;
        cursor: pointer;
        margin-left: 10px;
    }

    .mobile-menu-btn::before {
        content: '\2630';
        font-size: 22px;
    }

    /* 导航菜单 */
    .nav {
        position: relative;
        height: auto;
        line-height: normal;
        padding: 8px 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #00897b;
        padding: 10px 0;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        margin: 5px 15px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 5px;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        color: white;
        font-size: 14px;
        padding: 8px 0;
        display: block;
    }

    .mobile-menu-btn {
        display: block;
        /* position: absolute;
        top: 3.2%; */
        right: 15px;
        /* transform: translateY(-50%); */
        color: #fff;
        font-size: 20px;
        width: 38px;
        height: 38px;
        line-height: 38px;
        /* display: flex; */
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn::before {
        content: '\2630';
        font-size: 24px;
    }

    /* 轮播图 */
    .carousel {
        height: 180px;
    }

    /* 医院简介 */
    .yyjj {
        grid-template-columns: 1fr;
    }

    .yyjj-item:first-child {
        order: 2;
    }

    .yyjj-item:last-child {
        order: 1;
    }

    .yyjj-item .yyjj-title {
        /* text-align: center; */
        text-indent: 0;
        padding-left:15px;
        padding-top: 15px;
        text-indent: 1rem;
    }

    .yyjj-item .con {
        text-align: left;
        text-indent: 0;
        padding: 10px 15px;
        font-size: 14px;
        line-height: 1.8;
    }

    .yyjj-item .con1 {
        text-align: justify;
        padding: 10px 0;
        font-size: 15px;
    }

    /* 快捷服务 */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-item {
        height: 120px;
        padding: 10px;
    }

    .service-item h4 {
        font-size: 16px;
        margin-top: 5px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-top: 10px;
        background-size: 40px 40px !important;
    }

    /* 医院动态 */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-item {
        height: auto;
        min-height: 250px;
    }

    .news-item.jdt {
        min-height: 180px;
    }

    .tab-btn {
        font-size: 16px;
        padding: 5px 12px;
    }

    .tab-content li {
        flex-direction: row;
        align-items: flex-start;
    }

    .tab-content li p {
        float: left;
        width: 60px;
        margin-right: 15px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .tab-content li p span:first-child {
        font-size: 24px;
    }

    .tab-content a {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 科室介绍 */
    .kslogo::before {
        width: 30px;
        height: 32px;
        background-size: 30px 32px;
    }

    .section-titleks {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .department-item {
        width: 100%;
        height: 70px;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        text-align: center;
        text-indent: 0;
        padding: 10px 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .department-item h4 {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .departments-grid a:nth-child(2),
    .departments-grid a:nth-child(4),
    .departments-grid a:nth-child(6) {
        margin-top: 0;
    }

    /* 特色科室特殊布局 */
    .special-departments {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
@media (max-width: 768px){
    .special-departments {
        display: none;
    }
}
    .special-departments div {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        z-index: 1 !important;
    }

    .department-image h5 {
        padding: 15px 10px !important;
        font-size: 16px;
    }

    .department-image .t1,
    .department-image .t2,
    .department-image .t3,
    .department-image .t4 {
        padding: 60px 10px 15px !important;
    }

    /* 张仲景经方传承工作室 */
    .zzj {
        font-size: 20px;
        line-height: 2;
    }

    .zzj-carousel-wrapper {
        padding-bottom: 40px;
    }

    .zzj-content {
        flex-direction: column;
        gap: 15px;
    }

    .herb-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .herb-card {
        padding: 15px;
    }

    .herb-card h4 {
        font-size: 20px;
        padding: 8px 0;
    }

    .herb-desc {
        font-size: 15px;
        padding: 10px 0;
    }

    .herb-card img {
        max-width: 100px;
    }

    .doctor-card {
        max-width: 100%;
    }

    .doctor-name {
        padding: 40px 15px 15px;
        font-size: 16px;
    }

    .zzj-dots {
        bottom: -10px;
    }

    .zzj-dot {
        width: 10px;
        height: 10px;
    }

    /* 专家团队 */
    .myzj {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .myzj::before,
    .myzj::after {
        width: 50px;
        height: 2px;
    }

    .experts-slider {
        padding: 10px 40px;
        overflow: hidden;
    }

    .expert-item {
        flex: 0 0 100px;
    }

    .expert-item img {
        width: 60px;
        height: 60px;
    }

    .expert-item h4 {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .expert-item p {
        font-size: 11px;
    }

    .expert-item .zj-con {
        padding-top: 50px;
        padding-bottom: 15px;
        margin-top: -50px;
        font-size: 11px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .experts-arrow {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    /* 地图 */
    .map {
        display: none;
    }

    /* 页脚 */
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .footer-logo {
        margin-bottom: 15px;
        flex-direction: column;
    }

    .footer-logo img {
        max-width: 200px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-logo h3 {
        font-size: 16px;
        text-align: center;
    }

    .footer-info p {
        font-size: 15px;
        margin-bottom: 8px;
        line-height: 1.6;
    }

    /* 回顶部按钮 */
    .back-to-top {
        bottom: 20px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* 标题样式 */
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* 焦点图箭头按钮 */
    .focus-arrow {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .focus-arrow.left {
        left: 5px;
    }

    .focus-arrow.right {
        right: 5px;
    }

    .focus-dots {
        right: 15px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* 幻灯片标题 */
    .slide-title {
        font-size: 15px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    /* 手机端优化 */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        height: 150px;
    }

    .service-item h4 {
        font-size: 18px;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .department-item {
        height: 60px;
    }

    .department-item h4 {
        font-size: 18px;
    }

    .news-item {
        min-height: 200px;
    }

    .tab-content li p {
        width: 50px;
        margin-right: 10px;
    }

    .tab-content li p span:first-child {
        font-size: 20px;
    }

    .tab-content a {
        font-size: 18px;
    }

    .experts-slider {
        padding: 10px 40px;
    }

    .expert-item {
        flex: 0 0 100px;
    }

    .expert-item img {
        width: 60px;
        height: 60px;
    }

    .expert-item .zj-con {
        padding-top: 45px;
        margin-top: -45px;
    }

    .carousel {
        height: 150px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .yyjj-item .con p {
        font-size: 15px;
        line-height: 1.6;
    }

    .yyjj-item .con span {
        display: block;
        margin-bottom: 5px;
    }
}

/* 滚动条样式 */
.experts-slider::-webkit-scrollbar {
    height: 6px;
}

.experts-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.experts-slider::-webkit-scrollbar-thumb {
    background: #00897b;
    border-radius: 10px;
}

.experts-slider::-webkit-scrollbar-thumb:hover {
    background: #00695c;
}

/* 回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #009994;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #00897b;
    transform: translateY(-5px);
}