  /* 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif; background: #f5f7fa; color: #333; }
.container { max-width: 1500px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; color: #333; transition: all 0.3s; }
a:hover { color: #0a5c8e; }

/* ========== 导航栏样式（渐变背景） ========== */
.navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(10, 92, 142, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Logo区域 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.02);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .cn {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.logo-text .en {
    font-size: 10px;
    color: #999;
    letter-spacing: 1px;
}

/* 导航链接 */
.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-links > a, .nav-links .dropdown > a {
    padding: 8px 18px;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s;
    position: relative;
}

.nav-links > a:hover, .nav-links .dropdown > a:hover {
    color: #0a5c8e;
    background: linear-gradient(135deg, rgba(10,92,142,0.08), rgba(10,92,142,0.04));
}

.nav-links > a.active, .nav-links .dropdown > a.active {
    color: #0a5c8e;
    background: linear-gradient(135deg, rgba(10,92,142,0.12), rgba(10,92,142,0.06));
    font-weight: 600;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, #f0f7fc, #fff);
    color: #0a5c8e;
    padding-left: 30px;
}

/* 电话区域 - 渐变按钮 */
.nav-tel {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0a5c8e, #0e4d6e);
    padding: 10px 24px;
    border-radius: 40px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 6px 16px rgba(10, 92, 142, 0.25);
    text-decoration: none;
}

.nav-tel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 92, 142, 0.35);
    background: linear-gradient(135deg, #1a7aad, #0a5c8e);
    color: #fff;
}

.nav-tel i {
    font-size: 18px;
}

.nav-tel span {
    font-size: 15px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #0a5c8e;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s;
    background: rgba(10, 92, 142, 0.05);
}

.mobile-menu-btn:hover {
    background: rgba(10, 92, 142, 0.12);
}

