/* 成果展示页（第 28 轮）—— 白底 + 中心智能体芯片 + 环绕成果卡片 */

.res-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2px 0 24px;
}

.res-stage {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.res-map {
  display: block;
  width: 100%;
  max-width: 880px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.res-list { display: none; }
/* 第 46 轮：手机端专用竖版辐射图（电脑版隐藏它，窄屏显示它） */
.res-map-m { display: none; }
.res-empty {
  padding: 28px 16px;
  text-align: center;
  font: 13px var(--sans, 'Microsoft YaHei', sans-serif);
  color: #8b9db0;
}

/* ---- 动效 ---- */
.res-flow { animation: resFlow 3s linear infinite; }
@keyframes resFlow { to { stroke-dashoffset: -22; } }

/* 卡片漂浮由 results.js 的 rAF 驱动（写 transform 属性），此处只做渲染优化 */
.res-float { will-change: transform; }

/* ---- 窄屏：电脑版整幅图换成竖版辐射图（芯片在上，卡片两列交错） ---- */
@media (max-width: 760px) {
  .res-page { padding: 4px 12px 20px; }
  .res-stage { padding: 0; }
  .res-map-pc { display: none; }
  .res-map-m {
    display: block;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    height: auto;
  }
  .res-list { display: none; }
  .res-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #e6eef8;
    border-left: 3px solid #2b8fd6;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(20, 60, 110, .06);
    will-change: transform;
  }
  .res-card:last-child { margin-bottom: 0; }
  .res-card-ico {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    border-radius: 9px;
    background: linear-gradient(180deg, #42a8ec, #1668b4);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(26, 111, 184, .3);
  }
  .res-card-ico svg { width: 22px; height: 22px; }
  .res-card-txt { flex: 1 1 auto; min-width: 0; }
  .res-card-txt b {
    display: block;
    font: 600 15px/1.4 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #102338;
  }
  .res-card-txt small {
    display: block;
    margin-top: 2px;
    font: 11.5px/1.5 var(--sans, 'Microsoft YaHei', sans-serif);
    color: #6f8296;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
}

/* ---- 第 29 轮：成果展示页下方「产品/成果」网格 ---- */
.res-products {
  background: #fff;
  padding: 0 0 10px;
}

/* 蓝色分割线：宽度等于内容区宽度 */
.res-prod-sep {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1f6fb2 0%, #4ba3e0 45%, #a8d6f0 100%);
  margin: 20px 0 22px;
}

.res-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 18px;
}

.rp-card {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(24, 62, 104, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rp-card:hover {
  transform: translateY(-4px);
  border-color: #d6e6f6;
  box-shadow: 0 10px 22px rgba(24, 82, 138, .14);
}

.rp-thumb {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef6fe, #d9e9f8);
  overflow: hidden;
}
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-thumb-ph { display: flex; align-items: center; justify-content: center; }
.rp-thumb-ph::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 62%);
}
.rp-thumb-ph svg {
  position: relative; z-index: 1;
  width: 44px; height: 44px;
  stroke: #9dc4e6;
  fill: none;
}

.rp-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eef5fc;
  color: #1f6fb2;
  font: 600 11px/1.6 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.rp-body { display: block; padding: 12px 14px 13px; }
.rp-title {
  display: block;
  font: 600 15px/1.4 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #102338;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rp-desc {
  display: block;
  margin-top: 6px;
  font: 12.5px/1.5 var(--sans, 'Microsoft YaHei', sans-serif);
  color: #7b8da0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rp-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
  color: #2b8fd6;
  font: 12px/1.4 var(--sans, 'Microsoft YaHei', sans-serif);
}
.rp-foot em { font-style: normal; color: #2b8fd6; }
.rp-foot u { text-decoration: none; font-size: 13px; opacity: .85; }
.rp-card:hover .rp-foot { color: #1668b4; }

/* 翻页：最后一行下侧中间，页号 + 两侧小箭头 */
.res-prod-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 6px;
}
.rp-arrow,
.rp-pg {
  appearance: none;
  cursor: pointer;
  border: 1px solid #dbe6f2;
  background: #fff;
  color: #5b7f9e;
  border-radius: 8px;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  font: 13px/1 'PingFang SC', 'Microsoft YaHei', sans-serif;
  transition: background .15s, color .15s, border-color .15s;
}
.rp-arrow { font-size: 16px; border-radius: 50%; width: 30px; }
.rp-arrow:hover:not(:disabled),
.rp-pg:hover { border-color: #9dc4e6; color: #1f6fb2; }
.rp-arrow:disabled { opacity: .35; cursor: default; }
.rp-pg-on,
.rp-pg-on:hover {
  background: #2b8fd6;
  border-color: #2b8fd6;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 760px) {
  .res-prod-sep { margin: 16px 0 16px; height: 2px; }
  .res-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rp-body { padding: 9px 10px 10px; }
  .rp-title { font-size: 13.5px; }
  .rp-desc { font-size: 11.5px; margin-top: 4px; }
  .rp-foot { margin-top: 8px; font-size: 11px; }
  .rp-thumb-ph svg { width: 34px; height: 34px; }
}

/* ---- 第 29 轮：产品详情页（#/gdetail/<id>） ---- */
.res-pd { max-width: 1120px; margin: 0 auto; padding: 4px 0 30px; }

.res-pd-back {
  display: inline-block;
  margin-bottom: 14px;
  font: 13px/1.4 var(--sans, 'Microsoft YaHei', sans-serif);
  color: #2b8fd6;
  text-decoration: none;
}
.res-pd-back:hover { color: #1668b4; }

.res-pd-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 14px rgba(24, 62, 104, .05);
}

.res-pd-cover {
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef6fe, #d9e9f8);
  border: 1px solid #e8eff7;
}
.res-pd-cover img { display: block; width: 100%; height: auto; }
.res-pd-ph { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 220px; }
.res-pd-ph svg { width: 60px; height: 60px; stroke: #a9cbe8; fill: none; }

.res-pd-info { padding-top: 4px; }
.res-pd-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(43, 143, 214, .1);
  color: #1f6fb2;
  font: 600 12px/1.6 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.res-pd-info h1 {
  margin: 12px 0 8px;
  font: 700 25px/1.4 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #102338;
}
.res-pd-sub {
  margin: 0 0 18px;
  font: 14px/1.7 var(--sans, 'Microsoft YaHei', sans-serif);
  color: #66788c;
}
.res-pd-meta { margin: 0 0 20px; padding: 14px 16px; background: #f7fafd; border-radius: 8px; }
.res-pd-meta div { display: flex; gap: 12px; padding: 5px 0; font: 13px/1.6 var(--sans, 'Microsoft YaHei', sans-serif); }
.res-pd-meta dt { flex: 0 0 72px; color: #90a2b5; }
.res-pd-meta dd { margin: 0; color: #2c3e50; }

.res-pd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: 7px;
  background: linear-gradient(180deg, #3e9adb, #1f74b8);
  color: #fff;
  font: 600 13.5px/1 'PingFang SC', 'Microsoft YaHei', sans-serif;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(31, 116, 184, .28);
}
.res-pd-btn i { font-style: normal; opacity: .9; }
.res-pd-btn:hover { filter: brightness(1.05); }

.res-pd-body {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 24px 28px 26px;
  box-shadow: 0 3px 14px rgba(24, 62, 104, .04);
}
.res-pd-body h2 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 12px;
  font: 700 17px/1.4 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #102338;
}
.res-pd-body h2::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, #2b8fd6, #1f6fb2);
}
.res-pd-body p {
  margin: 0 0 12px;
  font: 14.5px/1.95 var(--sans, 'Microsoft YaHei', sans-serif);
  color: #3d4c5c;
  text-indent: 2em;
}
.res-pd-body p:last-child { margin-bottom: 0; }
.res-pd-empty {
  padding: 60px 20px; text-align: center;
  font: 14px var(--sans, 'Microsoft YaHei', sans-serif); color: #8b9db0;
}

@media (max-width: 760px) {
  .res-pd-top { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .res-pd-info h1 { font-size: 20px; margin-top: 8px; }
  .res-pd-body { padding: 16px 16px 20px; margin-top: 12px; }
  .res-pd-body p { font-size: 13.5px; line-height: 1.9; }
}
