/* ==================================================================
   r33 · 数据采集标注页 banner 重设计（2026-11-10）
   作用域：body.page-datacollection.page-dc-r33 —— 只影响本页，
   不影响 en/dataCollection.html，也不影响任何其它页面。

   沿用的部分（未改动）：
     - 顶部导航、header 全部样式
     - 底部渐变背景 img.bg (images/dataCollection/hero-bg.webp)
     - 两个按钮 .btn / .btn.on 的颜色、圆角、字号、箭头、hover 动效
     - .p2 / .p3 / .btns 原有的 fadeInUp / animate_text 入场动效
   本页新增：
     - 移除巨大紫色英文 "Data Collection" (.p1)
     - 「数据采集标注服务」升为黑色主标题，副标题灰色，文案左对齐
     - 右侧加入紫色 3D 玻璃拟态主视觉 img.hero3d（透明底叠在原渐变上）
   r35（2026-11-11）：
     - 右侧主视觉换成用户提供的 3D 显示器插画（横向构图，改按宽度控制）
     - 文案块上移，中心对齐「导航条底边 → banner 背景底部」区间中点
   ================================================================== */

/* 1. 移除原巨大英文装饰字（DOM 保留，仅隐藏，便于随时恢复） */
.page-datacollection.page-dc-r33 .banner .text .p1 { display: none !important; }

/* 2. 文案块：左对齐、垂直居中 */
.page-datacollection.page-dc-r33 .banner .text {
  position: absolute !important;
  left: 6.2vw;
  right: auto !important;
  top: 0 !important;
  width: 44vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left !important;
  z-index: 3;
  /* r35: 原先相对 banner 自身居中（1920 下中心 536），而导航胶囊底边 136、
     banner 顶 168、banner 底 904，目标区间中点 = (136+904)/2 = 520。
     上移 (168-136)/2 = 16px ≈ 0.833vw，桌面三档按 vw 自适应。 */
  transform: translateY(-0.833vw);
}

/* 3. 主标题：黑色、加粗、放大 */
.page-datacollection.page-dc-r33 .banner .text .p2,
.page-datacollection.page-dc-r33 .banner .text .p2 * {
  font-size: 3.45vw !important;
  line-height: 1.2 !important;
  color: #111 !important;
  font-weight: 700 !important;
  margin: 0 0 1.25vw !important;
  white-space: nowrap;
}

/* 4. 副标题：灰色，跟随主标题左对齐 */
.page-datacollection.page-dc-r33 .banner .text .p3 {
  width: auto !important;
  margin: 0 0 2.6vw !important;
  text-align: left !important;
  color: rgba(0, 0, 0, .6) !important;
}
.page-datacollection.page-dc-r33 .banner .text .p3 p,
.page-datacollection.page-dc-r33 .banner .text .p3 * {
  font-size: 1.15vw !important;
  color: rgba(0, 0, 0, .6) !important;
  white-space: nowrap;
}

/* 5. 按钮：仅把容器改为左对齐，按钮本体样式/动效/间距完全沿用 */
.page-datacollection.page-dc-r33 .banner .text .btns {
  justify-content: flex-start !important;
}

/* 6. 右侧 3D 主视觉（透明 PNG，原渐变背景完整透出）
      r35: 新图为 1360×835 横向构图，改按宽度控制在 banner 内垂直居中，
      不再沿用旧版 33.5vw 高度（会把横向图压得过小）。 */
.page-datacollection.page-dc-r33 .banner img.hero3d {
  position: absolute;
  z-index: 1;
  right: 4.2vw;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  width: 42vw;
  max-width: none;
  pointer-events: none;
}

/* 7. 窄屏：保持 banner 原高度与背景不变，文案可读、主视觉淡化为点缀 */
@media screen and (max-width: 768px) {
  .page-datacollection.page-dc-r33 .banner .text {
    left: 5.5vw !important;
    width: calc(100% - 11vw) !important;
    height: 100%;
    justify-content: center;
    /* 390 下导航底边 60、banner 顶 80，区间中点比 banner 中心高 10px */
    transform: translateY(-10px);
  }
  .page-datacollection.page-dc-r33 .banner .text .p2,
  .page-datacollection.page-dc-r33 .banner .text .p2 * {
    font-size: 20px !important;
    margin: 0 0 6px !important;
  }
  .page-datacollection.page-dc-r33 .banner .text .p3 { margin: 0 0 14px !important; }
  .page-datacollection.page-dc-r33 .banner .text .p3 p,
  .page-datacollection.page-dc-r33 .banner .text .p3 * {
    font-size: 12px !important;
    white-space: normal !important;
  }
  .page-datacollection.page-dc-r33 .banner .text .btns { gap: 10px !important; }
  /* 原 theme2026 的 vw 高度在窄屏只剩 11px，文字会被压扁；仅修高度不改观感 */
  .page-datacollection.page-dc-r33 .banner .text .btns .btn {
    height: auto !important;
    min-height: 32px;
    min-width: 0 !important;
    padding: 6px 15px !important;
  }
  .page-datacollection.page-dc-r33 .banner .text .btns .btn p { font-size: 13px !important; }
  .page-datacollection.page-dc-r33 .banner img.hero3d {
    /* r35: 新图比例 1.629（旧图 1.184），按 104px 高会撑到 169px 宽、
       向左压住副标题/按钮；降到 76px 高后约 124px 宽，与旧版占位一致。 */
    height: 76px;
    width: auto;
    top: auto;
    bottom: 4px;
    right: -8px;
    transform: none;
    opacity: .4;
  }
}

