/* ================= 1. 全局基础与变量 ================= */
:root {
    --primary-blue: #4285f4;
    --text-dark: #333;
    --text-gray: #666;
    --text-relative-black: #1D2129; /* 颜色规范：相对黑色 */
    --bg-gray: #f8f9fa;
    --border-color: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局所有按钮 - 移除下划线 */
button,
.btn,
a.btn {
    text-decoration: none !important;
}

button:hover,
button:active,
.btn:hover,
.btn:active,
a.btn:hover,
a.btn:active {
    text-decoration: none !important;
}

/* 本地精简图标：替代 Font Awesome CDN，仅覆盖站点实际用到的图标 */
.fas {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.fas::before {
    content: none !important;
}

.fa-bars {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='black' d='M0 96h448v48H0zm0 136h448v48H0zm0 136h448v48H0z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='black' d='M0 96h448v48H0zm0 136h448v48H0zm0 136h448v48H0z'/%3E%3C/svg%3E");
}

.fa-times {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='black' d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='black' d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256z'/%3E%3C/svg%3E");
}

.fa-chevron-left {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='black' d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='black' d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E");
}

.fa-chevron-right {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='black' d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='black' d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E");
}

.fa-map-marker-alt {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='black' d='M215.7 499.2C267 435 384 279.4 384 192 384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2 12.3 15.3 35.1 15.3 47.4 0zM192 272a80 80 0 1 1 0-160 80 80 0 1 1 0 160z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='black' d='M215.7 499.2C267 435 384 279.4 384 192 384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2 12.3 15.3 35.1 15.3 47.4 0zM192 272a80 80 0 1 1 0-160 80 80 0 1 1 0 160z'/%3E%3C/svg%3E");
}

.fa-phone {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64 0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L323.3 367c-58.3-30.2-106.3-77.2-136.5-136.5l66.8-49.2c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64 0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L323.3 367c-58.3-30.2-106.3-77.2-136.5-136.5l66.8-49.2c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
}

.fa-envelope {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4l217.6 163.2c11.4 8.5 27 8.5 38.4 0l217.6-163.2c12.1-9.1 19.2-23.3 19.2-38.4 0-26.5-21.5-48-48-48H48zM0 176v208c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4l217.6 163.2c11.4 8.5 27 8.5 38.4 0l217.6-163.2c12.1-9.1 19.2-23.3 19.2-38.4 0-26.5-21.5-48-48-48H48zM0 176v208c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E");
}

/* 全局文章类链接 - 移除下划线 */
a[href*="article"],
a[href*="news"],
a[href*="detail"],
.article a,
.news a,
.enterprise-news a,
.article-container a,
.news-item a {
    text-decoration: none !important;
}

/* 兜底：全局所有 <a> 标签 */
a {
    text-decoration: none !important;
}

/* 额外覆盖 hover/active/visited 状态 */
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 70px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.w-1200 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* ================= 2. 头部通用组件 ================= */
header {
    width: 100%;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo a {
    display: block;
    cursor: pointer;
    height: 70px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
    max-height: 48px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    color: var(--text-relative-black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ================= 3. SPA 页面控制 ================= */
.page-view {
    display: none;
    animation: fadeIn 0.4s ease;
    flex: 1;
}

.page-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-banner {
    width: 100%;
    aspect-ratio: 1920 / 350;
    height: auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.page-banner.products {
    background: url('../images/banners/banner_product.jpg');
}

.page-banner.news {
    background: url('../images/banners/banner_news.jpg');
}

.page-banner.about {
    background: url('../images/banners/banner_about.jpg');
}

.page-banner h1 {
    font-size: 38px;
    letter-spacing: 2px;
    color: #000;
    font-weight: bold;
    margin: 0;
}

/* 响应式文字大小 - 平板设备 */
@media screen and (max-width: 1024px) {

    /* 页面banner标题 */
    .page-banner h1 {
        font-size: 32px;
        letter-spacing: 1.5px;
    }

    /* 首页banner文字 */
    .home-banner-text h2 {
        font-size: 36px;
    }

    .home-banner-text p {
        font-size: 15px;
    }

    /* 模块标题 - 平板设备 */
    .section-header h2 {
        font-size: 28px;
    }

    #view-home .section-header h2 {
        font-size: 24px;
    }
}

/* 响应式菜单样式 */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #4E5969;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
}

.mobile-menu-logo img {
    height: 35px;
}

.mobile-menu-close {
    font-size: 24px;
    color: #4E5969;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    margin-left: auto;
    border: 0;
    background: transparent;
}

.mobile-menu-close:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.mobile-menu-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-content a {
    font-size: 16px;
    font-weight: 500;
    padding: 15px 20px;
    color: var(--text-relative-black);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-content a:hover,
.mobile-menu-content a.active {
    color: var(--primary-blue);
    background: #f0f5ff;
    transform: translateX(5px);
}

.mobile-menu-content a::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-top: 2px solid #4E5969;
    border-right: 2px solid #4E5969;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
}

.mobile-menu-content a:hover::after,
.mobile-menu-content a.active::after {
    border-top: 2px solid var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
}

/* 响应式文字大小 - 手机设备 */
@media screen and (max-width: 768px) {

    /* 页面banner标题 */
    .page-banner h1 {
        font-size: 24px;
        letter-spacing: 1px;
        padding-left: 16px;
    }

    /* 首页banner文字 */
    .home-banner-text h2 {
        font-size: 24px;
    }

    .home-banner-text p {
        font-size: 14px;
    }

    /* 模块标题 - 移动设备缩小50% */
    .section-header h2 {
        font-size: 16px;
    }

    #view-home .section-header h2 {
        font-size: 14px;
    }

    /* 显示响应式菜单按钮 */
    .mobile-menu-btn {
        display: block;
    }

    /* 隐藏桌面导航菜单 */
    .nav-menu {
        display: none;
    }

    /* 海大夫互联网医院模块去掉安全间距 */
    #about-hospital .w-1200 {
        padding: 0;
    }
}

/* 版权分隔线全宽通栏（桌面 + 移动端）：突破 .w-1200 左右内边距。 */
#mainFooter {
    overflow: hidden;
}

#mainFooter .copyright-area {
    position: relative;
    border-top: 0;
}

#mainFooter .copyright-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

/* Footer 桌面端终值：收紧上下留白。 */
@media screen and (min-width: 769px) {
    #mainFooter {
        padding-top: 24px;
        padding-bottom: 14px;
    }

    #mainFooter .footer-cols {
        padding-bottom: 18px;
    }

    #mainFooter .copyright-area {
        padding-top: 14px;
    }

    #mainFooter .cert-info {
        margin-top: 6px;
    }
}

/* 响应式文字大小 - 小屏幕手机 */
@media screen and (max-width: 480px) {

    /* 页面banner标题 */
    .page-banner h1 {
        font-size: 20px;
        letter-spacing: 0.5px;
        padding-left: 0px;
    }

    /* 首页banner文字 */
    .home-banner-text h2 {
        font-size: 20px;
    }

    .home-banner-text p {
        font-size: 13px;
    }

    /* 模块标题 - 小屏幕手机缩小50% */
    .section-header h2 {
        font-size: 16px;
    }

    #view-home .section-header h2 {
        font-size: 18px;
    }

    /* 海大夫互联网医院模块去掉安全间距 */
    #about-hospital .w-1200 {
        padding: 0;
    }
}

.section-header {
    text-align: center;
    padding: 60px 0 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #000;
    font-weight: bold;
}

/* ================= 4. 首页 (Home) ================= */
#view-home .section-header {
    padding: 50px 0 30px;
}

.section-header h2 {
    font-size: 28px;
}

/* ================= Banner 轮播图 ================= */
.banner-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    touch-action: pan-y;
}

.banner-slide {
    box-sizing: border-box;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    position: relative;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Banner 文字内容区域 - 非移动屏幕左对齐，无蒙层，安全区域1200px */
.home-banner-text-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    pointer-events: none;
}

.home-banner-text {
    width: 50%;
    max-width: 600px;
    color: #fff;
    padding: 0 20px;
    text-align: left;
    animation: fadeInUp 0.8s ease-out;
}

.home-banner-text h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.home-banner-text p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 500px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Banner 按钮样式 */
.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Banner 指示点样式 */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* 文字入场动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= Banner 响应式调整 ================= */
@media screen and (max-width: 1200px) {
    .banner-slide {
        height: calc(100vh - 70px);
        min-height: 450px;
    }

    .home-banner-text h2 {
        font-size: 42px;
    }

    .home-banner-text p {
        font-size: 17px;
    }
}

@media screen and (max-width: 1024px) {
    .banner-slide {
        height: calc(100vh - 70px);
        min-height: 400px;
    }

    .home-banner-text h2 {
        font-size: 36px;
    }

    .home-banner-text p {
        font-size: 16px;
    }

    .banner-btn {
        width: 45px;
        height: 45px;
    }

    .prev-btn {
        left: 20px;
    }

    .next-btn {
        right: 20px;
    }
}

@media screen and (max-width: 768px) {
    .banner-slide {
        height: 50vh;
        min-height: 50vh;
        max-height: 50vh;
        aspect-ratio: auto;
    }

    .banner-slide img {
        height: 100%;
        object-fit: cover;
    }

    .home-banner-text-wrap {
        left: 0;
        transform: none;
        max-width: 100%;
        justify-content: flex-start;
        padding: 0 20px;
    }

    .home-banner-text {
        width: 50%;
        max-width: 50%;
        text-align: left;
        padding: 0;
    }

    .home-banner-text h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .home-banner-text p {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }

    .banner-btn {
        display: none;
    }

    .banner-dots {
        bottom: 15px;
        gap: 6px;
    }
}

@media screen and (max-width: 480px) {
    .banner-slide {
        height: 50vh;
        min-height: 50vh;
        max-height: 50vh;
        aspect-ratio: auto;
    }

    .banner-slide img {
        height: 100%;
        object-fit: cover;
    }

    .home-banner-text-wrap {
        left: 0;
        transform: none;
        max-width: 100%;
        justify-content: flex-start;
        padding: 0 15px;
    }

    .home-banner-text {
        width: 50%;
        max-width: 50%;
        text-align: left;
        padding: 0;
    }

    .home-banner-text h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .home-banner-text p {
        font-size: 12px;
        line-height: 1.4;
        max-width: 100%;
    }

    .banner-btn {
        display: none;
    }

    .banner-dots {
        gap: 6px;
        bottom: 12px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }
}

.service-img-box {
    margin-bottom: 30px;
}

.service-img-box img {
    width: 100%;
    border-radius: 0px;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0 16px;
}

.service-img-box img:hover {
    transform: none;
}

.roles-section {
    background: #fcfdfd;
    padding-top: 0px !important;
}

.roles-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
}

.roles-tabs {
    width: 330px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.role-tab-item {
    background: #f4f6f9;
    padding: 22px 25px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    border: 1px solid transparent;
    white-space: nowrap;
}

.role-tab-item:hover {
    background: #eef2f7;
    border-color: #e1ecfb;
}

.role-tab-item.active {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 5px 20px rgba(66, 133, 244, 0.3);
    border-color: var(--primary-blue);
}

.role-tab-item.active::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid var(--primary-blue);
}

.role-icon-box {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.role-icon {
    width: 28px;
    height: auto;
    transition: 0.3s;
}

.role-tab-item.active .role-icon {
    filter: brightness(0) invert(1);
}

.role-info {
    overflow: hidden;
}

.role-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: bold;
    white-space: nowrap;
}

.role-info p {
    font-size: 13px;
    opacity: 0.8;
    white-space: nowrap;
}

.role-display-area {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.role-display-area img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    animation: fadeIn 0.4s ease;
}

/* 服务介绍和角色展示响应式调整 */
@media screen and (max-width: 1024px) {
    .roles-content {
        flex-direction: column;
    }

    .roles-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .role-tab-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        justify-content: center;
    }

    .role-icon-box {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .role-tab-item.active::after {
        display: none;
    }

    .role-display-area {
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {

    /* 头部导航栏高度保持70px固定 */
    header {
        height: 70px;
    }

    .logo a {
        height: 70px;
    }

    .logo img {
        height: 48px;
        max-height: 48px;
    }

    /* 角色模块移动端样式调整 */
    .roles-section {
        padding: 8px 0 0 0 !important;
    }

    #view-home .roles-section .section-header {
        margin-bottom: 8px !important;
    }

    .roles-content {
        flex-direction: column;
        gap: 20px;
    }

    #view-home .roles-tabs {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 8px;
    }

    .roles-tabs::-webkit-scrollbar {
        display: none;
    }

    .role-tab-item {
        flex-direction: row;
        text-align: center;
        justify-content: center;
        padding: 12px 20px;
        background: #f4f6f9;
        border-radius: 8px;
        border: 1px solid transparent;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .role-tab-item.active {
        background: var(--primary-blue);
        color: #fff;
        border-color: var(--primary-blue);
    }

    /* 隐藏icon和内容文字，只显示标题 */
    .role-icon-box {
        display: none;
    }

    .role-info p {
        display: none;
    }

    .role-info h4 {
        font-size: 13px;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .role-tab-item.active::after {
        display: none;
    }

    /* 角色展示区域样式 */
    .role-display-area {
        padding: 16px 0;
        margin-top: 0;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.main-news-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.main-news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.main-news-img {
    height: 300px;
    overflow: hidden;
    width: 100%;
    position: relative;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.main-news-card:hover .main-news-img img {
    transform: scale(1.05);
}

.main-news-info {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.main-news-card:hover .main-news-title {
    color: var(--primary-blue);
}

.main-news-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.sub-news-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 15px;
}

.sub-news-item {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    transition: 0.3s;
    align-items: stretch;
}

.sub-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sub-news-item:hover {
    transform: translateX(5px);
}

.sub-news-thumb {
    width: 180px;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.sub-news-item:hover .sub-news-thumb img {
    transform: scale(1.05);
}

.sub-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 5px;
}

.sub-news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    transition: all 0.3s ease;
}

.sub-news-item:hover .sub-news-title {
    color: var(--primary-blue);
}

.sub-news-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: auto;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.sub-news-more {
    font-size: 13px;
    color: var(--primary-blue);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.sub-news-more:hover {
    text-decoration: underline !important;
}

.view-more-container {
    text-align: center;
    margin-top: 30px;
}

.btn-outline-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.2);
    transform: translateY(-2px);
}

/* 企业动态响应式调整 */
@media screen and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .main-news-img {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {

    /* 企业动态模块改为垂直布局，第一个上图下文，其余左图右文 */
    .news-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 16px;
    }

    /* 第一个新闻卡片保持上图下文 */
    .main-news-card:first-child {
        flex-direction: column;
        height: auto;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        background: #fff;
    }

    .main-news-card:first-child .main-news-img {
        width: 100%;
        height: 200px;
        flex-shrink: 0;
        border-radius: 8px 8px 0 0;
    }

    .main-news-card:first-child .main-news-info {
        width: 100%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    /* 其余新闻卡片改为左图右文，cover比例缩小到80% */
    .main-news-card:not(:first-child) {
        flex-direction: row;
        height: auto;
        gap: 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: #fff;
        padding: 10px;
    }

    .main-news-card:not(:first-child) .main-news-img {
        width: 96px;
        height: 64px;
        flex-shrink: 0;
        border-radius: 6px;
    }

    .main-news-card:not(:first-child) .main-news-info {
        width: auto;
        flex: 1;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .main-news-card:not(:first-child) .main-news-title {
        font-size: 13px;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .main-news-card:not(:first-child) .main-news-desc {
        font-size: 11px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 8px;
    }

    .main-news-card:not(:first-child) .news-meta {
        margin-top: auto;
    }

    .main-news-card:not(:first-child) .news-meta span {
        font-size: 11px;
    }

    /* 移动设备padding调整 */
    .w-1200 {
        padding: 16px;
    }

    .section-header {
        padding: 15px 0 10px;
    }

    #view-home .section-header {
        padding: 12.5px 0 7.5px;
    }

    .role-display-area {
        padding: 5px;
    }

    /* 我们的服务模块图片左右padding 16px */
    #home-service .service-img-box {
        padding: 0 16px;
    }

    /* 菜单栏和banner上下padding为0px */
    header {
        padding: 0;
    }

    .page-banner {
        padding: 0;
        aspect-ratio: 1920 / 175;
        /* 网页设备尺寸的50% */
        min-height: 100px;
        /* 最小高度也减半 */
    }

    /* 其他模块之间的上下padding为网页尺寸的50% */
    .service-img-box {
        margin-bottom: 15px;
    }

    .roles-section {
        padding-bottom: 40px;
    }

    .news-grid {
        margin-bottom: 15px;
    }

    .view-more-container {
        margin-top: 15px;
    }

    .prod-advantages {
        padding: 35px 0;
    }

    .adv-header {
        margin-bottom: 20px;
    }

    .adv-stats-container {
        margin-bottom: 15px;
    }

    .inner-tab-content {
        padding-bottom: 40px;
    }

    .science-grid {
        margin-bottom: 20px;
    }

    .pagination {
        margin-top: 20px;
    }

    .about-section {
        padding: 20px 0;
    }

    .profile-row {
        margin-bottom: 20px;
    }

    .profile-text p {
        margin-bottom: 10px;
    }

    .profile-stats {
        padding-top: 10px;
    }

    .cert-main-tabs {
        margin-bottom: 20px;
    }

    #about-contact .section-header {
        margin-bottom: 20px;
    }

    #about-contact .contact-info h4 {
        margin-bottom: 10px;
    }

    #about-contact .contact-item {
        margin-bottom: 7.5px;
    }

    footer {
        padding: 20px 0 10px;
    }

    .footer-cols {
        padding-bottom: 15px;
        gap: 15px;
    }

    .ft-brand img {
        margin-bottom: 7.5px;
    }

    .ft-contact-item {
        margin-bottom: 5px;
    }

    .ft-title {
        margin-bottom: 7.5px;
    }

    .ft-list li {
        margin-bottom: 5px;
    }

    .hospital-item {
        margin-bottom: 5px;
    }

    .ft-qr-area h4 {
        margin-bottom: 5px;
    }

    .copyright-area {
        padding-top: 10px;
    }

    .cert-info {
        margin-top: 5px;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {

    /* 企业动态模块样式优化 */
    .news-grid {
        padding: 0 16px;
        gap: 12px;
    }

    /* 第一个新闻卡片 */
    .main-news-card:first-child .main-news-img {
        height: 160px;
    }

    .main-news-card:first-child .main-news-title {
        font-size: 13px;
    }

    .main-news-card:first-child .main-news-desc {
        font-size: 11px;
    }

    .main-news-card:first-child .news-meta span {
        font-size: 11px;
    }

    /* 其余新闻卡片，cover比例缩小到80% */
    .main-news-card:not(:first-child) {
        gap: 10px;
        padding: 8px;
    }

    .main-news-card:not(:first-child) .main-news-img {
        width: 80px;
        height: 56px;
    }

    .main-news-card:not(:first-child) .main-news-title {
        font-size: 12px;
    }

    .main-news-card:not(:first-child) .main-news-desc {
        font-size: 10px;
    }

    .main-news-card:not(:first-child) .news-meta span {
        font-size: 10px;
    }

    .btn-outline-blue {
        padding: 8px 20px;
        font-size: 12px;
    }

    /* 小屏幕padding调整 */
    .w-1200 {
        padding: 16px;
    }

    .section-header {
        padding: 20px 0 15px;
    }

    #view-home .section-header {
        padding: 15px 0 10px;
    }

    /* 角色模块小屏幕样式 */
    .role-tab-item {
        padding: 6px 12px;
    }

    .role-info h4 {
        font-size: 12px;
    }

    .role-display-area {
        padding: 0 0px 0;
    }
}

/* ================= 5. 产品与服务页 ================= */
.prod-tabs-wrap {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 70px;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.prod-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.prod-tabs a {
    padding: 20px 0;
    font-size: 16px;
    color: var(--text-relative-black);
    cursor: pointer;
    position: relative;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
}

.prod-tabs a:hover,
.prod-tabs a.active {
    color: var(--primary-blue);
}

.prod-tabs a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.prod-tabs a:hover::after,
.prod-tabs a.active::after {
    width: 100%;
}

.prod-content-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 60px 0;
}

.prod-content-section {
    display: flex;
    align-items: center;
    gap: 60px;
    scroll-margin-top: 130px;
}

.prod-content-section:nth-child(even) .prod-content-left {
    order: 1;
}

.prod-content-section:nth-child(even) .prod-content-right {
    order: 2;
}

.prod-content-left {
    flex: 1;
    order: 2;
}

.prod-content-right {
    flex: 1;
    order: 1;
}

.prod-content-left h3 {
    font-size: 28px;
    color: #222;
    margin-bottom: -2px;
    font-weight: bold;
    line-height: 1.3;
    text-align: left;
}

.prod-content-left p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
    text-align: left;
    padding-left: 0;
}

.prod-content-left p strong {
    display: block;
    color: #000;
    text-align: left;
    margin-bottom: -10px;
    padding-left: 0;
}

/* 网页尺寸下删除圆点 */
@media screen and (min-width: 769px) {
    .prod-content-left p strong::before {
        display: none;
    }

    .prod-content-left p {
        padding-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: left !important;
        width: 100%;
    }

    .prod-content-left p strong {
        text-align: left !important;
        width: 100%;
        margin-bottom: -10px !important;
    }
}

/* 移动设备尺寸保持圆点 */
@media screen and (max-width: 768px) {
    .prod-content-left p strong {
        position: relative;
        padding-left: 20px;
    }

    .prod-content-left p strong::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background-color: #000;
        border-radius: 50%;
        display: block;
    }
}

