/* 强制移动端访问时，最外层容器不产生滚动条 */
html, body {
    min-width: 1280px; /* 与 viewport 设置的宽度一致 */
    overflow-x: auto !important;
    -webkit-text-size-adjust: 100%; /* 防止 iOS 自动放大字体 */
}
/* ================= 全局重置与滚动优化 ================= */
:root {
    --glass-bg: rgba(30, 30, 30, 0.28);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-blur: 10px;
}

html {
    width: 100%;
    overflow-x: hidden;


}

body {
    margin: 0;
    padding: 0;
    padding-top: 70px;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
}
/* 针对 Chrome, Safari, Edge 和 Opera */
html::-webkit-scrollbar {
    display: none;
}

/* 针对 Firefox */
html {
    scrollbar-width: none;
}

/* 针对 IE 和旧版 Edge */
html {
    -ms-overflow-style: none;
}


/* ================= 头部导航 (Frame 2) ================= */
.site-header {
    /* 【修改】背景改为半透明黑色，配合毛玻璃效果 */
    background: #ffffff;           /* 白色背景 */
    /* 【新增】毛玻璃效果（高级感关键），让滑过下方的内容模糊 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid #FFFFFF14;
    height: 70px;

    /* 【核心修改】改为固定定位 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* 强制占满宽度 */

    /* 确保层级最高，永远在轮播图和弹窗上面 */
    z-index: 9999;
}

.header-wrapper {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- 1. 左侧 Logo --- */
.header-left {
    z-index: 20;
    display: flex;
    align-items: center;
}

.site-logo {
    height: 90px;
    width: auto;
    display: block;
}

/* --- 2. 中间 菜单 (Frame 2 - Property 1: Default) --- */
.header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: auto;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px; /* 原有间距 */

    /* --- 新增修复代码 --- */
    flex-wrap: nowrap;       /* 强制禁止换行 */
    white-space: nowrap;     /* 强制文字不换行 */
    align-items: center;
}

.navbar-nav .nav-item {
    flex-shrink: 0;          /* 防止菜单项自身被压缩变形 */
}

/* 【核心修复】将 .nav-link 改为更通用的 .navbar-nav li a */
.navbar-nav .nav-item a {
    display: block;
    text-decoration: none;
    color: #494242 !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* 鼠标悬停效果 */
.navbar-nav .nav-item a:hover {
    color: #2673bc !important;
    opacity: 0.7;
    text-decoration: none;
}


/* 搜索按钮 */
.header-search {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.header-search:hover {
    opacity: 1;
}

.header-search img {
    width: 28px;
    height: 28px;
    display: block;
}

/* ================= 轮播图 ================= */
.hero-section-wrapper {
    width: 100%;
    height: calc(100vh - 70px);
    position: relative;
    /* 【核心修复】让轮播图成为第一个吸附点 */
    scroll-snap-align: start;
}


.swiper {
    width: 100%;
    height: 100%;
}

.slide-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    /* 修改：由 center 改为 center bottom (以底部为准对齐) */
    background-position: center bottom;
    position: relative;
    filter: brightness(1.05) contrast(0.9);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);

}

.slide-inner::before {
    display: none;
}

/* ================= 首页轮播标题增强 (站酷小薇体) ================= */

/* 1. 确保首页也正确声明字体，注意删除路径末尾空格 */
@font-face {
    font-family: 'ZCOOL Xiaowei';
    src: url('/robot.Theme/fonts/ZhanKuXiaoLOGOTi-2.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ================= 首页独有：轮播标题样式 (站酷小薇体) ================= */

/* 1. 确保链接包装器撑满整个幻灯片 */
.slide-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important; /* 去除下划线 */
    cursor: pointer;
    position: relative;
    z-index: 1;
}
/* 1. 重新定义容器：不再使用 flex-start，改为垂直居中 */
.slide-text-content {
    position: absolute;
    /* 核心修改：让容器占据整个高度，但内部元素垂直居中 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex !important;
    flex-direction: column;

    /* 修改：改为居中对齐，这样我们只需要调整微小的偏移量 */
    justify-content: center;

    /* 取消原本不稳定的 padding-top */
    padding-top: 0;

    text-align: center;
    pointer-events: none;
}

/* ================= 首页轮播标题样式更新 (Modern Helvetica) ================= */

/* ================= 首页轮播标题样式更新 ================= */
.home-hero-title {
    font-family: "Helvetica Neue", Helvetica, sans-serif !important;
    font-weight: 500 !important;
    font-size: 40px !important;
    line-height: 48px !important;
    text-align: center !important; /* 修改：确保标题自身文字居中 */
    width: 1440px;
    margin: 0 auto !important;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .home-hero-title {
        font-size: 28px !important;
        line-height: 36px !important;
        text-align: center !important; /* 手机端建议恢复居中，视觉更平衡 */
        width: 100%;
        transform: translateY(-15vh) !important;
    }
}

/* 修改 slide-inner 样式，增加遮罩 */
.slide-inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%; /* 只遮盖顶部标题区域 */
    /* 从白色半透明到完全透明的渐变 */
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    z-index: 5;
    pointer-events: none;
}
/* ================= 轮播图规格参数样式 ================= */

/* 规格参数容器也需要移除固定 margin-top，改用内联 transform */
/* ================= 规格参数展示容器 ================= */
.hero-spec-container {
    display: flex !important;
    justify-content: center !important; /* 修改：容器内子元素水平居中 */
    gap: 55px; /* Label 之间的间隔 */
    width: 1440px;
    margin: 0 auto !important;
    padding: 0 40px;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.spec-item-box {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    text-align: center; /* 关键：确保 Value 和 Label 垂直对齐且居中 */
    align-items: center; /* 确保子元素在交叉轴上也居中 */
}

.spec-value2 {
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
}

.spec-label2 {
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 200;
    margin-top: 4px;
    text-transform: uppercase;
}

/* 移动端适配：方案一强制桌面化，所以这里可以不改，但为了保险还是加上 */
@media (max-width: 768px) {
    .hero-spec-container {
        width: 100%;
        justify-content: center;
        gap: 20px;
        transform: translateY(-12vh);
    }
    .spec-value { font-size: 18px; }
    .spec-label { font-size: 11px; }
}

/* ================= 轮播左右箭头优化 ================= */

.swiper-button-prev,
.swiper-button-next {
    width: 44px !important;
    height: 64px !important;

    /* 胶囊形状，而不是圆 */
    border-radius: 20px;

    /* macOS 半透明毛玻璃 */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));

    border: 1px solid var(--glass-border);

    opacity: 1; /* ✅ 不要整体透明 */

    color: #fff;

    display: flex !important;
    align-items: center;
    justify-content: center;




    transition:
            background 0.25s ease,
            transform 0.25s ease,
            box-shadow 0.25s ease,
            opacity 0.25s ease;

    margin-top: -32px; /* height / 2 */
}


/* --- 关键修正：隐藏 Swiper 自带的巨大箭头符号 --- */
.swiper-button-prev::after,
.swiper-button-next::after {
    content: '' !important; /* 清空默认内容 */
    display: none !important;
}

/* 调整内部 SVG 图标的大小和位置 */
.swiper-button-prev svg,
.swiper-button-next svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}


/* --- 交互效果 --- */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: #000;
}


/* 调整左右间距 */
.swiper-button-prev { left: 50px; }
.swiper-button-next { right: 50px; }

/* 移动端隐藏 */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

/* ================= 轮播图新增按钮样式 ================= */
/* ================= 轮播图新增按钮样式 (透明边框放大版) ================= */

.hero-btn-container {
    width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 20;
    pointer-events: none;
}

.hero-learn-more {
    display: inline-block;
    padding: 10px 40px;

    /* 核心修改：背景透明 */
    background: transparent !important;
    border-radius: 20px;
    /* 颜色和边框已在 Liquid 中通过内联样式定义 */

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none !important;

    /* 动画效果保持 */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;

    /* 移除初始状态的阴影，透明风格通常不带阴影 */
    box-shadow: none;
}

/* 悬停状态修改 */
.hero-learn-more:hover {
    /* 悬停时稍微出现一点半透明背景，增加视觉反馈 */
    background: rgba(255, 255, 255, 0.1) !important;

    /* 放大效果保持 */
    transform: translateY(-4px) scale(1.08);

    /* 悬停时加一个细微的发光感 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    /* 确保文字颜色依然跟随 inline style，除非你想在这里强制变色 */
}

.hero-learn-more:active {
    transform: translateY(0px) scale(0.95);
    background: rgba(0, 0, 0, 0.05) !important;
}
/* 移动端适配补丁 */
@media (max-width: 768px) {
    .hero-btn-container {
        width: 100%;
        transform: translateY(-5vh) !important;
    }
    .hero-learn-more {
        padding: 8px 30px;
        font-size: 14px;
    }
}

/* ================= 左下角导航（文字 + 左侧竖线） ================= */

/* 容器：完全透明 */
.hero-nav-card {
    position: absolute;
    bottom: 50px;
    left: 40px;
    z-index: 20;
    width: 320px;

    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* 列表 */
.hero-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 单项 */
.hero-nav-item {
    position: relative;
    padding: 8px 0 8px 16px;   /* 给左侧竖线留空间 */
    cursor: pointer;
}

/* 左侧竖线（默认状态） */
.hero-nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(255, 255, 255, 0.25); /* 默认灰 */
    transition: background 0.3s ease;
}

/* 选中项：竖线变白 */
.hero-nav-item.active::before {
    background: #FFFFFF;
}

/* hover 不改变颜色（保持克制） */
.hero-nav-item:hover {
    background: transparent;
}

/* 文本容器 */
.nav-item-content {
    width: 100%;
}

/* 文本 */
.nav-item-title {
    color: #FFFFFF;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

/* 选中态：文字略微加粗 */
.hero-nav-item.active .nav-item-title {
    font-weight: 500;
}

/* 副标题隐藏 */
.nav-item-subtitle {
    display: none;
}

/* ❌ 彻底禁用箭头 */
.nav-arrow {
    display: none !important;
}

/* ================= 移动端适配 ================= */
@media (max-width: 768px) {
    .hero-nav-card {
        left: 20px;
        bottom: 20px;
        width: calc(100% - 40px);
    }
}

/* ================= 产品展示区样式 (Product Showcase) ================= */

/* 1. 容器与背景全局设置 */
.product-showcase-section {
    background-color: #FFFFFF !important; /* 强制背景为纯白 */
    color: #1F1E1D;
    padding: 100px 0;
    position: relative;
    overflow: hidden; /* 防止背景水印溢出 */
}

.content-max-width {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 2. 分类栏样式（修正并排问题） --- */
.product-category-bar {
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.category-list {
    display: flex !important;       /* 核心：强制弹性布局 */
    flex-direction: row !important; /* 核心：强制横向排列 */
    justify-content: center;        /* 居中对齐 */
    align-items: center;
    list-style: none !important;    /* 彻底去除圆点 */
    padding: 0;
    margin: 0;
    gap: 60px;                      /* 选项之间的间距 */
    flex-wrap: nowrap;              /* 桌面端禁止换行 */
}

.category-item {
    padding: 0 0 20px 0;            /* 底部留出空间给下划线 */
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: #000;
    font-weight: 500;
    white-space: nowrap;            /* 禁止文字内换行 */
}
/* 增加父级类名 product-category-bar 提高权重 */
.product-category-bar .category-list .category-item {
    font-size: 20px !important;
}

.category-item:hover {
    opacity: 0.8;
}

/* 激活状态样式 */
.category-item.active {
    opacity: 1;
    font-weight: 700;
    color: #000;
}

.category-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;                   /* 压在父容器边框线上 */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0d6efd;      /* 蓝色激活线 */
    border-radius: 2px 2px 0 0;
}

/* --- 3. 左右布局内容区 --- */
.product-detail-container {
    display: flex;
    align-items: center;
    gap: 80px;
    min-height: 500px;
}

/* 左侧：视觉呈现 */
.product-left-visual {
    flex: 1.1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 更细腻的渐变底色 */
    background: radial-gradient(circle at center, #f8f9fa 0%, #ffffff 75%);
    border-radius: 20px;
    padding: 40px;
}

.main-product-image {
    max-width: 100%;
    height: auto;
    max-height: 480px;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08)); /* 给产品图加自然投影 */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.bg-deco-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 10vw, 150px); /* 响应式字体大小 */
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    z-index: 1;
    pointer-events: none;
    letter-spacing: 10px;
}

/* 右侧：文字与参数 */
.product-right-info {
    flex: 0.9;
    text-align: left;
}

.product-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1F1E1D;
    line-height: 1.2;
}

.product-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

/* --- 4. 参数网格优化 --- */
.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    margin-bottom: 50px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.spec-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-value {
    font-size: 20px;
    font-weight: 400;
    color: #1F1E1D;
    font-family: "Helvetica Neue", sans-serif;
}