/* ==================================================================
   r36 · DataService 区：两个切换按钮 + 四个子标签字号（2026-11-11）
   只作用于中文 dataCollection.html（英文页无 .page-dc-r33 class）。
   选择器带 .page-datacollection.page-dc-r33 双重限定，specificity 高于
   theme2026.css:562/579/609 与 dataCollection.css:1908/1916，无需 !important。
   ================================================================== */

/* 1. 两个按钮「数据标注 / 数据采集」整体等比缩到原来的 70%
      基准值来自 theme2026.css:562/579（实测 280×87 / 24px 字 / 40×40 图标）。
      宽高、字、图标、间距、描边、圆角全部 ×0.7，按钮本体之外的布局不动。 */
.page-datacollection.page-dc-r33 .DataService .one ul li a {
  width: 196px;         /* 280 × .7 */
  height: 61px;         /*  87 × .7 */
  gap: 14px;            /*  20 × .7 */
  font-size: 16.8px;    /*  24 × .7 */
  border-width: 1.4px;  /*   2 × .7 */
  border-radius: 11.2px;/*  16 × .7 */
}
.page-datacollection.page-dc-r33 .DataService .one ul li a img {
  width: 28px;          /* 40 × .7 */
  height: 28px;
}

/* 2. 四个子标签（3D点云标注 / 图像标注 / 语音标注 / 文本标注）
      字号 20px → 16px，与首页 f_16 正文及按钮缩小后的 16.8px 同量级；
      「3D点云标注」前的三星星图标同步缩到 80%，并重新对齐文字中心。 */
@media screen and (min-width: 769px) {
  .page-datacollection.page-dc-r33 .DataService .two ul li a {
    font-size: 16px;
    line-height: 24px;
  }
  .page-datacollection.page-dc-r33 .DataService .two ul li.on2 a::before {
    left: -1.94792vw;   /* 右边缘仍距文字 11px */
    top: 50%; transform: translateY(-50%);   /* r58: center stars on text at every viewport */
    width: 1.375vw;     /* 1.71875vw × .8 */
    height: 1.25vw;     /* 1.5625vw  × .8 */
  }
}

/* ==================================================================
   r37 · DataService 卡片：选中(hover)态字号 + 小标题（2026-11-11）
   现状（实测计算值，来自 dataCollection.css:1998/2002/2004/2022/2027/2028）：
     >=1025px : tab 16px / .tit 16px / .content h4 20px / h6 16px(60px 高，2 行)
     <=1024px : tab 14px / .tit 14px / .content h4 16px / h6 14px(44px 高，2 行)
   需求：
     1) 小标题与上方「3D点云标注 / 图像标注…」tab 行一样大 —— 显式锁定等值
     2) 选中卡片标题与未选中卡片标题一样大 —— h4 20→16 / 16→14
     3) 选中卡片下方说明文字缩到原来的 80% —— h6 16→12.8 / 14→11.2
        行高与两行容器高度同步 ×0.8，保持原来「两行 + 溢出隐藏」的排版。
   隔离：仍只在 .page-datacollection.page-dc-r33 下生效，英文页不受影响。
   ================================================================== */
@media screen and (min-width: 1025px) {
  /* 1. 小标题：与 r36 调整后的 tab 行同为 16px */
  .page-datacollection.page-dc-r33 .DataService .sjul ul li .tit {
    font-size: 16px;
  }
  /* 2. 选中态标题：20px → 16px（等于未选中标题），行高/间距同比收敛 */
  .page-datacollection.page-dc-r33 .DataService .sjul ul li .content h4 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }
  /* 3. 选中态说明：16px → 12.8px（80%），30/60 → 24/48 */
  .page-datacollection.page-dc-r33 .DataService .sjul ul li .content h6 {
    font-size: 12.8px;
    line-height: 24px;
    height: 48px;
  }
}

@media screen and (max-width: 1024px) {
  /* 1. 小标题：与 dataCollection.css:1969 的 tab 行同为 14px */
  .page-datacollection.page-dc-r33 .DataService .sjul ul li .tit {
    font-size: 14px;
  }
  /* 2. 选中态标题：16px → 14px（等于未选中标题） */
  .page-datacollection.page-dc-r33 .DataService .sjul ul li .content h4 {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 6.4px;
  }
  /* 3. 选中态说明：14px → 11.2px（80%），22/44 → 17.6/35.2 */
  .page-datacollection.page-dc-r33 .DataService .sjul ul li .content h6 {
    font-size: 11.2px;
    line-height: 17.6px;
    height: 35.2px;
  }
}

/* 预览版：取消正文两行截断，长说明在卡片内滚动，标题保持可见。 */
.page-datacollection.page-dc-r33 .DataService .sjul ul li .content {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.page-datacollection.page-dc-r33 .DataService .sjul ul li .content h4 {
  flex: 0 0 auto;
}

.page-datacollection.page-dc-r33 .DataService .sjul ul li .content h6 {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .6) transparent;
}