/* 图二原型页面布局调整 */
@media screen and (min-width: 769px) {
    .prod-content-section {
        align-items: flex-start;
        gap: 40px;
    }

    .prod-content-left {
        padding-top: 40px;
    }

    .prod-content-right img {
        max-width: 100%;
        height: auto;
        padding: 0 !important;
        margin: 0 !important;
    }
}

.prod-content-right img {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    padding: 0 !important;
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .prod-tabs {
        display: none;
    }

    .about-subnav {
        display: none;
    }

    .prod-content-container {
        padding: 20px 16px;
    }

    .prod-content-section {
        flex-direction: column;
        gap: 12px;
    }

    .prod-content-left,
    .prod-content-right {
        flex: none;
        width: 100%;
        padding: 8px 0;
    }

    .prod-content-left {
        order: 1 !important;
    }

    .prod-content-right {
        order: 2 !important;
    }

    .prod-content-left h3 {
        text-align: center;
        font-size: 24px;
        margin-bottom: 2px;
    }

    .prod-content-left p {
        font-size: 14px;
        text-align: left;
        margin-bottom: -2px;
    }

    .prod-content-left p:first-of-type {
        text-align: left;
        margin-bottom: -2px;
    }

    .prod-content-left p strong {
        display: block;
        position: relative;
        padding-left: 20px;
        color: #000;
        text-align: left;
        margin-bottom: -2px;
    }

    .prod-content-left p strong::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background-color: #000;
        border-radius: 50%;
        display: block;
    }
}

/* 网页设备时减小红框padding值 */
@media screen and (min-width: 769px) {
    .prod-content-left {
        padding: 0;
    }
}

/* 网页内容按照图二原型调整布局 */
@media screen and (min-width: 769px) {
    .prod-content-section {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .prod-content-left {
        flex: 1;
        padding: 0;
    }

    .prod-content-right {
        flex: 1;
    }

    .prod-content-left h3 {
        font-size: 28px;
        color: #222;
        margin-bottom: 15px;
        font-weight: bold;
        line-height: 1.3;
        text-align: left !important;
    }

    .prod-content-left p:first-of-type {
        font-size: 16px;
        line-height: 1.8;
        color: #666;
        margin-bottom: 0 !important;
        text-align: left !important;
        font-weight: 500;
    }

    .prod-content-left p:not(:first-of-type) {
        font-size: 16px;
        line-height: 1.8;
        color: #666;
        margin-bottom: 0 !important;
        text-align: left !important;
    }

    .prod-content-left p strong {
        display: block;
        color: #000;
        text-align: left !important;
        margin-bottom: -10px !important;
        width: 100%;
    }

    .prod-content-left p strong::before {
        content: "•";
        display: inline-block;
        margin-right: 10px;
        color: #000;
        font-size: 20px;
    }
}

/* 确保指定元素左对齐 */
#prod-item-6 .prod-content-left p strong {
    text-align: left !important;
}

#prod-item-6 .prod-content-left p strong::before {
    display: inline-block !important;
    margin-right: 10px !important;
}

/* 企业动态模块移动端调整 */
@media screen and (max-width: 768px) {
    .news-content {
        flex-direction: column;
        gap: 16px;
    }

    .news-content .news-text {
        order: 1;
    }

    .news-content .news-img {
        order: 2;
    }
}

/* 减小元素之间的padding值 */
.prod-content-container {
    gap: 60px;
}

@media screen and (max-width: 768px) {
    .prod-content-container {
        gap: 40px;
    }
}

/* 图一内容自适应布局 */
.prod-advantages {
    background: url('../images/icons/advantage_bg.jpg') center/cover no-repeat;
    padding: 70px 0;
    background-color: #f4f7fc;
    scroll-margin-top: 130px;
}

.adv-header {
    text-align: center;
    margin-bottom: 40px;
}

.adv-header h2 {
    font-size: 30px;
    font-weight: bold;
    color: #111;
    margin-bottom: 12px;
}

.adv-header p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

.adv-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.adv-stat-box {
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .adv-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.adv-stat-box:hover {
    transform: translateY(-5px);
}

.adv-stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #eaeaea;
}

.adv-stat-box h4 {
    display: inline-block;
    font-size: 38px;
    font-weight: bold;
    color: #111;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.adv-stat-box:hover h4 {
    color: var(--primary-blue);
}

.adv-stat-box span {
    font-size: 20px;
    font-weight: bold;
    color: #111;
}

.adv-stat-box p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.adv-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.adv-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #e1ecfb;
}

.adv-card-icon {
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.adv-card:hover .adv-card-icon {
    transform: scale(1.1);
}

.adv-card-icon img {
    max-height: 100%;
    max-width: 90px;
    object-fit: contain;
}

.adv-card h4 {
    font-size: 16px;
    font-weight: bold;
    color: #111;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.adv-card:hover h4 {
    color: var(--primary-blue);
}

.adv-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* 产品服务响应式调整 */
@media screen and (max-width: 1024px) {
    .prod-tabs {
        gap: 20px;
    }

    .adv-stats-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .adv-stat-box {
        width: calc(50% - 15px);
    }

    .adv-stat-box:not(:last-child)::after {
        display: none;
    }

    .adv-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .prod-tabs {
        justify-content: center;
    }

    .adv-stats-container {
        gap: 20px;
    }

    .adv-stat-box {
        width: 100%;
    }

    .adv-header h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .prod-tabs a {
        font-size: 14px;
    }

    .adv-stat-box h4 {
        font-size: 32px;
    }

    .adv-card {
        padding: 20px 15px;
    }
}

/* ================= 6. 企业动态页 ================= */
.news-tabs-wrap {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px;
    position: sticky;
    top: 70px;
    z-index: 900;
}

.news-tabs {
    display: flex;
    gap: 50px;
}

.news-tab {
    padding: 20px 0;
    font-size: 16px;
    color: var(--text-relative-black);
    cursor: pointer;
    position: relative;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
}

.news-tab:hover,
.news-tab.active {
    color: var(--primary-blue);
}

.news-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
}

.inner-tab-content {
    display: none;
    padding-bottom: 20px;
    min-height: 500px;
}

.inner-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.science-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
    display: block;
}

.science-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.science-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.science-info {
    padding: 25px;
}

.science-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    height: 54px;
}

.science-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.science-card:hover .science-card-title {
    color: var(--primary-blue);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    transition: 0.3s;
    user-select: none;
    font-family: inherit;
}

.banner-btn {
    border: 0;
    font-family: inherit;
}

.page-btn.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.page-btn:not(.active):not(:disabled):hover {
    background: #f0f0f0;
    color: var(--primary-blue);
}

.page-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.page-btn.active:disabled {
    opacity: 1;
}

.news-empty-state {
    width: 100%;
    grid-column: span 2;
    color: #999;
    text-align: center;
}

.main-news-more {
    color: var(--primary-blue);
}

.milestone-img-container {
    padding: 30px 0;
    text-align: center;
}

.milestone-img-container img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ================= 7. 关于我们页 ================= */
.about-subnav-wrap {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 70px;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.about-subnav {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.about-subnav a {
    padding: 20px 0;
    font-size: 16px;
    color: var(--text-relative-black);
    cursor: pointer;
    position: relative;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
}

.about-subnav a:hover,
.about-subnav a.active {
    color: var(--primary-blue);
}

.about-subnav a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.about-subnav a:hover::after,
.about-subnav a.active::after {
    width: 100%;
}

.about-section {
    padding: 40px 0;
    scroll-margin-top: 130px;
}

.about-section:nth-child(even) {
    background-color: #fafbfc;
}

.profile-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.profile-text {
    flex: 1;
}

.profile-text h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.profile-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.profile-img {
    width: 30%;
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: translateY(-5px);
}

.profile-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-img:hover img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    border-top: none;
    padding-top: 20px;
}

.profile-stats h4 {
    display: inline-block;
    font-size: 34px;
    color: #222;
    margin-bottom: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.profile-stats:hover h4 {
    color: var(--primary-blue);
}

.profile-stats span {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

.profile-stats p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.cert-main-tabs {
    text-align: center;
    margin-bottom: 40px;
}

.cert-main-tabs span {
    display: inline-block;
    padding: 10px 35px;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    cursor: pointer;
    margin: 0 10px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    transition: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    outline: none;
}

.cert-main-tabs span:hover,
.cert-main-tabs span.active,
.cert-main-tabs span:active {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
    transform: none;
}

.cert-content-group {
    display: none;
}

.cert-content-group.active {
    display: block;
}

.cert-hospital-title {
    display: none;
}

.cert-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.cert-tabs-vertical {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-right: 1px solid #eee;
    padding-right: 20px;
    flex-shrink: 0;
}

.cert-tabs-vertical span {
    padding: 15px 20px;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    font-size: 15px;
    text-align: right;
    border-right: 3px solid transparent;
    transition: 0.3s;
    margin-right: -21px;
    display: block;
    position: relative;
}

.cert-tabs-vertical span:hover,
.cert-tabs-vertical span.active {
    color: var(--primary-blue);
    font-weight: bold;
    background: #f4f8ff;
    border-right-color: var(--primary-blue);
}

/* 证书轮播图布局 */
.cert-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

.cert-carousel-container.nested {
    display: none;
}

.cert-carousel-container.nested.active {
    display: flex;
}

.cert-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.cert-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.cert-carousel-item {
    flex: 0 0 calc(33.333% - 13.333px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-card {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cert-card-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.cert-card:hover .cert-card-img {
    transform: scale(1.05);
}

.cert-card-title {
    padding: 12px 15px;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 轮播图导航按钮 */
.cert-carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #666;
    font-size: 14px;
}

.cert-carousel-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.1);
}

.cert-carousel-btn:active {
    transform: scale(0.95);
}

/* 证书响应式布局 */
@media (min-width: 768px) and (max-width: 1199px) {
    .cert-carousel-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .cert-carousel-container {
        gap: 8px;
        padding: 16px 0;
    }

    .cert-carousel-item {
        flex: 0 0 calc(50% - 4px);
    }

    .cert-card-img {
        height: 150px;
    }

    .cert-card-title {
        padding: 8px 10px;
        font-size: 12px;
        min-height: 36px;
    }

    .cert-carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* 证书模态框：桌面卡片预览 / 手机系统看图 */
.cert-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    overscroll-behavior: none;
    touch-action: none;
}

.cert-modal.is-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cert-modal-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-modal-img {
    max-width: min(1000px, 92vw);
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.2s ease;
}

.cert-modal-close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-modal-close:hover,
.cert-modal-close:focus {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.cert-modal-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-modal-nav.prev { left: max(12px, env(safe-area-inset-left)); }
.cert-modal-nav.next { right: max(12px, env(safe-area-inset-right)); }

.cert-modal-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.cert-modal-nav.is-hidden {
    display: none;
}

.cert-modal-caption,
.cert-modal-counter {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    pointer-events: none;
    padding: 0 56px;
}

.cert-modal-caption {
    bottom: calc(28px + env(safe-area-inset-bottom));
    font-size: 15px;
    line-height: 1.4;
}

.cert-modal-counter {
    top: max(18px, calc(env(safe-area-inset-top) + 10px));
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

body.cert-lightbox-open {
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .cert-modal {
        background: #000;
    }

    .cert-modal-img {
        max-width: 100vw;
        max-height: 100vh;
        max-height: 100dvh;
        width: auto;
        height: auto;
        border-radius: 0;
        transition: none;
    }

    .cert-modal-nav {
        display: none;
    }

    .cert-modal-close {
        top: max(10px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));
        width: 36px;
        height: 36px;
        font-size: 26px;
        background: rgba(0, 0, 0, 0.35);
    }

    .cert-modal-caption {
        bottom: calc(20px + env(safe-area-inset-bottom));
        font-size: 14px;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    }

    .cert-modal-counter {
        top: max(16px, calc(env(safe-area-inset-top) + 8px));
        font-size: 12px;
    }
}

.culture-grid {
    display: flex;
    gap: 12px;
    height: 300px;
}

.culture-item {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    cursor: pointer;
}

.culture-item:hover,
.culture-item.active {
    flex: 2;
}

.culture-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.culture-item:hover img {
    transform: scale(1.1);
}

.culture-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    flex-direction: column;
    padding: 15px;
    text-align: center;
}

.culture-item:hover .culture-overlay,
.culture-item.active .culture-overlay {
    background: rgba(66, 133, 244, 0.85);
}

.culture-title {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 6px;
    transition: 0.5s;
}

.culture-item:hover .culture-title,
.culture-item.active .culture-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.culture-desc {
    display: none;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0;
    animation: fadeIn 0.5s forwards 0.2s;
}

.culture-item:hover .culture-desc,
.culture-item.active .culture-desc {
    display: block;
}

.hosp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hosp-card {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    position: relative;
    transition: 0.3s;
}

.hosp-card:not(.no-hover):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.hosp-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #e0e0e0;
    color: #666;
    padding: 4px 10px;
    font-size: 12px;
    border-bottom-left-radius: 8px;
    font-weight: bold;
    z-index: 5;
}

.hosp-card-top {
    padding: 20px 20px 10px;
    text-align: center;
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}

.hosp-card-top img {
    width: 140px;
    height: 140px;
    margin: 0 auto 5px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.hosp-card:hover .hosp-card-top img {
    transform: scale(1.05);
}

.hosp-card-top h4 {
    font-size: 16px;
    color: #222;
    font-weight: bold;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.hosp-card:hover .hosp-card-top h4 {
    color: var(--primary-blue);
}

.hosp-card-top p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.hosp-card-bottom {
    padding: 0 20px 20px;
}

.hosp-card-bottom img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.hosp-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.hosp-card:not(.no-hover):hover .hosp-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.hosp-qr-box {
    text-align: center;
    max-width: 130px;
}

.hosp-qr-box img {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    margin: 0 auto 8px auto;
    border: 1px solid #eee;
    display: block;
    transition: all 0.3s ease;
}

.hosp-qr-box:hover img {
    transform: scale(1.05);
}

.hosp-qr-box span {
    font-size: 12px;
    font-weight: bold;
    color: #222;
    display: block;
    line-height: 1.4;
    white-space: normal;
}

/* 互联网医院三卡：紧凑间距 + 标题/地址定高，底部二维码自然对齐 */
#about-hospital .hosp-grid {
    align-items: stretch;
}

#about-hospital .hosp-card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: auto;
    box-sizing: border-box;
    padding: 24px 20px 16px !important;
}

#about-hospital .hosp-logo {
    flex-shrink: 0;
    margin-bottom: 6px !important;
}

#about-hospital .hosp-card > h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4em;
    margin-bottom: 4px !important;
    line-height: 1.3;
}

#about-hospital .hosp-card > p {
    flex-shrink: 0;
    min-height: 1.4em;
    margin-bottom: 10px !important;
}