.spec-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 5. 缩略图切换 --- */
.product-thumbnails {
    margin-bottom: 40px;
}

.thumb-label {
    font-size: 12px;
    font-weight: 600;
    color: #bbb;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.thumb-list {
    display: flex;
    gap: 12px;
}

.thumb-item {
    width: 64px;
    height: 64px;
    border: 1px solid #eee;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-item:hover, .thumb-item.active {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}
/* --- 6. 按钮样式 --- */
.btn-more-params {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 22px;
    border-radius: 20px;

    background: #1973BF;
    border: 1px solid #1973BF;

    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;

    /* 保留原有过渡，确保所有变换都有动画 */
    transition: all 0.3s ease;
    /* 防止缩放时按钮模糊 */
    transform-origin: center center;
}

.btn-more-params:hover {
    background: #005a82; /* 略深一点，显得高级 */
    border-color: #005a82;

    /* 在原有位移基础上，增加缩放放大效果（1.05倍） */
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 103, 150, 0.35);

    color: #fff;
}

/* 可选：添加点击时的按压效果，提升交互体验 */
.btn-more-params:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 5px 15px rgba(0, 103, 150, 0.25);
}

/* --- 7. 响应式优化 --- */
@media (max-width: 1200px) {
    .product-detail-container { gap: 40px; }
    .product-title { font-size: 30px; }
}

@media (max-width: 992px) {
    .product-detail-container {
        flex-direction: column;
        text-align: center;
    }
    .product-right-info { text-align: center; width: 100%; }
    .product-desc { margin-left: auto; margin-right: auto; }
    .product-specs { justify-items: center; }
    .thumb-list { justify-content: center; }

    .category-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 20px 15px;
        gap: 40px;
    }
    .category-list::-webkit-scrollbar { display: none; }
}

@media (max-width: 576px) {
    .product-specs { grid-template-columns: repeat(2, 1fr); }
    .product-title { font-size: 24px; }
    .spec-value { font-size: 20px; }
}
/* ================= 全屏滚动捕捉 (Scroll Snap) - 兼容 AOS 动画版 ================= */

html {
    /* 【核心修复】去掉了 height: 100vh 和 overflow-y: scroll */
    /* 这两行代码会导致 AOS 动画库失效，去掉后滚动捕捉依然有效，但动画也能跑了 */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;
    overflow-x: hidden; /* 防止横向滚动条 */
}

/* 捕捉点配置保持不变 */
.site-header {
    scroll-snap-align: none;
}

.product-showcase-section {
    scroll-snap-align: start;
    min-height: 100vh; /* 依然强制全屏高度 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-section {
    scroll-snap-align: start;
    min-height: 100vh; /* 新闻页也全屏 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-section {
    scroll-snap-align: start;
    /* 合作伙伴页内容较少，可以不用强制 min-height: 100vh，或者设为 start */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px; /* 增加一点内边距 */
    padding-bottom: 100px;
}

.site-footer-complex {
    scroll-snap-align: end; /* 页脚吸附到底部 */
}

/* 移动端 */
@media (max-width: 768px) {
    html {
        scroll-snap-type: y proximity;
    }
}


/* ================= 新闻中心 (News Section) ================= */

.news-section {
    background-color: #F5F7FA; /* 浅灰蓝色背景 */
    padding: 100px 0;

    /* 配合全屏滚动（可选） */
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- 顶部标题区 --- */
.news-header {
    display: flex;
    justify-content: space-between;
    /* 让“更多新闻”按钮垂直居中，或者改为 flex-end 底部对齐也行 */
    align-items: center;
    margin-bottom: 60px;
}
/* ================= 隐藏 Banner 文字 ================= */
.news-page-banner .banner-content {
    display: none !important;
}

/* 标题文字容器：改为垂直排列 */
.header-left {
    display: flex;
    flex-direction: column; /* 【核心修改】垂直堆叠 */
    align-items: flex-start; /* 左对齐 */
    gap:0; /* 元素之间的间距 */
}

/* 中文大标题 */
.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1px;
    line-height: 1.2;
}

/* 英文副标题 */
.section-subtitle {
    font-size: 14px;
    color: #999;
    font-weight: 500;
    letter-spacing: 1px;
    /* 修改这里：capitalize 表示每个单词首字母大写 */
    text-transform: capitalize;
    margin-bottom: 2px;
}

/* 蓝色下划线 */
.title-underline {
    width: 90px; /* 短一点更精致 */
    height: 2px;
    background-color: #2D6CDF; /* 主题蓝 */
    margin-top: 1px; /* 与上方文字拉开一点距离 */
    border-radius: 2px; /* 圆角矩形，不那么生硬 */
}

/* 右侧“更多新闻”按钮 */
.btn-more-news {
    background-color: #1973BF;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
    /* 防止按钮被压缩 */
    flex-shrink: 0;
}

.btn-more-news:hover {
    background-color: #003366;
    color: #fff;
}

/* --- 布局网格 --- */
.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr; /* 左大右小比例 */
    gap: 40px;
}

/* --- 左侧头条卡片 --- */
.news-highlight-card {
    position: relative;
    height: 450px; /* 固定高度 */
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.highlight-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.highlight-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-highlight-card:hover img {
    transform: scale(1.05); /* 悬停放大 */
}

.highlight-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%); /* 底部黑色渐变 */
    z-index: 1;
}

.highlight-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
    color: #fff;
}

.highlight-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.highlight-date {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.highlight-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 右下角椭圆箭头按钮（浅灰风格） */
.btn-circle-arrow {
    position: absolute;       /* 绝对定位，靠父容器 */
    bottom: -15px;             /* 距离底部20px */
    right: -5px;              /* 距离右侧20px */

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    height: 32px;             /* 椭圆高度 */
    padding: 0 24px;          /* 椭圆宽度 */
    border-radius: 20px;      /* 椭圆圆角 */

    background-color: #f5f7fa; /* 默认浅灰背景 */
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;

    border: none;
    cursor: pointer;

    transition:
            background-color 0.25s ease,
            color 0.25s ease,
            transform 0.25s cubic-bezier(.4,0,.2,1),
            box-shadow 0.25s ease;

    z-index: 10;
}

/* 悬浮放大 + 投影效果 */
.btn-circle-arrow:hover {
    background-color: #e1f0ff;  /* 悬浮浅蓝/灰色背景 */
    color: #2D6CDF;             /* 悬浮文字颜色 */
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 点击状态略微缩小 */
.btn-circle-arrow:active {
    transform: translateY(-1px) scale(1.02);
}

/* 内部 svg 图标 */
.btn-circle-arrow svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}


/* --- 右侧次要新闻列表 --- */
.news-sub-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两列并排 */
    gap: 30px;
}

.news-sub-card {
    background: transparent;
    display: flex;
    flex-direction: column;
}

/* 1. 图片容器样式 */
.sub-card-image {
    height: 240px;
    border-radius: 12px;
    margin-bottom: 20px;

    /* 核心 1：必须有 overflow: hidden，否则放大后会撑破圆角 */
    overflow: hidden;

    /* 建议添加：鼠标放上去变成手型，提示可点击 */
    cursor: pointer;
}

/* 2. 图片本体样式 */
.sub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* 核心 2：添加过渡动画，0.5s 是时间，ease 是速度曲线 */
    transition: transform 0.5s ease;
}

/* 3. 新增：鼠标悬浮时的样式 */
.sub-card-image:hover img {
    /* 核心 3：放大 1.05 倍 (1.05 = 105%) */
    transform: scale(1.05);
}

.sub-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sub-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.sub-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
}

/* 父容器必须相对定位 */
.parent-container {
    position: relative; /* 按钮绝对定位的参考 */
}

/* 椭圆箭头按钮 */
.btn-circle-arrow-small {
    position: absolute;       /* 绝对定位，靠父容器 */
    bottom: 20px;             /* 距离底部20px */
    right: 20px;              /* 距离右侧20px */

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    height: 32px;
    padding: 0 24px;          /* 宽椭圆形 */
    border-radius: 20px;

    background-color: #f5f7fa;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;

    border: none;
    cursor: pointer;

    transition:
            background-color 0.25s ease,
            color 0.25s ease,
            transform 0.25s cubic-bezier(.4,0,.2,1),
            box-shadow 0.25s ease;
}

.btn-circle-arrow-small:hover {
    background-color: #e1f0ff;
    color: #2D6CDF;

    transform: translateY(-2px) scale(1.05); /* 悬浮放大 */
    box-shadow: 0 8px 20px rgba(45, 108, 223, 0.25);
}

.btn-circle-arrow-small:active {
    transform: translateY(-1px) scale(1.02);
}


/* 蓝色实心箭头 */
.btn-circle-arrow-small.blue {
    background-color: #004E98;
    color: #fff;
    border: none;
}

.btn-circle-arrow-small.blue:hover {
    background-color: #003366;
}

/* 白色空心箭头 */
.btn-circle-arrow-small.white {
    border: 1px solid #ccc;
    color: #333;
    background: #fff;
}

.btn-circle-arrow-small.white:hover {
    background: #f0f0f0;
}


/* --- 移动端适配 --- */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr; /* 变单列 */
        gap: 30px;
    }

    .news-sub-list {
        grid-template-columns: 1fr; /* 次要新闻也变单列 */
    }

    .news-highlight-card {
        height: 350px;
    }

    .section-title {
        font-size: 24px;
    }
}

/* ================= 合作伙伴 (Partner Section) ================= */

.partner-section {
    background-color: #FFFFFF;
    padding: 80px 0;

    scroll-snap-align: start;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- 居中标题区 --- */
.partner-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-underline.center {
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Logo 网格布局 (Flex版 - 完美居中) --- */
.partner-grid {
    /* 【关键修改1】改用 Flex 布局，实现最后一行自动居中 */
    display: flex;
    flex-wrap: wrap;       /* 允许换行 */
    justify-content: center; /* 整体居中对齐 */
    gap: 40px;             /* 间距 */

    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    /* 【关键修改2】计算宽度以实现"每行5个" */
    /* 100% / 5 = 20%，减去 gap 带来的占用 (40px * 4 / 5 ≈ 32px) */
    width: calc(20% - 32px);

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    transition: transform 0.3s ease;
}

.partner-item img {
    width: auto;
    height: auto;
    max-width: 260px;
    max-height: 120px;
    object-fit: contain;

    /* 【关键修改3】移除灰度滤镜，保持原色 */
    filter: none;
    opacity: 1; /* 不透明 */
    transition: transform 0.3s ease;
}

/* 悬停效果：仅轻微放大，不改变颜色（因为本来就是彩色的） */
.partner-item:hover {
    transform: scale(1.1);
}

/* --- 移动端适配 --- */
@media (max-width: 992px) {
    .partner-grid {
        gap: 30px;
    }
    .partner-item {
        /* 平板：每行 3 个 */
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 576px) {
    .partner-grid {
        gap: 20px;
    }
    .partner-item {
        /* 手机：每行 2 个 */
        width: calc(50% - 10px);
    }
    .partner-item img {
        max-width: 120px;
        max-height: 40px;
    }
}



/* ================= 复杂页脚 (Complex Footer) ================= */

.site-footer-complex {
    background-color: #1A1A1A; /* 深灰偏黑背景 */
    color: #CCCCCC;            /* 浅灰文字 */
    padding-top: 60px;
    padding-bottom: 30px;
    font-size: 14px;

    /* 配合全屏滚动 */
    scroll-snap-align: end;
}

/* --- 顶部行：Logo 和 导航 --- */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 顶部对齐 */
    margin-bottom: 50px;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

/* 如果您用的是黑色 Logo，这个滤镜会让它变成纯白 */
.logo-white-filter {
    filter: brightness(0) invert(1);
}

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

.footer-top-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-top-nav a:hover {
    opacity: 1;
}

/* --- 中间行：主要内容 --- */
.footer-main-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap; /* 允许在小屏幕换行 */
    gap: 40px;
}

/* 右侧联系区 */
/* 右侧联系区 */
.footer-contact-area {
    width: 300px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;

    /* ▼▼▼ 修改开始 ▼▼▼ */
    /* center: 让内部元素（二维码div、文字div）在 300px 宽度内水平居中 */
    align-items: center;

    /* center: 让文字内容也居中对齐，这样和二维码看起来更协调 */
    text-align: left;
    /* ▲▲▲ 修改结束 ▲▲▲ */
}

/* 修正二维码边距 (因为现在靠右了) */
.footer-qrcode {
    background: #fff;
    padding: 5px;
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 2px;
    /* margin-left: auto;  <-- 不需要，align-items: flex-end 已经搞定了 */
}

.footer-qrcode img {
    width: 100%;
    height: 100%;
}

.footer-info-text p {
    margin: 0 0 10px 0;
    line-height: 1.6;
    color: #999;
    font-size: 16px;
}

/* 左侧链接矩阵 */
.footer-links-matrix {
    flex: 1; /* 占满剩余空间 */
    display: flex;
    justify-content: space-between; /* 保持原有的均匀分布 */
    gap: 20px;
    padding-right: 40px; /* 右侧留出一点间距给联系区 */
}

.link-column h4 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column li {
    margin-bottom: 12px;
}

.link-column a {
    color: #999;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.link-column a:hover {
    color: #fff;
}

/* --- 底部行：版权 --- */
.footer-bottom-row {
    text-align: center;
}

.copyright-line {
    width: 100%;
    height: 1px;
    background-color: #333; /* 分割线 */
    margin-bottom: 30px;
}

.footer-bottom-row p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* --- 移动端适配 --- */
@media (max-width: 992px) {

    .footer-links-matrix {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 40px;
    }

    .link-column {
        width: 45%; /* 变成两列 */
    }
    .footer-main-row {
        flex-direction: column-reverse; /* 手机上通常希望联系方式在最底部，这里反转一下顺序 */
        /* 或者保持 column，那样联系方式会在最上面 */
    }

    .footer-contact-area {
        align-items: flex-start; /* 手机端恢复左对齐 */
        text-align: left;
        width: 100%;
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .footer-top-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-top-nav {
        gap: 20px;
    }

    .footer-contact-area {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .link-column {
        width: 100%; /* 手机上一列 */
        text-align: center;
    }
}


/* ================= Hero 文字进场动效 ================= */

/* 1. 默认状态：文字向下偏移并隐藏 */
.slide-text-content h1,
.slide-text-content p,
.slide-text-content .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1); /* 高级缓动曲线 */
}

/* 2. 激活状态：文字浮现 (Swiper 自动添加 active 类) */
.swiper-slide-active .slide-text-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s; /* 标题延迟 0.3s */
}

.swiper-slide-active .slide-text-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s; /* 描述延迟 0.5s */
}