/* 移动端侧边栏 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    z-index: 1001;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
}

.mobile-sidebar.open {
    left: 0;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f0f4f8, #fff);
}

.sidebar-header .logo {
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sidebar-close {
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.sidebar-close:hover {
    color: #0a5c8e;
}

.sidebar-nav {
    padding: 20px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-nav a:hover {
    color: #0a5c8e;
    padding-left: 8px;
}

.sidebar-nav .tel-link {
    color: #0a5c8e;
    font-weight: 600;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
}

/* 响应式 */
@media (max-width: 1200px) {
    .nav-content {
        padding: 0 20px;
    }
    .nav-links > a, .nav-links .dropdown > a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        gap: 4px;
    }
    .nav-links > a, .nav-links .dropdown > a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-tel {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .nav-content {
        height: 65px;
    }
    .logo img {
        height: 38px;
    }
    .logo-text .cn {
        font-size: 16px;
    }
    .logo-text .en {
        font-size: 9px;
    }
}
/* 底部栏 */
.footer { background: #1a2a3a; color: #fff; padding: 50px 0 20px; margin-top: 60px; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-info { flex: 2; }
.footer-info p { margin-bottom: 10px; color: #ccc; }
.footer-info p i { margin-right: 8px; color: #0a5c8e; }
.footer-qrcodes { display: flex; gap: 30px; }
.qrcode-item { text-align: center; }
.qrcode-item img { width: 100px; height: 100px; background: #fff; padding: 5px; border-radius: 8px; margin-bottom: 8px; }
.qrcode-item p { font-size: 12px; color: #ccc; }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid #2a3a4a; color: #888; font-size: 12px; }
 .footer a:hover {
        color: #0a5c8e !important;
        text-decoration: underline !important;
    }
    /* 移动端适配：4列自动变为2列或1列 */
    @media (max-width: 992px) {
        .footer .grid-template {
            grid-template-columns: repeat(2, 1fr) !important;
        }
    }
    @media (max-width: 576px) {
        .footer .grid-template {
            grid-template-columns: 1fr !important;
        }
    }
/* 移动端底部固定栏 */
.mobile-bottom-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; display: none; justify-content: space-around; padding: 10px 0; box-shadow: 0 -2px 12px rgba(0,0,0,0.1); z-index: 1000; }
.bar-item { text-align: center; font-size: 12px; cursor: pointer; flex: 1; }
.bar-item i { font-size: 22px; display: block; margin-bottom: 4px; }
.bar-item span { font-size: 12px; }
@media (max-width: 768px) { .mobile-bottom-bar { display: flex; } body { padding-bottom: 60px; } }
/* 底部移动端适配 */
@media (max-width: 768px) {
    /* 网格改为单列 */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* 第一列内容居中 */
    .footer-col-first {
        margin-left: 0 !important;
        text-align: center;
    }
    
    /* 联系方式居中 */
    .footer-col-first p {
        justify-content: center !important;
    }
    
    /* 二维码列保持居中 */
    .footer-col-qr {
        text-align: center;
    }
    
    /* 快捷链接换行 */
    .footer-links {
        flex-wrap: wrap;
        gap: 15px !important;
    }
    
    /* 快捷链接字体大小 */
    .footer-links a {
        font-size: 12px !important;
    }
}
/* 按钮样式 */
.btn-primary { 
    background: #0a5c8e; 
    color: #fff; 
    border: none; 
    padding: 12px 28px; 
    border-radius: 40px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(10, 92, 142, 0.25);
    position: relative;
    min-width: 140px;
}

.btn-primary:hover:not(:disabled) { 
    background: #084c74; 
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(10, 92, 142, 0.35);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(10, 92, 142, 0.2);
}

/* ===== 禁用状态 ===== */
.btn-primary:disabled {
    background: #b0b8c0 !important;
    color: #d5d5d5 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.7;
}

/* ===== 禁用状态 - 显示锁图标 ===== */
.btn-primary:disabled .btn-icon {
    display: none;
}

.btn-primary:disabled .btn-lock-icon {
    display: inline-block;
}

.btn-lock-icon {
    display: none;
    font-size: 14px;
}

/* 启用时隐藏锁图标，显示火箭图标 */
.btn-primary:not(:disabled) .btn-lock-icon {
    display: none;
}
.btn-outline { background: transparent; border: 2px solid #0a5c8e; color: #0a5c8e; padding: 10px 26px; border-radius: 40px; cursor: pointer; transition: all 0.3s; }
.btn-outline:hover { background: #0a5c8e; color: #fff; }
.btn-light { background: #fff; color: #0a5c8e; border: none; padding: 10px 24px; border-radius: 40px; cursor: pointer; }

/* 表单弹窗 */
.form-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; justify-content: center; align-items: center; }
.form-modal-content { background: #fff; width: 90%; max-width: 500px; border-radius: 16px; padding: 20px; max-height: 85%; overflow-y: auto; }
.form-modal-content h2 { margin-bottom: 20px; color: #0a5c8e; }
.form-group { margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.form-group input:focus, .form-group select:focus { border-color: #0a5c8e; outline: none; }
.radio-group { display: flex; gap: 20px; }
.radio-group label { display: flex; align-items: center; gap: 5px; cursor: pointer; }

/* 卡片样式 */
.card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }

/* 章节标题 */
.section-title { text-align: center; margin-bottom: 25px; }
/* 模块标签样式 - 字体加大版 */
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf0 100%);
    color: #0a5c8e;
    font-size: 16px;          /* 从 13px → 16px */
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 22px;        /* 内边距略微增加，适应更大字体 */
    border-radius: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(10,92,142,0.2);
    backdrop-filter: blur(2px);
}

/* 装饰小圆点同步放大 */
.section-tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #0a5c8e;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    opacity: 0.8;
}
/* 深色背景上的标签样式（如果模块背景较深） */
.bg-dark .section-tag,
.section-tag-light {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.bg-dark .section-tag::before,
.section-tag-light::before {
    background: #fff;
}
/* 如果希望更大一点，可以使用 18px（但注意移动端） */
@media (max-width: 768px) {
    .section-tag {
        font-size: 14px;
        padding: 6px 16px;
    }
    .section-tag::before {
        width: 6px;
        height: 6px;
        margin-right: 8px;
    }
}
.section-title h2 { font-size: 32px; color: #1a2a3a; margin-bottom: 12px; }
.section-title p { color: #666; font-size: 16px; }
/* ========== 图片尺寸限制 ========== */

/* 头像占位图 - 患者评价模块 */
.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* 科室卡片网格 */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* 科室卡片 */
.dept-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dept-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.dept-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dept-card:hover .dept-card-img {
    transform: scale(1.05);
}

.dept-card-body {
    padding: 24px;
    position: relative;
}
/* 科室头部 - 图标和名称同一行 */
.dept-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

/* 科室图标 */
.dept-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e8f4f8, #d4eaf0);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dept-icon i {
    font-size: 24px;
    color: #0a5c8e;
}

/* 科室名称 */
.dept-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    position: relative;
    line-height: 1.2;
}

/* 名称下划线（可选） */
.dept-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #0a5c8e, #2d8fbe);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.dept-card:hover .dept-name::after {
    width: 50px;
}

/* 科室标语 */
.dept-slogan {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 16px 0 20px;
    min-height: 60px;
}

/* 了解详情链接 */
.dept-link-wrapper {
    margin-top: 8px;
}

.dept-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a5c8e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.dept-link span {
    position: relative;
}

.dept-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0a5c8e;
    transition: width 0.3s ease;
}

.dept-link:hover {
    color: #1a7aad;
    gap: 12px;
}

.dept-link:hover::before {
    width: 100%;
}

.dept-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.dept-link:hover i {
    transform: translateX(4px);
}

/* 查看全部按钮 */
.view-all-wrapper {
    text-align: center;
    margin-top: 45px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10,92,142,0.25);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,92,142,0.35);
    color: #fff;
    gap: 14px;
}

.btn-view-all i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(4px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .dept-grid {
        gap: 20px;
    }
    .dept-card-body {
        padding: 18px;
    }
    .dept-name {
        font-size: 18px;
    }
    .dept-slogan {
        font-size: 12px;
        min-height: auto;
    }
    .btn-view-all {
        padding: 10px 24px;
        font-size: 14px;
    }
}
/* 科室图标定制 */
.dept-icon-1::before { content: "👶"; }      /* 产科 */
.dept-icon-2::before { content: "🌸"; }      /* 妇科 */
.dept-icon-3::before { content: "🧸"; }      /* 儿科 */
.dept-icon-4::before { content: "✨"; }      /* 医美科 */
.dept-icon-5::before { content: "📋"; }      /* 体检科 */
.dept-icon-6::before { content: "🔬"; }      /* 消化内科 */
.dept-icon-7::before { content: "🤱"; }      /* 产后母婴中心 */
.dept-icon-8::before { content: "🏠"; }      /* 一体化分娩中心 */
.dept-icon-9::before { content: "💊"; }      /* 内科 */
.dept-icon-10::before { content: "🌿"; }     /* 中医科 */
.dept-icon-11::before { content: "💉"; }     /* 麻醉科 */
.dept-icon-12::before { content: "📷"; }     /* 超声科 */
.dept-icon-13::before { content: "💻"; }     /* 信息部 */
.dept-icon-14::before { content: "🦷"; }     /* 口腔科 */

/* 新闻列表缩略图 */
.news-thumb {
    width: 200px;
    height: 140px;
    object-fit: cover;
}

/* 二维码图片 */
.qrcode-img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

/* 资质荣誉 Logo */
.honor-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* 通用响应式图片 */
.responsive-img {
    max-width: 100%;
    height: auto;
}

/* 背景图片区域 */
.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* 移动端图片尺寸调整 */
@media (max-width: 768px) {
    .news-thumb {
        width: 120px;
        height: 90px;
    }
    .qrcode-img {
        width: 150px;
    }
}

/* Hero 内容样式 */
/* 调整轮播区域高度，让图片显示更完整 */
.hero-carousel .layui-carousel,
.hero-section {
    height: 600px; /* 原 550px，根据图片比例调整 */
}

@media (max-width: 768px) {
    .hero-carousel .layui-carousel,
    .hero-section {
        height: 400px;
    }
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    color: #fff;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary-hero {
    background: #0a5c8e;
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-hero.phone-btn {
    background: #e67e22;
}
.btn-outline-hero {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    background: #084c74;
}
.btn-primary-hero.phone-btn:hover {
    background: #c95f0c;
}
.btn-outline-hero:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
/* 移动端适配 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px !important;
    }
    .hero-subtitle {
        font-size: 14px !important;
    }
    .hero-buttons {
        gap: 12px !important;
    }
    .btn-primary-hero, .btn-outline-hero {
        padding: 8px 18px !important;
        font-size: 13px !important;
    }
    .hero-carousel .layui-carousel {
        height: 450px !important;
    }
}
/* Layui 轮播点样式 */
.layui-carousel-ind li {
    background: rgba(255,255,255,0.5);
}
.layui-carousel-ind li.layui-this {
    background: #fff;
}
/* 移动端资质荣誉图片适配 */
@media (max-width: 768px) {
    .honor-item {
        width: 150px !important;
    }
    .honor-item img {
        width: 100px !important;
        height: 100px !important;
    }
    .honor-item p {
        font-size: 11px !important;
    }
}
/* 资质荣誉网格布局 */
.honor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* 单个荣誉项 */
.honor-item {
    text-align: center;
    width: 180px;
    cursor: pointer;
}

.honor-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.2s;
}

.honor-item img:hover {
    transform: scale(1.05);
}

.honor-item p {
    font-size: 13px;
    color: #555;
    margin-top: 10px;
}
/* ========== 模块渐变背景 ========== */

/* 快捷入口卡片渐变 */
.quick-card-1 {
    background: linear-gradient(135deg, #0a5c8e 0%, #0e4d6e 100%);
}
.quick-card-2 {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}
.quick-card-3 {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
}
.quick-card-4 {
    background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
}

/* 关于医院 - 白色到浅灰 */
.bg-about {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* 科室中心 - 清爽蓝 */
.bg-department {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf0 100%);
}

/* 专家团队 - 专业蓝灰（已修改，去掉黄色） */
.bg-doctor {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecef 100%);
}

/* 国际设备 - 科技灰 */
.bg-equipment {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f6 100%);
}

/* 资质荣誉 - 淡雅灰 */
.bg-honor {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
}

/* 患者评价 - 柔和灰 */
.bg-review {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecef 100%);
}

/* 引导卡片渐变背景 */
.bg-qrcode-miniapp {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf0 100%);
}
.bg-qrcode-wechat {
    background: linear-gradient(135deg, #e8f8f0 0%, #d4ecd0 100%);
}
.bg-qrcode-mall {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe0cc 100%);
}
/* ========== 快捷入口区域（重新设计） ========== */
.quick-access {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* 快捷入口卡片 - 统一白色背景 + 彩色图标 + 悬停效果 */
.quick-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 28px 16px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.04);
}

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.10);
}

