/* ==================== 通用 - Banner模块 样式 (电脑优先 · 响应式) 开始 ==================== */
/* ==================== 通用 - Banner模块 样式 (电脑优先 · 响应式) 开始 ==================== */
/* ==================== 通用 - Banner模块 样式 (电脑优先 · 响应式) 开始 ==================== */
    /* 外层容器：全屏宽，相对定位基准 */
    .ty_banner {
      width: 100%;
      overflow: hidden;            /* 防止意外溢出 */
      position: relative;
      background-color: var(--color-gray-900); /* 最深底，极端情况备用 */
    }
    /* 内容承载盒：相对定位，用于文字绝对定位的锚点 */
    .ty_banner_box {
      position: relative;
      width: 100%;
      line-height: 0;              /* 消除图片下方空隙 */
    }
    
    /* 另外可增加一个半透明遮罩层提升文字对比度（非必须，但可以更优雅） */
    .ty_banner_box::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 60%);
      z-index: 2;
      pointer-events: none;
    }

    /* 兼容性处理：部分老旧浏览器渐变回退 */
    .ty_banner_box::before {
      background: rgba(0, 0, 0, 0.15); /* fallback */
      background: linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.02) 70%);
    }

/*                                                                                                        /~ 图片容器：保证图片全宽、自适应高度，同时作为加载失败的背景层 ~/
                                                                                                        .ty_banner_box_con_img {
                                                                                                          width: 100%;
                                                                                                          background-color: var(--color-gray-300); /~ 图片加载失败/加载中显示灰色背景，框架不塌陷 ~/
                                                                                                        }
                                                                                                        /~ 图片本身：宽度100%全屏，高度自适应（随屏幕缩放） ~/
                                                                                                        .ty_banner_box_con_img img {
                                                                                                          width: 100%;
                                                                                                          height: auto;
                                                                                                          display: block;
                                                                                                          object-fit: cover;           /~ 确保图片覆盖区域，同时保持比例 (可选，但保持auto更自然) ~/
                                                                                                          /~ 注：使用height:auto保证比例，背景色已保障框架不塌陷 ~/
                                                                                                        }
                                                                                                        /~ 文字层 —— 绝对定位，max-width:1600px，居中且适配所有设备 ~/
                                                                                                        .ty_banner_box_con_wenzi {
                                                                                                          position: absolute;
                                                                                                          /~ 水平垂直居中（绝对定位经典方案） ~/
                                                                                                          top: 50%;
                                                                                                          left: 50%;
                                                                                                          transform: translate(-50%, -50%);
                                                                                                          width: 90%;                  /~ 默认留边距，小屏更舒适 ~/
                                                                                                          max-width: 1600px;           /~ 满足最大宽度要求 ~/
                                                                                                          padding: 1.5rem 2rem;        /~ 内边距增加呼吸感 ~/
                                                                                                          z-index: 5;                  /~ 位于图片上方 ~/
                                                                                                          color: #ffffff;              /~ 白色字体，配合深色图片更清晰 ~/
                                                                                                          text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); /~ CSS3 文字阴影，提升可读性 ~/
                                                                                                          pointer-events: auto;        /~ 允许文字选中 ~/
                                                                                                          /~ 内部文字默认左对齐，但整体盒子居中，符合企业风格 ~/
                                                                                                        }
                                                                                                        /~ 内部文字元素重置边距，定制排版 ~/
                                                                                                        .ty_banner_box_con_wenzi_h1 {
                                                                                                          font-size: clamp(2.2rem, 6vw, 4.5rem);
                                                                                                          font-weight: 800;
                                                                                                          line-height: 1.2;
                                                                                                          margin-bottom: 1.2rem;       /~ 拉开与h2的距离 ~/
                                                                                                          letter-spacing: -0.02em;
                                                                                                          color: #ffffff;
                                                                                                          text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
                                                                                                          animation: fadeInUp 0.8s ease-out;
                                                                                                          position: relative;           /~ 作为伪元素基准 ~/
                                                                                                          padding-bottom: 0.8rem;       /~ 给装饰条预留内部空间 ~/
                                                                                                        }
                                                                                                        .ty_banner_box_con_wenzi_h2 {
                                                                                                          font-size: clamp(1.3rem, 3vw, 2.2rem);
                                                                                                          font-weight: 500;
                                                                                                          margin-bottom: 1rem;
                                                                                                          color: rgba(255, 255, 255, 0.95);
                                                                                                          text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                                                                                                          letter-spacing: 0.01em;
                                                                                                          position: relative;           /~ 确保层级正常 ~/
                                                                                                          z-index: 1;
                                                                                                        }
                                                                                                        .ty_banner_box_con_wenzi_p {
                                                                                                          font-size: clamp(1rem, 2vw, 1.3rem);
                                                                                                          line-height: 1.6;
                                                                                                          max-width: 700px;            /~ 描述文字限制宽度，更易阅读 ~/
                                                                                                          color: rgba(255, 255, 255, 0.85);
                                                                                                          text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
                                                                                                          margin-bottom: 0;
                                                                                                        }
                                                                                                        /~ 简单淡入动画 (CSS3) ~/
                                                                                                        @keyframes fadeInUp {
                                                                                                          0% {
                                                                                                            opacity: 0;
                                                                                                            transform: translateY(12px);
                                                                                                          }
                                                                                                          100% {
                                                                                                            opacity: 1;
                                                                                                            transform: translateY(0);
                                                                                                          }
                                                                                                        }
                                                                                                        /~ 可选：为文字增加一个极简的装饰条 (呼应品牌色) ~/
                                                                                                        .ty_banner_box_con_wenzi_h1::after {
                                                                                                          content: '';
                                                                                                          position: absolute;
                                                                                                          left: 0;
                                                                                                          bottom: 0;
                                                                                                          width: 80px;
                                                                                                          height: 4px;
                                                                                                          background: var(--color-primary);
                                                                                                          border-radius: 4px;
                                                                                                          box-shadow: 0 2px 6px rgba(4, 84, 220, 0.3);
                                                                                                          z-index: -1;                  /~ 确保装饰条在文字下方 ~/
                                                                                                        }
                                                                                                        /~ ========== 平板适配 (max-width: 1024px) ========== ~/
                                                                                                        @media (max-width: 1024px) {
                                                                                                          .ty_banner_box_con_wenzi {
                                                                                                            width: 92%;
                                                                                                            padding: 1.1rem 1.6rem;     /~ 减小内边距，更紧凑 ~/
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_h1 {
                                                                                                            font-size: clamp(1.8rem, 5vw, 3rem); /~ 减小字体 ~/
                                                                                                            margin-bottom: 1rem;         /~ 调整间距 ~/
                                                                                                            padding-bottom: 0.7rem;      /~ 调整装饰条预留空间 ~/
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_h2 {
                                                                                                            font-size: clamp(1.1rem, 2.8vw, 1.6rem); /~ 减小字体 ~/
                                                                                                            margin-bottom: 0.9rem;       /~ 调整间距 ~/
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_p {
                                                                                                            max-width: 600px;
                                                                                                            font-size: clamp(0.95rem, 2vw, 1.15rem); /~ 减小字体 ~/
                                                                                                            line-height: 1.55;           /~ 微调行高 ~/
                                                                                                          }
                                                                                                          /~ 装饰条宽度微调 ~/
                                                                                                          .ty_banner_box_con_wenzi_h1::after {
                                                                                                            width: 65px;
                                                                                                            height: 3.5px;
                                                                                                          }
                                                                                                        }
                                                                                                        /~ ========== 手机适配 (max-width: 768px) ========== ~/
                                                                                                        @media (max-width: 768px) {
                                                                                                          .ty_banner_box_con_wenzi {
                                                                                                            width: 94%;
                                                                                                            padding: 0.9rem 1.1rem;     /~ 进一步减小内边距 ~/
                                                                                                            top: 50%;
                                                                                                            transform: translate(-50%, -50%);
                                                                                                            text-align: left;
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_h1 {
                                                                                                            font-size: clamp(1.5rem, 7vw, 2.2rem); /~ 显著减小字体 ~/
                                                                                                            margin-bottom: 0.8rem;       /~ 紧凑间距 ~/
                                                                                                            padding-bottom: 0.6rem;      /~ 调整装饰条预留空间 ~/
                                                                                                            letter-spacing: -0.01em;     /~ 微调字间距 ~/
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_h1::after {
                                                                                                            width: 55px;
                                                                                                            height: 3px;
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_h2 {
                                                                                                            font-size: clamp(0.95rem, 4vw, 1.3rem); /~ 减小字体 ~/
                                                                                                            margin-bottom: 0.7rem;       /~ 紧凑间距 ~/
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_p {
                                                                                                            font-size: clamp(0.85rem, 3vw, 1rem); /~ 减小字体 ~/
                                                                                                            max-width: 100%;
                                                                                                            line-height: 1.5;
                                                                                                          }
                                                                                                          
                                                                                                          /~ 图片最小高度调整 ~/
                                                                                                          .ty_banner_box_con_img {
                                                                                                            min-height: 200px;
                                                                                                          }
                                                                                                          .ty_banner_box_con_img img {
                                                                                                            object-fit: cover;
                                                                                                            height: 100%;
                                                                                                            min-height: 200px;
                                                                                                          }
                                                                                                        }
                                                                                                        /~ 超小屏 (如<480px) 微调 ~/
                                                                                                        @media (max-width: 480px) {
                                                                                                          .ty_banner_box_con_wenzi {
                                                                                                            padding: 0.7rem 0.9rem;      /~ 极致紧凑内边距 ~/
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_h1 {
                                                                                                            font-size: 1.4rem;            /~ 固定较小字体 ~/
                                                                                                            margin-bottom: 0.7rem;
                                                                                                            padding-bottom: 0.5rem;
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_h1::after {
                                                                                                            width: 50px;
                                                                                                            height: 2.5px;
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_h2 {
                                                                                                            font-size: 1rem;              /~ 固定较小字体 ~/
                                                                                                            margin-bottom: 0.6rem;
                                                                                                          }
                                                                                                          .ty_banner_box_con_wenzi_p {
                                                                                                            font-size: 0.85rem;           /~ 固定较小字体 ~/
                                                                                                          }
                                                                                                          .ty_banner_box_con_img {
                                                                                                            min-height: 180px;
                                                                                                          }
                                                                                                        }
                                                                                                        /~ 针对图片加载失败：背景灰色已设置，再额外增加一个伪元素提示（可选） ~/
                                                                                                        .ty_banner_box_con_img img::after {
                                                                                                          content: '';
                                                                                                        }*/

/* ==================== 通用 - Banner模块 样式 (电脑优先 · 响应式) 结束 ==================== */
/* ==================== 通用 - Banner模块 样式 (电脑优先 · 响应式) 结束 ==================== */
/* ==================== 通用 - Banner模块 样式 (电脑优先 · 响应式) 结束 ==================== */