/* Product archive final override (loaded last) */
body.category-product .case-tech-main{
  max-width:1200px;
  margin:0 auto;
  padding:26px 0 40px !important;
  background:
    radial-gradient(980px 280px at 50% -5%, rgba(11,79,149,.10), rgba(11,79,149,0) 72%),
    linear-gradient(180deg,#f4f8fd 0%,#ffffff 100%);
  border-radius:18px;
  box-shadow:0 16px 36px rgba(10,28,56,.08);
}

body.category-product .case-tech-breadcrumb{
  border:1px solid #dfe9f5 !important;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 18px rgba(10,28,56,.05);
  padding:10px 14px !important;
  margin-bottom:14px;
}

/* 用户要求：隐藏“项目案例展示”框，但不影响下面案例列表 */
body.category-product .case-tech-intro{
  display:none !important;
}

body.category-product .case-tech-nav{
  border:1px solid #d9e6f6;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 20px rgba(10,28,56,.07);
  padding:12px;
  margin:0 0 14px;
  height:auto !important;
}
body.category-product .case-tech-nav ul{
  display:flex !important;
  flex-wrap:wrap;
  gap:10px;
}
body.category-product .case-tech-nav li{
  width:auto !important;
  height:auto !important;
  float:none !important;
  border-right:0 !important;
  line-height:1.2 !important;
}
body.category-product .case-tech-nav a{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 14px !important;
  border-radius:999px;
  border:1px solid #dce8f7;
  background:linear-gradient(180deg,#ffffff,#f6faff);
  color:#2a3f57;
  font-weight:600;
  transition:all .22s ease;
}
body.category-product .case-tech-nav li:hover a,
body.category-product .case-tech-nav li.cur a{
  background:linear-gradient(135deg,#0b4f95,#1172ce) !important;
  border-color:#0b4f95 !important;
  color:#fff !important;
  transform:translateY(-1px);
}

/* Core fix: replace legacy float list with modern 2-column grid */
body.category-product .case-tech-list{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
body.category-product .case-tech-list dl{
  width:100% !important;
  float:none !important;
  margin:0 !important;
  border:1px solid #dce8f7 !important;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 22px rgba(10,28,56,.06);
  transition:all .22s ease;
}
body.category-product .case-tech-list dl:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(10,42,84,.14);
}
body.category-product .case-tech-list dt{
  width:100% !important;
  float:none !important;
  margin:0 !important;
}
body.category-product .case-tech-list dt img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  display:block;
}
body.category-product .case-tech-list dd{
  width:100% !important;
  float:none !important;
  padding:14px 14px 16px !important;
  box-sizing:border-box;
}
body.category-product .case-tech-list h4{
  height:auto !important;
  margin:0 0 10px;
  line-height:1.35 !important;
}
body.category-product .case-tech-list h4 a{
  white-space:normal !important;
  color:#22384f !important;
}
body.category-product .case-tech-list .case_list_btn a{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:40px;
  margin-top:10px;
  padding:10px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,#0b4f95,#1172ce);
  color:#fff !important;
  font-weight:700;
}

body.category-product .p12-pagination-1-main{
  text-align:center;
}
body.category-product .p12-pagination-1-main .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
body.category-product .p12-pagination-1-main .page-numbers a,
body.category-product .p12-pagination-1-main .page-numbers span{
  min-width:36px;
  height:36px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
}

@media (max-width: 992px){
  body.category-product .case-tech-main{
    border-radius:0;
    box-shadow:none;
    padding:18px 0 28px !important;
  }
  body.category-product .case-tech-list{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 576px){
  body.category-product .case-tech-list{
    grid-template-columns:1fr;
  }
}
