/* ============================================================
   资质与荣誉页 · 本轮新增区块样式
   ------------------------------------------------------------
   承载三块新增内容，删掉本文件引用即回到只有 7.1–7.4 的版本：
   1. 页首 KPI 扩到六格
   2. 7.4 已参与制定标准清单
   3. 7.5 首创纪录两栏矩阵（含奖杯底图）
   4. 7.6 荣誉墙布局（首页 #honor 那套内联样式，抽出并限定 .honor）
   依赖 token：site.css :root；深底金框来自 honor-gold.css。
   ============================================================ */

/* ============================================================
   一、页首 KPI 六格
   ============================================================ */
.hon-kpi--6{
  grid-template-columns:1fr 1fr;
}
.hon-kpi--6 div{padding:16px 18px 15px}
.hon-kpi--6 .n{
  display:flex;
  align-items:baseline;
  gap:2px;
  white-space:nowrap;
}
.hon-kpi--6 .n{font-size:clamp(24px,2.4vw,31px)}
.hon-kpi--6 .l{margin-top:7px}

/* ============================================================
   二、标准清单
   ============================================================ */
.std-block{
  margin-top:44px;
  border-top:1px solid var(--frost);
  padding-top:26px;
}
.std-block h3{
  margin:0;
  font-size:var(--fs-note);
  font-weight:600;
  letter-spacing:.02em;
  color:var(--charcoal);
}
.std-block .std-note{
  margin:8px 0 0;
  font-size:var(--fs-small);
  line-height:1.75;
  color:var(--smoke);
}
.std-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:repeat(3,auto);
  grid-auto-flow:column;
  gap:0 48px;
  margin-top:20px;
}
.std-list li{
  display:flex;
  width:100%;
  justify-self:stretch;
  align-items:baseline;
  gap:12px;
  padding:13px 0;
  border-bottom:1px solid rgba(54,84,156,.10);
  list-style:none;
}
.std-list li .idx{
  flex:none;
  width:18px;
  font-size:var(--fs-small);
  font-weight:600;
  color:var(--brand);
  font-variant-numeric:tabular-nums;
}
.std-list li .nm{
  flex:1 1 auto;
  font-size:var(--fs-note);
  line-height:1.55;
  font-weight:600;
  color:var(--navy);
}
/* lint-ok: 版面专用字号，随区块排版走 */
.std-list li .tp{
  flex:none;
  font-size:var(--fs-micro);
  letter-spacing:.04em;
  color:var(--slate);
  font-variant-numeric:tabular-nums;
}

/* ============================================================
   三、首创纪录
   ============================================================ */
.fr-firsts .fs-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  margin-top:40px;
}
.fr-firsts .fs-col{min-width:0}
.fr-firsts .fs-col + .fs-col{
  padding-left:48px;
  border-left:1px solid rgba(54,84,156,.16);
}
.fr-firsts .fs-cat{
  margin:0 0 4px;
  font-size:20px;
  font-weight:600;
  line-height:1.3;
  color:var(--navy);
  letter-spacing:.01em;
}
.fr-firsts .matrix{
  margin-top:18px;
  border-top:1px solid rgba(54,84,156,.14);
}
.fr-firsts .matrix-row{
  display:grid;
  grid-template-columns:1fr;
  gap:5px;
  padding:13px 0;
  border-bottom:1px solid rgba(54,84,156,.10);
  align-items:start;
}
.fr-firsts .matrix-row .b{
  font-size:19px;
  font-weight:600;
  letter-spacing:-.01em;
  color:var(--navy);
  line-height:1.45;
}
.fr-firsts .matrix-row .b em{
  display:block;
  font-style:normal;
  font-size:var(--fs-body);
  font-weight:500;
  letter-spacing:.01em;
  color:var(--fc-body);
  margin-top:6px;
}
.fr-firsts .matrix-row .d{
  font-size:var(--fs-body);
  line-height:1.7;
  font-weight:600;
  color:var(--fc-body);
  text-shadow:none;
}
/* ============================================================
   四、荣誉墙（首页 #honor 的内联样式，抽出并限定在 .honor 内）
   ------------------------------------------------------------
   与 honor-gold.css（墙面灯效 / 镀金边框）、honor-wall.css（分页 /
   大图）叠加，本段只负责网格、尺寸与匾下文字。
   ============================================================ */
.honor .wrap{position:relative}
.honor .honor-mark{
  position:absolute;
  top:0;
  left:0;
  width:clamp(140px,17vw,228px);
  height:auto;
  display:block;
  pointer-events:none;
}
.honor .honor-wall{margin-top:24px}