.quick-card:active {
    transform: translateY(-4px) scale(0.98);
}

/* 图标容器 - 渐变背景圆角 */
.quick-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    margin: 0 auto 16px;
    border-radius: 16px;
    font-size: 30px;
    color: #fff;
    transition: transform 0.3s ease;
}

.quick-card:hover .quick-icon {
    transform: scale(1.06) rotate(-2deg);
}

/* ===== 各卡片图标差异化配色 ===== */

/* 1. 在线预约 - 蓝色 */
.quick-card:nth-child(1) .quick-icon {
    background: linear-gradient(135deg, #0a5c8e, #2d8fbe);
    box-shadow: 0 6px 16px rgba(10,92,142,0.30);
}

/* 2. 心脑血管评估 - 橙色 */
.quick-card:nth-child(2) .quick-icon {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    box-shadow: 0 6px 16px rgba(230,126,34,0.30);
}

/* 3. 胃肠健康评估 - 翠绿色（新增，突出显示） */
.quick-card:nth-child(3) .quick-icon {
    background: linear-gradient(135deg, #0d6655, #1a9c82);
    box-shadow: 0 6px 16px rgba(13,102,85,0.35);
}

/* 4. 科室导航 - 紫色 */
.quick-card:nth-child(4) .quick-icon {
    background: linear-gradient(135deg, #8e44ad, #b07cc6);
    box-shadow: 0 6px 16px rgba(142,68,173,0.30);
}

/* 5. 专家介绍 - 青色 */
.quick-card:nth-child(5) .quick-icon {
    background: linear-gradient(135deg, #0088a9, #2ea8d8);
    box-shadow: 0 6px 16px rgba(0,136,169,0.30);
}

/* 6. 国际设备 - 深海蓝 */
.quick-card:nth-child(6) .quick-icon {
    background: linear-gradient(135deg, #1a3a5c, #2d6a9f);
    box-shadow: 0 6px 16px rgba(26,58,92,0.30);
}

/* 卡片标题 */
.quick-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1a2a3a;
    transition: color 0.3s;
}

.quick-card:hover h3 {
    color: #0d6655;
}

.quick-card h3 a {
    color: inherit;
    text-decoration: none;
}

/* 卡片描述 */
.quick-card p {
    font-size: 13px;
    color: #99a8b5;
    line-height: 1.5;
    margin: 0;
}

/* ===== 胃肠健康评估卡片特殊样式 ===== */
.quick-card.gastro-card {
    background: linear-gradient(145deg, #f6fbf9, #e8f5f0);
    border: 2px solid #0d6655;
    box-shadow: 0 8px 24px rgba(13,102,85,0.12);
}

.quick-card.gastro-card:hover {
    box-shadow: 0 20px 44px rgba(13,102,85,0.20);
    border-color: #0a5244;
}

.quick-card.gastro-card h3 {
    color: #0d6655;
}

.quick-card.gastro-card:hover h3 {
    color: #0a5244;
}

/* "推荐"角标 */
.quick-card .badge-hot {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 99px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 10px rgba(231,76,60,0.35);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(231,76,60,0.35);
    }
    50% { 
        transform: scale(1.06);
        box-shadow: 0 6px 20px rgba(231,76,60,0.50);
    }
}

/* ===== 响应式 ===== */

/* 平板 */
@media (max-width: 1024px) {
    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* 手机 */
@media (max-width: 640px) {
    .quick-access {
        margin-top: -20px;
    }
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .quick-card {
        padding: 20px 12px 16px;
        border-radius: 16px;
    }
    .quick-icon {
        width: 52px;
        height: 52px;
        line-height: 52px;
        font-size: 24px;
        border-radius: 14px;
        margin-bottom: 12px;
    }
    .quick-card h3 {
        font-size: 15px;
    }
    .quick-card p {
        font-size: 12px;
    }
    .quick-card .badge-hot {
        font-size: 8px;
        padding: 1px 8px;
        top: -4px;
        right: -4px;
    }
    .quick-card.gastro-card {
        border-width: 1.5px;
    }
}

/* 小屏手机 */
@media (max-width: 400px) {
    .quick-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .quick-card {
        padding: 16px 8px 14px;
    }
    .quick-icon {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 20px;
        border-radius: 12px;
        margin-bottom: 8px;
    }
    .quick-card h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .quick-card p {
        font-size: 11px;
    }
}

/* 模块通用内边距 */
.section-padding {
    padding: 60px 0;
}

/* 引导卡片通用样式 */
.qrcode-card {
    border-radius: 20px;
    padding: 30px;
    margin: 40px auto;
    max-width: 1000px;
}
/* ========== 国际设备卡片样式 ========== */
.equipment-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.equipment-img {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.equipment-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.equipment-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 8px;
    text-align: left;
}

.equipment-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
/* 预约表单两列布局 */
.appointment-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 移动端改为单列 */
@media (max-width: 768px) {
    .appointment-form-grid {
        grid-template-columns: 1fr;
    }
}
/* 医生页面专用样式 */
.doctors-hero {
    background: linear-gradient(135deg, #0a5c8e 0%, #1a7aad 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}
.doctors-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}
.doctors-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* 科室导航侧边栏 */
.dept-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}
.dept-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2a3a;
    padding-bottom: 15px;
    border-bottom: 2px solid #0a5c8e;
    margin-bottom: 15px;
}
.dept-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dept-list li {
    margin-bottom: 10px;
}
.dept-list a {
    display: block;
    padding: 10px 15px;
    color: #555;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}
.dept-list a:hover,
.dept-list a.active {
    background: #e8f4f8;
    color: #0a5c8e;
    font-weight: 500;
}

* 医生卡片样式 - 图片区域更高 */
.doctor-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 25px;
    cursor: pointer;
}
.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* 图片区域 - 增加高度到 320px */
.doctor-avatar {
    width: 100%;
    aspect-ratio: 4 / 5;  /* 宽高比 3:4，图片区域为 300px * 400px 比例 */
    object-fit: cover;
    object-position: center 30%; /* 焦点从上往下 20% 位置 */
}

/* 移动端使用正方形或更合适的比例 */
@media (max-width: 768px) {
    .doctor-avatar {
        aspect-ratio: 4 / 5;  /* 宽高比 4:5，更接近黄金比例 */
        object-position: center 25%;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .doctor-avatar {
        aspect-ratio: 1 / 1;  /* 正方形，确保脸部完整 */
    }
}
/* 内容区域保持原样 */
.doctor-info {
    padding: 20px;
}
.doctor-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 5px;
}
/* 医生卡片内容区域 */
/* 医生卡片内容区域 */
.doctor-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* 预约按钮 - 自动推到底部并居中 */
.doctor-card-body .btn-outline {
    margin-top: auto;
    display: block;
    width: fit-content;
    min-width: 120px;
    margin-left: auto;
    margin-right: auto;
}
/* 医生姓名 */
.doctor-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}
.doctor-title {
    font-size: 14px;
    color: #0a5c8e;
    font-weight: 500;
    margin-bottom: 12px;
    position: relative;
    padding-left: 12px;
}
.doctor-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 14px;
    background: #0a5c8e;
    border-radius: 2px;
}
.doctor-expertise {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
}
.doctor-expertise i {
    color: #f0ad4e;
    margin-right: 5px;
}
.doctor-info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.doctor-schedule {
    font-size: 12px;
    color: #999;
}
.btn-reserve {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

/* 医生详情弹窗样式 */
.doctor-detail-header {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    padding: 30px;
    color: #fff;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.doctor-detail-header img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.doctor-detail-info {
    flex: 1;
}
.doctor-detail-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}
.doctor-detail-title {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 12px;
}
.doctor-detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}
.doctor-detail-body {
    padding: 30px;
}
.detail-section {
    margin-bottom: 25px;
}
.detail-section h4 {
    font-size: 18px;
    color: #0a5c8e;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 4px solid #0a5c8e;
}
.detail-section p {
    color: #555;
    line-height: 1.7;
}
.detail-section .expertise-tag {
    display: inline-block;
    background: #e8f4f8;
    color: #0a5c8e;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 10px;
    margin-bottom: 10px;
}


/* ============================================================
   轮播图容器 - 固定高度 20vh
   ============================================================ */
/* 轮播图 - 全屏宽度 */
.doctors-carousel {
	width: 100%;
	height: 40vh;
	min-height: 120px;
	max-height: 550px;
	overflow: hidden;
	background: #f0f5f8;
	position: relative;
}

.doctors-carousel .carousel-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}
.doctors-carousel .static-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;               /* 覆盖裁剪，铺满区域 */
    display: block;
}
#doctorsCarousel {
	width: 100% !important;
	height: 100% !important;
}

