/* =================================================
   industry.list · 标题逻辑重构
   - H1：隐藏保留（SEO）
   - 引导词：视觉主入口，承担品牌元素
   - 图片：16/10
================================================= */

/* SEO H1：视觉隐藏（不要用 display:none） */
.page-h1{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* 页面区块 */
.application.page-section{
  padding:35px 0 35px;
  background:#fff;
}

/* 标题区 */
.application .page-tit{
  text-align:center;
  margin-bottom:38px;
}

/* 引导词：小一点、轻一点，但有品牌点睛 */
.application .page-guide{
  margin:0;
  display:inline-block;
  font-size:18px;
  line-height:1.7;
  color:rgba(60,70,85,.88);
  position:relative;
  padding-bottom:14px;
}

/* 品牌元素放在引导词下：细线 + 小点（克制） */
.application .page-guide:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:72px;
  height:3px;
  background:var(--brand);
  transform:translateX(-50%);
  border-radius:99px;
  opacity:.9;
}


/* 列表间距（入口页更舒展） */
.application ul.row{
  margin-left:-22px;
  margin-right:-22px;
}
.application ul.row > li{
  padding-left:22px;
  padding-right:22px;
  margin-bottom:42px;
}

.application ul.row > li > a{
  display:block;
  text-decoration:none;
  color:inherit;
}

/* 图片卡片 */
.application .tit-pic{
  background:#f6f7f9;
  border:1px solid rgba(15,20,30,.10);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(15,20,30,.06);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* 16/10 比例（重点） */
.application .tit-pic img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio:16/10;
  object-fit:cover;
}

/* 行业标题（下方文字） */
.application .tit-font{
  display:block;
  margin-top:16px;
  text-align:center;
  font-size:24px;
  font-weight:700;
  color:rgba(20,24,32,.92);
  letter-spacing:1px;
}

/* hover：轻上浮，克制 */
.application ul.row > li > a:hover .tit-pic{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(15,20,30,.10);
  border-color:rgba(15,20,30,.16);
}

/* 可访问性 */
.application ul.row > li > a:focus-visible{
  outline:3px solid var(--brand);
  outline-offset:6px;
  border-radius:12px;
}

/* 响应式 */
@media (max-width:991px){
  .application.page-section{padding:68px 0 56px;}
  .application .page-tit{margin-bottom:32px;}
  .application .tit-font{font-size:22px;}
}
@media (max-width:575px){
  .application.page-section{padding:58px 0 48px;}
  .application ul.row{margin-left:-12px;margin-right:-12px;}
  .application ul.row > li{padding-left:12px;padding-right:12px;margin-bottom:28px;}
  .application .page-guide{font-size:14px;padding-bottom:12px;}
  .application .page-guide:after{width:64px;}
  .application .tit-font{font-size:20px;}
}

/* =================================================
   行业应用 · 单卡 Hover 品牌效果
================================================= */

/* 1️ 图片 hover：上浮 + 品牌色轻描边 */
.application ul.row > li > a:hover .tit-pic{
  transform:translateY(-4px);
  box-shadow:
    0 18px 36px rgba(15,20,30,.12),
    0 0 0 1px rgba(var(--brand-rgb, 46,49,146), .25); /* 品牌轮廓 */
  border-color:var(--brand);
}

/* 如果你没有 brand-rgb 变量，上面那行 box-shadow 也没问题 */

/* 2 图片内轻品牌遮罩（非常淡） */
.application .tit-pic::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0)
  );
  transition:background .25s ease;
  pointer-events:none;
}
.application ul.row > li > a:hover .tit-pic::after{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0),
    rgba(255,255,255,.08)
  );
}

/*  标题 hover：品牌“提示色”，而不是通体染色 */
.application ul.row > li > a:hover .tit-font{
  color:rgba(20,24,32,.98);
}

/* 标题下增加品牌短线（hover 才出现） */
.application .tit-font{
  position:relative;
}
.application .tit-font::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  width:0;
  height:2px;
  background:var(--brand);
  transform:translateX(-50%);
  transition:width .22s ease;
  border-radius:99px;
}
.application ul.row > li > a:hover .tit-font::after{
  width:28px;
}

/*  整体 hover 时鼠标反馈更清晰 */
.application ul.row > li > a{
  cursor:pointer;
}

/* =================================================
   行业应用页 · 卡片样式（对齐 productlist 风格 + 你的新要求）
   你新增要求已落实：
   1) 图片比例 4:3
   2) “查看详情”按钮更短（不拉满）
   3) 卡片整体更高（内容区更舒展）
   4) 图片盒子内部加 padding，避免贴边/截断观感
================================================= */

/* =================================================
   行业应用页 · 标题区（参考 新闻资讯 样式）
   关键词：左竖线 + 内容型标题 + 搜索弱存在
================================================= */

/* 整体容器 */
.industry-page{
  padding:26px 0 22px;
  border-bottom:1px solid #eef0f4;
}

/* 头部一行 */
.industry-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

/* ===============================
   左侧标题（竖色条 + 标题）
================================ */
.news-head-left{
  display:flex;
  align-items:center;
  gap:14px;
}

/* 左侧竖条 */
.news-head-left::before{
  content:"";
  width:4px;
  height:22px;
  border-radius:2px;
  background:var(--brand);
  flex-shrink:0;
}

/* H1 标题 */
.industry-h1{
  margin:0;
  font-size:22px;
  line-height:1.2;
  font-weight:600;
  color:#111827;
  letter-spacing:.2px;
}

/* =================================================
   应用页（industry-head）· 搜索框布局矫正
   目标：只修应用页，不影响其它页面
================================================= */