#about-hospital .hosp-info {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    min-height: 4.2em;
    margin-bottom: 12px !important;
}

#about-hospital .hosp-info > p {
    display: flex !important;
    width: 100%;
    align-items: flex-start;
    margin: 0 !important;
    text-align: left;
}

#about-hospital .hosp-info .icon-map {
    flex: 0 0 auto;
    margin-top: 2px;
    margin-right: 8px;
}

#about-hospital .hosp-address-text {
    flex: 1;
    min-width: 0;
    line-height: 1.55;
}

#about-hospital .hosp-qr-container {
    display: flex !important;
    flex-shrink: 0;
    align-items: flex-start !important;
    justify-content: space-around;
    width: 100%;
    min-height: 140px;
    height: auto !important;
    margin-top: 0;
    gap: 12px;
}

#about-hospital .hosp-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 130px;
}

#about-hospital .hosp-qr-box span {
    min-height: 2.8em;
    line-height: 1.4;
}

#about-hospital .hosp-card:last-child .hosp-qr-container {
    justify-content: center;
    align-items: center !important;
}

/* ================= 联系我们 ================= */
#about-contact {
    padding: 60px 0;
    background: #f9f9f9;
}

#about-contact .w-1200 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about-contact .section-header {
    padding-top: 0;
    margin-bottom: 40px;
}

#about-contact .contact-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

#about-contact .contact-info {
    flex: 1;
    padding-right: 40px;
}

#about-contact .contact-info h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

#about-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

#about-contact .contact-icon {
    color: #4a90e2;
    font-size: 18px;
    margin-top: 2px;
}

#about-contact .contact-details p {
    margin: 0;
    color: #666;
}

#about-contact .contact-details a,
#about-contact .contact-details a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
    -webkit-text-fill-color: currentColor;
    pointer-events: auto;
    cursor: pointer;
}

#about-contact .contact-details p strong {
    color: #333;
}

#about-contact .contact-image {
    flex: 1;
    max-width: 400px;
}

#about-contact .contact-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ================= 8. 底部通用组件 Footer ================= */
footer {
    background: #070e1a;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 13px;
    margin-top: auto;
}

/* 网页设备尺寸 footer 布局 - 居中显示品牌和二维码 */
.footer-cols {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 30px;
    gap: 30px;
}

.ft-v-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.ft-brand {
    width: 280px;
    flex-shrink: 0;
    text-align: left;
}

.ft-brand img {
    height: 40px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: block;
}

.ft-brand img:hover {
    transform: scale(1.05);
}

.ft-contact-item {
    display: flex;
    align-items: flex-start;
    color: #8e9bb0;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 12px;
    transition: all 0.3s ease;
}

.ft-contact-item:hover {
    color: #fff;
}

.ft-contact-label {
    flex-shrink: 0;
}

.ft-contact-value {
    text-align: left;
}

.ft-brand-mobile {
    margin-bottom: 20px;
    text-align: center;
}

.ft-brand-mobile img {
    margin: 0 auto 15px;
}

.ft-brand-mobile .ft-contact-item {
    justify-content: center;
}

.ft-qr-box-mobile {
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.ft-menus {
    display: flex;
    gap: 40px;
    flex-shrink: 0;
}

.ft-menu-col {
    min-width: 80px;
}

.ft-title {
    font-size: 14px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}

.ft-list li {
    margin-bottom: 10px;
}

.ft-list a {
    color: #8e9bb0;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ft-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* 网页设备尺寸 footer 布局：品牌 | 菜单 | 互联网医院 | 二维码 */
.ft-menus {
    display: flex;
    gap: 40px;
    flex-shrink: 0;
}

.ft-right-area {
    display: flex;
    gap: 30px;
    flex-grow: 1;
    justify-content: flex-end;
}

.ft-hospital-box {
    min-width: 190px;
}

.hospital-item {
    display: flex;
    align-items: center;
    color: #8e9bb0;
    cursor: pointer;
    position: relative;
    font-size: 13px;
    margin-bottom: 10px;
    transition: 0.3s;
    white-space: nowrap;
}

.hospital-item:hover {
    color: #fff;
}

.hospital-icon {
    margin-right: 8px;
    border: 1px solid #8e9bb0;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.3s ease;
}

.hospital-item:hover .hospital-icon {
    border-color: #fff;
    background: var(--primary-blue);
}

.hospital-qr-popover {
    position: absolute;
    bottom: 100%;
    left: -20px;
    z-index: 10;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.hospital-qr-popover::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 40px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
}

.hospital-item:hover .hospital-qr-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

.qr-unit {
    text-align: center;
    max-width: 130px;
}

.qr-unit img {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    margin: 0 auto 5px auto;
    display: block;
    transition: all 0.3s ease;
}

.qr-unit:hover img {
    transform: scale(1.05);
}

.qr-unit span {
    width: 110px;
    color: #333;
    font-size: 12px;
    display: block;
    line-height: 1.4;
    white-space: normal;
}

.ft-qr-area {
    text-align: left;
}

.ft-qr-area h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: bold;
    white-space: normal;
    line-height: 1.6;
}

.ft-qr-box {
    display: flex;
    gap: 15px;
}

.follow-item {
    text-align: center;
    transition: all 0.3s ease;
}

.follow-item:hover {
    transform: translateY(-5px);
}

.follow-item img {
    width: 75px;
    height: 75px;
    background: #fff;
    padding: 4px;
    border-radius: 6px;
    margin: 0 auto 8px auto;
    transition: all 0.3s ease;
}

.follow-item:hover img {
    transform: scale(1.05);
}

.follow-item span {
    color: #8e9bb0;
    font-size: 12px;
    display: block;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.follow-item:hover span {
    color: #fff;
}

.copyright-area {
    text-align: center;
    padding-top: 20px;
    color: #8e9bb0;
    font-size: 12px;
    line-height: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cert-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.cert-info span:hover {
    color: #fff;
}

.police-icon {
    height: 16px;
}

.footer-legal-link {
    color: inherit;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #fff;
}

.hospital-trigger {
    display: inline-flex;
    align-items: center;
}

.hospital-trigger .icon-xiaochengxu {
    margin-right: 8px;
    font-size: 14px;
}

/* 页脚响应式调整 */
@media screen and (max-width: 1024px) {
    .footer-cols {
        flex-wrap: wrap;
        gap: 40px;
    }

    .ft-v-divider {
        display: none;
    }

    .ft-brand,
    .ft-menus,
    .ft-right-area {
        width: 100%;
    }

    .ft-right-area {
        justify-content: flex-start;
    }

    .ft-menus {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    footer {
        padding: 30px 0 15px;
    }

    .ft-brand img {
        height: 35px;
    }

    .about-subnav-wrap {
        display: none;
    }

    .copyright-area {
        line-height: 1.6;
        padding: 10px 16px 0;
    }

    .copyright-area>div {
        word-break: break-all !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        display: inline-block;
        width: 100%;
    }

    .cert-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .cert-info span {
        white-space: normal;
        word-break: break-all;
        text-align: center;
        justify-content: center;
    }

    /* 移动设备改成一排2布局，内容居中 */
    .footer-cols {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-bottom: 20px;
    }

    .ft-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .ft-menus {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .ft-menu-col {
        min-width: 100%;
    }

    .ft-right-area {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .ft-hospital-box {
        min-width: 100%;
    }

    .ft-qr-area {
        text-align: center;
    }

    .ft-qr-box {
        justify-content: center;
    }

    .ft-title {
        white-space: normal;
    }

    .ft-list a {
        white-space: normal;
    }

    .hospital-item {
        white-space: normal;
    }

    .follow-item span {
        white-space: normal;
    }
}

@media screen and (max-width: 480px) {
    .footer-cols {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ft-qr-box {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .cert-info {
        gap: 10px;
    }

    .cert-info span {
        font-size: 10px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .roles-content {
        flex-direction: column;
    }

    .roles-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .role-tab-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        justify-content: center;
    }

    .role-icon-box {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .role-tab-item.active::after {
        display: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .main-news-img {
        height: 250px;
    }

    .science-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cols {
        flex-wrap: wrap;
        gap: 40px;
    }

    .ft-v-divider {
        display: none;
    }

    .ft-brand,
    .ft-menus,
    .ft-right-area {
        width: 100%;
    }

    .ft-right-area {
        justify-content: flex-start;
    }

    .adv-stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .adv-stat-box::after {
        display: none;
    }

    .adv-cards-grid {
        grid-template-columns: 1fr;
    }

    .cert-container {
        flex-direction: column;
    }

    .cert-tabs-vertical {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        padding-right: 0;
        justify-content: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .cert-tabs-vertical span {
        border-right: none;
        border-bottom: 3px solid transparent;
        margin-right: 0;
        text-align: center;
    }

    .cert-tabs-vertical span.active {
        border-right-color: transparent;
        border-bottom-color: var(--primary-blue);
    }

    .hosp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-row {
        flex-direction: column;
    }

    .contact-map {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .roles-tabs {
        display: flex;
        grid-template-columns: 1fr;
    }

    .role-tab-item {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }

    .role-icon-box {
        margin-right: 15px;
        margin-bottom: 0;
    }

    /* 企业动态页面列表删去左右padding，减小padding，标题和内容自适应 */
    .science-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        margin-bottom: 20px;
    }

    .science-card {
        display: block;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
        transition: 0.3s;
        background: none;
        padding: 0;
    }

    .science-card img {
        width: 100%;
        height: auto;
        flex-shrink: 0;
        border-radius: 0;
    }

    .science-info {
        padding: 12.5px;
    }

    .science-card-title {
        font-size: 14px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        height: auto;
    }

    .science-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .pagination {
        margin-top: 20px;
    }

    /* 企业大事记时间线样式 - 移动端 */
    .timeline-container {
        padding: 0 16px !important;
    }

    .milestone-timeline {
        position: relative;
        padding-left: 0;
    }

    /* 隐藏时间线 */
    .timeline-line {
        display: none;
    }

    .timeline-year {
        position: relative;
        text-align: left;
        margin: 20px 0 10px;
        padding-left: 0;
    }

    .timeline-year.left,
    .timeline-year.right {
        text-align: left !important;
        padding-left: 0 !important;
    }

    .timeline-year .year-title {
        font-size: 18px;
        font-weight: bold;
        color: #4a90e2;
        display: inline-block;
    }

    .timeline-item {
        position: relative;
        margin: 15px 0;
        padding-left: 0;
        text-align: left;
    }

    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start !important;
        padding-left: 0 !important;
        text-align: left !important;
    }

    /* 隐藏时间圆点 */
    .timeline-dot {
        display: none;
    }

    .timeline-content {
        background: #f5f7fa;
        padding: 12px;
        border-radius: 8px;
    }

    .timeline-date {
        font-weight: bold;
        color: #4a90e2;
        margin-bottom: 5px;
        font-size: 16px;
        text-align: left;
    }

    .timeline-text {
        color: #333;
        line-height: 1.5;
        font-size: 13px;
    }

    /* 移动端footer样式 - 只显示二维码 */
    .footer-cols {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 20px;
    }

    .ft-brand {
        display: none;
    }

    .ft-qr-area {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .ft-qr-area h4 {
        display: none;
    }

    .ft-qr-box {
        justify-content: center;
        margin: 0 auto;
        display: flex;
        gap: 20px;
    }

    .follow-item img {
        width: 100px;
        height: 100px;
    }

    .prod-tabs {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .adv-stats-container {
        flex-direction: column;
    }

    .hosp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ft-qr-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .profile-row {
        flex-direction: column;
    }

    .profile-img {
        width: 100%;
    }

    .profile-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .profile-stats div {
        width: 45%;
    }

    .contact-box {
        flex-direction: column;
        text-align: center;
    }

    .contact-box-left p {
        justify-content: center;
    }

    .contact-box-right {
        margin: 0 auto;
    }
}



.iconfont {
    font-family: 'iconfont' !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   移动端一致性优化（仅调整间距、排版、触控与溢出，不改变设计）
   ========================================================= */
@media screen and (max-width: 768px) {
    html { scroll-padding-top: 60px; }
    body { padding-top: 60px; overflow-x: hidden; font-size: 15px; }

    header, .header-inner, .logo a { height: 60px; }
    .header-inner, .w-1200 { padding-left: 16px; padding-right: 16px; }
    .logo img { width: auto; height: 40px; max-height: 40px; }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .mobile-menu-content a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .page-banner {
        height: 100px;
        min-height: 100px;
        background-position: center;
    }

    .page-banner h1 { padding-left: 0; font-size: 22px; line-height: 1.3; }
    .section-header { padding-top: 28px; padding-bottom: 16px; }
    .section-header h2, #view-home .section-header h2 { font-size: 22px; line-height: 1.35; }
    #view-home > section.w-1200 { padding-top: 28px !important; padding-bottom: 28px !important; }
    .roles-section { padding-top: 28px !important; }
    .roles-section .section-header { margin-bottom: 24px !important; }

    .roles-tabs, .prod-tabs, .news-tabs, .about-subnav {
        gap: 8px;
        scrollbar-width: none;
    }

    .roles-tabs::-webkit-scrollbar, .prod-tabs::-webkit-scrollbar,
    .news-tabs::-webkit-scrollbar, .about-subnav::-webkit-scrollbar { display: none; }
    .roles-tabs button, .prod-tab, .news-tab, .about-subnav a { min-height: 44px; }
    .banner-arrow, .view-more-btn { min-width: 44px; min-height: 44px; }
    .news-grid, .science-grid { gap: 16px; }
    .news-card-content, .science-card-content { padding: 16px; }

    .prod-content-container { padding-top: 28px; padding-bottom: 36px; }
    .prod-content-section { gap: 18px; padding: 28px 0; }
    .prod-content-left h3 { margin-bottom: 12px; font-size: 24px; line-height: 1.35; }
    .prod-content-left p { margin-bottom: 8px; font-size: 15px; line-height: 1.75; }
    .prod-content-left p strong { line-height: 1.6; }

    .prod-content-right img, .profile-img img, .science-card img {
        max-width: 100%;
        height: auto;
    }

    .about-section { padding-top: 32px; padding-bottom: 32px; }
    .profile-row { gap: 24px; }
    .profile-text h3 { margin-bottom: 12px; font-size: 24px; line-height: 1.4; }
    .profile-text p, .timeline-text, .contact-box-left p {
        font-size: 15px;
        line-height: 1.75;
    }
    .timeline-content { padding: 16px; }

    .footer-cols { padding-top: 28px; padding-bottom: 20px; }
    .ft-qr-box { gap: 16px; }
    .footer-bottom { padding: 16px; line-height: 1.7; }

    a:focus-visible, button:focus-visible {
        outline: 2px solid var(--primary-blue);
        outline-offset: 3px;
    }
}

@media screen and (max-width: 480px) {
    .prod-content-left h3, .profile-text h3 { font-size: 23px; }
    .hosp-grid { gap: 12px; }
}

/* 移动端模块纵向节奏：避免父子 margin、padding 与 gap 重复叠加 */
@media screen and (max-width: 768px) {
    /* 首页：服务图、角色模块、企业动态之间保持一致的紧凑过渡 */
    #view-home > section.w-1200:first-of-type {
        padding-bottom: 16px !important;
    }

    #view-home .roles-section {
        padding-top: 16px !important;
        padding-bottom: 20px !important;
    }

    #view-home .roles-section .section-header {
        margin-bottom: 16px !important;
    }

    #view-home > section.w-1200:last-of-type {
        padding-top: 20px !important;
        padding-bottom: 36px !important;
    }

    /* 产品页：原有 40px 容器 gap 会与相邻 section padding 重复 */
    .prod-content-container {
        gap: 0;
        padding-top: 8px;
        padding-bottom: 24px;
    }

    .prod-content-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .prod-content-section:first-child {
        padding-top: 20px;
    }

    .prod-advantages {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* 企业动态：标签栏本身已有高度，只保留一档内容间距 */
    .news-tabs-wrap {
        margin-bottom: 20px;
    }

    .inner-tab-content {
        padding-bottom: 28px;
    }

    .science-grid {
        margin-bottom: 24px;
    }

    /* 关于我们：清除 profile-row 尾部 margin 与相邻 section padding 的叠加 */
    .about-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    #about-profile .profile-row {
        margin-bottom: 0;
    }

    #about-contact {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    /* 页脚：二维码区和版权区各自保留一档间距 */
    footer {
        padding-top: 20px;
        padding-bottom: 8px;
    }

    .footer-cols {
        padding-top: 0;
        padding-bottom: 16px;
    }

    .footer-bottom {
        padding: 12px 16px 4px;
    }
}

/* 移动端模块衔接微调：压缩图片、模块与下一标题之间的重复留白 */
@media screen and (max-width: 768px) {
    #view-home > section.w-1200:first-of-type {
        padding-bottom: 8px !important;
    }

    #view-home .roles-section {
        padding-top: 8px !important;
        padding-bottom: 12px !important;
    }

    #view-home .roles-section .section-header,
    #view-home > section.w-1200:last-of-type .section-header {
        padding-top: 8px !important;
    }

    #view-home > section.w-1200:last-of-type {
        padding-top: 12px !important;
    }

    .prod-content-container {
        padding-top: 0;
    }

    .prod-content-section:first-child {
        padding-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   南京官网移动端规范对齐层（HDF 静态站）
   统一断点、安全边距、字号、触控尺寸与模块节奏。
   ========================================================= */
@media screen and (max-width: 767px) {
    :root {
        --mobile-gutter: 20px;
        --mobile-section-space: 36px;
        --mobile-touch-target: 44px;
    }

    html {
        min-width: 320px;
        scroll-padding-top: calc(60px + env(safe-area-inset-top, 0px));
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        min-width: 320px;
        min-height: 100dvh;
        overflow-x: clip;
        padding-top: calc(60px + env(safe-area-inset-top, 0px));
        font-size: 16px;
        line-height: 1.7;
    }

    body.mobile-menu-open { overflow: hidden; }

    .w-1200,
    .header-inner {
        padding-right: var(--mobile-gutter);
        padding-left: var(--mobile-gutter);
    }

    header {
        top: env(safe-area-inset-top, 0px);
        height: 60px;
    }

    .header-inner,
    .logo a { height: 60px; }
    .logo img { height: 38px; max-height: 38px; }

    .mobile-menu-btn,
    .mobile-menu-close,
    .page-btn,
    .btn-outline-blue,
    .cert-tabs-vertical span,
    .news-tabs a {
        min-width: var(--mobile-touch-target);
        min-height: var(--mobile-touch-target);
    }

    .mobile-menu {
        display: none;
        width: min(88vw, 384px);
        max-width: none;
        height: 100dvh;
        padding-top: env(safe-area-inset-top, 0px);
    }

    .mobile-menu-header { min-height: 60px; padding: 8px 20px; }
    .mobile-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        border: 0;
        background: transparent;
    }
    .mobile-menu-content { padding: 12px 16px; }
    .mobile-menu-content a {
        min-height: 52px;
        padding: 12px 16px;
        border-bottom: 0;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
    }
    .mobile-menu-content a.active {
        background: rgba(66, 133, 244, 0.08);
        color: var(--primary-blue);
    }

    .page-banner {
        height: 100px;
        min-height: 100px;
        aspect-ratio: auto;
    }
    .page-banner h1 { font-size: clamp(22px, 6vw, 28px); line-height: 1.3; }

    .section-header,
    #view-home .section-header {
        padding: 0;
        margin-bottom: 24px;
    }
    .section-header h2,
    #view-home .section-header h2 {
        font-size: clamp(20px, 5.6vw, 24px);
        line-height: 1.35;
    }

    #view-home > section.w-1200,
    #view-home > section.w-1200:first-of-type,
    #view-home > section.w-1200:last-of-type,
    #view-home .roles-section,
    .about-section,
    #about-contact {
        padding-top: var(--mobile-section-space) !important;
        padding-bottom: var(--mobile-section-space) !important;
    }

    #view-home .roles-section .section-header,
    #view-home > section.w-1200:last-of-type .section-header {
        padding-top: 0 !important;
        margin-bottom: 24px !important;
    }

    .prod-content-container {
        gap: 0;
        padding: 16px var(--mobile-gutter) var(--mobile-section-space);
    }
    .prod-content-section { gap: 20px; padding: 20px 0; }
    .prod-content-left h3,
    .profile-text h3 { font-size: clamp(20px, 5.6vw, 24px); }

    .prod-content-left p,
    .profile-text p,
    .timeline-text,
    .contact-box-left p,
    .main-news-desc,
    .science-desc {
        font-size: 16px;
        line-height: 1.75;
    }

    .main-news-title,
    .main-news-card:first-child .main-news-title,
    .main-news-card:not(:first-child) .main-news-title,
    .science-card-title {
        height: auto;
        font-size: 18px;
        line-height: 1.4;
    }

    .main-news-card:not(:first-child) {
        gap: 12px;
        padding: 16px;
    }
    .main-news-card:not(:first-child) .main-news-img {
        width: 112px;
        height: 84px;
    }
    .main-news-card:not(:first-child) .main-news-desc { display: none; }
    .main-news-card:not(:first-child) .news-meta span,
    .news-meta span { font-size: 14px; line-height: 1.6; }

    .news-grid {
        gap: 16px;
        padding-right: 0;
        padding-left: 0;
    }
    .main-news-card:first-child .main-news-info,
    .science-info,
    .timeline-content { padding: 20px; }

    .roles-tabs {
        overflow-x: auto;
        align-items: stretch;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
    }
    .role-tab-item {
        min-width: min(78vw, 280px);
        min-height: var(--mobile-touch-target);
        scroll-snap-align: start;
    }

    .footer-cols { padding-right: var(--mobile-gutter); padding-left: var(--mobile-gutter); }
    .copyright-area,
    .footer-bottom { padding-right: var(--mobile-gutter); padding-left: var(--mobile-gutter); }
}

/* 手机端最终自适应：紧凑模块节奏与单行滑动 Tab */
@media screen and (max-width: 767px) {
    :root { --mobile-section-space: 12px; }

    .section-header h2,
    #view-home .section-header h2,
    .adv-header h2 {
        font-size: clamp(17px, 4.615vw, 20px);
    }

    .section-header,
    #view-home .section-header,
    #view-home .roles-section .section-header,
    #view-home > section.w-1200:last-of-type .section-header {
        margin-bottom: 12px !important;
    }

    #view-home > section.w-1200,
    #view-home > section.w-1200:first-of-type,
    #view-home > section.w-1200:last-of-type,
    #view-home .roles-section,
    .about-section,
    #about-contact {
        padding-top: var(--mobile-section-space) !important;
        padding-bottom: var(--mobile-section-space) !important;
    }

    #view-home .roles-tabs {
        display: flex;
        width: 100%;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 4px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    #view-home .roles-tabs::-webkit-scrollbar { display: none; }

    #view-home .role-tab-item {
        width: auto;
        min-width: max-content;
        height: 52px;
        flex: 0 0 auto;
        padding: 8px 16px;
        scroll-snap-align: start;
        white-space: nowrap;
    }
    #view-home .role-info,
    #view-home .role-info h4 {
        width: auto;
        white-space: nowrap;
        overflow-wrap: normal;
    }

    #view-home .roles-content { gap: 8px; }
    #view-home .role-display-area { padding-top: 4px; padding-bottom: 4px; }
}