#doctorsCarousel .layui-carousel-item {
	height: 100% !important;
}

#doctorsCarousel .carousel-inner {
	width: 100%;
	height: 100% !important;
	overflow: hidden;
	background: #f0f5f8;
}

#doctorsCarousel .carousel-inner img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	display: block !important;
	background: #f0f5f8;
}

/* 指示器 */
#doctorsCarousel .layui-carousel-ind {
	position: absolute !important;
	bottom: 8px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	z-index: 10 !important;
	padding: 4px 12px !important;
	background: rgba(0, 0, 0, 0.15) !important;
	border-radius: 20px !important;
}

#doctorsCarousel .layui-carousel-ind ul li {
	width: 8px !important;
	height: 8px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.4) !important;
	margin: 0 4px !important;
}

#doctorsCarousel .layui-carousel-ind ul li.layui-this {
	background: #ffffff !important;
	transform: scale(1.2) !important;
}

/* 箭头 */
#doctorsCarousel .layui-carousel-arrow {
	width: 32px !important;
	height: 32px !important;
	line-height: 32px !important;
	text-align: center !important;
	background: rgba(255, 255, 255, 0.6) !important;
	border-radius: 50% !important;
	font-size: 14px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

#doctorsCarousel .layui-carousel-arrow.layui-carousel-arrow-left {
	left: 10px !important;
}

#doctorsCarousel .layui-carousel-arrow.layui-carousel-arrow-right {
	right: 10px !important;
}

@media (max-width: 768px) {
	.doctors-carousel {
		height: 15vh;
		min-height: 80px;
	}
}

@media (max-width: 480px) {
	.doctors-carousel {
		height: 12vh;
		min-height: 60px;
	}
}
/* ========== 科室页面通用样式 ========== */
.dept-hero {
    padding: 60px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
}
.dept-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}
.dept-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.dept-filter-bar {
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.dept-filter-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}
.dept-filter-btn:hover {
    background: #e8f4f8;
    color: #0a5c8e;
}
.dept-filter-btn.active {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    color: #fff;
    box-shadow: 0 2px 8px rgba(10,92,142,0.3);
}

.dept-detail-section {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.dept-detail-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}
.dept-detail-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}
.dept-detail-info {
    flex: 1;
}
.dept-detail-name {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
}
.dept-detail-slogan {
    font-size: 16px;
    color: #0a5c8e;
    margin-bottom: 12px;
}
.dept-detail-intro {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}
.dept-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}
.feature-tag {
    background: #f0f7fc;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    color: #0a5c8e;
}