/* 右侧搜索区：给它一个稳定宽度，不被挤压变形 */
.industry-head .news-head-right{
  flex:0 0 360px;            /* 你可改 320/360/400 */
  display:flex;
  justify-content:flex-end;
  min-width:260px;
}

/* form 本体：明确宽度，避免“只包住内容”导致按钮跑位 */
.industry-head .ui-pill-search{
  width:320px;               /* 关键：稳定 */
  max-width:100%;
  height:42px;               /* 你截图里更像 40+ */
}

/* 输入框：必须撑满，否则 pill 会变成“半截” */
.industry-head .ui-pill-input{
  width:100%;
  height:42px;
  box-sizing:border-box;
  padding-right:48px;        /* 给放大镜留更足空间 */
  border-radius:999px;
}

/* 放大镜按钮：跟随高度，锁死位置 */
.industry-head .ui-pill-icon{
  width:32px;
  height:32px;
  right:8px;
}

/* 伪元素尺寸跟着按钮走（更协调） */
.industry-head .ui-pill-icon::before{
  width:12px;
  height:12px;
}
.industry-head .ui-pill-icon::after{
  right:7px;
  bottom:7px;
}

/* 移动端：右侧不要固定宽，直接全宽 */
@media (max-width:768px){
  .industry-head .news-head-right{
    flex:1 1 auto;
    width:100%;
    min-width:0;
  }
  .industry-head .ui-pill-search{
    width:100%;
  }
}



/* ===============================
   栅格：4列（PC）/ 3列（平板）/ 2列（移动）/ 1列（小屏）
================================ */
.industry-equip{ padding:40px 0 70px; }

.industry-grid{
  margin:0;
  padding:0;
  list-style:none;

  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px 24px;
}

.industry-item{ list-style:none; }

/* ===============================
   行业卡片：品牌化卡片 + 科技感线条
================================ */
.industry-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  overflow:hidden;
  position:relative;
  height:100%;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

/* 顶部科技感细线 */
.industry-card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,
    rgba(46,49,146,0) 0%,
    rgba(46,49,146,.35) 18%,
    rgba(46,49,146,.10) 55%,
    rgba(46,49,146,0) 100%
  );
  opacity:.35;
  pointer-events:none;
}

/* 底部品牌线 */
.industry-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:linear-gradient(90deg,
    rgba(46,49,146,.10) 0%,
    rgba(46,49,146,.80) 55%,
    rgba(46,49,146,.18) 100%
  );
  opacity:0;
  transform:translateY(2px);
  transition:opacity .25s ease, transform .25s ease;
  pointer-events:none;
}

.industry-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
  color:inherit;
  text-decoration:none;
}

/* Hover：轻微抬升 + 品牌色点睛 */
.industry-card:hover{
  transform:translateY(-4px);
  border-color:rgba(46,49,146,.35);
  box-shadow:
    0 8px 22px rgba(0,0,0,.08),
    0 2px 6px rgba(46,49,146,.08);
}
.industry-card:hover::before{ opacity:.75; }
.industry-card:hover::after{
  opacity:1;
  transform:translateY(0);
}

/* ===============================
   图片区：4:3 + 内边距防贴边
   关键：img-box 作为“带内边距的画框”，图片在里面 cover
================================ */
.industry-card-img{ padding:14px 14px 0; }

.industry-card-img .img-box{
  border-radius:12px;
  overflow:hidden;
  /*background:rgba(46,49,146,.12);*/
  position:relative;
  aspect-ratio:4 / 3;
  /* 防止图片贴边，看起来像被“切”过 */
  padding:8px;
  box-sizing:border-box;
}

/* 图片放进“画框”里：用最小边覆盖（避免变形） */
.industry-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:10px; /* 让内框也圆一点，更高级 */
  transition:transform .35s ease;
}

/* Hover：图片轻微放大（放大在内框内，不炸出边界） */
.industry-card:hover .industry-card-img img{
  transform:scale(1.04);
}

/* ===============================
   信息区：卡片更高（内容区更舒展）
================================ */
.industry-card-body{
  padding:16px 16px 18px;   /* 稍微加厚，让卡片整体更“高” */
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  flex:1;

  min-height:96px;          /* 兜底：保证整体高度更一致 */
}

.industry-card-title{
  margin:0;
  font-size:15px;
  line-height:1.45;
  font-weight:700;
  color:#111;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* “查看详情”更短：不拉伸、不显胖 */
.industry-card-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  font-size:12px;
  font-weight:600;
  color:#666;

  padding:6px 10px;
  border-radius:999px;
  width:auto;
  max-width:max-content;     /* 关键：长度跟内容走 */
  white-space:nowrap;

  transition:all .25s ease;
}

.industry-card:hover .industry-card-more{
  color:#fff;
  background:var(--brand);
}

/* ===============================
   分页与空态（行业页专属间距 + 复用你现有分页皮肤）
================================ */
.industry-equip .page-wrap{ margin-top:50px; }

.industry-equip .text-secondary{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:260px;
  text-align:center;
  font-weight:600;
  font-size:16px;
  color:rgba(0,0,0,.52);
  letter-spacing:.3px;
}

/* ===============================
   响应式
================================ */
@media (max-width:1200px){
  .industry-grid{ grid-template-columns:repeat(3,1fr); }
}

@media (max-width:768px){
  .industry-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .industry-h1{ font-size:24px; }
  .industry-head .ui-pill-search{ max-width:100%; width:100%; }

  .industry-grid{
    grid-template-columns:repeat(2,1fr);
    gap:22px 18px;
  }

  .industry-card-img .img-box{ padding:7px; }
}

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