/* ========== 卡片整块可点击（转接详情页） ========== */
/* 原 <div>/<article> 改为 <a> 后，需显式 block 才能保持原有网格布局 */
a.inst-card, a.prod, a.zone-card, a.svc, a.svc-link, a.team {
  display: block; color: inherit; text-decoration: none;
}
a.inst-card:hover, a.prod:hover, a.zone-card:hover, a.svc:hover, a.svc-link:hover, a.team:hover {
  color: inherit;
}

/* 图片条 figure 整块可点击（scene-strip / scene-strip2 / 单图） */
a.fig-link { display: block; color: inherit; text-decoration: none; }
a.fig-link figure { margin: 0; }
a.fig-link:hover img { transform: scale(1.03); }
a.fig-link img { transition: transform .3s; }
a.fig-link:hover figcaption b { color: #2f6bff; }
a.fig-link figcaption b { transition: color .2s; }

/* ========== 详情页内二维码展示块 ========== */
.qr-block {
  margin: 0 0 24px; padding: 22px; text-align: center;
  background: linear-gradient(165deg, #f6faff, #eef3fc);
  border: 1px solid #e0e8f5; border-radius: 12px;
}
.qr-block img {
  width: 200px; max-width: 70%; height: auto; border-radius: 8px; display: block;
  margin: 0 auto 10px; box-shadow: 0 2px 12px rgba(15, 40, 70, .1); background: #fff;
}
.qr-block p { margin: 0; font-size: 13.5px; color: #43536b; }

/* ========== 详情页「返回上级」按钮条 ========== */
.back-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin: 0 0 24px; padding-bottom: 18px; border-bottom: 1px dashed #dfe7f3;
}
.btn-back {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #2f6bff, #1668c1); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all .2s; box-shadow: 0 4px 14px rgba(47, 107, 255, .22);
}
.btn-back:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(47, 107, 255, .3); color: #fff; }
.btn-back.alt {
  background: #fff; color: #2f6bff; border: 1px solid rgba(47, 107, 255, .4);
  box-shadow: none;
}
.btn-back.alt:hover { background: #f2f7ff; color: #1668c1; }

/* ========== 详情页「相关品类 / 兄弟页面」卡片网格 ========== */
.sib-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin: 12px 0 26px;
}
.sib-card {
  display: block; padding: 14px 16px; border-radius: 12px;
  background: linear-gradient(165deg, #f6faff, #eef3fc);
  border: 1px solid #e0e8f5; text-decoration: none;
  transition: all .22s; min-width: 0;
}
.sib-card:hover {
  transform: translateY(-3px); box-shadow: 0 8px 22px rgba(15, 40, 70, .12);
  border-color: rgba(47, 107, 255, .4); background: #fff;
}
.sib-card b {
  display: block; font-size: 14.5px; color: #16324f; font-weight: 600;
  line-height: 1.5; margin-bottom: 6px;
}
.sib-card span { font-size: 12.5px; color: #2f6bff; }

/* figure 未被全局 reset，显式清零避免默认 margin:1em 40px */
.sib-grid figure, .back-bar figure { margin: 0; }

@media (max-width: 960px) { .sib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sib-grid { grid-template-columns: 1fr; } .back-bar { flex-direction: column; align-items: stretch; } .btn-back { text-align: center; } }