.expert-section {
    margin-top: 30px;
}
.expert-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #0a5c8e;
}
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.expert-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}
.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.expert-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 20%;
}
.expert-info {
    padding: 18px;
}
.expert-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 5px;
}
.expert-title {
    font-size: 13px;
    color: #0a5c8e;
    margin-bottom: 8px;
}
.expert-expertise {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.expert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}
.expert-schedule {
    font-size: 11px;
    color: #999;
}
.btn-appoint {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    color: #fff;
    border: none;
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-appoint:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(10,92,142,0.3);
}
.empty-state {
    text-align: center;
    padding: 60px;
    background: #f8fafc;
    border-radius: 20px;
    color: #999;
}
.dept-hero-bg {
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .dept-hero { padding: 40px 0; }
    .dept-hero h1 { font-size: 28px; }
    .dept-filter-bar { border-radius: 20px; }
    .dept-filter-btn { padding: 8px 16px; font-size: 13px; }
    .dept-detail-header { flex-direction: column; text-align: center; }
    .dept-detail-icon { margin: 0 auto; }
    .expert-grid { gap: 15px; }
}
/* 科室介绍图片上下排列 */
.intro-img-item {
    margin-bottom: 20px;
}
.intro-img-item img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.2s;
}

/* 环境图片画廊容器 */
.env-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.env-gallery img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.2s;
    cursor: pointer;
}
.env-gallery img:hover {
    transform: scale(1.02);
}
/* 关于我们页面样式 */
.about-hero {
    background: linear-gradient(135deg, #0a5c8e 0%, #1a7aad 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}
.about-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.about-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}
.about-section:last-child {
    border-bottom: none;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e8f4f8, #d4eaf0);
    color: #0a5c8e;
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 15px;
}
.section-title h2 {
    font-size: 32px;
    color: #1a2a3a;
    margin-bottom: 15px;
}
.section-title .subtitle {
    color: #666;
    font-size: 16px;
}

/* 品牌释义 */
.brand-meaning {
    background: #f8fafc;
}
.meaning-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 20px;
}
.meaning-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.meaning-item:hover {
    transform: translateY(-5px);
}
.meaning-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.meaning-item h3 {
    font-size: 24px;
    color: #0a5c8e;
    margin-bottom: 10px;
}
.meaning-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 医院简介 */
.hospital-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.intro-text {
    flex: 1;
}
.intro-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}
.intro-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 就医环境 */
.env-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.env-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.env-card:hover {
    transform: translateY(-5px);
}
.env-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.env-card-body {
    padding: 20px;
}
.env-card-body h3 {
    font-size: 18px;
    color: #1a2a3a;
    margin-bottom: 8px;
}
.env-card-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 品牌故事 */
.brand-story {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.story-text {
    flex: 1;
}
.story-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}
.story-video {
    flex: 1;
    background: #1a2a3a;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}


/* 大事记图片走廊 */
.timeline-gallery {
    background: #f0f4f8;
    padding: 20px;
    border-radius: 20px;
}
.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
}
.gallery-item {
    flex-shrink: 0;
    width: 280px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.gallery-item .year {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10,92,142,0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.gallery-caption {
    padding: 15px;
}
.gallery-caption h4 {
    font-size: 16px;
    color: #1a2a3a;
    margin-bottom: 5px;
}
.gallery-caption p {
    font-size: 12px;
    color: #666;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .meaning-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .env-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .about-hero { padding: 50px 0; }
    .about-hero h1 { font-size: 32px; }
    .meaning-grid { grid-template-columns: 1fr; }
    .env-grid { grid-template-columns: 1fr; }
    .gallery-item { width: 240px; }
    .hospital-intro, .brand-story { flex-direction: column; }
}
/* 品牌释义详细解读 */
.brand-meaning-intro {
    margin-bottom: 40px;
}
.brand-meaning-intro p {
    transition: all 0.3s;
}
.brand-meaning-intro p:hover {
    transform: translateX(5px);
}
/* 医院简介增强样式 */
.hospital-intro-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* 共用卡片样式 */
.hospital-intro-enhanced > div {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hospital-intro-enhanced > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* 卡片图标 */
.intro-card-icon,
.equipment-card-icon,
.vision-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e8f4f8, #d4eaf0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.intro-card-icon i,
.equipment-card-icon i,
.vision-card-icon i {
    font-size: 32px;
    color: #0a5c8e;
}

/* 卡片标题 */
.hospital-intro-enhanced h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}

.hospital-intro-enhanced h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0a5c8e, #2d8fbe);
    border-radius: 2px;
}

/* 简介卡片文字 */
.intro-card p {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: justify;
}

/* 设备标签列表 */
.equipment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.equipment-tag {
    background: #f0f7fc;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    color: #0a5c8e;
    transition: all 0.2s;
}

.equipment-tag:hover {
    background: #0a5c8e;
    color: #fff;
    transform: translateY(-2px);
}

/* 愿景卡片 */
.vision-card p {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 20px;
    flex: 1;
}

/* 愿景引用区块 - 庄重版 */
.vision-quote {
    background: linear-gradient(135deg, #f5f2eb, #ebe6dc);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    margin-top: auto;
    position: relative;
    border-left: 4px solid #b8860b;
    border-right: 4px solid #b8860b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quote-icon-left,
.quote-icon-right {
    font-size: 28px;
    color: #b8860b;
    opacity: 0.6;
    position: absolute;
}

.quote-icon-left {
    top: 10px;
    left: 15px;
    transform: rotate(180deg);
}

.quote-icon-right {
    bottom: 10px;
    right: 15px;
}

.quote-content {
    padding: 0 30px;
}

.quote-content p {
    font-size: 15px;
    font-weight: 500;
    color: #2c3e4e;
    line-height: 1.8;
    letter-spacing: 1px;
    margin: 5px 0;
    font-family: "SimHei", "Microsoft YaHei", "PingFang SC", serif;
}

.quote-content p:first-child {
    margin-bottom: 8px;
}

/* 可选：增加金色渐变装饰 */
.vision-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b8860b, #d4af37, #b8860b, transparent);
}

/* 移动端适配 */
@media (max-width: 992px) {
    .hospital-intro-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hospital-intro-enhanced {
        grid-template-columns: 1fr;
    }
    
    .hospital-intro-enhanced > div {
        padding: 20px;
    }
}
/* 就医环境 - 理念文案样式 */
.environment-philosophy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.philosophy-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    align-items: center;  /* 关键修改：垂直居中对齐，而不是 flex-start */
}

.philosophy-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.philosophy-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8f4f8, #d4eaf0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-icon i {
    font-size: 24px;
    color: #0a5c8e;
}

.philosophy-text {
    flex: 1;
}

.philosophy-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: justify;
}

/* 就医环境图片网格 */
.env-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.env-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.env-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.env-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.env-card-body {
    padding: 20px;
}