/* 统一移动端布局终值（保持在文件末尾） */
@media screen and (max-width: 767px) {
    :root { --mobile-gutter: 16px; --mobile-section-space: 12px; }
    .w-1200 { padding-top: 0; padding-right: 16px; padding-bottom: 0; padding-left: 16px; }
    .section-header h2, #view-home .section-header h2, .adv-header h2 { font-size: clamp(16px, 4.1vw, 18px); }
    .prod-content-left h3, .profile-text h3, #about-contact .contact-info h4 { font-size: clamp(17px, 4.6vw, 20px); line-height: 1.4; }
    #view-home > section.w-1200, #view-home .roles-section, .about-section, #about-contact { padding-top: 12px !important; padding-bottom: 12px !important; }
    #view-home .roles-section > .w-1200 { padding-top: 0; padding-bottom: 0; }
    #view-home .service-img-box { margin-bottom: 0; }
    #view-home .service-img-box img { padding-right: 0; padding-left: 0; }
    #view-home .role-display-area { margin-top: 0; }
    .prod-content-container { gap: 0; padding: 0 16px 12px; }
    .prod-content-section, .prod-content-section:first-child { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    .prod-content-left, .prod-content-right { padding-top: 0; padding-bottom: 0; }
    .cert-main-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
    .cert-main-tabs span { min-height: 44px; margin: 0; padding: 9px 16px; font-size: 14px; }
    .cert-container { gap: 12px; }
    .cert-tabs-vertical { padding-bottom: 8px; }
    .cert-carousel-container { padding: 8px 0; }
    .cert-card-img { height: 132px; }
    .culture-grid { height: 220px; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .culture-grid::-webkit-scrollbar { display: none; }
    .culture-item, .culture-item:hover { min-width: 112px; flex: 0 0 112px; scroll-snap-align: start; }
    .culture-item.active { min-width: min(62vw, 230px); flex-basis: min(62vw, 230px); }
    .culture-title { font-size: 17px; letter-spacing: 3px; }
    #about-hospital .hosp-grid { grid-template-columns: 1fr; gap: 12px; width: 100%; }
    #about-hospital .w-1200 { padding-right: 16px; padding-left: 16px; }
    #about-hospital .hosp-card { width: 100%; }
    #about-hospital .hosp-card-top { padding: 16px 16px 10px; }
    #about-hospital .hosp-card-bottom { padding: 0 16px 16px; }
}

/* 手机端统一收口：消除历史规则叠加造成的重复留白。 */
@media screen and (max-width: 767px) {
    :root {
        --mobile-gutter: 16px;
        --mobile-section-space: 12px;
    }

    .w-1200 {
        padding-top: 0;
        padding-right: var(--mobile-gutter);
        padding-bottom: 0;
        padding-left: var(--mobile-gutter);
    }

    .section-header h2,
    #view-home .section-header h2,
    .adv-header h2 {
        font-size: clamp(16px, 4.1vw, 18px);
    }

    .prod-content-left h3,
    .profile-text h3,
    #about-contact .contact-info h4 {
        font-size: clamp(17px, 4.6vw, 20px);
        line-height: 1.4;
    }

    #view-home > section.w-1200,
    #view-home .roles-section,
    .about-section,
    #about-contact {
        padding-top: var(--mobile-section-space) !important;
        padding-bottom: var(--mobile-section-space) !important;
    }

    #view-home .roles-section > .w-1200 { padding-top: 0; padding-bottom: 0; }
    #view-home .service-img-box { margin-bottom: 0; }
    #view-home .service-img-box img { padding-right: 0; padding-left: 0; }
    #view-home .role-display-area { margin-top: 0; }

    .prod-content-container {
        gap: 0;
        padding-top: 0;
        padding-right: var(--mobile-gutter);
        padding-bottom: var(--mobile-section-space);
        padding-left: var(--mobile-gutter);
    }
    .prod-content-section,
    .prod-content-section:first-child {
        gap: 12px;
        padding-top: var(--mobile-section-space);
        padding-bottom: var(--mobile-section-space);
    }
    .prod-content-left,
    .prod-content-right { padding-top: 0; padding-bottom: 0; }

    /* 证书：压缩标签、轮播外围空白并保持双卡清晰展示。 */
    .cert-main-tabs {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 12px;
    }
    .cert-main-tabs span {
        min-height: 44px;
        margin: 0;
        padding: 9px 16px;
        font-size: 14px;
    }
    .cert-container { gap: 12px; }
    .cert-tabs-vertical { padding-bottom: 8px; }
    .cert-carousel-container { padding: 8px 0; }
    .cert-card-img { height: 132px; }

    /* 企业文化：窄屏改为横向卡片轨道，避免六列被挤成细条。 */
    .culture-grid {
        height: 220px;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .culture-grid::-webkit-scrollbar { display: none; }
    .culture-item,
    .culture-item:hover {
        min-width: 112px;
        flex: 0 0 112px;
        scroll-snap-align: start;
    }
    .culture-item.active {
        min-width: min(62vw, 230px);
        flex-basis: min(62vw, 230px);
    }
    .culture-title {
        font-size: 17px;
        letter-spacing: 3px;
    }

    /* 医院卡片与全站内容线统一，不再额外内缩。 */
    #about-hospital .hosp-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
    #about-hospital .hosp-card { width: 100%; }
    #about-hospital .hosp-card-top { padding: 16px 16px 10px; }
    #about-hospital .hosp-card-bottom { padding: 0 16px 16px; }
}

/* 手机端排版密度二次校准：标题、Tab 对齐与模块留白 */
@media screen and (max-width: 767px) {
    :root { --mobile-section-space: 28px; }

    .section-header h2,
    #view-home .section-header h2,
    .adv-header h2 {
        font-size: clamp(18px, 5vw, 21px);
        line-height: 1.35;
    }

    .section-header,
    #view-home .section-header {
        margin-bottom: 20px;
    }

    #view-home .roles-section .section-header,
    #view-home > section.w-1200:last-of-type .section-header {
        margin-bottom: 20px !important;
    }

    #view-home .roles-tabs { align-items: stretch; }
    #view-home .role-tab-item {
        height: 56px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    #view-home .role-info,
    #view-home .role-info h4 {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #view-home .roles-content { gap: 16px; }
    #view-home .role-display-area { padding-top: 8px; padding-bottom: 8px; }

    #view-home > section.w-1200:last-of-type {
        padding-right: var(--mobile-gutter) !important;
        padding-left: var(--mobile-gutter) !important;
    }

    #view-home .news-grid { gap: 14px; }
    #view-home .view-more-container { margin-top: 20px; }

    .about-section,
    #about-contact {
        padding-top: var(--mobile-section-space) !important;
        padding-bottom: var(--mobile-section-space) !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .w-1200,
    .header-inner { padding-right: 32px; padding-left: 32px; }
}

/* 2026-07 手机端标注图专项优化 */
@media screen and (max-width: 767px) {
    /* 图 1：五个角色 Tab 同屏完整展示，长标签允许自然换行。 */
    #view-home .roles-tabs {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        overflow: visible;
        padding: 0;
    }

    #view-home .role-tab-item {
        min-width: 0;
        min-height: 52px;
        padding: 8px 3px;
        white-space: normal;
    }

    #view-home .role-info { width: 100%; }
    #view-home .role-info h4 {
        font-size: 12px;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* 图 2：首页动态卡片与屏幕边缘保持更充足的呼吸空间。 */
    #view-home > section.w-1200:last-of-type {
        padding-right: 28px;
        padding-left: 28px;
    }

    /* 图 3：移动端移除信息量很低的窄幅裁切 Banner，标签栏直接承接页头。 */
    #view-news .page-banner { display: none; }
    #view-news .news-tabs-wrap {
        top: calc(60px + env(safe-area-inset-top, 0px));
        margin-bottom: 24px;
    }
    #view-news .news-tabs {
        gap: 24px;
        min-height: 64px;
        align-items: stretch;
    }
    #view-news .news-tab {
        display: inline-flex;
        min-height: 64px;
        align-items: center;
        padding: 10px 0;
        font-size: 16px;
    }
    #view-news .inner-tab-content { min-height: 0; }

    /* 图 4：联系信息与配图改为明确的上下信息流。 */
    #about-contact .contact-container {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    #about-contact .contact-info {
        width: 100%;
        padding-right: 0;
    }
    #about-contact .contact-info h4 {
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 1.5;
    }
    #about-contact .contact-item {
        gap: 14px;
        margin-bottom: 20px;
    }
    #about-contact .contact-icon {
        width: 24px;
        flex: 0 0 24px;
        font-size: 20px;
        text-align: center;
    }
    #about-contact .contact-details { min-width: 0; }
    #about-contact .contact-details p {
        overflow-wrap: anywhere;
        font-size: 16px;
        line-height: 1.75;
    }
    #about-contact .contact-image {
        width: 100%;
        max-width: none;
    }
    #about-contact .contact-image img {
        width: 100%;
        max-height: 260px;
        object-fit: cover;
    }
}

