/* ===== 细节调校（加载在 industry.css 之后，用于覆盖其固定字号） ===== */

/* 1. 行业产线案例 / 客户案例卡片标题：PC 30px → 24px，与 14px 摘要更协调 */
.case-card-body h3 { font-size: 24px; line-height: 1.45; margin: 0 0 10px; }

/* 2. 移动端卡片标题继续缩小 */
@media (max-width: 900px) {
  .case-card-body h3 { font-size: 20px; line-height: 1.45; margin: 0 0 8px; }
  .case-grid-single .case-card-body { padding: 18px 20px; }
}
@media (max-width: 600px) {
  .case-card-body { padding: 16px 18px 18px; }
  .case-card-body h3 { font-size: 19px; }
  .case-grid-single .case-card-body { padding: 16px 18px 18px; }
}

/* 3. 案例详情上下篇导航：防止被全局 nav（头部导航）样式牵连而脱离文档流 */
.case-prevnext { position: static; top: auto; left: auto; right: auto; margin-left: 0; }

/* 4. 首页推荐产品（移动端）：设备图贴紧文案
   原因：≤900px 时 .machine 盒子被网格拉伸（1fr），图片 object-fit:contain 垂直居中，
   上下各留大块空白；改为顶部对齐后空白移到下方，再由区块高度吸收。 */
@media (max-width: 900px) {
  #products.home-products-refined .machine { object-position: center top; }
}
@media (max-width: 600px) {
  #products.home-products-refined { height: 750px; }
  #products.home-products-refined .product-slide { gap: 16px; }
}

/* 5. 首页轮播视频：自动播放被拦截时的「点击播放」按钮 */
.hero-video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 0; background: none; border: 0; color: #fff; font-size: 14px; cursor: pointer;
}
.hero-video-play[hidden] { display: none; }
.hero-video-play-icon {
  position: relative; display: block; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .9);
}
.hero-video-play-icon::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.hero-video-play:hover .hero-video-play-icon,
.hero-video-play:focus-visible .hero-video-play-icon { background: rgba(176, 41, 38, .85); }
.hero-video-play-text { letter-spacing: 1px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
@media (max-width: 600px) {
  .hero-video-play-icon { width: 52px; height: 52px; }
  .hero-video-play-icon::after { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; }
  .hero-video-play-text { font-size: 13px; }
}