.honor .wall-group{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px 20px;
  align-items:start;
}
.honor .wall-group + .wall-group{margin-top:30px}
.honor .wall-label{
  grid-column:1/-1;
  display:flex;
  align-items:baseline;
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,214,122,.20);
}
.honor .wall-label h3{
  margin:0;
  font-size:var(--fs-body);
  font-weight:600;
  letter-spacing:.02em;
}
.honor .hcard{min-width:0}

.honor .plaque{height:172px}
.honor .medal{width:110px;height:140px}
.honor .medal .seal{width:20px;height:20px}
.honor .medal .seal::after{inset:5px}
.honor .medal b{font-size:var(--fs-micro)}
.honor .medal i{font-size:7.5px}
.honor .medal--big b{font-size:26px}

.honor .hname{
  margin:10px 4px 0;
  text-align:center;
  font-size:var(--fs-note);
  line-height:1.6;
  letter-spacing:.01em;
  min-height:36px;
}
.honor .hname span{display:block;font-size:var(--fs-micro);margin-top:4px}

/* 实拍卡：证书竖版，图按 contain 落在匾内 */
.honor .photo-card{min-width:0}
.honor .photo-card .plaque{
  height:158px;
  padding:12px;
}
.honor .photo-card .plaque img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 3px 6px rgba(28,45,80,.16));
}

/* 四列两排铺满后，牌面收到 152：与首页最终尺寸一致 */
.honor .honor-wall .hw-page .photo-card .plaque{
  height:152px;
  aspect-ratio:auto;
}

/* ============================================================
   五、机构与平台（研究中心 / 联盟这类机构牌匾）
   ------------------------------------------------------------
   与「政府与行业授牌」区分：这里放的是共建机构与行业组织任职，
   不写描述性文案，只给归口单位与时间。
   ============================================================ */
.org-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:44px;
}
.org{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:196px;
  padding:26px 24px 22px;
  border-radius:var(--r-card);
  background:var(--white);
  border:1px solid var(--frost);
  box-shadow:0 1px 2px rgba(54,84,156,.04);
  transition:transform .26s ease,box-shadow .26s ease,border-color .26s ease;
  overflow:hidden;
}
.org::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:var(--brand);
  opacity:.85;
}
.org:hover{
  transform:translateY(-4px);
  border-color:rgba(54,84,156,.2);
  box-shadow:0 20px 44px -22px rgba(54,84,156,.4);
}
.org-lv{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:var(--fs-micro);
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
}
.org-lv::before{
  content:"";
  width:5px;height:5px;border-radius:50%;
  background:currentColor;
}
.org h3{
  margin:15px 0 0;
  font-size:var(--fs-body);
  line-height:1.5;
  font-weight:600;
  letter-spacing:-.01em;
  color:var(--navy);
  text-wrap:balance;
}
.org-foot{
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid var(--frost);
  font-size:var(--fs-micro);
  line-height:1.6;
  color:var(--slate);
  font-variant-numeric:tabular-nums;
}
.org-foot b{
  display:block;
  font-weight:500;
  color:var(--smoke);
}

/* ============================================================
   六、窄屏
   ============================================================ */
/* 页首双行大标题在 390 宽度下英文会顶出视口（原 honors.css 的
   clamp 下限 30px 未考虑 26 字符长词），这里收字号并允许断词 */
@media (max-width:560px){
  .hon-hero h1{
    font-size:26px;
    line-height:1.24;
    overflow-wrap:anywhere;
  }
}
@media (max-width:1199px){
  .std-list{gap:0 32px}
}
@media (max-width:1000px){
  .org-grid{grid-template-columns:1fr 1fr}
  .honor .wall-group{grid-template-columns:repeat(3,minmax(0,1fr))}
  .honor .plaque{height:190px}
  .honor .medal{width:118px;height:150px}
  .honor .honor-wall .hw-page .photo-card .plaque{height:152px}
}
@media (max-width:900px){
  .fr-firsts .fs-grid{grid-template-columns:1fr;gap:28px}
  .fr-firsts .fs-col + .fs-col{
    padding-left:0;
    border-left:0;
    border-top:1px solid rgba(54,84,156,.16);
    padding-top:28px;
  }
  .std-list{grid-template-columns:1fr}
}
@media (max-width:820px){
  .fr-firsts .matrix-row{padding:16px 0}
}
@media (max-width:620px){
  .honor .wall-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
  .honor .wall-group + .wall-group{margin-top:32px}
  .honor .plaque{height:180px}
  .honor .hname{font-size:var(--fs-small);min-height:0}
  .honor .honor-wall .hw-page .photo-card .plaque{height:152px}
  .org-grid{grid-template-columns:1fr}
  .org{min-height:0}
  .hon-kpi--6 div{padding:14px 14px}
  .honor .honor-mark{width:104px;top:-2px}
}