/* 最终移动端覆盖：此段必须位于所有历史响应式规则之后。 */
@media screen and (max-width: 767px) {
    :root { --mobile-section-space: 12px; }

    .section-header h2,
    #view-home .section-header h2,
    .adv-header h2 {
        font-size: clamp(17px, 4.615vw, 20px);
        line-height: 1.35;
    }

    .section-header,
    #view-home .section-header,
    #view-home .roles-section .section-header,
    #view-home > section.w-1200:last-of-type .section-header {
        margin-bottom: 12px !important;
    }

    #view-home > section.w-1200,
    #view-home > section.w-1200:first-of-type,
    #view-home > section.w-1200:last-of-type,
    #view-home .roles-section,
    .about-section,
    #about-contact {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    #view-home .roles-tabs {
        display: flex;
        width: 100%;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 4px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    #view-home .roles-tabs::-webkit-scrollbar { display: none; }

    #view-home .role-tab-item {
        width: auto;
        min-width: max-content;
        height: 52px;
        min-height: 52px;
        flex: 0 0 auto;
        padding: 8px 16px;
        align-items: center;
        justify-content: center;
        scroll-snap-align: start;
        white-space: nowrap;
    }
    #view-home .role-info,
    #view-home .role-info h4 {
        display: flex;
        width: auto;
        height: 100%;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        overflow-wrap: normal;
    }
    #view-home .roles-content { gap: 8px; }
    #view-home .role-display-area { padding-top: 4px; padding-bottom: 4px; }
}

/* 手机端一致性修正：覆盖上方历史规则。 */
@media screen and (max-width: 767px) {
    :root { --mobile-gutter: 16px; --mobile-section-space: 12px; }
    .w-1200 { padding-top: 0; padding-right: 16px; padding-bottom: 0; padding-left: 16px; }
    .section-header h2, #view-home .section-header h2, .adv-header h2 { font-size: clamp(16px, 4.1vw, 18px); }
    .prod-content-left h3, .profile-text h3, #about-contact .contact-info h4 { font-size: clamp(17px, 4.6vw, 20px); line-height: 1.4; }
    #view-home > section.w-1200, #view-home .roles-section, .about-section, #about-contact { padding-top: 12px !important; padding-bottom: 12px !important; }
    #view-home .roles-section > .w-1200 { padding-top: 0; padding-bottom: 0; }
    #view-home .service-img-box { margin-bottom: 0; }
    #view-home .service-img-box img { padding-right: 0; padding-left: 0; }
    #view-home .role-display-area { margin-top: 0; }
    .prod-content-container { gap: 0; padding: 0 16px 12px; }
    .prod-content-section, .prod-content-section:first-child { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    .prod-content-left, .prod-content-right { padding-top: 0; padding-bottom: 0; }
    .cert-main-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
    .cert-main-tabs span { min-height: 44px; margin: 0; padding: 9px 16px; font-size: 14px; }
    .cert-container { gap: 12px; }
    .cert-tabs-vertical { padding-bottom: 8px; }
    .cert-carousel-container { padding: 8px 0; }
    .cert-card-img { height: 132px; }
    .culture-grid { height: 220px; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .culture-grid::-webkit-scrollbar { display: none; }
    .culture-item, .culture-item:hover { min-width: 112px; flex: 0 0 112px; scroll-snap-align: start; }
    .culture-item.active { min-width: min(62vw, 230px); flex-basis: min(62vw, 230px); }
    .culture-title { font-size: 17px; letter-spacing: 3px; }
    #about-hospital .hosp-grid { grid-template-columns: 1fr; gap: 12px; width: 100%; }
    #about-hospital .hosp-card { width: 100%; }
    #about-hospital .hosp-card-top { padding: 16px 16px 10px; }
    #about-hospital .hosp-card-bottom { padding: 0 16px 16px; }
}

/* 证书、文化与互联网医院的手机端最终布局 */
@media screen and (max-width: 767px) {
    /* 医院证书分类改成横向网格，不再纵向占据大块空间。 */
    .cert-container {
        display: block;
    }
    .cert-tabs-vertical {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 6px;
        margin-bottom: 12px;
        padding: 0;
        border: 0;
    }
    .cert-tabs-vertical span {
        display: flex;
        min-width: 0;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 8px 6px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        font-size: 13px;
        line-height: 1.35;
        text-align: center;
        white-space: normal;
    }
    .cert-tabs-vertical span.active {
        border-color: var(--primary-blue);
        background: var(--primary-blue);
        color: #fff;
    }
    .cert-carousel-container { width: 100%; }

    /* 六项企业文化固定 3×2 全量展示，禁止横向滑动。 */
    .culture-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        height: auto;
        gap: 8px;
        overflow: visible;
        padding: 0;
    }
    .culture-item,
    .culture-item:hover,
    .culture-item.active {
        width: 100%;
        min-width: 0;
        aspect-ratio: 3 / 4;
        flex: none;
    }
    .culture-item:hover img { transform: none; }
    .culture-overlay { padding: 8px 4px; }
    .culture-title,
    .culture-item:hover .culture-title,
    .culture-item.active .culture-title {
        margin: 0;
        font-size: 16px;
        line-height: 1.35;
        letter-spacing: 2px;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }
    .culture-desc,
    .culture-item:hover .culture-desc,
    .culture-item.active .culture-desc { display: none; }

    /* 医院卡片与企业文化共用 16px 内容线，内部信息按网格对齐。 */
    #about-hospital .w-1200 {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }
    #about-hospital .section-header { margin-bottom: 12px !important; }
    #about-hospital .hosp-grid {
        width: 100%;
        margin: 0;
        gap: 12px;
    }
    #about-hospital .hosp-card {
        width: 100%;
        margin: 0;
        border-radius: 10px;
    }
    #about-hospital .hosp-card-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 16px;
    }
    #about-hospital .hosp-card-top img {
        width: 104px;
        height: 104px;
        margin-bottom: 8px;
    }
    #about-hospital .hosp-card-top h4 {
        margin-bottom: 6px;
        font-size: 17px;
        line-height: 1.4;
        text-align: center;
    }
    #about-hospital .hosp-card-top p {
        width: 100%;
        font-size: 14px;
        line-height: 1.65;
        text-align: left;
    }
    #about-hospital .hosp-card-bottom { padding: 0 16px 16px; }
    #about-hospital .hosp-card-bottom img { margin: 0 auto; }
    #about-hospital .hosp-hover-overlay { display: none; }
}

/* =========================================================
   移动端字体体系终值
   24 页面标题 / 20 模块标题 / 18 内容标题 /
   16 卡片标题与导航 / 15 正文 / 13 辅助信息。
   此段作为唯一的移动端排版收口，避免历史断点规则互相覆盖。
   ========================================================= */
@media screen and (max-width: 767px) {
    :root {
        --type-page-title: 24px;
        --type-section-title: 20px;
        --type-content-title: 18px;
        --type-card-title: 16px;
        --type-body: 15px;
        --type-meta: 13px;
    }

    body {
        font-size: var(--type-body);
        line-height: 1.7;
        -webkit-font-smoothing: antialiased;
    }

    /* L1：页面级标题 */
    .page-banner h1 {
        font-size: var(--type-page-title);
        line-height: 1.3;
        letter-spacing: 0.02em;
    }

    /* L2：页面内的主模块标题 */
    .section-header h2,
    #view-home .section-header h2,
    .adv-header h2 {
        font-size: var(--type-section-title);
        line-height: 1.35;
        font-weight: 700;
        letter-spacing: 0;
    }

    /* L3：模块内容标题 */
    .prod-content-left h3,
    .profile-text h3,
    #about-contact .contact-info h4,
    .timeline-year .year-title {
        font-size: var(--type-content-title);
        line-height: 1.45;
        font-weight: 700;
    }

    /* L4：卡片、列表标题 */
    .main-news-title,
    .main-news-card:first-child .main-news-title,
    .main-news-card:not(:first-child) .main-news-title,
    .science-card-title,
    .sub-news-title,
    .adv-card h4,
    #about-hospital .hosp-card-top h4,
    .culture-title {
        font-size: var(--type-card-title);
        line-height: 1.45;
        font-weight: 600;
    }

    /* 正文：保持中文阅读的行距，不与标题抢层级 */
    .prod-content-left p,
    .profile-text p,
    .main-news-desc,
    .science-desc,
    .sub-news-desc,
    .timeline-text,
    .adv-header p,
    .adv-card p,
    #about-contact .contact-details p,
    #about-hospital .hosp-card-top p {
        font-size: var(--type-body);
        line-height: 1.75;
        font-weight: 400;
    }

    /* 导航与交互文字 */
    .mobile-menu-content a,
    #view-news .news-tab,
    .btn-outline-blue {
        font-size: var(--type-card-title);
        line-height: 1.4;
    }

    /* 辅助信息：日期、标签、证书名称、页脚 */
    .news-meta span,
    .main-news-card:not(:first-child) .news-meta span,
    .role-info h4,
    .cert-tabs-vertical span,
    .cert-card-title,
    .adv-stat-box p,
    .footer-bottom,
    .copyright-area,
    .follow-item span {
        font-size: var(--type-meta);
        line-height: 1.55;
    }

    .adv-stat-box h4 { font-size: 28px; line-height: 1.2; }
    .adv-stat-box span { font-size: var(--type-card-title); }
}

@media screen and (max-width: 374px) {
    :root {
        --type-page-title: 22px;
        --type-section-title: 19px;
        --type-content-title: 17px;
        --type-body: 14px;
    }
}

/* =========================================================
   Nanjing 项目移动端对齐：抽屉导航 + 医学科普列表
   仅改变展示结构，不改变现有文案与链接。
   ========================================================= */
@media screen and (max-width: 767px) {
    /* 图 1：与 Nanjing 一致的右侧抽屉。 */
    .mobile-menu {
        top: 0 !important;
        right: -100% !important;
        display: none;
        width: min(88vw, 384px) !important;
        max-width: none !important;
        height: 100dvh !important;
        padding-top: env(safe-area-inset-top, 0px);
        background: #fff;
        box-shadow: -8px 0 24px rgba(15, 23, 42, 0.14) !important;
    }

    .mobile-menu.active { right: 0 !important; }

    .mobile-menu-header {
        min-height: 60px;
        padding: 8px 20px !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .mobile-menu-close {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #333 !important;
        font-size: 24px !important;
    }

    .mobile-menu-content {
        display: grid;
        flex: none;
        gap: 4px;
        padding: 16px !important;
    }

    .mobile-menu-content a {
        display: flex !important;
        min-height: 52px !important;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px !important;
        border: 0 !important;
        border-radius: 8px !important;
        color: var(--text-relative-black) !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.4;
        transform: none !important;
    }

    .mobile-menu-content a:hover,
    .mobile-menu-content a.active {
        background: rgba(66, 133, 244, 0.08) !important;
        color: var(--primary-blue) !important;
    }

    .mobile-menu-content a::after {
        position: static;
        width: 9px;
        height: 9px;
        margin-left: 16px;
        border-width: 2px 2px 0 0 !important;
        border-style: solid !important;
        border-color: #5f6b7a !important;
        transform: rotate(45deg) !important;
    }

    .mobile-menu-content a.active::after {
        border-color: var(--primary-blue) !important;
    }

    .mobile-menu-overlay {
        background: rgba(15, 23, 42, 0.5) !important;
    }

    /* 企业动态 - 医学科普：与 Nanjing 一致的单列图文信息流。 */
    #news-tab-science .science-grid {
        display: block;
        margin: 0;
        padding: 0;
    }

    #news-tab-science .science-card {
        display: flex;
        min-height: 132px;
        align-items: center;
        gap: 14px;
        padding: 18px 0;
        border: 0;
        border-bottom: 1px solid #eee;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
        transform: none;
        -webkit-tap-highlight-color: transparent;
    }

    #news-tab-science .science-card:first-child { padding-top: 18px; }
    #news-tab-science .science-card:last-child { border-bottom: 0; }
    #news-tab-science .science-card:hover {
        border-color: #eee;
        box-shadow: none;
        transform: none;
    }

    #news-tab-science .science-img {
        order: 2;
        width: 116px;
        height: 87px;
        flex: 0 0 116px;
        align-self: center;
        border-radius: 8px;
        object-fit: cover;
    }

    #news-tab-science .science-info {
        order: 1;
        min-width: 0;
        flex: 1;
        padding: 0;
    }

    #news-tab-science .science-card-title {
        display: -webkit-box;
        height: auto;
        overflow: hidden;
        margin: 0 0 7px;
        color: #222;
        font-size: 16px;
        font-weight: 650;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    #news-tab-science .science-card:hover .science-card-title { color: #222; }

    #news-tab-science .science-desc {
        display: -webkit-box;
        overflow: hidden;
        margin: 0;
        color: #666;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
}

@media screen and (max-width: 480px) {
    #news-tab-science .science-card {
        min-height: 124px;
        gap: 12px;
        padding: 16px 0;
    }

    #news-tab-science .science-img {
        width: 108px;
        height: 81px;
        flex-basis: 108px;
    }

    #news-tab-science .science-card-title { font-size: 15px; }
    #news-tab-science .science-desc { font-size: 12px; }
}

/* 关于我们：移动端最终视觉修正。 */
@media screen and (max-width: 767px) {
    /* 首页 Banner 固定为半屏高，覆盖前面历史断点中的整屏高度。 */
    #view-home .banner-slide {
        height: 50vh !important;
        min-height: 50vh !important;
        max-height: 50vh !important;
    }

    /* 联系信息中父级 gap、标题 margin 和列表 margin 不再重复叠加。 */
    #about-contact .contact-container { gap: 12px; }
    #about-contact .contact-info h4 { margin-bottom: 12px; }
    #about-contact .contact-item { margin-bottom: 12px; }
    #about-contact .contact-item:last-child { margin-bottom: 0; }

    /* 内联 max-width:350px 是卡片没有贴齐移动端内容线的根因。 */
    #about-hospital .hosp-grid { align-items: stretch; }
    #about-hospital .hosp-card {
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 0 100% !important;
    }
}

/* 2026-07 移动端规范终值：横向安全边距、半高 Banner 与统一 Tab。 */
@media screen and (max-width: 767px) {
    :root { --mobile-gutter: 20px; }

    /* 高度只由宽度比例决定，不再使用 vh、最小高度或最大高度。 */
    #view-home .banner-slide {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 4 / 3;
    }

    #view-home > section.w-1200:first-of-type {
        padding-right: var(--mobile-gutter) !important;
        padding-left: var(--mobile-gutter) !important;
    }
    #view-home .service-img-box img { padding: 0 !important; }

    /* 首页与证书模块使用同一套紧凑选项卡。 */
    #view-home .role-tab-item,
    .cert-main-tabs span,
    .cert-tabs-vertical span {
        min-height: 44px !important;
        height: 44px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 6px 10px !important;
        border: 1px solid transparent !important;
        border-radius: 8px !important;
        background: #f4f6f9 !important;
        color: #333 !important;
        box-shadow: none !important;
        font-size: 13px !important;
        font-weight: 600;
        line-height: 1.25 !important;
        text-align: center;
        transform: none !important;
        transition: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    #view-home .role-tab-item.active,
    .cert-main-tabs span.active,
    .cert-tabs-vertical span.active {
        border-color: var(--primary-blue) !important;
        background: var(--primary-blue) !important;
        color: #fff !important;
        transition: none !important;
    }

    #view-home .role-tab-item:hover,
    #view-home .role-tab-item:active {
        background: #f4f6f9 !important;
        border-color: transparent !important;
        transform: none !important;
    }
    #view-home .role-tab-item.active:hover,
    #view-home .role-tab-item.active:active {
        background: var(--primary-blue) !important;
        border-color: var(--primary-blue) !important;
        color: #fff !important;
    }

    /* 角色展示图切换不做淡入，避免选项卡闪白 */
    #view-home .role-display-area img {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
    }
    .cert-main-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .cert-tabs-vertical {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-menu-title {
        min-width: 0;
        color: var(--text-relative-black);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
    }
}

/* 医学科普：Nanjing 风格的横向图文信息流，桌面与手机共用。 */
#news-tab-science .science-grid {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 32px;
}
#news-tab-science .science-card {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 176px;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    transform: none;
}
#news-tab-science .science-card:first-child { padding-top: 24px; }
#news-tab-science .science-card:last-child { border-bottom: 0; }
#news-tab-science .science-card:hover {
    border-color: #eee;
    box-shadow: none;
    transform: none;
}
#news-tab-science .science-img {
    order: 2;
    width: 240px;
    height: 144px;
    flex: 0 0 240px;
    border-radius: 8px;
    object-fit: cover;
}
#news-tab-science .science-info {
    order: 1;
    min-width: 0;
    flex: 1;
    padding: 0;
}
#news-tab-science .science-card-title {
    height: auto;
    margin: 0 0 10px;
    color: #222;
    font-size: 18px;
    line-height: 1.5;
}
#news-tab-science .science-card:hover .science-card-title { color: #222; }
#news-tab-science .science-desc {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

