/* ================= 1. 全局基础与变量 ================= */
:root {
    --primary-blue: #4285f4;
    --text-dark: #333;
    --text-gray: #666;
    --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;
}

/* 全局文章类链接 - 移除下划线 */
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: #4E5969;
    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;
}

.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: #4E5969;
    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;
    }
}

/* 响应式文字大小 - 小屏幕手机 */
@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;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
    width: 100%;
    flex-shrink: 0;
    position: relative;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
}

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

/* 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;
    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 {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

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

@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 {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .prev-btn {
        left: 8px;
    }

    .next-btn {
        right: 8px;
    }

    .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: 8px;
        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: #4E5969;
    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: #4E5969;
    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;
}

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

.page-btn:not(.active):not([style*="opacity"]):hover {
    background: #f0f0f0;
    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: #4E5969;
    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: 0.3s;
}

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

.cert-content-group {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

.cert-tabs-vertical {
    width: 210px;
    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;
    animation: fadeIn 0.3s ease;
}

.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;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.cert-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px;
    border-radius: 8px;
}

.cert-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cert-modal-close:hover,
.cert-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.cert-modal-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.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-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 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-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;
    transition: all 0.3s ease;
}

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

.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;
    transition: all 0.3s ease;
}

.ft-qr-area h4:hover {
    color: var(--primary-blue);
}

.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;
}

/* 页脚响应式调整 */
@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;
}