.swiper-slide-active .slide-text-content .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s; /* 按钮延迟 0.7s */
}


/* ================= 微交互优化 ================= */

/* 1. 页脚链接 Hover：向右滑动 */
.link-column a {
    display: inline-block; /* 必须变成块级才能 transform */
    transition: transform 0.3s ease, color 0.3s ease;
}

.link-column a:hover {
    color: #fff;
    transform: translateX(6px); /* 鼠标放上去，文字向右动 6px */
}

/* 2. 新闻卡片 Hover：阴影加深 + 上浮 */
.news-highlight-card, .news-sub-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-highlight-card:hover {
    transform: translateY(-5px); /* 整体上浮 */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* 增加高级投影 */
}

/* 3. 按钮 Hover：发光效果 */
.btn-more-news {
    position: relative;
    overflow: hidden;
}

.btn-more-news::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-more-news:hover::after {
    left: 100%; /* 鼠标滑过时，一道光扫过去 */
}

/* ================= 侧边悬浮工具栏 (Floating Side Bar) ================= */

.floating-side-bar {
    position: fixed;
    right: 20px;      /* 距离右边 20px */
    bottom: 100px;    /* 距离底部 100px (避开页脚) */
    z-index: 9990;    /* 层级高，但在 Header(9999) 之下 */
    display: flex;
    flex-direction: column;
    gap: 10px;        /* 两个图标之间的间距 */
}

/* --- 单个图标容器 --- */
.float-item {
    position: relative;
    width: 50px;
    height: 50px;

    /* 半透明 + 毛玻璃 */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));

    /* 大圆角 */
    border-radius: 14px;

    cursor: pointer;

    /* 更轻的阴影 */
    box-shadow:
            0 4px 10px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition:
            background 0.25s ease,
            transform 0.25s ease,
            box-shadow 0.25s ease;

    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}



/* 鼠标悬停：背景变蓝 */
.float-item:hover {
    background-color: #2D6CDF;
}


/* --- 弹出层通用样式 --- */
.pop-content {
    position: absolute;
    right: 60px; /* 默认在图标左侧 60px 处 */
    top: 0;

    background-color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);

    /* 隐藏状态 */
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px); /* 稍微往右偏移，制造滑出效果 */
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28); /* 弹性动画 */

    /* 保持文字不换行 */
    white-space: nowrap;

    /* 加上一个小箭头指向右边 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 小箭头 */
.pop-content::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 20px; /* 箭头高度 */
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

/* --- 悬停触发显示 --- */
.float-item:hover .pop-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* 回到原位 */
    right: 65px; /* 稍微拉开一点距离 */
}