@media screen and (max-width: 767px) {
    #news-tab-science .science-grid { margin-bottom: 20px; }
    #news-tab-science .science-card {
        min-height: 124px;
        gap: 12px;
        padding: 16px 0;
    }
    #news-tab-science .science-card:first-child { padding-top: 16px; }
    #news-tab-science .science-img {
        width: 108px !important;
        max-width: 108px;
        height: 81px !important;
        flex: 0 0 108px;
    }
    #news-tab-science .science-info {
        width: calc(100% - 120px);
        max-width: calc(100% - 120px);
        flex: 0 1 calc(100% - 120px);
        overflow: hidden;
    }
    #news-tab-science .science-card-title {
        margin-bottom: 6px;
        font-size: 15px;
        line-height: 1.45;
    }
    #news-tab-science .science-desc {
        font-size: 12px;
        line-height: 1.5;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
}

/* 手机端角色 Tab 与企业大事记最终排版。 */
@media screen and (max-width: 767px) {
    /* 五个选项按内容宽度组成一个整体，并在可视区域中居中。 */
    #view-home .roles-tabs {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 4px;
        scroll-padding-inline: 20px;
    }
    #view-home .role-tab-item {
        width: auto;
        min-width: max-content !important;
        flex: 0 0 auto !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    /* 清除 w-1200、timeline-container 与时间轴自身的三层重复缩进。 */
    #news-tab-milestone .timeline-container {
        width: 100%;
        padding: 0 !important;
    }
    #news-tab-milestone .milestone-timeline {
        width: 100%;
        padding: 4px 0 8px 24px !important;
    }
    #news-tab-milestone .timeline-line {
        display: block;
        top: 18px;
        bottom: 8px;
        left: 6px;
        width: 2px;
        background: #dbeafe;
        transform: none;
    }
    #news-tab-milestone .timeline-year,
    #news-tab-milestone .timeline-year.left,
    #news-tab-milestone .timeline-year.right {
        left: auto !important;
        width: 100%;
        margin: 20px 0 8px;
        padding: 0 !important;
        text-align: left !important;
    }
    #news-tab-milestone .timeline-year:first-of-type { margin-top: 4px; }
    #news-tab-milestone .timeline-year .year-title {
        font-size: 18px;
        line-height: 1.3;
    }
    #news-tab-milestone .timeline-item,
    #news-tab-milestone .timeline-item.left,
    #news-tab-milestone .timeline-item.right {
        left: auto !important;
        width: 100%;
        margin: 0 0 12px;
        padding: 0 !important;
        text-align: left !important;
    }
    #news-tab-milestone .timeline-dot {
        display: block;
        top: 19px;
        left: -23px !important;
        right: auto !important;
        width: 10px;
        height: 10px;
        border: 2px solid #fff;
        background: var(--primary-blue);
        box-shadow: 0 0 0 1px var(--primary-blue);
    }
    #news-tab-milestone .timeline-content {
        padding: 14px !important;
        border: 1px solid #edf1f5;
        border-radius: 10px;
        background: #f8fafc;
        box-shadow: none;
    }
    #news-tab-milestone .timeline-date {
        margin-bottom: 5px;
        font-size: 15px;
        line-height: 1.4;
    }
    #news-tab-milestone .timeline-text {
        font-size: 14px;
        line-height: 1.65;
    }
    #news-tab-milestone .timeline-text br { display: none; }
    #news-tab-milestone .timeline-content .timeline-image {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }
    /* 手机端与 web 共用同一套 src，裁切方式也保持一致（cover）。 */
    #news-tab-milestone .timeline-content .timeline-image img,
    #news-tab-milestone .timeline-content .timeline-image img:only-child {
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        height: auto !important;
        max-height: none;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
        background: transparent;
        object-fit: cover;
        box-shadow: none;
    }
    #news-tab-milestone .timeline-content .timeline-image img:only-child {
        grid-column: 1;
    }
}
@media screen and (max-width: 767px) {
    :root {
        --mobile-gutter: 20px;
        --mobile-section-space: 24px;
    }

    /* 全站内容容器固定左右 20px，主要模块固定上下 24px。 */
    .w-1200,
    .header-inner {
        padding-right: var(--mobile-gutter) !important;
        padding-left: var(--mobile-gutter) !important;
    }
    #view-home > section.w-1200,
    #view-home > section.w-1200:first-of-type,
    #view-home > section.w-1200:last-of-type,
    #view-home .roles-section,
    .about-section,
    #about-contact {
        padding-top: var(--mobile-section-space) !important;
        padding-bottom: var(--mobile-section-space) !important;
    }
    #view-home .roles-section > .w-1200 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .section-header,
    #view-home .section-header {
        margin-bottom: 16px !important;
    }

    /* 一级：模块切换，保留填充式大 Tab，并确保文字严格垂直居中。 */
    #about-certs .cert-main-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin-bottom: 16px;
    }
    #about-certs .cert-main-tabs span {
        display: flex !important;
        height: 44px !important;
        min-height: 44px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 10px !important;
        line-height: 1.2 !important;
    }

    /* 二级：医院切换改为下划线导航，不再重复一级的填充卡片样式。 */
    #about-certs .cert-tabs-vertical {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 0;
        margin: 0 0 16px;
        padding: 0 !important;
        border: 0;
        border-bottom: 1px solid #e5e7eb;
    }
    #about-certs .cert-tabs-vertical span {
        display: flex !important;
        width: 100%;
        height: auto !important;
        min-height: 56px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 8px 6px !important;
        border: 0 !important;
        border-bottom: 2px solid transparent !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #4e5969 !important;
        font-size: 13px !important;
        font-weight: 500;
        line-height: 1.35 !important;
        text-align: center;
    }
    #about-certs .cert-tabs-vertical span:hover,
    #about-certs .cert-tabs-vertical span.active {
        border-bottom-color: var(--primary-blue) !important;
        background: rgba(66, 133, 244, 0.04) !important;
        color: var(--primary-blue) !important;
        font-weight: 700;
    }

    #about-certs .cert-container { gap: 0; }
    #about-certs .cert-carousel-container { padding: 0; }
}

/* Nanjing 项目新闻卡片原版布局：科普页与首页企业动态共用。 */
#news-tab-science .science-grid,
#view-home .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    margin-bottom: 30px;
}

#news-tab-science .science-card,
#view-home .home-news-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    transform: none;
}

#news-tab-science .science-media,
#view-home .home-news-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex: none;
    background: #f4f6f9;
}

#news-tab-science .science-img,
#view-home .home-news-media img {
    display: block;
    width: 100% !important;
    max-width: none;
    height: 100% !important;
    border-radius: 0;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#news-tab-science .science-info,
#view-home .home-news-content {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px 20px;
}

#news-tab-science .science-card-title,
#view-home .home-news-title {
    display: -webkit-box;
    height: auto;
    overflow: hidden;
    margin: 0 0 12px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

#news-tab-science .science-desc,
#view-home .home-news-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 15px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

#news-tab-science .science-footer,
#view-home .home-news-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.4;
}

#news-tab-science .science-card:hover,
#view-home .home-news-card:hover {
    border-color: var(--border-color);
    box-shadow: none;
    transform: none;
}
#news-tab-science .science-card:hover .science-card-title,
#view-home .home-news-card:hover .home-news-title { color: #333; }
#news-tab-science .science-card:hover .science-img,
#view-home .home-news-card:hover .home-news-media img { transform: scale(1.03); }

@media screen and (max-width: 1024px) {
    #news-tab-science .science-grid,
    #view-home .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    #news-tab-science .science-grid,
    #view-home .news-grid {
        display: block;
        width: calc(100vw - (var(--mobile-gutter) * 2));
        max-width: calc(100vw - (var(--mobile-gutter) * 2));
        margin: 0;
        padding: 0;
    }

    #news-tab-science .science-card,
    #view-home .home-news-card {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-height: 132px;
        flex-direction: row;
        gap: 14px;
        padding: 18px 0;
        border: 0;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        background: #fff;
        -webkit-tap-highlight-color: transparent;
    }

    #news-tab-science .science-card:last-child,
    #view-home .home-news-card:last-child { border-bottom: 0; }

    #news-tab-science .science-media,
    #view-home .home-news-media {
        order: 2;
        width: 116px;
        height: 87px;
        aspect-ratio: auto;
        align-self: center;
        flex: 0 0 116px;
        border-radius: 8px;
    }

    #news-tab-science .science-info,
    #view-home .home-news-content {
        order: 1;
        width: auto;
        min-width: 0;
        max-width: none;
        flex: 1;
        padding: 0;
    }

    #news-tab-science .science-card-title,
    #view-home .home-news-title {
        margin: 0 0 7px;
        font-size: 16px;
        font-weight: 650;
        line-height: 1.45;
    }

    #news-tab-science .science-desc,
    #view-home .home-news-summary {
        margin: 0 0 10px;
        font-size: 13px;
        line-height: 1.5;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    #news-tab-science .science-footer,
    #view-home .home-news-footer {
        gap: 8px;
        font-size: 12px;
        line-height: 1.4;
    }
    #news-tab-science .science-category,
    #view-home .home-news-footer span {
        color: var(--text-gray);
        font-size: 11px;
        font-weight: 400;
    }

    /* 首页第一条保留现有的上图下文大卡排版。 */
    #view-home .home-news-card--featured {
        min-height: 0;
        flex-direction: column;
        gap: 0;
        margin-bottom: 16px;
        padding: 0;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: #fff;
    }
    #view-home .home-news-card--featured .home-news-media {
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 8px 8px 0 0;
    }
    #view-home .home-news-card--featured .home-news-content {
        order: 2;
        width: 100%;
        padding: 15px;
    }
    #view-home .home-news-card--featured .home-news-title {
        font-size: 18px;
        line-height: 1.4;
    }
    #view-home .home-news-card--featured .home-news-summary {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media screen and (max-width: 480px) {
    #news-tab-science .science-card,
    #view-home .home-news-card:not(.home-news-card--featured) {
        min-height: 124px;
        gap: 12px;
        padding: 16px 0;
    }
    #news-tab-science .science-media,
    #view-home .home-news-card:not(.home-news-card--featured) .home-news-media {
        width: 108px;
        height: 81px;
        flex-basis: 108px;
    }
    #news-tab-science .science-card-title,
    #view-home .home-news-card:not(.home-news-card--featured) .home-news-title {
        font-size: 15px;
    }
    #news-tab-science .science-desc,
    #view-home .home-news-card:not(.home-news-card--featured) .home-news-summary {
        font-size: 12px;
    }
}

/* =========================================================
   首页移动端内容线终值
   所有模块共用 20px 安全边距；角色图按素材透明边界校正。
   ========================================================= */
@media screen and (max-width: 767px) {
    :root { --home-content-gutter: 20px; }

    #view-home .home-service-section,
    #view-home .roles-section > .w-1200,
    #view-home .home-news-section {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-right: var(--home-content-gutter) !important;
        padding-left: var(--home-content-gutter) !important;
    }

    #view-home .home-service-section,
    #view-home .roles-section,
    #view-home .home-news-section {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    #view-home .section-header,
    #view-home .roles-section .section-header,
    #view-home .home-news-section .section-header {
        margin: 0 0 16px !important;
        padding: 0 !important;
    }

    #view-home .service-img-box,
    #view-home .roles-content,
    #view-home .role-display-area,
    #view-home .news-grid {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
    }

    #view-home .service-img-box { margin-bottom: 0; }
    #view-home .service-img-box img {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 !important;
    }

    #view-home .roles-content { overflow: hidden; }
    #view-home .role-display-area {
        overflow: hidden;
        padding: 4px 0 !important;
    }

    #view-home .home-news-section .news-grid { padding: 0; }
}

/* 角色聚合图完整性修正：禁止放大裁切，在统一内容线内完整展示。 */
@media screen and (max-width: 767px) {
    #view-home .roles-content,
    #view-home .role-display-area {
        overflow: visible;
    }

    #view-home .role-display-area {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 4px 0 !important;
    }

    #view-home #roleDisplayImg {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        margin: 0 auto;
        object-fit: contain;
        transform: none;
    }
}

/* 首页企业动态首条：手机端改为无卡片的大图资讯排版。 */
@media screen and (max-width: 767px) {
    #view-home .home-news-card--featured {
        display: block;
        width: 100%;
        overflow: visible;
        margin: 0 0 18px;
        padding: 0 0 18px;
        border: 0;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    #view-home .home-news-card--featured .home-news-media {
        display: block;
        width: 100%;
        height: auto;
        overflow: hidden;
        aspect-ratio: auto;
        border-radius: 8px;
        background: transparent;
    }

    #view-home .home-news-card--featured .home-news-media img {
        display: block;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
        object-fit: contain;
        transform: none;
    }

    #view-home .home-news-card--featured .home-news-content {
        width: 100%;
        padding: 12px 0 0;
        background: transparent;
    }

    #view-home .home-news-card--featured .home-news-title {
        margin: 0 0 7px;
        font-size: 16px;
        font-weight: 650;
        line-height: 1.45;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    #view-home .home-news-card--featured .home-news-summary {
        margin: 0 0 10px;
        font-size: 13px;
        line-height: 1.55;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    #view-home .home-news-card--featured .home-news-footer {
        gap: 8px;
        font-size: 12px;
        line-height: 1.4;
    }
}

/* 产品与服务：移动端优势模块只保留一层负责纵向节奏的布局。 */
@media screen and (max-width: 767px) {
    #view-products .prod-advantages {
        --adv-section-padding: 28px;
        --adv-stack-gap: 16px;
        --adv-card-padding-x: 18px;
        --adv-card-padding-y: 24px;
        padding: 0;
    }

    /* 外层只负责安全边距和模块间距，子模块不再用 margin 拼接。 */
    #view-products .prod-advantages > .w-1200 {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--adv-stack-gap);
        width: 100%;
        max-width: none;
        margin: 0;
        padding: var(--adv-section-padding) var(--mobile-gutter) !important;
    }

    #view-products .adv-header,
    #view-products .adv-stats-container,
    #view-products .adv-cards-grid,
    #view-products .adv-card {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    #view-products .adv-header {
        padding: 0 2px;
    }

    #view-products .adv-header h2 {
        margin: 0 0 10px;
        line-height: 1.35;
    }

    #view-products .adv-header p {
        margin: 0;
        font-size: 15px;
        line-height: 1.75;
    }

    #view-products .adv-stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
        padding: 24px 16px;
    }

    #view-products .adv-stat-box {
        width: auto;
        min-width: 0;
        margin: 0;
    }

    #view-products .adv-cards-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--adv-stack-gap);
    }

    #view-products .adv-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: var(--adv-card-padding-y) var(--adv-card-padding-x);
    }

    #view-products .adv-card-icon {
        flex: 0 0 80px;
        margin: 0 0 14px;
    }

    #view-products .adv-card h4 {
        margin: 0 0 10px;
        line-height: 1.5;
    }

    #view-products .adv-card p {
        width: 100%;
        margin: 0;
        line-height: 1.75;
    }
}

/* =========================================================
   医学科普列表：直接采用 Nanjing 项目的 news-card 结构与布局。
   仅将 Nuxt 变量映射到当前静态站变量，避免与首页新闻卡共用选择器。
   ========================================================= */
#news-tab-science {
    padding-bottom: 60px;
}

#news-tab-science > .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    margin: 0 0 30px;
}

#news-tab-science .news-card {
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#news-tab-science .news-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
}

#news-tab-science .news-card__link:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
}

#news-tab-science .news-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex: none;
    background: #f4f6f9;
}

#news-tab-science .news-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#news-tab-science .news-card__content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px 20px;
}

#news-tab-science .news-card h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

#news-tab-science .news-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 15px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

#news-tab-science .news-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    color: var(--text-gray);
    font-size: 14px;
}

#news-tab-science .news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(66, 133, 244, 0.35);
    box-shadow: 0 10px 24px rgba(31, 60, 90, 0.10);
}

#news-tab-science .news-card:hover h2 { color: var(--primary-blue); }
#news-tab-science .news-card:hover .news-card__image { transform: scale(1.035); }

@media screen and (max-width: 1024px) {
    #news-tab-science > .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    #view-news > .news-content-container {
        max-width: none;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    #news-tab-science {
        width: 100%;
        padding: 0 var(--mobile-gutter) 28px;
    }

    #news-tab-science > .news-grid {
        display: block;
        width: 100%;
        margin: 0;
    }

    #news-tab-science .news-card {
        overflow: visible;
        border: 0;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        background: #fff;
    }

    #news-tab-science .news-card:last-child { border-bottom: 0; }

    #news-tab-science .news-card:hover {
        transform: none;
        border-color: var(--border-color);
        box-shadow: none;
    }

    #news-tab-science .news-card__link {
        min-height: 132px;
        flex-direction: row;
        gap: 14px;
        padding: 18px 0;
        -webkit-tap-highlight-color: transparent;
    }

    #news-tab-science .news-card__media {
        order: 2;
        width: 116px;
        height: 87px;
        aspect-ratio: auto;
        align-self: center;
        flex: 0 0 116px;
        border-radius: 8px;
    }

    #news-tab-science .news-card__content {
        order: 1;
        min-width: 0;
        padding: 0;
    }

    #news-tab-science .news-card h2 {
        margin: 0 0 7px;
        font-size: 16px;
        font-weight: 650;
        line-height: 1.45;
    }

    #news-tab-science .news-card__summary {
        margin: 0 0 10px;
        font-size: 13px;
        line-height: 1.5;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    #news-tab-science .news-card__footer {
        gap: 8px;
        font-size: 12px;
        line-height: 1.4;
    }

    #news-tab-science .news-card__category {
        color: var(--text-gray);
        font-size: 11px;
        font-weight: 400;
    }

    #news-tab-science .news-card:hover h2 { color: #333; }
    #news-tab-science .news-card:hover .news-card__image { transform: none; }
}