.env-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.env-card-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .env-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .philosophy-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .philosophy-text p {
        text-align: center;
    }
    .env-grid {
        grid-template-columns: 1fr;
    }
}
/* 品牌故事模块样式 */
.brand-story-section {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

/* 创始人引言 - 左右双引号与文字平行 */
.founder-quote {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    border-radius: 24px;
    padding: 40px 50px;
    margin-bottom: 50px;
    box-shadow: 0 15px 35px rgba(10,92,142,0.2);
}

.quote-row {
    display: flex;
    align-items: center;
    gap: 4px;  /* 更小间距 */
    margin-bottom: 20px;
}

.quote-mark-left,
.quote-mark-right {
    font-size: 36px;
    font-family: "Georgia", serif;
    color: rgba(255,255,255,0.4);
    line-height: 1.2;
    flex-shrink: 0;
}

.quote-mark-left {
    align-self: right;  /* 改为居中对齐 */
}

.quote-mark-right {
    align-self: left;  /* 改为居中对齐 */
}

.quote-text {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    flex: 1;
    text-align: center;
}

.quote-author {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    text-align: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .founder-quote {
        padding: 25px 20px;
    }
    .quote-row {
        flex-direction: column;
        gap: 10px;
    }
    .quote-mark-left,
    .quote-mark-right {
        font-size: 36px;
        align-self: center;
    }
    .quote-mark-left {
        margin-top: 0;
    }
    .quote-mark-right {
        margin-bottom: 0;
    }
    .quote-text {
        font-size: 15px;
        text-align: center;
    }
}

/* 故事内容双栏布局 */
.about-story-content {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.about-story-text {
    flex: 1.2;
}

.about-story-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
    text-align: justify;
}

/* 图片容器 - 两张图片并排 */
.about-story-images {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.about-story-image-item {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    background: #fff;
}

.about-story-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.about-story-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-caption {
    text-align: center;
    padding: 12px;
    background: #fff;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #eee;
}

/* 发展成就布局 - 左图右文 */
.achievement-content {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

/* 图片容器 - 两张图片并排 */
.achievement-images {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.achievement-image-item {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    background: #fff;
}

.achievement-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.achievement-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    text-align: center;
    padding: 12px;
    background: #fff;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #eee;
}

.achievement-text {
    flex: 1.2;
}

.achievement-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
    text-align: justify;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .achievement-content {
        flex-direction: column;
    }
    .achievement-images {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .achievement-images {
        flex-direction: column;
        align-items: center;
    }
    .achievement-image-item {
        max-width: 280px;
        width: 100%;
    }
}

/* 视频区域 */
.story-video-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.story-video {
    max-width: 800px;
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    background: #1a2a3a;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-tip {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #999;
}

/* 可选：自定义播放按钮（如果需要） */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-play-btn i {
    font-size: 32px;
    color: #0a5c8e;
    margin-bottom: 4px;
}

.video-play-btn span {
    font-size: 11px;
    color: #0a5c8e;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .story-video {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* 设备详情弹窗样式 */
.equipment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}
.equipment-modal-content {
    background: #fff;
    max-width: 900px;
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
    max-height: 85%;
    overflow-y: auto;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.equipment-modal-header {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    padding: 25px 30px;
    color: #fff;
    position: relative;
}
.equipment-modal-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.equipment-modal-header p {
    opacity: 0.9;
    font-size: 14px;
}
.equipment-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.equipment-modal-close:hover {
    opacity: 1;
}
.equipment-modal-body {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.equipment-modal-img {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.equipment-modal-img img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.equipment-modal-info {
    flex: 1.5;
}
.info-section {
    margin-bottom: 20px;
}
.info-section h3 {
    font-size: 16px;
    color: #0a5c8e;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e8f4f8;
}
.info-section p {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}
.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.spec-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.spec-list li strong {
    color: #0a5c8e;
    width: 80px;
    display: inline-block;
}
.equipment-card {
    cursor: pointer;
}
.equipment-detail-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #0a5c8e;
    opacity: 0;
    transition: opacity 0.3s;
}
.equipment-card:hover .equipment-detail-tip {
    opacity: 1;
}
@media (max-width: 768px) {
    .equipment-modal-body {
        flex-direction: column;
        padding: 20px;
    }
    .equipment-modal-header h2 {
        font-size: 18px;
    }
}
/* ========== 设备页面专用样式 ========== */
.equipment-hero {
    background: linear-gradient(135deg, #0a2b3e 0%, #0e4d6e 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.equipment-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}
.equipment-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.equipment-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 科室筛选栏 */
.dept-filter-bar {
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    margin: -30px auto 40px;
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 10;
}
.dept-filter-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}
.dept-filter-btn:hover {
    background: #e8f4f8;
    color: #0a5c8e;
}
.dept-filter-btn.active {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    color: #fff;
    box-shadow: 0 2px 8px rgba(10,92,142,0.3);
}

/* 设备网格 */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* 设备卡片 */
.equipment-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}
.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.equipment-img {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #f0f4f8, #e8ecef);
}
.equipment-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    padding: 20px;
}
.equipment-card:hover .equipment-img img {
    transform: scale(1.05);
}
.equipment-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}
.equipment-body {
    padding: 20px;
}
.equipment-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 10px;
}
.equipment-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
.equipment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
}
.equipment-dept {
    font-size: 12px;
    color: #0a5c8e;
    background: #e8f4f8;
    padding: 4px 12px;
    border-radius: 20px;
}
.equipment-detail-btn {
    color: #0a5c8e;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}
.equipment-detail-btn:hover {
    color: #1a7aad;
    text-decoration: underline;
}

/* 设备详情弹窗 */
.detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}
.detail-modal-content {
    background: #fff;
    max-width: 900px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.detail-modal-header {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    padding: 30px;
    color: #fff;
}
.detail-modal-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.detail-modal-header p {
    opacity: 0.9;
    font-size: 14px;
}
.detail-modal-body {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.detail-modal-img {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.detail-modal-img img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.detail-modal-info {
    flex: 1.5;
}
.detail-modal-info h3 {
    font-size: 18px;
    color: #0a5c8e;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f4f8;
}
.detail-modal-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}
.detail-modal-info .spec-list {
    list-style: none;
    padding: 0;
}
.detail-modal-info .spec-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.detail-modal-info .spec-list li strong {
    color: #0a5c8e;
    width: 80px;
    display: inline-block;
}
.detail-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.detail-modal-close:hover {
    opacity: 1;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px;
    background: #f8fafc;
    border-radius: 20px;
    color: #999;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .equipment-hero { padding: 50px 0; }
    .equipment-hero h1 { font-size: 32px; }
    .dept-filter-bar { border-radius: 20px; padding: 8px 12px; }
    .dept-filter-btn { padding: 6px 14px; font-size: 12px; }
    .equipment-grid { gap: 20px; }
    .detail-modal-body { flex-direction: column; }
}

/* 加载动画 */
.loading-spinner {
    text-align: center;
    padding: 60px;
}
.loading-spinner i {
    font-size: 40px;
    color: #0a5c8e;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== 关于页面轮播图样式 ========== */
.about-carousel {
    position: relative;
    margin-bottom: 50px;
}

.about-carousel .layui-carousel {
    background: #1a2a3a;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.carousel-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 20px;
    border-radius: 40px;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.carousel-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.carousel-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.carousel-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    color: #fff;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #1a7aad, #0a5c8e);
    color: #fff;
}

.carousel-btn-outline {
    display: inline-block;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.carousel-btn-outline:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .about-carousel #aboutCarousel {
        height: 400px !important;
    }
    .carousel-title {
        font-size: 28px;
    }
    .carousel-desc {
        font-size: 14px;
    }
    .carousel-badge {
        font-size: 12px;
        padding: 4px 16px;
    }
    .carousel-btn-primary,
    .carousel-btn-outline {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .about-carousel #aboutCarousel {
        height: 350px !important;
    }
    .carousel-title {
        font-size: 22px;
    }
}
/* ========== 悬浮球控件 ========== */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 悬浮球单项 */
.float-item {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* 悬浮球图标 */
/* 悬浮球图标 - 确保居中 */
.float-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    line-height: 1 !important;
}
.float-icon i {
    font-size: 24px;
    color: #fff;
    display: block;
    margin: 0 auto;
}

/* 悬浮球文字 */
.float-label {
    font-size: 10px;
    margin-top: 2px;
    color: #fff;
    display: block;
    text-align: center;
}

/* 预约悬浮球 - 品牌蓝 */
.float-appointment {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    box-shadow: 0 4px 12px rgba(10,92,142,0.3);
}

/* 小程序悬浮球 - 蓝色 */
.float-miniapp {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    box-shadow: 0 4px 12px rgba(10,92,142,0.3);
}

/* 商城悬浮球 - 橙色 */
.float-mall {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    box-shadow: 0 4px 12px rgba(230,126,34,0.3);
}

/* 公众号悬浮球 - 绿色 */
.float-wechat {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 4px 12px rgba(39,174,96,0.3);
}

/* 电话悬浮球 - 红色 */
.float-phone {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* 悬浮效果 */
.float-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .float-buttons {
        right: 15px;
        bottom: 80px;
        gap: 10px;
    }
    .float-item {
        width: 48px;
        height: 48px;
    }
    .float-icon i {
        font-size: 20px;
    }
    .float-label {
        font-size: 9px;
    }
}

/* 桌面端悬停展开效果（可选） */
@media (min-width: 769px) {
    .float-item {
        width: 48px;
        transition: width 0.3s ease;
        overflow: hidden;
        white-space: nowrap;
        border-radius: 30px;
    }
    .float-item:hover {
        width: 100px;
    }
    .float-item .float-label {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .float-item:hover .float-label {
        opacity: 1;
    }
}
/* ========== 新闻页面样式 ========== */
.news-hero {
    background: linear-gradient(135deg, #0a2b3e 0%, #0e4d6e 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.news-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}
.news-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* 分类导航 */
.category-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 1px;
    z-index: 99;
}
.category-nav .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    padding: 3px 5px;
}
.category-btn {
    padding: 3px 5px;
    border: none;
    background: transparent;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}
.category-btn:hover {
    background: #e8f4f8;
    color: #0a5c8e;
}
.category-btn.active {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    color: #fff;
    box-shadow: 0 2px 8px rgba(10,92,142,0.3);
}

/* 主内容区域：三栏布局 */
.news-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
    height: 420px;  /* 固定高度 */
}

/* 左侧：轮播图区域 */
.news-carousel {
    flex: 2;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
}
/* 轮播图高度调整 */
#newsCarousel {
    height: 100% !important;
}
.carousel-item {
    position: relative;
    height: 100%;
    cursor: pointer;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图底部文字区域 */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 20px;
}
.carousel-caption h3 {
    font-size: 16px;
    margin-bottom: 5px;
}
.carousel-caption p {
    font-size: 12px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.carousel-category {
    display: inline-block;
    background: rgba(10,92,142,0.9);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    margin-bottom: 8px;
}

/* 中间：最新新闻列表区域 - 滚动 */
.news-list-center {
    flex: 1.5;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 新闻列表头部 */
.news-center-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0a5c8e;
    flex-shrink: 0;
}

.news-center-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
}

.more-link {
    font-size: 20px;
    color: #0a5c8e;
    cursor: pointer;
}

/* 新闻列表容器 - 滚动区域 */
.news-center-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

/* 新闻列表项 */
.news-center-item {
    display: flex;
    gap: 8px;
    padding: 6px 0;  /* 更紧凑 */
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}
.news-center-item:hover {
    background: #f8fafc;
    padding-left: 5px;
}

.news-center-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-center-info {
    flex: 1;
    overflow: hidden;
}

.news-center-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-center-summary {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-center-meta {
    display: flex;
    gap: 12px;
    font-size: 10px;
    color: #bbb;
}

/* 右侧：侧边栏 - 滚动 */
.sidebar {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

/* 侧边栏卡片 - 滚动 */
.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0a5c8e;
    flex-shrink: 0;
}

/* 热门新闻列表 - 滚动 */
#hotNewsList {
    flex: 1;
    overflow-y: auto;
}

.hot-news-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.hot-news-item:last-child {
    border-bottom: none;
}

.hot-news-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.hot-news-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-news-date {
    font-size: 10px;
    color: #999;
}

/* 快速预约卡片 - 固定内容 */
.sidebar-card:last-child {
    flex: 0 0 auto;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .news-main {
        height: auto;
        flex-direction: column;
    }
    .news-carousel {
        height: 300px;
    }
    .news-list-center {
        height: 400px;
    }
    .sidebar {
        height: auto;
    }
}

/* 分页容器 - 放在最新资讯栏底部 */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

/* 分页按钮样式 */
.news-pagination .page-btn {
    padding: 4px 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
    min-width: 32px;
}

.news-pagination .page-btn:hover {
    border-color: #0a5c8e;
    color: #0a5c8e;
}

.news-pagination .page-btn.active {
    background: #0a5c8e;
    color: #fff;
    border-color: #0a5c8e;
}

/* 页码省略号 */
.page-dots {
    padding: 0 4px;
    color: #999;
    font-size: 12px;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin-top: 20px;
}
.load-more-btn {
    background: #f5f7fa;
    border: 1px solid #e0e0e0;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}
.load-more-btn:hover {
    background: #0a5c8e;
    color: #fff;
    border-color: #0a5c8e;
}

@media (max-width: 768px) {
    .news-hero h1 { font-size: 28px; }
    .carousel-item { height: 250px; }
    .carousel-caption h3 { font-size: 16px; }
    .news-center-img { width: 60px; height: 60px; }
}
/* 弹窗头部固定样式 */
.news-detail-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-bottom: 1px solid #eee;
    padding: 20px 20px 0 20px;
}

/* 弹窗内容滚动区域 */
.news-detail-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
/* 弹窗自定义按钮样式 */
.btn-comment-submit {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    border: none;
    color: #fff;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10,92,142,0.3);
}

.btn-appoint-modal {
    background: linear-gradient(135deg, #0a5c8e, #1a7aad);
    border: none;
    color: #fff;
    padding: 12px 40px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(10,92,142,0.3);
}

.btn-appoint-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10,92,142,0.4);
}

/* 滚动条美化 */
.news-detail-content::-webkit-scrollbar,
#commentList::-webkit-scrollbar {
    width: 6px;
}