/* --- 电话弹出层特有样式 --- */
.phone-pop {
    height: 50px; /* 跟图标等高 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.pop-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 2px;
}

.pop-number {
    font-size: 20px;
    font-weight: 700;
    color: #2D6CDF;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* --- 二维码弹出层特有样式 --- */
.qr-pop {
    top: auto;
    bottom: 0; /* 二维码比较高，建议底部对齐，或者 top: -xxx */
    padding: 10px;
}
/* 调整箭头位置适配底部对齐 */
.qr-pop::after {
    top: auto;
    bottom: 20px;
}

.qr-img-wrapper {
    width: 120px;
    height: 120px;
    margin-bottom: 5px;
}

.qr-img-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

.pop-desc {
    font-size: 12px;
    color: #666;
}

/* --- 移动端隐藏 --- */
/* 手机屏幕太小，悬停效果不好操作，建议隐藏 */
@media (max-width: 768px) {
    .floating-side-bar {
        display: none;
    }
}




/* ================= 关于顶配 (About Page) ================= */

/* --- 1. 顶部通用 Banner --- */
.about-page-banner {
    position: relative;

    /* ▼▼▼ 在这里独立调整新闻 Banner 的高度 ▼▼▼ */
    height: 480px;      /* 您可以自由修改，例如 400px 或 500px */
    min-height: 200px;
    padding: 0;         /* 这里的 padding 可以清空，由 flex 居中控制 */

    background-color: #000; /* 背景底色 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}

/* 背景图容器 */
.about-page-banner .banner-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;

    /* ▼▼▼ 关键调整：图片填充方式 ▼▼▼ */
    /* cover:   拉伸图片铺满整个区域（推荐，无黑边，但可能会裁切掉部分边缘） */
    /* contain: 保持图片完整显示（如果有黑边，会露出底色） */
    background-size: cover;

    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

/* 文字内容容器 (保持居中) */
.about-page-banner .banner-content {
    /*position: relative;*/
    /*  z-index: 2; /* 确保文字在图片上面 */
    /* color: #fff;*/
    display: none !important;
}




/* 配合大图，文字也要稍微加大一点 */
.banner-title {
    font-size: 56px; /* 原来可能是 32px 或 48px */
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* --- 2. 视差背景内容区 --- */
.about-parallax-section {
    position: relative;
    width: 100%;
    /* 高度自适应，至少 600px */
    min-height: 600px;
    padding: 100px 0;

    /* 背景图设置 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;


    display: flex;
    align-items: center;
}

/* 遮罩层 */
.parallax-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* 渐变遮罩：左深右浅 */
    background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

/* 内容容器 */
.about-content-box {
    position: relative;
    z-index: 2; /* 在遮罩之上 */
    max-width: 700px; /* 控制文字宽度 */
    color: #fff;
    padding-left: 20px; /* 微调位置 */
}

/* 内部小标题样式 */
.content-header {
    margin-bottom: 40px;
    border-left: 4px solid #2D6CDF;
    padding-left: 20px;
}

.deco-text {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.main-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* 正文样式 */
.about-desc {
    font-size: 16px;
    line-height: 2; /* 宽松行高，易于阅读 */
    color: rgba(255,255,255,0.9);
    margin-bottom: 50px;
    text-align: justify;
}

/* 白色边框按钮 */
.btn-outline-white {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* --- about 移动端适配 --- */
@media (max-width: 768px) {
    .about-page-banner {
        /* 手机端独立高度 */
        height: 200px;
        min-height: 150px;
    }

    /* 如果手机端想改字号，可以在这里加 */
    .about-page-banner .banner-title {
        font-size: 28px;
    }
}




/* ================= 全局通用样式（保留） ================= */
:root {
    --brand-blue: #1E88E5;
    --brand-blue-deep: #0F62FE;
    --brand-gray-light: #f5f7fa;
    --text-gray-1: #111;
    --text-gray-2: #222;
    --text-gray-3: #444;
    --text-gray-4: #555;
    --text-gray-5: #888;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-mobile: 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ================= 企业介绍+发展历程通用悬浮样式 ================= */
.about-intro-wrap {
    padding: 80px 0;
    background-color: #fff;
}
.about-intro-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative; /* 作为正文悬浮的定位父容器 */
}

.about-title-area {
    margin-bottom: 1px;
    padding-left: 0;
    /* 【核心修改 1】将 center 改为 left，实现文字左对齐 */
    text-align: left;
    position: relative;
    z-index: 20;
}

/* 1. 英文装饰 (Top) */
.about-en-decor {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    letter-spacing: 0;
    text-transform: capitalize;
    margin-bottom: 2px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 2. 中文主标题 (Main) */
.about-cn-main {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1px;  /* ⬅ 原来 20px */

    line-height: 1.2;
}

/* 3. 底部装饰线 (Line) */
.title-line {
    width: 140px;
    height: 2px;
    background-color: #2D6CDF;
    /* 【核心修改 2】将 0 auto (居中) 改为 0 (左对齐) */
    margin-bottom: 1px;
    border-radius: 2px;
}
.about-title-line {
    width: 74px;
    height: 2px;
    background-color: #2D6CDF;
    /* 【核心修改 2】将 0 auto (居中) 改为 0 (左对齐) */
    margin: 0;
    border-radius: 2px;
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
    .about-cn-main {
        font-size: 28px;
    }
    .about-en-decor {
        font-size: 12px;
        letter-spacing: 2px;
    }
    .about-title-area {
        margin-bottom: 30px;
    }
}


/* 2. 统一文字悬浮层的定位 */
.about-desc-wrap {
    position: absolute;
    top: -60px;
    left: 40px;
    z-index: 10;
    max-width: 4000px;
    padding: 0;
    max-height: calc(100% - 80px);
    overflow: hidden;
    
}

/* 悬浮文字样式：通用 */
.about-desc-text {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    font-weight: 400;
    text-align: justify;
    text-indent: 0;
    letter-spacing: 0.5px;
    text-shadow: none;
    white-space: pre-wrap;
    word-break: break-all;
}

/* 背景图容器：通用样式 */
.about-bg-image-wrap {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 400px;
}
/* 发展历程背景图容器专属调整 */
.history-wrap .about-bg-image-wrap {
    height: 680px;
    min-height: unset;
    margin-bottom: 0;
}

/* 背景图样式：通用 */
.about-bg-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.history-bg-inner {
    width: 100%;
    height: 100%;

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 将 cover 改为具体百分比可以控制“缩放感”，例如 110% 看起来会比 cover 更大一点 */
    background-size: 110% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: background-size 0.5s ease; /* 增加平滑过渡 */
}
.history-bg-inner::before {
    display: none !important;
}
 
 /* ================= 发展历程里程碑样式（保留+微调） ================= */
.history-static-wrapper {
    position: relative;
    z-index: 2; /* 低于悬浮文字（z-index:10），高于背景 */
    width: 95%;
    height: auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.history-static-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    gap: 15px;
    height: auto;
    padding: 40px 0;
}
.history-item {
    width: 24%;
    position: relative;
    transition: all 0.4s ease;
    margin: 0;
}
.history-item.stair-0 { bottom: -100px; }
.history-item.stair-1 { bottom: 20px; }
.history-item.stair-2 { bottom: 80px; }
.history-item.stair-3 { bottom: 130px; }
.slide-connector {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
    z-index: 3;
}
.node-dot {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 2px solid var(--brand-blue);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(30, 136, 229, 0.2);
}
/* 补充dot-core样式（原有HTML引用但无样式） */
.dot-core {
    width: 6px;
    height: 6px;
    background-color: var(--brand-blue);
    border-radius: 50%;
    margin: 3px auto;
}
.node-line-up {
    width: 2px;
    height: calc(100% + 15px);
    background-color: var(--brand-blue);
    opacity: 0.7;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 12px;
}
.node-line-end {
    display: none;
}
.slide-year {
    font-size: 42px;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 12px;
    letter-spacing: -1px;
    display: block;
    text-align: center;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}
.slide-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 18px 15px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(230, 230, 230, 0.3);
    position: relative;
    overflow: hidden;
}
.history-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-gray-2);
    text-align: center;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}
.history-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-gray-4);
    text-align: center;
    white-space: normal;
    word-break: keep-all; /* 取消自动裁切 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.history-item:hover {
    transform: translateY(-6px);
}
.history-item:hover .slide-year {
    color: var(--brand-blue-deep);
    text-shadow: 0 2px 4px rgba(15, 98, 254, 0.15);
}
.history-item:hover .slide-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: #fff;
}

/* ================= 移动端适配（通用+专属） ================= */
@media (max-width: 768px) {
    .about-intro-wrap {
        padding: 60px 0;
    }
    .about-intro-container {
        padding: 0 20px;
        position: relative;
    }
    /* 移动端标题 */
    .about-title-area {
        margin-bottom: 20px;
        padding-left: 0;
    }
    .about-en-title {
        font-size: 26px;
        letter-spacing: 1px;
    }
    .about-cn-subtitle {
        font-size: 14px;
        padding-bottom: 6px;
    }

    /* 移动端悬浮容器：通用 */
    .about-desc-wrap {
        top: 20px;
        left: 20px;
        max-width: 70%;
        max-height: calc(100% - 40px);
    }


    /* 移动端悬浮文字 */
    .about-desc-text {
        font-size: 13px;
        line-height: 1.7;
        text-indent: 1em;
        letter-spacing: 0.2px;
    }

    /* 移动端背景图容器 */
    .about-bg-image-wrap {
        height: 350px;
        border-radius: 16px;
        box-shadow: var(--shadow-mobile);
    }
    .history-wrap .about-bg-image-wrap {
        height: 700px; /* 发展历程移动端加高 */
    }

    /* 发展历程移动端里程碑 */
    .history-bg-inner {
        min-height: unset;
        padding: 20px;
    }
    .history-static-wrapper {
        width: 100%;
    }
    .history-static-grid {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    .history-item {
        width: 92%;
        margin-bottom: 10px !important;
    }
    .history-item.stair-0,
    .history-item.stair-1,
    .history-item.stair-2,
    .history-item.stair-3 {
        bottom: 0;
        margin-bottom: 15px;
    }
    .slide-connector {
        position: relative;
        top: 0;
        margin-bottom: 8px;
    }
    .node-line-up {
        height: 15px;
        top: -15px;
    }
    .slide-year {
        font-size: 36px;
    }
    .slide-card {
        padding: 15px 12px;
    }
    .history-title {
        font-size: 14px;
    }
    .history-desc {
        font-size: 11px;
        -webkit-line-clamp: 4;
    }
}


/* ================= 投资关系 (Investor Section) ================= */
.investor-section {
    padding: 100px 0;
    background-color: #fff;
    /* 【修改回居中】 */
    text-align: center;
}

/* --- 标题区域 --- */
.investor-header {
    margin-bottom: 60px;
    /* 【修改回居中】 */
    text-align: center;
    position: relative;
    /* 确保 flex 子元素也能居中对齐 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. 英文装饰 (Top) */
.investor-en-decor {
    font-size: 14px;
    font-weight: 600;
    color: #999;      /* 品牌蓝 */
    letter-spacing: 1px; /* 稍微给点间距，更精致 */
    text-transform: capitalize;
    margin-bottom: 2px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 2. 中文主标题 (Main) */
.investor-cn-main {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

/* 3. 底部装饰线 (Line) */
.investor-title-line {
    width: 145px;         /* 居中显示时，建议线宽短一些（如 60px），更现代 */
    height: 2px;
    background-color: #2D6CDF;
    /* 【关键修改】改为 auto 实现居中 */
    margin-bottom: 2px;
    border-radius: 2px;
}

/* --- Logo 容器调整 --- */
.investor-logos-wrapper {
    display: flex;
    justify-content: center; /* 核心：水平居中所有子项 */
    align-items: center;     /* 垂直方向对齐 */
    flex-wrap: wrap;         /* 允许换行 */
    gap: 60px 80px;          /* 第一个值是行间距，第二个值是列间距 */
    max-width: 1200px;       /* 限制最大宽度，防止单行铺得太散 */
    margin: 0 auto;          /* 容器自身居中 */
}

/* 单个 Logo 项调整 */
.investor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 强制每个子项有一个最小宽度，或者不设置让其靠内容撑开 */
    min-width: 180px;
}
/* 添加以下规则到您的样式表 */
.investor-item img {
    /* 1. 设置最大高度，这是控制 Logo 大小最有效的方法 */
    max-height: 250px;  /* 如果觉得还是大，可以调成 35px 或 30px */

    /* 2. 限制最大宽度，防止某些长条形 Logo 显得过长 */
    max-width: 200px;

    /* 3. 保持比例缩放 */
    width: auto;
    height: auto;

    /* 4. 增加灰度滤镜（可选，让 Logo 看起来更高级，悬停时变彩色） */
    /* filter: grayscale(100%); 
       opacity: 0.7; 
       transition: all 0.3s ease; */
}

/* 彻底隐藏掉可能干扰布局的分割线 */
.investor-divider {
    display: none !important;
}
/* ================= 新闻中心页面专用样式 (News Center) ================= */

.news-section-wrapper .section-padding {
    padding: 80px 0;
    background-color: #fff;
}

/* 核心容器调整：限制宽度 + 增加留白 */
.news-section-wrapper .content-max-width {
    /* 将最大宽度限制在 1200px，增加左右空白 */
    max-width: 1440px !important;

    /* 确保容器水平居中 */
    margin-left: auto !important;
    margin-right: auto !important;

    /* 增加基础内边距，防止小屏贴边 */
    padding-left: 40px;
    padding-right: 40px;
}
/*隐藏 Page 默认标题*/
.content-item.page > header {
    display: none;
}
.news-page-banner {
    position: relative;

    /* ▼▼▼ 在这里独立调整新闻 Banner 的高度 ▼▼▼ */
    height: 300px;      /* 您可以自由修改，例如 400px 或 500px */
    min-height: 200px;
    padding: 0;         /* 这里的 padding 可以清空，由 flex 居中控制 */

    background-color: #000; /* 背景底色 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}

/* 背景图容器 */
.news-page-banner .banner-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;

    /* ▼▼▼ 关键调整：图片填充方式 ▼▼▼ */
    /* cover:   拉伸图片铺满整个区域（推荐，无黑边，但可能会裁切掉部分边缘） */
    /* contain: 保持图片完整显示（如果有黑边，会露出底色） */
    background-size: cover;

    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

/* 文字内容容器 (保持居中) */
.news-page-banner .banner-content {
    position: relative;
    z-index: 2; /* 确保文字在图片上面 */
    color: #fff;
}

/* --- 新闻 Banner 移动端适配 --- */
@media (max-width: 768px) {
    .news-page-banner {
        /* 手机端独立高度 */
        height: 200px;
        min-height: 150px;
    }

    /* 如果手机端想改字号，可以在这里加 */
    .news-page-banner .banner-title {
        font-size: 28px;
    }
}

/* --- 1. 头条新闻 (Featured News) --- */
.news-section-wrapper .featured-news {
    display: flex;
    align-items: flex-start; /* 顶部对齐 */
    gap: 40px; /* 间距由 60px 微调为 40px，适应稍窄的容器 */
    margin-bottom: 80px;
}

/* --- 1. 头条新闻图片容器优化 --- */
.news-section-wrapper .featured-img {
    flex: 1;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    /* 修改：背景设为透明，去掉矩形阴影，改用图片滤镜阴影 */
    background: transparent !important;
    box-shadow: none !important;

    /* 居中处理 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-section-wrapper .featured-img img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    /* 修改：由 cover 改为 contain，防止不规则图片拉伸 */
    object-fit: contain;

    /* 修改：针对透明图片的轮廓阴影 */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.news-section-wrapper .featured-news:hover .featured-img img {
    transform: scale(1.03);
}

.news-section-wrapper .featured-content {
    flex: 1.1; /* 文字区域稍宽 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px; /* 高度与图片对齐 */
}

.news-section-wrapper .featured-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.3;
    transition: color 0.3s;
}

.news-section-wrapper .featured-news:hover .featured-title {
    color: #2D6CDF;
}

.news-section-wrapper .featured-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-section-wrapper .featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #eee;
    padding-top: 24px;
}

/* --- 新日期样式 (复刻 Image_379311) --- */

/* 日期容器：Flex布局，垂直居中 */
.news-section-wrapper .custom-date-style {
    display: flex;
    align-items: center;
    color: #006796; /* 吸取图片的深蓝色，原主题蓝为 #2D6CDF，可按需调整 */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1;
}

/* 左侧：日 (大号数字) */
.news-section-wrapper .c-day {
    font-size: 60px;       /* 根据图片调整的大小 */
    font-weight: 700;      /* 粗体 */
    letter-spacing: -2px;  /* 紧凑一点 */
    margin-right: 12px;    /* 与斜线的距离 */
}

/* 中间：斜线 */
.news-section-wrapper .c-divider {
    font-size: 50px;       /* 比数字稍小 */
    font-weight: 300;      /* 细体 */
    color: #006796;
    margin-right: 12px;    /* 与右侧年份的距离 */
    transform: translateY(-2px); /* 视觉微调，向上提一点 */
}

/* 右侧：年月容器 (垂直排列) */
.news-section-wrapper .c-ym-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* 年份 (上) */
.news-section-wrapper .c-year {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px; /* 年与月之间的间距 */
}

/* 月份 (下) */
.news-section-wrapper .c-month {
    font-size: 18px;
    font-weight: 500;
}

/* --- 原有样式的微调 --- */
/* 确保父容器对齐正确 */
.news-section-wrapper .featured-meta {
    align-items: center !important; /* 强制垂直居中，对齐右侧箭头按钮 */
    padding-top: 24px;
}

.news-section-wrapper .big-date { font-size: 40px; margin-right: 8px; letter-spacing: -2px; }
.news-section-wrapper .small-date { font-size: 14px; opacity: 0.8; text-transform: uppercase; }

/* 修改位置：约 1320 行左右 */
.news-section-wrapper .btn-arrow-circle {
    /* --- 核心布局 (Flex居中) --- */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* --- 椭圆形状关键属性 --- */
    width: auto;           /* 1. 取消固定宽度 */
    height: 40px;          /* 2. 设置一个较扁的高度 */
    padding: 0 24px;       /* 3. 使用左右内边距撑开成椭圆形 */
    border-radius: 20px;   /* 4. 圆角半径 */

    /* --- 风格 --- */
    background-color: #f5f7fa; /* 浅灰背景 */
    color: #555;               /* 深灰箭头 */
    border: 1px solid transparent; /* 预留边框位置，防止变色时跳动 */

    text-decoration: none;
    font-size: 20px;           /* 箭头大小 */
    padding-bottom: 2px;
    transition: all 0.3s ease; /* 确保变色过程丝滑 */
}

/* --- 关键修改：父级 Hover 触发子级特效 --- */
/* 当鼠标悬停在 .featured-news (头条卡片) 上时，触发按钮样式 */
.news-section-wrapper .featured-news:hover .btn-arrow-circle {
    background-color: #2D6CDF; /* 变为主题蓝 */
    color: #fff;               /* 箭头变白 */
    transform: translateY(-30%) scale(1.2);    /* 按钮微微放大 */
}


/* --- 2. 新闻列表 (News List) --- */
.news-section-wrapper .news-divider {
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin: 0;
}

.news-section-wrapper .news-list-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    transition: padding 0.3s;
    border-bottom: 1px solid transparent;
}

.news-section-wrapper .news-list-item:hover {

    border-radius: 8px;
}

/* --- 2. 新闻列表图片容器优化 --- */
.news-section-wrapper .news-img-box {
    width: 320px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;

    /* 修改：背景透明 + 居中 */
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-section-wrapper .news-img-box img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    /* 修改：由 cover 改为 contain */
    object-fit: contain;

    /* 透明图片轮廓阴影 */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.08));
    transition: transform 0.5s ease;
}

/* 悬停放大效果保持，但建议幅度减小，防止切边 */
.news-section-wrapper .news-list-item:hover .news-img-box img {
    transform: scale(1.05);
}

.news-section-wrapper .news-info-box {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* 顶部对齐 */
    padding-top: 10px;
    position: relative;
}

/* --- 列表页日期专用微调 --- */

/* 列表日期容器 */
.news-section-wrapper .list-date-wrapper {
    margin-right: 30px; /* 保持与右侧文字的间距 */
    flex-shrink: 0;     /* 防止日期被压缩 */

    /* 确保日期在列表中稍微紧凑一点，防止撑破布局 */
    transform-origin: left top;
}

/* 针对列表项，稍微缩小一点日期字号 (可选) 
   如果您希望列表日期和头条日期完全一样巨大，请删除下面的代码 */
.news-section-wrapper .news-list-item .c-day {
    font-size: 48px; /* 头条是60px，列表改为48px更协调 */
}
.news-section-wrapper .news-list-item .c-divider {
    font-size: 40px; /* 头条是50px */
}
.news-section-wrapper .news-list-item .c-year,
.news-section-wrapper .news-list-item .c-month {
    font-size: 14px; /* 头条是18px */
}

/* 鼠标悬停时，列表日期也变色 (可选互动效果) */
.news-section-wrapper .news-list-item:hover .custom-date-style {
    color: #2D6CDF; /* 悬停时变亮蓝 */
}
.news-section-wrapper .news-list-item:hover .c-divider {
    color: #2D6CDF;
}


/* 文字部分 */
.news-section-wrapper .text-box {
    flex-grow: 1;
    padding-right: 60px;
}

.news-section-wrapper .news-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s;
}

.news-section-wrapper .news-list-item:hover .news-title {
    color: #2D6CDF;
}

.news-section-wrapper .news-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
/* 列表圆圈箭头按钮 - 修改为实心胶囊样式 */
.news-section-wrapper .btn-arrow-outline {
    /* --- 1. 定位保持不变 --- */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    /* --- 2. 形状改为胶囊 --- */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;           /* 取消固定宽度 */
    height: 36px;          /* 设置一个较扁的高度 (比之前的44px小一点更精致) */
    padding: 0 20px;       /* 左右内边距撑开成椭圆 */
    border-radius: 18px;   /* 圆角半径为高度的一半 */

    /* --- 3. 风格调整 --- */
    background-color: #f5f7fa; /* 默认浅灰背景 */
    color: #555;               /* 深灰箭头 */
    border: none;              /* 去掉原来的边框 */

    font-size: 18px;
    padding-bottom: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.news-section-wrapper .news-list-item:hover .btn-arrow-outline {
    background-color: #2D6CDF; /* 悬停变蓝 (如果您之前改了深蓝 #20558a，这里也可以同步改) */
    color: #fff;               /* 箭头变白 */

    /* 注意：必须保留 translateY(-50%) 否则悬停时位置会跳动 */
    transform: translateY(-90%) scale(1.2);
}

/* --- 移动端适配 (小于 768px) --- */
@media (max-width: 768px) {
    .news-section-wrapper .content-max-width {
        max-width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    .news-section-wrapper .featured-news {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .news-section-wrapper .featured-img {
        max-height: none;
        aspect-ratio: 16 / 9;
        flex: auto;
        width: 100%;
    }

    .news-section-wrapper .featured-content {
        min-height: auto;
        flex: auto;
        width: 100%;
    }

    .news-section-wrapper .featured-title { font-size: 24px; margin-bottom: 16px; }
    .news-section-wrapper .big-date { font-size: 40px; }
    .news-section-wrapper .featured-desc { -webkit-line-clamp: 3; }

    .news-section-wrapper .news-list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0;
        gap: 20px;
    }

    .news-section-wrapper .news-list-item:hover {
        padding-left: 0;
        padding-right: 0;
        background-color: transparent;
    }

    .news-section-wrapper .news-img-box {
        width: 100%;
        height: 220px;
    }

    .news-section-wrapper .news-info-box {
        width: 100%;
        position: static;
        padding-top: 0;
    }

    .news-section-wrapper .date-box {
        display: none;
    }

    .news-section-wrapper .text-box {
        padding-right: 0;
    }

    .news-section-wrapper .btn-arrow-outline {
        display: none;
    }
}

/* ================= 新闻详情页 (复用职位详情风格) ================= */

/* 1. 基础容器复用 .job-detail-wrapper，这里只需定义差异 */
.news-detail-wrapper {
    /* 如果新闻页背景色想不一样，可以在这里覆盖，否则保持一致 */
}

/* 2. 新闻 Banner (覆盖默认的紫色背景) */
.news-banner {
    /* 1. 布局定位 */
    position: relative;
    width: 100%;
    height: 400px; /* 设定固定高度 */

    /* 2. 背景图设置 (指定路径) */
    background-image: url('/robot.Theme/img/Frame50@1x-4.png');
    background-size: cover;           /* 铺满 */
    background-position: center center; /* 居中 */
    background-repeat: no-repeat;
    background-color: #0a2540;        /* 图片加载前的深色背景 */

    /* 3. 关键交互布局：负边距 */
    /* 作用：让下方的内容卡片向上“插入”到 Banner 区域内 */
    margin-bottom: -80px;

    /* 4. 其他 (如果需要 flex 居中文字，这里不需要因为是纯图背景) */
    display: block;
}

/* 3. 新闻卡片 (复用 .job-detail-card) */
.news-card {
    /* 如果新闻内容较多，可以适当放宽最大宽度 */
    max-width: 1000px;
}

/* 4. 头部标题区 */
.news-header-row {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    text-align: center; /* 核心：文字居中 */
}

.news-main-title {
    /* 复用 .job-main-title 样式，微调字号 */
    font-size: 36px;
    margin-bottom: 20px;
    color: #111;
}

.news-meta-grid {
    color: #888;
    margin-top: 10px;
}

/* 5. 主图样式优化 - 实现统一高度且不失真 */
.article-hero-img {
    margin-bottom: 30px; /* 减小下方间距 */
    width: 100%;
    /* 核心修改：取消固定高度，改为最大高度 */
    height: auto;
    max-height: 400px;

    overflow: hidden;
    background: transparent !important; /* 确保容器本身透明 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-hero-img img {
    /* 核心修改：改为 auto，让图片按比例自然显示 */
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 550px;

    object-fit: contain;
    display: block;

    /* 如果觉得阴影导致色差，可以尝试调淡或移除 */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
}



/* 如果你的新闻卡片有 padding 导致透白，可以检查这个类 */
.news-card {
    background-color: #fff; /* 确认卡片背景，如果不需要卡片感可调 */
}

/* 6. 正文排版 (article-content) */
/* 继承了 .job-content-text 的行高和颜色，这里增强排版细节 */
.article-content {
    font-size: 17px; /* 新闻正文稍微大一点，易读 */
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 24px;
    text-align: justify; /* 两端对齐 */
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 50px 0 20px;
    color: #111;
    border-left: 4px solid #005bac; /* 左侧蓝条装饰 */
    padding-left: 15px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 15px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
/* --- 2. 核心：长截图正文排版优化 --- */
.article-content.long-capture {
    padding: 0;             /* 清除内边距 */
    display: flex;
    flex-direction: column;
}

/* 强制清除编辑器可能生成的 P 标签间距 */
.article-content.long-capture p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;         /* 防止行高产生细微缝隙 */
}

/* 强制长截图图片样式 */
.article-content.long-capture img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;          /* 消除图片底部空隙 */
    margin: 0 auto !important;
    border-radius: 0;        /* 长图拼接不需要圆角 */
    box-shadow: none;        /* 移除之前全局设置的图片阴影 */
    filter: none;
}

/* 针对手机端的适配 */
@media (max-width: 768px) {
    .article-hero-img {
        height: 220px;
        margin-bottom: 20px;
    }
    .news-card {
        padding: 20px 15px;  /* 减小卡片内边距，让图片更宽 */
    }
}
.article-content blockquote {
    background: #f9f9f9;
    border-left: 4px solid #ccc;
    margin: 30px 0;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* 7. 底部按钮区 (复用 .job-footer-actions) */
.news-footer {
    /* 新闻页通常只需要返回按钮，不需要右侧的“投递”按钮 */
    justify-content: center; /* 居中显示返回按钮 */
    /* 或者 flex-start 靠左 */
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
    .news-card {
        padding: 40px 20px; /* 手机端减小内边距 */
    }
    .news-main-title {
        font-size: 26px;
    }
    .article-content {
        font-size: 16px;
    }
    .news-banner {
        height: 250px;       /* 手机端高度减小 */
        margin-bottom: -40px; /* 负边距也相应减小 */
    }
    .article-hero-img {
        height: 250px;
        margin-bottom: 30px;
    }
}


/* --- 首页语言切换 --- */
/* 语言切换容器 */
.lang-switch {
    display: flex;
    align-items: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

/* 共有文字样式 */
.lang-switch .lang-link {
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 0 4px;
}

/* 未选中状态（链接） */
.lang-switch a.lang-link {
    color: #999999 !important; /* 浅灰色，暗示可点击 */
    cursor: pointer;
}

.lang-switch a.lang-link:hover {
    color: #2D6CDF !important; /* 悬浮时变蓝色（或你喜欢的品牌色） */
}

/* 当前选中状态（文字） */
.lang-switch span.lang-link.active {
    color: #494242 !important; /* 深色，表示当前状态 */
    font-weight: 600;
}

/* 中间的分割线 */
.lang-switch .lang-divider {
    color: #e0e0e0;
    margin: 0 2px;
    user-select: none; /* 防止分割线被意外选中 */
}


/* ================= 下载中心页面 (Download Page) ================= */

.download-page-wrapper {
    background-color: #f5f7fa; /* 更柔和的背景灰 */
    min-height: 80vh;
    padding-bottom: 80px;
}

/* 顶部 Banner 背景图片固定，不放大、不平移、不重复 */
.download-banner {
    background: #1a1a1a url('/robot.Theme/img/Download.jpg') no-repeat center center;
    background-size: cover;       /* 图片铺满容器 */
    background-attachment: scroll; /* 不要固定或视差效果 */
    padding: 80px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}

/* 保持文字样式不变 */
.download-banner h1 { font-size: 42px; font-weight: 700; margin-bottom: 10px; }
.download-banner p { color: rgba(255,255,255,0.6); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }



/* 顶部 Banner */
.download-banner {
    background-color: #f5f7fa; /* 更柔和的背景灰 */
    background-image: url('/robot.Theme/img/Download.jpg'); /* 保留图片 */
    background-size: cover;      /* 图片铺满，不拉伸比例 */
    background-position: center; /* 居中显示图片 */
    background-repeat: no-repeat; /* 防止重复 */

    padding: 80px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;

    /* 禁用任何变换或动画 */
    transform: none;
    transition: none;
}
.download-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}
.download-banner p {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* 侧边栏 */
.download-sidebar {
    background: #fff;
    padding: 25px 15px; /* 稍微减小整体容器的内边距 */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: center; /* 标题也建议居中，保持视觉平衡 */
}

/* ================= 文件类别：强制纵向单列（最终稳定版） ================= */

.download-sidebar .category-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
}

/* 每一个分类必须独占一行 */
.download-sidebar .category-link {
    display: block !important;
    width: 88% !important;
    margin: 0 auto; /* 使背景框居中 */
    padding: 8px 12px;
    border-radius: 6px;

    background-color: #f5f7fa;
    color: #555;
    font-size: 14px;
    text-align: center;
    text-decoration: none;

    white-space: nowrap;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;

    transition: all 0.2s ease;
}

/* hover */
.download-sidebar .category-link:hover {
    background-color: #f0f5ff;
    color: #2D6CDF;
}

/* active */
.download-sidebar .category-link.active {
    background-color: #2D6CDF;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(45, 108, 223, 0.25);
}




/* 右侧内容区 */
.main-header {
    margin-bottom: 30px;
    border-left: 5px solid #2D6CDF;
    padding-left: 20px;
}
.main-header h2 { font-size: 26px; font-weight: 700; color: #111; margin: 0; }
.main-header .sub-title { font-size: 16px; color: #999; font-weight: 400; margin-left: 12px; }

/* 筛选工具栏 */
.filter-bar {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    align-items: center;
}

/* 下拉框 */
.custom-select {
    flex: 1;
    height: 50px;       /* 【关键】强制设定高度 */
    line-height: 50px;  /* 辅助文字垂直居中 */
    border: 1px solid #eee;
    padding: 0 15px;    /* 【关键】去掉上下 padding，只留左右 */
    border-radius: 6px;
    color: #555;
    background-color: #f9f9f9;
    transition: border 0.3s;
    cursor: pointer;
}
.custom-select:focus { border-color: #2D6CDF; outline: none; background-color: #fff; }

.search-group {
    flex: 1;
    display: flex;
    align-items: center; /* 确保内部元素垂直对齐 */
}

/* 搜索输入框 */
.search-input {
    flex: 1;
    height: 50px;       /* 【关键】与下拉框高度一致 */
    border: 1px solid #eee;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 0 15px;    /* 【关键】去掉上下 padding */
    background-color: #f9f9f9;
    font-size: 14px;
}
.search-input:focus { border-color: #2D6CDF; background-color: #fff; outline: none; }

/* 搜索按钮 */
.search-btn {
    height: 50px;       /* 【关键】与输入框高度一致 */
    background: #2D6CDF;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 0 30px;
    font-weight: 600;
    transition: background 0.3s;
    cursor: pointer;
    display: flex;             /* 使用 Flex 让文字/图标绝对居中 */
    align-items: center;
    justify-content: center;
}
.search-btn:hover { background: #1a56c4; }

/* 文件列表 */
.download-item {
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px; /* 这里的卡片也可以圆角 */
    margin-bottom: 15px; /* 每个文件之间留空，不做连体 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-color: #e0e0e0;
}

.file-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 10px; }

.meta-row { display: flex; gap: 30px; font-size: 13px; color: #999; }
.meta-item { display: flex; align-items: center; gap: 6px; }

/* 默认背景为透明或白色 */
/* 下载按钮（参考投递按钮风格） */
.action-btn {
    position: absolute;            /* 桌面端绝对定位 */
    top: 40px;                     /* 卡片顶部偏移 */
    right: 20px;                   /* 卡片右侧偏移 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;             /* 椭圆形 */
    height: 32px;
    border-radius: 20px;
    background-color: #f5f7fa;     /* 默认浅灰背景 */
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 10;                   /* 确保在卡片内容上方 */
}

.action-btn:hover {
    background-color: #e1f0ff;     /* 悬浮灰色背景 */
    color: #2D6CDF;
    transform: scale(1.05);
}


.action-btn svg { width: 16px; height: 16px; }

/* 移动端适配 */
@media (max-width: 768px) {
    .filter-bar { flex-direction: column; gap: 15px; }
    .download-item { flex-direction: column; align-items: flex-start; gap: 20px; }
    .file-action { width: 100%; justify-content: space-between; margin-top: 10px; }
    .action-btn { flex: 1; justify-content: center; }
    /* 移动端确保宽度占满 */
    .custom-select, .search-group { width: 100%; flex: auto; }
}



/* ================= 加入我们页面 (Join Us Page) ================= */

.join-us-page-wrapper {
    background-color: #f5f7fa;
    min-height: 80vh;
    padding-bottom: 80px;
}

/* Banner (复用风格) */
.job-banner {
    background-image: url('/robot.Theme/img/pattern-bg.png');
    background-size: cover;
    background-position: center;

    padding: 80px 0;
    min-height: 278px;   /* 👈 核心 */
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}


.job-banner h1 { font-size: 42px; font-weight: 700; margin-bottom: 10px; letter-spacing: 2px; }
.job-banner p { color: rgba(255,255,255,0.7); font-size: 16px; letter-spacing: 4px; text-transform: uppercase; }

/* 侧边栏 (复用下载中心样式) */
.job-sidebar {
    background: #fff;
    padding: 25px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: sticky;
    top: 100px;
}

.job-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.job-category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.job-category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
    text-align: center;
    background-color: #f5f7fa;   /* ← 就是这个浅灰背景框 */
}

.job-category-link:hover {
    background-color: #f0f5ff;
    color: #2D6CDF;
    transform: scale(1.02);
}

.job-category-link.active {
    background-color: #2D6CDF;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 91, 172, 0.3);
}

/* 主标题 */
.job-main-header {
    margin-bottom: 30px;
    border-left: 5px solid #2D6CDF;
    padding-left: 20px;
}
.job-main-header h2 { font-size: 26px; font-weight: 700; color: #111; margin: 0; }
.job-main-header span { font-size: 16px; color: #999; font-weight: 400; margin-left: 12px; }

/* 搜索条 (类似下载中心) */
.job-filter-bar {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.job-search-group {
    display: flex;
    width: 100%;
}

.job-search-input {
    flex: 1;
    height: 50px;
    border: 1px solid #eee;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 0 20px;
    background-color: #f9f9f9;
    font-size: 15px;
}
.job-search-input:focus { outline: none; border-color: #005bac; background-color: #fff; }

.job-search-btn {
    height: 50px;
    width: 100px;
    background: #005bac;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.job-search-btn:hover { background: #004485; }

/* 职位卡片 */
.job-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
.job-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}
.job-card:hover .job-title a { color: #005bac; }

.job-apply-btn {
    position: absolute;           /* 绝对定位 */
    top: 75px;                    /* 离卡片顶部 */
    right: 20px;                  /* 离卡片右侧 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    height: 32px;
    border-radius: 20px;          /* 椭圆形 */
    background-color: #f5f7fa;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 10;                  /* 确保在标签上方 */
}

.job-apply-btn:hover {
    background-color: #005bac;
    color: #fff;
    transform: scale(1.05);
}


/* 标签行 */
.job-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.job-tag {
    font-size: 13px;
    color: #666;
    background: #f0f2f5;
    padding: 5px 12px;
    border-radius: 4px;
}

.job-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .job-tags { gap: 5px; }
    .job-tag { padding: 4px 8px; font-size: 12px; }
}


/* ================= 职位详情页 (Job Detail Page) ================= */

/* 1. 布局与背景 */
.job-detail-wrapper {
    background-color: #f5f7fa;
    min-height: 100vh;
    padding-bottom: 100px;
}

/* 2. 顶部 Banner (复用新闻详情风格) */
.job-detail-banner {
    position: relative;
    height: 400px;
    background: #005bac url('/robot.Theme/img/pattern-bg.png'); /* 建议加个底纹 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: -80px; /* 负边距，让下面的卡片插上来 */
}

/* 3. 内容容器 (白色悬浮卡片) */
.job-detail-card {
    position: relative;
    z-index: 10;
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 60px 80px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

/* 4. 头部信息区 */
.job-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.job-main-title {
    font-size: 34px;
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.job-salary-badge {
    display: inline-block;
    background-color: #fff5f5;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

/* 职位元数据 (经验、学历等) */
.job-meta-grid {
    display: flex;
    gap: 40px;
    color: #666;
    font-size: 14px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.job-meta-item svg { width: 16px; height: 16px; color: #999; }

/* 5. 正文区域 */
.job-section {
    margin-bottom: 50px;
}

.job-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.job-section-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background-color: #005bac;
    margin-right: 12px;
    border-radius: 3px;
}

.job-content-text {
    font-size: 16px;
    line-height: 2; /* 宽松行高 */
    color: #444;
    padding-left: 18px; /* 对齐标题文字 */
}
.job-content-text ul { padding-left: 20px; margin-bottom: 0; }
.job-content-text li { margin-bottom: 8px; }

/* 6. 底部操作栏 */
.job-footer-actions {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-job-apply {
    background-color: #005bac;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 91, 172, 0.3);
}
.btn-job-apply:hover {
    background-color: #004485;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 91, 172, 0.4);
}

.btn-job-back {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: color 0.3s;
}
.btn-job-back:hover { color: #005bac; }

/* ================= 职位申请弹窗 (紧凑优化版) ================= */

/* 1. 弹窗容器优化 */
.apply-modal .modal-dialog {
    max-width: 640px; /* 限制最大宽度，比之前的 800px 小很多 */
}

.apply-modal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); /* 加深阴影，让它看起来浮在面上 */
}

.apply-modal .modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 25px; /* 减小头部内边距 */
}

.apply-modal .modal-title {
    font-size: 18px; /* 稍微减小标题字号 */
    font-weight: 700;
    color: #111;
}

.apply-modal .modal-body {
    padding: 25px; /* 减小内容区内边距 */
    /* 配合 modal-dialog-scrollable，这里会自动处理滚动 */
}

.apply-modal .modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 15px 25px; /* 减小底部内边距 */
}

/* 2. 表单组件紧凑化 */
.form-group-label {
    font-size: 13px; /* 标签字号改小 */
    font-weight: 600;
    color: #444;
    margin-bottom: 6px; /* 减小标签与输入框的距离 */
    display: block;
}

.apply-input {
    height: 42px; /* 高度从 50px 减小到 42px，更精致 */
    background-color: #f7f9fc;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    color: #333;
    width: 100%;
    transition: all 0.2s;
}

.apply-input:focus {
    background-color: #fff;
    border-color: #005bac;
    box-shadow: 0 0 0 3px rgba(0, 91, 172, 0.1);
    outline: none;
}

/* 下拉框样式 */
select.apply-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

/* 3. 上传区域紧凑化 */
.upload-zone {
    border: 1px dashed #d0d7de; /* 边框变细 */
    border-radius: 6px;
    background-color: #fcfdfe;
    padding: 15px; /* 减小高度 */
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.upload-zone:hover {
    border-color: #005bac;
    background-color: #f0f5ff;
}
.upload-icon {
    font-size: 20px; /* 图标变小 */
    color: #005bac;
    display: block;
    margin-bottom: 2px;
}

/* 验证码按钮 */
.btn-code {
    position: absolute;
    right: 4px;
    top: 4px;
    height: 34px; /* 适应 42px 的输入框 */
    line-height: 34px;
    padding: 0 12px;
    border: none;
    background: #fff; /* 按钮加个白底，防止文字重叠 */
    color: #005bac;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .apply-modal .modal-dialog { margin: 10px; max-width: none; }
    .apply-modal .modal-body { padding: 15px; }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .job-detail-banner { height: 200px; margin-bottom: -40px; }
    .job-detail-card { padding: 30px 20px; border-radius: 20px 20px 0 0; }

    .job-header-row { flex-direction: column; gap: 15px; }
    .job-meta-grid { flex-wrap: wrap; gap: 20px; }

    .job-footer-actions { flex-direction: column-reverse; gap: 20px; }
    .btn-job-apply, .btn-job-back { width: 100%; justify-content: center; text-align: center; }
}



/* ================= 行业应用2 (Industry Section 2) ================= */

/* ================= 基础容器 ================= */
.industry-section-wrapper { background: #fff; overflow: hidden; }

/* 专用最大宽度 (1400px)，不影响全局的 1200px */
.industry-max-width {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding { padding: 80px 0; }

/* ================= 1. 顶部 Banner 样式 ================= */
.industry-page-banner {
    position: relative;
    height: 450px;       /* 设定 Banner 高度 */
    min-height: 260px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 60px; /* 给下方内容留白 */
}

.industry-page-banner .banner-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
}

.industry-page-banner .banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    display: none !important; /* <-- 如果您希望显示标题，请删除或注释此行 */
}

.industry-page-banner .banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.industry-page-banner .banner-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.industry-page-banner .banner-line {
    width: 50px;
    height: 3px;
    background: #0d6efd;
    margin: 20px auto 0;
}

/* ================= 2. 中间图片区 ================= */
.industry-intro-image {
    padding-bottom: 20px;
}
.intro-img-wrapper {
    text-align: center; /* 确保大图居中 */
}
.intro-img-wrapper img {
    max-width: 100%;
    height: 235px;
    display: inline-block;
}

/* ================= 3. Tab 头部样式 ================= */
.industry-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #eee;
    margin-bottom: 50px;
    padding-bottom: 10px;
}

.title-group {
    text-align: left; /* 保持左对齐，配合右侧的 Tab */
    margin-bottom: 10px; /* 稍微留点空隙 */
}

/* 1. 英文装饰 (Top) - 对应 cases-sub-title */
.cases-sub-title {
    font-size: 14px;             /* 参考 section-subtitle 修改 */
    color: #999;                 /* 改为灰色，更具副标题感 */
    font-weight: 500;            /* 参考 section-subtitle 修改 */
    letter-spacing: 1px;         /* 字间距调整为 1px */
    text-transform: capitalize;  /* 每个单词首字母大写 */
    margin-bottom: 2px;          /* 保留原有的底部间距，确保与下方中文对齐 */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: block;              /* 确保独占一行 */
}

/* 2. 中文主标题 (Main) - 对应 cases-main-title */
.cases-main-title {
    font-size: 24px;
    font-weight: 700;    /* 加粗 */
    color: #333333;      /* 深灰 */
    margin: 0 0 1px 0;  /* 底部留出空间给横线 */
    line-height: 1.2;
}

/* 3. 底部装饰线 (Line) */
.title-group .title-line {
    width: 125px;         /* 短横线 */
    height: 2px;
    background-color: #2D6CDF;
    border-radius: 2px;
    margin: 0;           /* 左对齐不需要 auto */
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
    .cases-main-title {
        font-size: 26px; /* 手机端稍微调小 */
    }
    .cases-sub-title {
        font-size: 12px;
    }
}

.industry-nav-tabs {
    display: flex;
    list-style: none;
    padding: 0; margin: 0;
    gap: 30px;
}

/* --- 按钮基础样式 --- */
.tab-trigger {
    border: none;
    background: none;
    font-size: 16px;
    color: #999;
    padding: 10px 0;

    /* --- 修改这里 --- */
    font-weight: 300; /* 400是常规, 500是中等, 700是粗体 */

    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center center;
}

/* --- 核心修改：悬停样式 --- */
.tab-trigger:hover {
    color: #1973BF; /* 文字变深 */

    /* ▼▼▼ 新增：稍微放大 1.05 倍 (即放大 5%) ▼▼▼ */
    /* 您可以根据需要调整这个数字，例如 1.1 会更大一点 */
    transform: scale(1.05);
}

/* 选中状态文字加粗 (选中状态通常不需要一直放大，保持平稳即可) */
.tab-trigger.active {
    color: #1973BF;
    font-weight: 400;
}

/* --- 短线样式设定 (保持不变) --- */
.tab-trigger::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%); /* 垂直居中 */
    width: 10px;
    height: 2px;
    background: #1973BF; /* 蓝色 */

    /* 默认透明度为 0 (隐藏) */
    opacity: 0;

    /* 短线出现的过渡动画 */
    transition: opacity 0.3s ease;
}

/* --- 触发显示机制 (保持不变) --- */
/* 当鼠标悬停 (:hover) 或 处于激活状态 (.active) 时，显示短线 */
.tab-trigger:hover::before,
.tab-trigger.active::before {
    opacity: 1;
}

/* ================= 4. 内容面板与布局 ================= */
.fade-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-pane.active {
    opacity: 1;
    transform: translateY(0);
}

/* 网格布局 (替代旧的 industry-grid) */
.industry-display-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* 左图略大，右文略小 */
    gap: 80px;
    align-items: center;
}

/* 左侧图片 */
.display-left .img-box {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    width: 100%;     /* 占满左侧列 */
    max-width: 560px; /* 原来 420，可以往上加 */
}
.display-left img { width: 100%; height: auto; display: block; object-fit: cover; }

/* 右侧文字 */
.display-right .item-title { font-size: 16px; font-weight: bold; color: #1F1E1D; margin-bottom: 5px; }
.display-right .item-subtitle { font-size: 12px; color: #8895AD; text-transform: capitalize; display: block; margin-bottom: 25px; }
.display-right .item-desc { font-size: 14px; color: #666; line-height: 1.8; text-align: justify; margin-bottom: 40px; }

/* 详情按钮 */
.btn-detail-outline {
    display: inline-block;
    padding: 10px 35px;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-detail-outline:hover {
    background: #1F1E1D;
    color: #fff;
    border-color: #1F1E1D;
}

/* 翻页箭头 */
.tab-pagination { display: flex; align-items: center; gap: 20px; margin-top: 50px; color: #ccc; }
.tab-pagination .arrow { cursor: pointer; font-size: 18px; transition: color 0.3s; padding: 5px 10px; }
.tab-pagination .arrow:hover { color: #333; }
.tab-pagination .divider { width: 30px; height: 1px; background: #eee; }

/* ================= 移动端适配 ================= */
@media (max-width: 991px) {
    .industry-display-grid { grid-template-columns: 1fr; gap: 40px; }
    .industry-tab-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .industry-nav-tabs { width: 100%; overflow-x: auto; padding-bottom: 10px; gap: 20px; }
    .tab-trigger { white-space: nowrap; }

    .industry-page-banner { height: 200px; }
    .industry-page-banner .banner-title { font-size: 28px; }
}


/* ================= 地图联系板块 (Map Section) ================= */
/* --- 新增：全屏白色背景容器 --- */
.map-full-wrapper {
    width: 100%;
    background-color: #fff; /* 强制背景为白色 */
    padding: 60px 0;        /* 上下留白由这里控制 */
}
.map-section {
    position: relative;

    /* ▼▼▼ 核心修改开始 ▼▼▼ */
    width: 100%;            /* 默认占满容器 */
    max-width: 1400px;      /* 限制最大宽度 (可改为 1200px 或其他值) */
    margin: 60px auto;      /* 上下留 60px 间距，左右自动居中 */
    border-radius: 20px;    /* 添加圆角，使其看起来像个卡片 */
    overflow: hidden;       /* 隐藏溢出，确保圆角生效 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* 添加一点阴影增加立体感 */
    /* ▲▲▲ 核心修改结束 ▲▲▲ */

    height: 600px;
    background-color: #f5f5f5;
    scroll-snap-align: start;
}

.map-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* --- 新增：覆盖层容器 --- */
.map-overlay-container {
    position: relative;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: flex-start; /* 水平靠左 (若想靠右改为 flex-end) */

    /* 关键：让鼠标事件穿透容器，否则容器的空白处会挡住地图拖拽 */
    pointer-events: none;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- 悬浮信息卡片 --- */
.map-info-card {
    /* 恢复鼠标事件，否则卡片无法选中文字 */
    pointer-events: auto;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 380px;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);

    /* 【修改】去掉 margin-right，现在由 Flex 容器自动对齐 */
    margin: 0;
}

.info-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.info-card-line {
    width: 100px;
    height: 3px;
    background-color: #2D6CDF;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: #F0F5FF;
    color: #2D6CDF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-text .label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 15px;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.highlight-number {
    font-size: 18px !important;
    font-weight: 700;
    color: #000 !important;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
    .map-section {
        max-width: 100%;    /* 手机端取消宽度限制 */
        margin: 0;          /* 取消外边距 */
        border-radius: 0;   /* 取消圆角 */
        height: auto;       /* 高度自适应 */
    }


    .map-container {
        position: relative;
        height: 300px;
    }

    .map-overlay-container {
        height: auto;
        display: block;
        padding: 0;
        pointer-events: auto;
    }

    .map-info-card {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 30px 20px;
    }
}

/* ================= 采购合作专用标题样式 ================= */

/* ================= 采购合作专用标题样式 (居中版) ================= */

/* 容器居中 */
.purchase-title-group {
    text-align: center;              /* 核心：让文字内容居中 */
    display: flex;
    flex-direction: column;
    align-items: center;             /* 核心：让 flex 子元素（如横线）居中 */
}

/* 1. 英文副标题 */
.purchase-sub-title {
    font-size: 14px;
    color: #999;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin-bottom: 5px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: block;
}

/* 2. 中文主标题 */
.purchase-main-title {
    font-size: 24px;                 /* 稍微调大了一点，更有张力 */
    font-weight: 700;
    color: #333333;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* 3. 底部装饰线 */
.purchase-title-line {
    width: 80px;                     /* 居中时短线通常更美观 */
    height: 2px;
    background-color: #2D6CDF;
    border-radius: 2px;
    margin: 0 auto;                  /* 核心：左右自动外边距实现横线居中 */
}

/* 采购合作专属移动端适配 */
@media (max-width: 768px) {
    .purchase-main-title {
        font-size: 22px;
    }
    .purchase-sub-title {
        font-size: 12px;
    }
}

/* --- 行业应用详情页专属微调 --- */
/* ================= 行业应用详情页增强样式 ================= */

/* 1. Banner 背景定制 (可以和新闻用不同的图) */
.industry-banner {
    background-image: url('/media/robodeep/Frame50@1x-2.png') !important; /* 建议换一张更符合工业感的图 */
    background-color: #1a1a1a;
}
.industry-detail-page .news-main-title {
    font-size: 36px;
    font-weight: 800;
    /* 使用微弱的渐变 */
    background: linear-gradient(to bottom, #111 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center; /* 核心：文字居中 */
    letter-spacing: -0.5px; /* 工业风大标题稍微收紧一点更好看 */
    margin-bottom: 25px;
}

/* 精准缩减行业应用详情页时间与图片的间隔 */
.industry-detail-page .news-header-row {
    margin-bottom: 1px !important; /* 核心：缩减整体标题区与下方的距离 */
    padding-bottom:1px !important; ;
}

.industry-detail-page .news-meta-grid {
    margin-bottom: 4px !important;   /* 消除时间文字下方的空隙 */
}

.industry-detail-page .article-hero-img {
    margin-top:35px !important;       /* 确保图片顶部贴紧上方 */
}
/* 2. 复用新闻/职位详情的容器卡片 */
.industry-detail-page .news-card {
    max-width: 1100px; /* 行业应用通常图多，稍微宽一点 */
    margin-top: -100px; /* 向上悬浮高度 */
    background: #fff;
    border-radius: 12px;
    padding: 60px 80px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

/* 3. 正文排版优化 */
.industry-detail-page .article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}
/* 针对正文内容区的换行修复 */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;

    /* === 核心换行属性 === */
    word-wrap: break-word;       /* 旧版浏览器兼容 */
    overflow-wrap: break-word;   /* 现代浏览器标准：允许在长单词内换行 */
    word-break: break-all;       /* 强制在任何字符间断行，防止超长链接或数字撑破容器 */
    white-space: normal;         /* 确保不是强制不换行模式 */

    /* 辅助属性：防止容器溢出 */
    max-width: 100%;
    overflow-x: hidden;
}

/* 针对正文中的段落微调 */
.article-content p {
    margin-bottom: 24px;
    text-align: justify;        /* 两端对齐，看起来更专业 */
    word-wrap: break-word;
}

/* 行业应用往往有多个小标题，增加装饰 */
.industry-detail-page .article-content h2 {
    font-size: 26px;
    color: #111;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.industry-detail-page .article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #2D6CDF; /* 蓝色装饰线 */
}

/* 4. 图片显示效果 */
.industry-detail-page .article-content img {
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 5. 空状态占位 */
.empty-body-placeholder {
    padding: 100px 0;
    text-align: center;
    color: #999;
    font-style: italic;
    border: 1px dashed #eee;
    background: #fafafa;
}

/* --- 响应式适配 --- */
@media (max-width: 992px) {
    .industry-detail-page .news-card {
        margin: -60px 15px 40px;
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .industry-detail-page .news-main-title {
        font-size: 24px;
    }
    .industry-banner {
        height: 300px;
    }
}

/* ================= 行业应用 Hero 图片修复版 (圆角+无空白) ================= */

.industry-detail-page .article-hero-img {
    margin-top: 35px !important;
    margin-bottom: 30px !important;
    width: 100%;
    height: auto !important;

    /* 1. 核心修复：开启硬件加速，强制触发 overflow: hidden 的裁剪 */
    position: relative;
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* 兼容 Safari 的圆角裁剪 bug */

    /* 2. 圆角设置 */
    border-radius: 20px !important;

    /* 3. 其他装饰保持 */
    padding: 0 !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.industry-detail-page .article-hero-img img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;

    /* 4. 核心修复：让图片自身也拥有圆角，防止直角溢出 */
    border-radius: 20px !important;

    /* 如果图片带透明背景，去掉之前的 drop-shadow 滤镜可以防止边缘杂色 */
    filter: none !important;
}

/* 修改产品中心下拉框 */
.mega-menu-container {
    /* 1. 保持 fixed */
    position: fixed;

    /* 2. 顶部距离保持不变 */
    top: 55px;

    /* --- 核心修改 Start --- */

    /* 3. 使用 vw (视口宽度) 代替 %。
       vw 是相对于屏幕的，不受父容器宽度限制。 */
    width: 100vw;

    /* 4. 重新校准居中 (关键步骤)
       因为父容器是居中的，left:0 实际上是父容器的左边缘。
       我们需要把菜单的中心点 (left: 50%) 强行对齐到父容器的中心点，
       然后再用 transform 往回拉自身宽度的一半，确保完美居中。 */
    left: 50%;
    /* 核心修改：从上方滑落的进入效果 */
    transform: translate(-50%, -10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none; /* 隐藏时不可点击 */
    /* 如果您原本有 right: 0，请去掉 */
    right: auto;

    /* --- 核心修改 End --- */

    z-index: 999;
    background: #fff;
    padding-top: 10px;
    margin-top: -10px;
    display: none;

    /* --- 增强辨识度的核心修改 --- */
    /* 1. 添加大范围柔和阴影，增加悬浮感 */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);

    /* 2. 添加浅色边框，定义物理边界 */
    border-bottom: 1px solid #e0e0e0;


}
/* 配合 JS 显示 */
.mega-menu-container.show {
    display: block; /* 如果 JS 切换的是 display */
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}


/* 修改 MegaMenu.liquid 中的样式 */

/* 修改 .mega-menu-wrapper */
.mega-menu-wrapper {
    display: flex;
    background: #fff;
    width: 100%;
    margin: 0;
    padding-left: 200px;
    box-sizing: border-box;
    padding-right: 40px;

    /* --- 核心修改 Start --- */
    /* 设置一个足够容纳2行产品的固定高度，防止切换时上下跳动 */
    height: 500px;
    /* 或者是 min-height: 600px; */
    overflow: hidden;
    /* --- 核心修改 End --- */
}

/* 修改 .mega-sidebar 以实现垂直居中 */
.mega-sidebar {
    width: 200px;
    border-right: 1px solid #f0f0f0;
    /* 核心修改部分 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 关键：使子项（分类）在侧边栏垂直居中 */

    /* 确保侧边栏高度撑满父容器 */
    height: 100%;
    min-height: inherit; /* 继承父容器设定的高度 */
}

/* 修改 site.css 约 2080 行附近 */
.mega-cat-item {
    padding: 15px 20px;
    cursor: pointer;
    /* 核心修改：增加颜色和内边距的过渡 */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    margin-bottom: 5px;
    border-left: 3px solid transparent; /* 预留一个透明边框 */
}

/* 最后一个元素去掉外边距 */
.mega-cat-item:last-child {
    margin-bottom: 0;
}


.mega-cat-item.active,
.mega-cat-item:hover {
    background-color: #f5f7fa;
    font-weight: bold;
    color: #2D6CDF;
    border-left: 3px solid #2D6CDF; /* 激活时显示左侧色条 */
    padding-left: 25px; /* 激活时文字轻轻右移，增加灵动感 */
}
/* 修改 .mega-content-area */
.mega-content-area {
    flex: 1;
    /* --- 修改点：改为 flex 布局以实现整体垂直居中 --- */
    display: flex;
    align-items: center;      /* 关键：使右侧所有产品组整体垂直居中 */
    justify-content: flex-start;
    /* ------------------------------------------- */
    padding: 20px;
    margin-left: 50px;
    height: 100%;
    overflow-y: auto;
}

/* 修改 site.css 约 2110 行附近 */
.mega-product-group {
    display: none; /* 保持 JS 逻辑 */
    width: 100%;
    flex-wrap: wrap;
    gap: 28px;
    align-content: center;
    justify-content: flex-start;

    /* 新增：定义初始状态 */
    opacity: 0;
    transform: translateY(10px);
}

/* 当 JS 赋予 active 类时，执行动画 */
.mega-product-group.active {
    display: flex;
    animation: megaMenuFadeIn 0.3s forwards ease-out;
}

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

.mega-prod-card {
    width: 260px;                /* 适当调小宽度，让横排容纳更多 */
    height: 188px;               /* 统一高度 */
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;      /* 图片在上，文字在下 */
    background: #fff;
    text-decoration: none;
    padding-bottom: 10px;
}



.mega-prod-card span {
    /* 核心修改：锁定剩余 50px 的高度 */
    flex: 1;                 /* 占据除图片外的剩余所有空间 */
    display: flex;
    align-items: center;     /* 文字垂直居中 */
    justify-content: center; /* 文字水平居中 */

    /* 间距与行高调整 */
    padding: 5px 10px;       /* 适当的内边距 */
    line-height: 1.2;        /* 紧凑的行高 */
    height: 50px;            /* 强制锁定文字区域为 50px (200-150) */
    box-sizing: border-box;

    color: #333;
    font-size: 13px;         /* 建议调小一点字号，防止长标题撑破布局 */
    text-align: center;
    word-break: break-all;   /* 允许长单词换行 */
}

.mega-prod-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mega-prod-card img {
    width: 100%;
    height: 160px;               /* 固定图片高度 */
    object-fit: contain;         /* 改为 contain，防止产品图被裁剪，更专业 */
    background: transparent; /* 改为透明 */
    border-bottom: none;
    flex-shrink: 0;
}

/* ================= 产品详情页核心样式 ================= */

/* ================= 产品详情页 Hero 区域 - 全屏模式 ================= */

/* 1. Hero 容器：设为视口高度 100% */
.product-hero {
    position: relative;
    width: 100%;
    height: 100vh;          /* 【关键修改】填满整个屏幕高度 */
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 0;       /* 全屏模式通常不需要底部间距，让下方组件直接衔接 */
    display: block;
}

/* 2. 背景容器：绝对定位并填满 */
.product-hero-bg {
    position: absolute;     /* 必须绝对定位，否则无法撑满 vh 容器 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* 【新增】智能渐变蒙层：确保顶部标题区域背景柔和，增强文字识别度 */
.product-hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%; /* 覆盖上半部分 */
    /* 从白色半透明到完全透明的渐变，有效中和深色底图 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 2. 背景增强：调整裁剪重心 */
.product-hero-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    /* 【核心修改】将裁剪重心设为底部 */
    /* center: 水平居中; bottom: 垂直方向以底部为基准，向上裁剪 */
    object-position: center bottom;

    /* 【图片清晰度】保持您的锐化设置 */
    filter: contrast(1.05) brightness(1.02);
}
/* 引入站酷小薇体 (如果已下载字体文件并放在项目目录) */
@font-face {
    font-family: 'ZCOOL Xiaowei';
    src: url('/robot.Theme/fonts/ZhanKuXiaoLOGOTi-2.otf ') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* 4. 文字层容器调整 */
.product-hero-content {
    display: flex !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    flex-direction: column;
    justify-content: flex-start;
    /* padding-top: 7vh; /* 稍微下移一点，避免由于 Header 遮挡产生的压抑感 */
    pointer-events: none;
}

/* ================= 产品详情页 Hero 标题样式更新 ================= */

.hero-title-styled {
    /* 核心字体属性 */
    color: #FFFFFF !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 500 !important; /* Medium 权重 */
    font-size: 40px !important;
    line-height: 48px !important;
    letter-spacing: 0px !important;

    /* 对齐与布局 */
    text-align: center !important;
    width: 100%;
    margin: 0;

    /* 视觉优化：去掉之前的光晕，改用轻微投影增强白色文字在浅色图上的识别度 */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;

    /* 覆盖掉之前的站酷小薇体设置 */
    font-style: normal;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero-title-styled {
        font-size: 28px !important;
        line-height: 36px !important;
    }
}

/* --- 修改 2：调整文字颜色以适应图片背景 --- */
/* 如果主图颜色较深，建议设置为白色 #fff；如果主图偏亮，保持深色 #111 */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
    text-shadow: 0 2px 10px rgba(255,255,255,0.5); /* 增加一点光晕确保在浅色图上清晰 */
}

/* 2. 特性说明区域 */
.features-section {
    padding: 20px 0;
    background: #fff;
}

.features-img-box img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* 3. 型号说明区域 (左右排版) */
/* ================= 型号说明区域高度限制优化 ================= */

.model-section {
    padding: 60px 0 80px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* 隐藏标题 */
.model-section .product-section-header {
    display: none !important;
}

/* --- 左侧：型号说明逻辑图限制 --- */
.model-img-left {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px; /* 设定一个统一的可视区高度 */
    overflow: hidden;
}

.model-img-left img {
    max-width: 100%;
    max-height: 100%; /* 限制图片高度不超过容器 */
    width: auto;      /* 宽度自适应 */
    height: auto;     /* 高度自适应 */
    object-fit: contain; /* 确保图片完整显示，不被裁剪 */
}

/* --- 右侧：产品白底展示图限制 --- */
.product-main-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px; /* 与左侧逻辑图保持高度一致，形成视觉对齐 */
    padding: 20px;
    position: relative;
}

.product-main-right img {
    max-width: 100%;
    max-height: 380px;  /* 稍微比容器小一点，留出呼吸空间 */
    width: auto;
    height: auto;
    object-fit: contain;
    /* 增加投影提升质感 */
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
    transition: transform 0.4s ease;
}

.product-main-right:hover img {
    transform: translateY(-8px);
}

/* --- 移动端适配：取消高度锁定，改为自然堆叠 --- */
@media (max-width: 991px) {
    .model-img-left,
    .product-main-right {
        height: auto;
        min-height: 200px;
    }

    .model-img-left {
        margin-bottom: 30px;
    }

    .product-main-right img {
        max-height: 300px; /* 手机端适当缩小 */
    }
}

/* 4. 辅助样式 (保留以备后期使用) */
/* ================= Hero 区域参数卡片样式 (透明简洁版) ================= */

.hero-specs-row {
    display: flex !important;
    justify-content: center;
    gap: 30px;                   /* 增加间距，让产品从空隙中露出来 */
    margin-top: 40px;
    flex-wrap: wrap;
}

.spec-card {
    /* 核心修改：去掉毛玻璃，改为全透明 */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    /* 只保留极其细微的白色边框，或者你可以选择完全去掉 border */
    border: 1px solid rgba(255, 255, 255, 0.2);

    padding: 10px 20px;
    border-radius: 8px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

/* 鼠标经过时稍微亮一点，增加交互感 */
.spec-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.spec-card label {
    color: rgba(255, 255, 255, 0.7);    /* 半透明白色标签 */
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 400;
    text-transform: uppercase;
    /* 给文字加一点阴影，防止在纯白图片上看不清 */
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

.spec-card span {
    color: #ffffff;                     /* 纯白数值 */
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 移动端特殊处理 */
@media (max-width: 768px) {
    .spec-card {
        border: none;                   /* 手机端干脆去掉边框，最省空间 */
        min-width: 80px;
    }
}

/* 行业应用详情容器 */
.industry-detail-container {
    padding: 20px 0;
    color: #333;
    line-height: 1.6;
}


/* 特性卡片布局 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: #f8faff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eef2f7;
}

.feature-header {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

/* 应用方式列表 */
.app-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.app-label {
    display: inline-block;
    background: #2D6CDF;
    color: #fff;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* 3C 行业专用样式补丁 */
.feature-icon {
    background: #2D6CDF;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3C 特性通常为3项，改为三列 */
    gap: 15px;
    margin-bottom: 40px;
}

.feature-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #2D6CDF;
}

/* 应用方式展示框 */
.app-item-box {
    background: #fcfcfc;
    border-left: 4px solid #2D6CDF;
    margin-bottom: 15px;
    padding: 15px 25px;
}

.app-info h4 {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

.app-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

@media (max-width: 992px) {
    .feature-grid { grid-template-columns: 1fr; }
}


/* 人形机器人行业定制样式 */
.industry-detail-container {
    padding: 20px 0;
    font-family: "Microsoft YaHei", sans-serif;
}


/* 四列特性布局 */
.robot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(45, 108, 223, 0.15);
    border-color: #2D6CDF;
}

.feature-header {
    font-size: 16px;
    font-weight: bold;
    color: #2D6CDF;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* 应用矩阵样式 */
.app-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.app-matrix-item {
    background: #f8faff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ccd9f0;
}

.app-matrix-item strong {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.app-matrix-item p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .robot-grid, .app-matrix { grid-template-columns: 1fr; }
}

/* 新能源电池/储能行业定制样式 */
.industry-detail-container {
    padding: 20px 0;
    line-height: 1.6;
}



/* 电池特性 2x2 布局 */
.battery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eef2f7;
    border-top: 4px solid #ccd9f0; /* 增加顶部装饰线 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-top-color: #2D6CDF;
    transform: translateY(-3px);
}

.feature-header {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 应用场景行列表 */
.app-list-custom {
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.app-row {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.app-row:last-child {
    border-bottom: none;
}

.app-tag {
    flex-shrink: 0;
    width: 160px;
    background: #2D6CDF;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 25px;
}

.app-desc {
    font-size: 14px;
    color: #555;
}

@media (max-width: 768px) {
    .battery-grid { grid-template-columns: 1fr; }
    .app-row { flex-direction: column; }
    .app-tag { width: auto; margin-bottom: 10px; }
}
/* eVTOL 行业定制样式 */
.industry-detail-container {
    padding: 20px 0;
    line-height: 1.6;
}

.section-title2 {
    font-size: 22px;
    font-weight: bold;
    color: #2D6CDF;
    margin-bottom: 25px;
    border-left: 5px solid #2D6CDF;
    padding-left: 15px;
}

/* 航空特性 3 列布局 */
.evtol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.feature-card {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
}

.feature-header {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2D6CDF;
}

.feature-card p {
    font-size: 13.5px;
    color: #666;
    margin: 0;
}

/* 航空应用矩阵样式 */
.app-evtol-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.evtol-item {
    display: flex;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    align-items: center;
}

.evtol-icon {
    width: 50px;
    height: 50px;
    background: #2D6CDF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 15px;
    flex-shrink: 0;
}

.evtol-text strong {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.evtol-text p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

@media (max-width: 992px) {
    .evtol-grid { grid-template-columns: 1fr; }
    .app-evtol-matrix { grid-template-columns: 1fr; }
}

/* ================= 放大镜核心样式 ================= */

/* 1. 包装容器 */
.img-zoom-container {
    position: relative;
    cursor: crosshair; /* 鼠标变为十字准心 */
}

/* 2. 放大镜透镜样式 */
.img-zoom-lens {
    position: absolute;
    border: 1px solid #2D6CDF;
    width: 200px; /* 透镜宽度 */
    height: 200px; /* 透镜高度 */
    background: rgba(45, 108, 223, 0.1); /* 淡淡的品牌蓝遮罩 */
    visibility: hidden; /* 默认隐藏 */
    z-index: 100;
}

/* 3. 放大结果显示框 */
.img-zoom-result {
    position: absolute;
    border: 1px solid #eee;
    width: 380px;  /* 放大框宽度 */
    height: 380px; /* 放大框高度 */

    /* 核心：放大框位置（默认出现在图片右侧或根据需要调整） */
    top: 20px;
    /* 核心修改：调整位置 */
    /* 100% 表示紧贴主图右侧，20px 是与主图的间距 */
    left: calc(100% - 100px);

    background-repeat: no-repeat;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    visibility: hidden; /* 默认隐藏 */
    z-index: 999;
}

/* 4. 当鼠标悬浮在容器上时显示 */
.img-zoom-container:hover #zoom-lens,
.img-zoom-container:hover + .img-zoom-result {
    visibility: visible;
}

/* 5. 移动端适配：手机端通常禁用放大镜（因为操作不便） */
@media (max-width: 991px) {
    .img-zoom-lens, .img-zoom-result {
        display: none !important;
    }
}