@media screen and (max-width: 480px) {
    #news-tab-science .news-card__link {
        min-height: 124px;
        gap: 12px;
        padding: 16px 0;
    }

    #news-tab-science .news-card__media {
        width: 108px;
        height: 81px;
        flex-basis: 108px;
    }

    #news-tab-science .news-card h2 { font-size: 15px; }
    #news-tab-science .news-card__summary { font-size: 12px; }
}

/* 产品与服务图文模块终值：标题与正文共用内容线，圆点悬挂在内容线外。 */
#view-products .prod-content-container {
    gap: 64px;
    padding-top: 56px;
    padding-bottom: 64px;
}

#view-products .prod-content-section {
    align-items: center;
    gap: 48px;
    padding: 0;
}

#view-products .prod-content-left,
#view-products .prod-content-right {
    min-width: 0;
    padding: 0;
}

#view-products .prod-content-left h3 {
    margin: 0 0 22px;
    text-align: left;
}

#view-products .prod-feature-list {
    display: grid;
    gap: 15px;
    padding-left: 18px;
}

#view-products .prod-feature-item {
    position: relative;
    min-width: 0;
}

#view-products .prod-feature-item > strong {
    display: block;
    position: relative;
    margin: 0 0 3px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
}

#view-products .prod-feature-item > strong::before {
    content: "";
    position: absolute;
    top: 0.78em;
    left: -18px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
}

#view-products .prod-feature-item > p {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    text-align: left;
}

@media screen and (max-width: 768px) {
    #view-products .prod-content-container {
        gap: 0;
        padding: 8px var(--mobile-gutter, 16px) 28px;
    }

    #view-products .prod-content-section,
    #view-products .prod-content-section:first-child {
        flex-direction: column;
        gap: 18px;
        padding: 24px 0;
    }

    #view-products .prod-content-left {
        order: 1 !important;
    }

    #view-products .prod-content-right {
        order: 2 !important;
    }

    #view-products .prod-content-left h3 {
        margin: 0 0 18px;
        text-align: center;
    }

    #view-products .prod-feature-list {
        gap: 14px;
        padding-left: 18px;
    }

    #view-products .prod-feature-item > strong {
        margin-bottom: 3px;
        font-size: 15px;
        line-height: 1.55;
    }

    #view-products .prod-feature-item > strong::before {
        left: -17px;
        width: 7px;
        height: 7px;
    }

    #view-products .prod-feature-item > p {
        font-size: 15px;
        font-weight: 400;
        line-height: 1.75;
    }

    #view-products .prod-content-right img {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* 企业大事记年份分组：移动端继续沿用原有单列 DOM 流。 */
#news-tab-milestone .timeline-year-group {
    display: contents;
}

/* Web 企业大事记：双列错落时间轴与品牌化卡片层级。 */
@media screen and (min-width: 769px) {
    #news-tab-milestone {
        position: relative;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        overflow: clip;
        isolation: isolate;
    }

    #news-tab-milestone::before,
    #news-tab-milestone::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        pointer-events: none;
        transform-origin: center;
        will-change: transform, opacity;
    }

    /* 1. 背景：蓝光渐变 + 极淡点阵纹理 */
    #news-tab-milestone::before {
        z-index: 0;
        background-color: #f8fbff;
        background-image:
            radial-gradient(rgba(66, 133, 244, 0.11) 0.65px, transparent 0.75px),
            radial-gradient(circle at 16% 18%, rgba(66, 133, 244, 0.12) 0, rgba(66, 133, 244, 0) 30%),
            radial-gradient(circle at 84% 36%, rgba(0, 133, 255, 0.1) 0, rgba(0, 133, 255, 0) 32%),
            radial-gradient(circle at 38% 82%, rgba(118, 169, 255, 0.09) 0, rgba(118, 169, 255, 0) 34%),
            linear-gradient(155deg, #fff 0%, #f3f7ff 48%, #f7faff 100%);
        background-size:
            13px 13px,
            auto,
            auto,
            auto,
            auto;
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
        animation: milestone-ambient-glow 22s ease-in-out infinite alternate;
    }

    /* 弧线氛围 + 轻斜纹，增加纵深 */
    #news-tab-milestone::after {
        z-index: 0;
        opacity: 0.8;
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.65) 82%, transparent 92%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.65) 82%, transparent 92%, transparent 100%);
        background-image:
            repeating-linear-gradient(
                -32deg,
                transparent 0 11px,
                rgba(66, 133, 244, 0.025) 11px 12px
            ),
            radial-gradient(ellipse 74% 22% at 18% 28%, transparent 69.65%, rgba(66, 133, 244, 0.15) 69.85%, rgba(66, 133, 244, 0.15) 70.05%, transparent 70.25%),
            radial-gradient(ellipse 68% 20% at 82% 54%, transparent 69.65%, rgba(120, 169, 247, 0.14) 69.85%, rgba(120, 169, 247, 0.14) 70.05%, transparent 70.25%);
        animation: milestone-ambient-lines 19s ease-in-out infinite alternate;
    }

    #news-tab-milestone .timeline-container {
        position: relative;
        z-index: 1;
        padding: 28px 0 48px;
    }

    #news-tab-milestone .milestone-timeline {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
        grid-auto-flow: row dense;
        align-items: start;
        width: 100%;
        max-width: 1120px;
        padding: 0 20px;
    }

    /* 2. 中轴：刻度短线 + 光晕轨 */
    #news-tab-milestone .timeline-line {
        grid-column: auto;
        grid-row: auto;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        border-radius: 999px;
        background-color: transparent;
        background-image:
            repeating-linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.92) 0 2px,
                transparent 2px 15px
            ),
            linear-gradient(180deg, #2f6fed 0%, #6aa4f8 55%, #c5dbff 100%);
        box-shadow:
            0 0 0 1px rgba(66, 133, 244, 0.14),
            0 0 16px rgba(66, 133, 244, 0.22);
        transform: translateX(-50%);
    }

    #news-tab-milestone .timeline-year-group {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
        grid-auto-flow: row dense;
        align-items: start;
        min-width: 0;
        padding-bottom: 28px;
    }

    /* 同年 2 条：为右侧错落下移预留空间 */
    #news-tab-milestone .timeline-year-group:has(.timeline-item + .timeline-item) {
        padding-bottom: 72px;
    }

    /* 同年仅 1 条：去掉错落预留，收紧与下一年间距 */
    #news-tab-milestone .timeline-year-group:not(:has(.timeline-item + .timeline-item)) {
        padding-bottom: 8px;
    }

    #news-tab-milestone .timeline-year-group:not(:has(.timeline-item + .timeline-item)) > .timeline-year {
        margin-bottom: 10px;
    }

    #news-tab-milestone .timeline-year-group:not(:has(.timeline-item + .timeline-item)) > .timeline-item {
        margin-bottom: 0;
    }

    #news-tab-milestone .timeline-year-group.left,
    #news-tab-milestone .timeline-year-group.right {
        grid-column: 1 / -1;
        transform: none;
    }

    #news-tab-milestone .timeline-year,
    #news-tab-milestone .timeline-year.left,
    #news-tab-milestone .timeline-year.right {
        left: auto;
        width: 100%;
        margin: 0 0 14px;
    }

    #news-tab-milestone .timeline-year.left {
        padding: 0 34px 0 0;
        text-align: right;
    }

    #news-tab-milestone .timeline-year.right {
        padding: 0;
        text-align: center;
    }

    #news-tab-milestone .timeline-year.left {
        padding: 0;
        text-align: center;
    }

    #news-tab-milestone .timeline-year,
    #news-tab-milestone .timeline-year.left,
    #news-tab-milestone .timeline-year.right {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
        position: relative;
        z-index: 2;
    }

    /* 年份胶囊：描边 + 内高光，略加强立体 */
    #news-tab-milestone .timeline-year .year-title {
        padding: 8px 16px;
        border: 1px solid #b7d1ff;
        border-radius: 999px;
        background: linear-gradient(180deg, #f8fbff 0%, #e8f1ff 100%);
        color: var(--primary-blue);
        font-size: 22px;
        line-height: 1;
        letter-spacing: 0.02em;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            inset 0 -1px 0 rgba(66, 133, 244, 0.06),
            0 6px 16px rgba(66, 133, 244, 0.16),
            0 1px 0 rgba(66, 133, 244, 0.08);
    }

    #news-tab-milestone .timeline-item,
    #news-tab-milestone .timeline-item.left,
    #news-tab-milestone .timeline-item.right {
        left: auto;
        width: 100%;
        margin: 0 0 14px;
    }

    #news-tab-milestone .timeline-item.left {
        padding: 0 34px 0 0;
        text-align: right;
    }

    #news-tab-milestone .timeline-item.right {
        padding: 0 0 0 34px;
        text-align: left;
    }

    #news-tab-milestone .timeline-item.left {
        grid-column: 1;
        grid-row: 2;
    }

    #news-tab-milestone .timeline-item.right {
        grid-column: 3;
        grid-row: 2;
    }

    /* 同排错落：左侧偏上、右侧下移；月份大的放 left，保证上大下小。 */
    #news-tab-milestone .timeline-year-group:has(.timeline-item + .timeline-item) .timeline-item.right {
        transform: translateY(48px);
    }

    #news-tab-milestone .timeline-item.left .timeline-dot {
        right: -8px;
    }

    #news-tab-milestone .timeline-item.right .timeline-dot {
        left: -8px;
    }

    /* 节点：外圈光晕 + 轻呼吸 */
    #news-tab-milestone .timeline-dot {
        top: 22px;
        width: 14px;
        height: 14px;
        border: 3px solid #fff;
        background: radial-gradient(circle at 35% 30%, #7eb3ff 0%, var(--primary-blue) 70%);
        box-shadow:
            0 0 0 4px rgba(66, 133, 244, 0.16),
            0 0 0 2px rgba(184, 209, 255, 0.9),
            0 0 14px rgba(66, 133, 244, 0.38),
            0 3px 9px rgba(66, 133, 244, 0.22);
        animation: milestone-dot-pulse 3.2s ease-in-out infinite;
    }

    #news-tab-milestone .timeline-content {
        position: relative;
        overflow: hidden;
        padding: 18px 20px;
        border: 1px solid #e1ecfb;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 6px 20px rgba(31, 60, 101, 0.07);
        transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    #news-tab-milestone .timeline-content::before {
        content: attr(data-year);
        position: absolute;
        top: 8px;
        right: 16px;
        z-index: 0;
        color: rgba(66, 133, 244, 0.07);
        font-size: clamp(52px, 5vw, 68px);
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.04em;
        pointer-events: none;
        user-select: none;
    }

    #news-tab-milestone .timeline-item.left .timeline-content::before {
        right: auto;
        left: 16px;
    }

    #news-tab-milestone .timeline-content > * {
        position: relative;
        z-index: 1;
    }

    #news-tab-milestone .timeline-content:hover {
        border-color: #bcd3fa;
        box-shadow: 0 10px 28px rgba(31, 60, 101, 0.12);
        transform: translateY(-3px);
    }

    #news-tab-milestone .timeline-date {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        margin: 0 0 9px;
        padding: 3px 10px;
        border-radius: 999px;
        background: #f0f5ff;
        color: var(--primary-blue);
        font-size: 15px;
        line-height: 1.4;
    }

    #news-tab-milestone .timeline-text {
        color: #333;
        font-size: 15px;
        line-height: 1.7;
    }

    #news-tab-milestone .timeline-content .timeline-image {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin-top: 14px;
    }

    #view-news #news-tab-milestone .timeline-content .timeline-image img {
        width: 100% !important;
        min-width: 0;
        max-width: none;
        height: auto !important;
        max-height: none;
        aspect-ratio: 16 / 9;
        border: 0;
        border-radius: 9px;
        background: transparent;
        object-fit: cover;
    }

    /* 单张：只占双列网格中的一格，尺寸与双图中的单张一致，不铺满卡片 */
    #view-news #news-tab-milestone .timeline-content .timeline-image img:only-child {
        grid-column: 1;
        width: 100% !important;
        max-width: none;
    }

    #view-news #news-tab-milestone .timeline-item.left .timeline-image img:only-child {
        grid-column: 2;
        justify-self: stretch;
        margin-left: 0;
        margin-right: 0;
    }

    #view-news #news-tab-milestone .timeline-item.right .timeline-image img:only-child {
        grid-column: 1;
        justify-self: stretch;
        margin-left: 0;
        margin-right: 0;
    }
}

@keyframes milestone-ambient-glow {
    0% {
        opacity: 0.86;
        transform: translate3d(-50%, 0, 0) scaleY(1.02);
    }

    50% {
        opacity: 1;
        transform: translate3d(-50%, -1.2%, 0) scaleY(1.055);
    }

    100% {
        opacity: 0.9;
        transform: translate3d(-50%, 1.1%, 0) scaleY(1.03);
    }
}

@keyframes milestone-ambient-lines {
    0% {
        opacity: 0.65;
        transform: translate3d(-50%, -1%, 0) scaleY(1.015);
    }

    50% {
        opacity: 0.9;
        transform: translate3d(-50%, 1.2%, 0) scaleY(1.045);
    }

    100% {
        opacity: 0.7;
        transform: translate3d(-50%, -0.4%, 0) scaleY(1.025);
    }
}

@keyframes milestone-dot-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 4px rgba(66, 133, 244, 0.14),
            0 0 0 2px rgba(184, 209, 255, 0.9),
            0 0 12px rgba(66, 133, 244, 0.32),
            0 3px 9px rgba(66, 133, 244, 0.22);
    }

    50% {
        box-shadow:
            0 0 0 6px rgba(66, 133, 244, 0.2),
            0 0 0 2px rgba(184, 209, 255, 0.95),
            0 0 18px rgba(66, 133, 244, 0.45),
            0 3px 10px rgba(66, 133, 244, 0.28);
    }
}

@media screen and (min-width: 769px) and (prefers-reduced-motion: reduce) {
    #news-tab-milestone::before,
    #news-tab-milestone::after {
        animation: none;
        will-change: auto;
    }

    #news-tab-milestone::before {
        opacity: 0.92;
        transform: translateX(-50%);
    }

    #news-tab-milestone::after {
        opacity: 0.78;
        transform: translateX(-50%);
    }

    #news-tab-milestone .timeline-dot {
        animation: none;
    }

    #news-tab-milestone .timeline-content {
        transition: none;
    }

    #news-tab-milestone .timeline-content:hover {
        transform: none;
    }
}

/* =========================================================
   企业大事记移动端终值
   页面 gutter、时间轴轨道和卡片内边距各自独立，避免重复缩进。
   ========================================================= */
@media screen and (max-width: 768px) {
    #news-tab-milestone {
        --timeline-page-gutter: var(--mobile-gutter, 20px);
        --timeline-rail-space: 32px;
        --timeline-card-padding: 16px;
        width: 100%;
        overflow: hidden;
    }

    /* 唯一负责页面左右安全边距的容器。 */
    #news-tab-milestone .timeline-container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 20px var(--timeline-page-gutter) 32px !important;
    }

    /* 左侧 32px 只留给轨道和圆点；右侧不再额外缩进。 */
    #news-tab-milestone .milestone-timeline {
        position: relative;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 0 0 var(--timeline-rail-space) !important;
    }

    #news-tab-milestone .timeline-line {
        display: block;
        top: 10px;
        bottom: 0;
        left: 8px;
        width: 2px;
        background: #dbeafe;
        transform: none;
    }

    #news-tab-milestone .timeline-year,
    #news-tab-milestone .timeline-year.left,
    #news-tab-milestone .timeline-year.right {
        left: auto !important;
        width: 100%;
        margin: 24px 0 10px;
        padding: 0 !important;
        text-align: left !important;
    }

    #news-tab-milestone .timeline-year:first-of-type {
        margin-top: 0;
    }

    #news-tab-milestone .timeline-year .year-title {
        font-size: 20px;
        line-height: 1.35;
    }

    #news-tab-milestone .timeline-item,
    #news-tab-milestone .timeline-item.left,
    #news-tab-milestone .timeline-item.right {
        left: auto !important;
        width: 100%;
        margin: 0 0 16px;
        padding: 0 !important;
        text-align: left !important;
    }

    #news-tab-milestone .timeline-dot,
    #news-tab-milestone .timeline-item.left .timeline-dot,
    #news-tab-milestone .timeline-item.right .timeline-dot {
        display: block;
        top: 20px;
        left: calc((var(--timeline-rail-space) * -1) + 3px) !important;
        right: auto !important;
        width: 12px;
        height: 12px;
        border: 2px solid #fff;
        background: var(--primary-blue);
        box-shadow: 0 0 0 1px var(--primary-blue);
    }

    #news-tab-milestone .timeline-content {
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: var(--timeline-card-padding) !important;
        border: 1px solid #e7edf4;
        border-radius: 10px;
        background: #f8fafc;
        box-shadow: none;
    }

    #news-tab-milestone .timeline-date {
        margin: 0 0 6px;
        font-size: 16px;
        line-height: 1.4;
    }

    #news-tab-milestone .timeline-text {
        margin: 0;
        font-size: 14px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    #news-tab-milestone .timeline-content .timeline-image {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin: 12px 0 0;
    }

    /* 与 web 同一套图、同一裁切：cover + 16:9。 */
    #news-tab-milestone .timeline-content .timeline-image img,
    #news-tab-milestone .timeline-content .timeline-image img:only-child {
        display: block;
        grid-column: auto;
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        height: auto !important;
        max-height: none;
        margin: 0;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
        background: transparent;
        object-fit: cover;
        box-shadow: none;
    }

    #news-tab-milestone .timeline-content .timeline-image img:only-child {
        grid-column: 1;
    }
}