.news-detail-content::-webkit-scrollbar-track,
#commentList::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.news-detail-content::-webkit-scrollbar-thumb,
#commentList::-webkit-scrollbar-thumb {
    background: #c0c4cc;
    border-radius: 3px;
}

.news-detail-content::-webkit-scrollbar-thumb:hover,
#commentList::-webkit-scrollbar-thumb:hover {
    background: #0a5c8e;
}
/* ========== 新增多样化展示区域 ========== */
/* ========== 新增多样化展示区域样式 ========== */
.news-module {
    margin-top: 50px;
}
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.module-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a3a;
    position: relative;
    padding-left: 15px;
}
.module-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #0a5c8e;
    border-radius: 2px;
}
.module-more {
    color: #0a5c8e;
    font-size: 13px;
    cursor: pointer;
}

/* 医院要闻区域 */
.news-featured {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.news-featured-carousel {
    flex: 1.5;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 350px;
}
.news-featured-list {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.featured-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.featured-item:last-child {
    border-bottom: none;
}
.featured-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}
.featured-info {
    flex: 1;
}
.featured-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.featured-date {
    font-size: 11px;
    color: #999;
}

/* 科室动态卡片网格 */
.dept-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.dept-news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    cursor: pointer;
}
.dept-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.dept-news-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.dept-news-body {
    padding: 15px;
}
.dept-news-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.dept-news-summary {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 通知公告时间轴 */
.notice-list {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.notice-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.notice-item:last-child {
    border-bottom: none;
}
.notice-badge {
    width: 60px;
    text-align: center;
}
.notice-date {
    font-size: 16px;
    font-weight: 700;
    color: #0a5c8e;
}
.notice-month {
    font-size: 10px;
    color: #999;
}
.notice-icon {
    width: 40px;
    height: 40px;
    background: #e8f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a5c8e;
    font-size: 20px;
}
.notice-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* 客户故事卡片墙 */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.story-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    cursor: pointer;
    border-left: 4px solid #0a5c8e;
}
.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.story-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.story-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e8f4f8, #d4eaf0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #0a5c8e;
}
.story-name {
    font-weight: 600;
    color: #333;
}
.story-dept {
    font-size: 11px;
    color: #999;
}
.story-content {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.story-quote {
    text-align: right;
    font-size: 11px;
    color: #0a5c8e;
}
/* ===== 语言切换按钮样式 ===== */
/* ===== 语言切换按钮样式（适配浅色导航栏） ===== */
.lang-switch-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
}