@media screen and (max-width: 380px) {
    #news-tab-milestone {
        --timeline-rail-space: 28px;
        --timeline-card-padding: 14px;
    }
}

/* 首页企业动态：明确控制列表、按钮和页脚之间的桌面端纵向节奏。 */
@media screen and (min-width: 768px) {
    #view-home .home-news-section .news-grid {
        margin-bottom: 0;
    }

    #view-home .home-news-section .view-more-container {
        margin: 0;
        padding: 48px 0 64px;
    }
}

/* 证书医院导航按钮：桌面端右对齐；短名单行，云健康在「门诊部」后断行。 */
#about-certs .cert-tabs-vertical button {
    display: block;
    position: relative;
    width: 100%;
    margin-right: -21px;
    padding: 15px 20px;
    border: 0;
    border-right: 3px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #666;
    font: inherit;
    font-size: 15px;
    line-height: 1.5;
    text-align: right;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

#about-certs .cert-tabs-vertical button[data-subtab="yunchina"] {
    white-space: normal;
}

#about-certs .cert-tabs-vertical button:hover,
#about-certs .cert-tabs-vertical button.active {
    border-right-color: var(--primary-blue);
    background: #f4f8ff;
    color: var(--primary-blue);
    font-weight: 700;
}

#about-certs .cert-tabs-vertical button:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

@media screen and (max-width: 767px) {
    /* 企业文化在触摸设备上保持稳定的 3×2 图卡，不响应 active/hover。 */
    #about-culture .culture-item,
    #about-culture .culture-item:hover,
    #about-culture .culture-item.active {
        width: 100%;
        min-width: 0;
        aspect-ratio: 3 / 4;
        flex: none;
        cursor: default;
        transition: none;
        -webkit-tap-highlight-color: transparent;
    }

    #about-culture .culture-item img,
    #about-culture .culture-item:hover img,
    #about-culture .culture-item.active img {
        transform: none;
        transition: none;
    }

    #about-culture .culture-overlay,
    #about-culture .culture-item:hover .culture-overlay,
    #about-culture .culture-item.active .culture-overlay {
        background: rgba(0, 0, 0, 0.4);
        transition: none;
    }

    #about-culture .culture-title,
    #about-culture .culture-item:hover .culture-title,
    #about-culture .culture-item.active .culture-title {
        margin: 0;
        font-size: 16px;
        line-height: 1.35;
        letter-spacing: 2px;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        transition: none;
    }

    #about-culture .culture-desc,
    #about-culture .culture-item:hover .culture-desc,
    #about-culture .culture-item.active .culture-desc {
        display: none;
    }

    /* 三家医院纵向完整展示，避免长名称被等宽三列挤压。 */
    #about-certs .cert-tabs-vertical {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        width: 100%;
        margin: 0 0 20px;
        padding: 0 !important;
        border: 0;
    }

    #about-certs .cert-tabs-vertical button {
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 52px;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        padding: 12px 14px 12px 16px;
        border: 1px solid #e5eaf0;
        border-left: 3px solid transparent;
        border-radius: 8px;
        background: #fff;
        color: #4e5969;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    #about-certs .cert-tabs-vertical button:hover,
    #about-certs .cert-tabs-vertical button.active {
        border-color: rgba(66, 133, 244, 0.28);
        border-left-color: var(--primary-blue);
        background: rgba(66, 133, 244, 0.08);
        color: var(--primary-blue);
        font-weight: 700;
    }
}

/* 桌面端窄屏预览：锁定横向轨道，真机触屏仍保留原有滑动交互。 */
@media screen and (max-width: 768px) and (hover: hover) and (pointer: fine) {
    .banner-container,
    #view-home .roles-tabs,
    .prod-tabs,
    .news-tabs,
    .about-subnav,
    .culture-grid {
        touch-action: pan-y;
        overscroll-behavior-x: none;
    }

    #view-home .roles-tabs,
    .prod-tabs,
    .news-tabs,
    .about-subnav,
    .culture-grid {
        overflow-x: hidden;
        scroll-snap-type: none;
    }

    #view-home .roles-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 证书资质移动端终值：一屏一张完整证书，按钮悬浮在轨道两侧。 */
@media screen and (max-width: 767px) {
    #about-certs .cert-carousel-container,
    #about-certs .cert-carousel-container.nested.active {
        display: block;
        position: relative;
        width: 100%;
        padding: 8px 0;
        touch-action: pan-y;
    }

    #about-certs .cert-carousel-wrapper {
        width: 100%;
    }

    #about-certs .cert-carousel-track {
        gap: 0;
    }

    #about-certs .cert-carousel-item {
        min-width: 0;
        flex: 0 0 100%;
    }

    #about-certs .cert-card {
        width: 100%;
    }

    #about-certs .cert-card-img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: contain;
    }

    #about-certs .cert-card-title {
        min-height: 44px;
        padding: 10px 44px 0;
        font-size: 16px;
        line-height: 1.5;
    }

    #about-certs .cert-carousel-btn {
        position: absolute;
        top: 50%;
        z-index: 2;
        width: 40px;
        height: 40px;
        font-size: 15px;
        transform: translateY(-50%);
    }

    #about-certs .cert-carousel-btn:hover,
    #about-certs .cert-carousel-btn:active {
        transform: translateY(-50%);
    }

    #about-certs .cert-carousel-btn.prev-btn { left: 8px; }
    #about-certs .cert-carousel-btn.next-btn { right: 8px; }
}

/* 医院信息与证书分组移动端终值。 */
@media screen and (max-width: 767px) {
    #about-hospital .hosp-info p {
        display: flex !important;
        width: 100%;
        min-width: 0;
        align-items: flex-start;
        margin-bottom: 8px;
        line-height: 1.75;
        text-align: left;
    }

    #about-hospital .hosp-info p .icon-map {
        display: flex;
        width: 20px;
        height: 1.75em;
        flex: 0 0 20px;
        align-items: center;
        justify-content: center;
        margin: 0 8px 0 0 !important;
        padding: 0;
        font-size: inherit;
        line-height: 1;
        text-align: center;
    }

    #about-hospital .hosp-address-text {
        min-width: 0;
        flex: 1;
        line-height: 1.75;
    }

    #about-certs .cert-tabs-vertical {
        display: none !important;
    }

    #about-certs .cert-grid-wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        width: 100%;
    }

    #about-certs .cert-carousel-container.nested,
    #about-certs .cert-carousel-container.nested.active {
        display: block !important;
        width: 100%;
        margin: 0;
    }

    #about-certs .cert-hospital-title {
        display: block;
        margin: 0 0 14px;
        color: #333;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.45;
        text-align: center;
    }
}

/* 首页聚合角色卡片未选中态与线上官网保持一致。 */
#view-home .role-tab-item:not(.active) {
    background: #f4f6f9 !important;
    color: #333 !important;
}

/* 证书选项卡维持原有未选中颜色；去掉 hover/active 闪烁。 */
#about-certs .cert-main-tabs span {
    transition: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

#about-certs .cert-main-tabs span:not(.active),
#about-certs .cert-main-tabs span:not(.active):hover,
#about-certs .cert-main-tabs span:not(.active):active,
#about-certs .cert-main-tabs span:not(.active):focus {
    border: none !important;
    background: #e9edf2 !important;
    color: #333 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}

#about-certs .cert-main-tabs span.active,
#about-certs .cert-main-tabs span.active:hover,
#about-certs .cert-main-tabs span.active:active,
#about-certs .cert-main-tabs span.active:focus {
    border: none !important;
    background: var(--primary-blue) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3) !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}

#view-home .role-tab-item:not(.active):hover {
    border-color: #e1ecfb !important;
    background: #eef2f7 !important;
    color: #333 !important;
}

/* 产品页移动端不保留已隐藏标签栏的 sticky 外壳，避免顶部残留灰线。 */
@media screen and (max-width: 768px) {
    #view-products .prod-tabs-wrap {
        display: none;
    }
}

/* 企业动态移动端：压缩标签栏与列表、列表与页脚之间的空白。 */
@media screen and (max-width: 767px) {
    #view-news .news-tabs-wrap {
        margin-bottom: 12px;
    }

    #news-tab-science {
        padding-bottom: 12px;
    }
}

/* 首页移动端：压缩角色展示与企业动态之间的模块交界留白。 */
@media screen and (max-width: 767px) {
    #view-home .roles-section {
        padding-bottom: 12px !important;
    }

    #view-home > section.w-1200.home-news-section:last-of-type {
        padding-top: 12px !important;
    }
}

/* 首页企业动态严格复刻线上版；所有规则均限定在首页。 */
#view-home .home-news-mobile {
    display: none;
}

@media screen and (min-width: 1025px) {
    #view-home .home-news-section {
        max-width: 1200px;
        padding: 0 0 60px;
    }

    #view-home .home-news-section .section-header {
        height: 119px;
        margin: 0;
        padding: 50px 0 30px;
    }

    #view-home .home-news-section .section-header h2 {
        font-size: 28px;
        line-height: normal;
    }

    #view-home .home-news-section .home-news-desktop {
        display: grid;
        grid-template-columns: repeat(2, 580px);
        gap: 40px;
        width: 1200px;
        margin-bottom: 30px;
    }

    #view-home .home-news-section .main-news-card { height: 100%; }
    #view-home .home-news-section .main-news-img { height: 300px; }
    #view-home .home-news-section .main-news-info { padding: 30px 25px; }
    #view-home .home-news-section .main-news-title { font-size: 20px; line-height: 1.4; }
    #view-home .home-news-section .main-news-desc { font-size: 14px; line-height: 1.6; }
    #view-home .home-news-section .news-meta span { color: var(--primary-blue); font-size: 14px; }
    #view-home .home-news-section .sub-news-list { gap: 15px; }
    #view-home .home-news-section .sub-news-item { gap: 20px; padding-bottom: 20px; }
    #view-home .home-news-section .sub-news-item:last-child { padding-bottom: 0; }
    #view-home .home-news-section .sub-news-thumb { width: 180px; height: 110px; flex: 0 0 180px; }
    #view-home .home-news-section .sub-news-info { padding-top: 5px; }
    #view-home .home-news-section .sub-news-title { margin-bottom: 8px; font-size: 16px; line-height: normal; }
    #view-home .home-news-section .sub-news-desc { font-size: 13px; line-height: 1.5; }
    #view-home .home-news-section .sub-news-more { margin-top: 10px; font-size: 13px; }
    #view-home .home-news-section .view-more-container { display: block; margin-top: 30px; padding: 0; }
}

@media screen and (max-width: 767px) {
    #view-home .home-news-desktop {
        display: none !important;
    }

    #view-home .home-news-mobile {
        display: block;
    }

    #view-home .home-news-mobile .news-card {
        overflow: visible;
        border: 0;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        background: #fff;
    }

    #view-home .home-news-mobile .news-card:last-child {
        border-bottom: 0;
    }

    #view-home .home-news-mobile .news-card__link {
        display: flex;
        min-height: 132px;
        flex-direction: row;
        gap: 14px;
        padding: 18px 0;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    #view-home .home-news-mobile .news-card__media {
        order: 2;
        width: 116px;
        height: 87px;
        overflow: hidden;
        align-self: center;
        flex: 0 0 116px;
        border-radius: 8px;
        background: #f4f6f9;
    }

    #view-home .home-news-mobile .news-card__image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #view-home .home-news-mobile .news-card__content {
        display: flex;
        order: 1;
        min-width: 0;
        flex: 1;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
    }

    #view-home .home-news-mobile .news-card h2 {
        display: -webkit-box;
        overflow: hidden;
        margin: 0 0 7px;
        color: #333;
        font-size: 16px;
        font-weight: 650;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    #view-home .home-news-mobile .news-card__summary {
        display: -webkit-box;
        overflow: hidden;
        margin: 0 0 10px;
        color: var(--text-gray);
        font-size: 13px;
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    #view-home .home-news-mobile .news-card__footer {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: auto;
        color: var(--text-gray);
        font-size: 12px;
        line-height: 1.4;
    }

    #view-home .home-news-mobile .news-card__category {
        color: var(--text-gray);
        font-size: 11px;
        font-weight: 400;
    }
}

@media screen and (max-width: 480px) {
    #view-home .home-news-mobile .news-card__link {
        min-height: 124px;
        gap: 12px;
        padding: 16px 0;
    }

    #view-home .home-news-mobile .news-card__media {
        width: 108px;
        height: 81px;
        flex-basis: 108px;
    }

    #view-home .home-news-mobile .news-card h2 { font-size: 15px; }
    #view-home .home-news-mobile .news-card__summary { font-size: 12px; }
}

/* Web 企业大事记图片：每行最多 2 张自适应，第 3 张起换行；单张固定尺寸不铺满。 */
@media screen and (min-width: 769px) {
    #news-tab-milestone .timeline-content .timeline-image {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin: 10px 0 0;
    }

    #news-tab-milestone .timeline-content .timeline-image img {
        grid-column: auto;
        display: block;
        width: 100% !important;
        min-width: 0;
        max-width: none;
        height: auto !important;
        max-height: none;
        margin: 0;
        border-radius: 8px;
        background: #fff;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        box-shadow: none;
    }

    #news-tab-milestone .timeline-content .timeline-image img:only-child {
        grid-column: 1;
        width: 100% !important;
        max-width: none;
        height: auto !important;
    }

    /* 单张与月份对齐：左轴占右格，右轴占左格 */
    #news-tab-milestone .timeline-item.left .timeline-image img:only-child {
        grid-column: 2;
        justify-self: stretch;
        margin-left: 0;
        margin-right: 0;
    }

    #news-tab-milestone .timeline-item.right .timeline-image img:only-child {
        grid-column: 1;
        justify-self: stretch;
        margin-left: 0;
        margin-right: 0;
    }

    /* Web 双向时间轴：图片跟随月份的阅读方向对齐。 */
    #news-tab-milestone .timeline-item.left .timeline-image {
        justify-content: flex-end;
        justify-items: end;
        margin-right: 0;
        margin-left: auto;
    }

    #news-tab-milestone .timeline-item.right .timeline-image {
        justify-content: flex-start;
        justify-items: start;
        margin-right: auto;
        margin-left: 0;
    }
}

/* 手机端自适应双列图片：每行最多两张，第三张起自动换行。 */
@media screen and (max-width: 768px) {
    #news-tab-milestone .timeline-year,
    #news-tab-milestone .timeline-year.left,
    #news-tab-milestone .timeline-year.right {
        box-sizing: border-box;
        margin: 0 0 12px;
        padding: 28px 0 0 !important;
    }

    #news-tab-milestone .milestone-timeline > .timeline-year-group:nth-child(2) > .timeline-year {
        padding-top: 0 !important;
    }

    #news-tab-milestone .timeline-year .year-title,
    #news-tab-milestone .timeline-date {
        color: var(--primary-blue) !important;
    }

    #news-tab-milestone .timeline-content .timeline-image {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: none;
        margin: 10px 0 0;
    }

    #news-tab-milestone .timeline-content .timeline-image img,
    #news-tab-milestone .timeline-content .timeline-image img:only-child {
        grid-column: auto;
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        height: auto !important;
        max-height: none;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        background: transparent;
    }

    #news-tab-milestone .timeline-content .timeline-image img:only-child {
        grid-column: 1;
    }
}

/* 手机端企业动态：压缩时间轴首尾及首页首条资讯后的重复留白。 */
@media screen and (max-width: 767px) {
    #view-news .news-tabs-wrap:has(+ .news-content-container #news-tab-milestone.active) {
        margin-bottom: 0;
    }

    #news-tab-milestone .timeline-container {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    #news-tab-milestone .timeline-item:last-of-type {
        margin-bottom: 0;
    }

    #view-home .home-news-section .news-grid {
        gap: 8px;
    }
}

/* 产品与服务手机端：压缩连续模块之间的纵向留白。 */
@media screen and (max-width: 768px) {
    #view-products .prod-content-container {
        padding-top: 4px;
        padding-bottom: 16px;
    }

    #view-products .prod-content-section,
    #view-products .prod-content-section:first-child {
        gap: 12px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    #view-products .prod-content-left h3 {
        margin-bottom: 12px;
    }

    #view-products .prod-feature-list {
        gap: 10px;
    }

    #view-products .prod-advantages {
        --adv-section-padding: 20px;
        --adv-stack-gap: 12px;
        --adv-card-padding-y: 20px;
    }
}