/* 按钮样式：深色边框 + 深色文字（适配浅色背景） */
.lang-switch-btn {
    background: rgba(10, 92, 142, 0.08);  /* 浅蓝透明背景 */
    border: 1px solid rgba(10, 92, 142, 0.25);
    color: #0a5c8e;  /* 品牌蓝文字 */
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    line-height: 1.5;
    white-space: nowrap;
}

.lang-switch-btn:hover {
    background: rgba(10, 92, 142, 0.15);
    border-color: rgba(10, 92, 142, 0.4);
}

.lang-switch-btn .layui-icon {
    font-size: 16px;
}

.lang-switch-btn .layui-icon-down {
    font-size: 12px;
    transition: transform 0.3s;
}

.lang-switch-btn.active .layui-icon-down {
    transform: rotate(180deg);
}

/* ===== 语言下拉菜单样式（适配浅色导航栏） ===== */
.navbar .lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    padding: 8px 0;
    z-index: 99999;
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid #e8ecf0;
}

/* 下拉菜单滚动条美化 */
.navbar .lang-dropdown::-webkit-scrollbar {
    width: 4px;
}
.navbar .lang-dropdown::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}
.navbar .lang-dropdown::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

/* 语言分组标题 */
.navbar .lang-group-label {
    padding: 8px 18px 4px 18px;
    font-size: 11px;
    color: #999 !important;  /* 灰色标题 */
    font-weight: 600;
    background: #f8f9fa;
    cursor: default;
    pointer-events: none;
    border-bottom: 1px solid #f0f0f0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== 核心：下拉菜单选项文字（深色，清晰可读） ===== */
.navbar .lang-dropdown a {
    display: block;
    padding: 7px 18px 7px 30px;
    /* ----- 文字颜色：深色 #333，绝非白色 ----- */
    color: #333 !important;
    text-decoration: none !important;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    border-left: 3px solid transparent;
    background: transparent !important;
}

.navbar .lang-dropdown a:hover {
    background: #f0f7ff !important;
    color: #0a5c8e !important;
    border-left-color: #0a5c8e;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .lang-switch-wrapper {
        margin-left: 8px;
    }
    .lang-switch-btn {
        padding: 4px 10px;
        font-size: 12px;
        border-radius: 16px;
    }
    .lang-switch-btn .layui-icon-earth {
        font-size: 14px;
    }
    .lang-switch-btn span:not(#currentLangLabel) {
        display: none;
    }
    .navbar .lang-dropdown {
        min-width: 160px;
        max-height: 300px;
        right: -10px;
    }
    .navbar .lang-dropdown a {
        font-size: 12px;
        padding: 6px 14px 6px 24px;
    }
    .navbar .lang-group-label {
        font-size: 10px;
        padding: 6px 14px 3px 14px;
    }
}
/* 将默认下拉菜单移动到右上角 */
#translate {
    position: fixed !important;
    top: 20px !important;    /* 距离顶部20px */
    right: 20px !important;  /* 距离右侧20px */
    bottom: auto !important;
    left: auto !important;
    z-index: 99999 !important;
}

/* 调整下拉菜单内部样式，让它更符合您网站风格（可选） */
#translate .translateSelectLanguage {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

#translate .translateSelectLanguage:hover {
    border-color: #0a5c8e !important;
}