/* 瑞智 · 钢厂素材板块样式（前缀 rzspec，避免与 rz-spec-tools 冲突） */
.rzspec {
  --rzs-navy: #0c1728;
  --rzs-navy2: #16243d;
  --rzs-gold: #c5912f;
  --rzs-line: #dce1e7;
  --rzs-body: #5e6978;
  --rzs-th: #f8f9fa;
  --rzs-bg: #ffffff;
  background: var(--rzs-bg);
  padding: 56px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--rzs-body);
}

.rzspec-in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.rzspec-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--rzs-gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.rzspec-h2 {
  font-size: 27px;
  line-height: 1.35;
  color: var(--rzs-navy);
  margin: 0 0 14px;
  font-weight: 700;
  border: 0;
  padding: 0;
}

.rzspec-lead {
  font-size: 15.5px;
  color: var(--rzs-body);
  margin: 0 0 26px;
  max-width: 980px;
}

.rzspec-lead strong {
  color: var(--rzs-navy);
}

.rzsupply-h3 {
  font-size: 18px;
  color: var(--rzs-navy);
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--rzs-gold);
  font-weight: 700;
  line-height: 1.4;
}

.rzspec-sub {
  font-size: 13.5px;
  color: #8a93a0;
  margin: 0 0 12px;
}

/* ---- 授权 / 荣誉卡 ---- */
.rzq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rzq-grid-1 {
  grid-template-columns: minmax(0, 520px);
}

.rzq-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--rzs-line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}

.rzq-card:hover {
  box-shadow: 0 8px 24px rgba(12, 23, 40, .1);
}

.rzq-img {
  background: #f3f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.rzq-img img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
}

.rzq-card figcaption {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rzq-badge {
  align-self: flex-start;
  background: var(--rzs-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 3px;
}

.rzq-who {
  font-size: 15px;
  font-weight: 700;
  color: var(--rzs-navy);
}

.rzq-scope {
  font-style: normal;
  font-size: 13.5px;
  color: var(--rzs-body);
  line-height: 1.65;
}

.rzq-area {
  font-size: 12.5px;
  color: #98a1ad;
}

/* ---- 钢厂资质表 ---- */
.rzmill-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rzs-line);
  border-radius: 8px;
}

.rzmill-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
}

.rzmill-table th {
  background: var(--rzs-navy);
  color: #fff;
  text-align: left;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 13.5px;
}

.rzmill-table td {
  padding: 11px 14px;
  border-top: 1px solid var(--rzs-line);
  color: var(--rzs-body);
  line-height: 1.65;
}

.rzmill-table tbody tr:nth-child(even) {
  background: var(--rzs-th);
}

.rzmill-table td b {
  color: var(--rzs-navy);
}

/* ---- 照片墙 ---- */
.rzmill-cap {
  font-size: 14px;
  font-weight: 700;
  color: var(--rzs-navy);
  margin: 20px 0 10px;
}

.rzphoto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rzphoto {
  margin: 0;
  border: 1px solid var(--rzs-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.rzphoto img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.rzphoto figcaption {
  font-size: 13px;
  color: var(--rzs-navy);
  padding: 8px 10px;
  text-align: center;
  border-top: 1px solid var(--rzs-line);
}

/* ---- CTA ---- */
.rzspec-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--rzs-navy);
  border-radius: 10px;
  padding: 22px 26px;
}

.rzspec-cta-t {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rzspec-cta-t b {
  color: #fff;
  font-size: 17px;
}

.rzspec-cta-t span {
  color: #a9b4c4;
  font-size: 13.5px;
}

.rzspec-cta-b {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rzbtn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  transition: all .18s;
}

.rzbtn:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.rzbtn-primary {
  background: var(--rzs-gold);
  border-color: var(--rzs-gold);
  color: #201603;
}

.rzbtn-primary:hover {
  background: #d8a03a;
  color: #201603;
}

/* ---- 响应式 ---- */
@media (max-width: 860px) {
  .rzspec {
    padding: 40px 0;
  }
  .rzspec-h2 {
    font-size: 22px;
  }
  .rzq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rzphoto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rzphoto img {
    height: 150px;
  }
  .rzspec-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .rzphoto-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ================= 产品技术资料（rz_tech） ================= */
.rztech-meta {
  font-size: 14px;
  color: #8a93a0;
  margin: -14px 0 22px;
}

.rztech-meta b {
  color: var(--rzs-navy);
}

.rztech-table {
  font-size: 13.5px;
}

.rztech-table th,
.rztech-table td {
  padding: 9px 12px;
}

.rztech-note {
  font-size: 13px;
  color: #8a93a0;
  margin: 8px 0 0;
  line-height: 1.7;
}

.rztech-note a {
  color: var(--rzs-gold);
  text-decoration: none;
  font-weight: 600;
}

.rztech-note a:hover {
  text-decoration: underline;
}

/* 工艺流程时间轴 */
.rztech-flow {
  border-left: 2px solid var(--rzs-line);
  margin: 4px 0 0 8px;
  padding-left: 0;
}

.rztech-step {
  position: relative;
  padding: 0 0 18px 24px;
}

.rztech-step:last-child {
  padding-bottom: 2px;
}

.rztech-step::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rzs-gold);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--rzs-line);
}

.rztech-step b {
  display: block;
  color: var(--rzs-navy);
  font-size: 15px;
  margin-bottom: 4px;
}

.rztech-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
}

/* 行业应用卡 */
.rztech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rztech-card {
  border: 1px solid var(--rzs-line);
  border-left: 3px solid var(--rzs-gold);
  border-radius: 6px;
  padding: 14px 16px;
  background: #fcfdfe;
}

.rztech-card b {
  display: block;
  color: var(--rzs-navy);
  font-size: 15px;
  margin-bottom: 5px;
}

.rztech-card p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.78;
}

/* 问答折叠 */
.rztech-faq {
  border: 1px solid var(--rzs-line);
  border-radius: 8px;
  overflow: hidden;
}

.rzfaq-item {
  border-top: 1px solid var(--rzs-line);
}

.rzfaq-item:first-child {
  border-top: 0;
}

.rzfaq-item summary {
  cursor: pointer;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rzs-navy);
  background: #fff;
  list-style: none;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.6;
}

.rzfaq-item summary::-webkit-details-marker {
  display: none;
}

.rzfaq-item[open] summary {
  background: #f7f9fc;
}

.rzfaq-q {
  flex: 0 0 auto;
  background: var(--rzs-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  margin-top: 2px;
}

.rzfaq-a {
  padding: 0 16px 15px 45px;
}

.rzfaq-a p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.82;
}

.rzfaq-a-mark {
  display: inline-block;
  background: var(--rzs-gold);
  color: #201603;
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
}

@media (max-width: 860px) {
  .rztech-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ================= 规格搜索框（rz_spec_search） ================= */
.rzsg {
  background: linear-gradient(160deg, var(--rzs-navy) 0%, #1a2c4a 100%);
  border-radius: 12px;
  padding: 20px 20px 18px;
  margin: 0 0 26px;
}

.rzsg-bar {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.rzsg-bar input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: #fff;
  color: #1c2532;
  font-size: 15.5px;
  line-height: 46px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.rzsg-bar input::placeholder {
  color: #98a1ad;
}

.rzsg-bar input:focus {
  border-color: var(--rzs-gold);
  box-shadow: 0 0 0 3px rgba(197, 145, 47, .28);
}

.rzsg-bar button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: var(--rzs-gold);
  color: #201603;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .02em;
  transition: background .18s;
}

.rzsg-bar button:hover {
  background: #d8a03a;
}

.rzsg-stat {
  color: #9fb0c7;
  font-size: 12.5px;
  line-height: 1.6;
  padding: 9px 2px 0;
  min-height: 8px;
}

.rzsg-out {
  margin-top: 10px;
}

/* ---- 快捷词 / 提示 ---- */
.rzsg-tips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 2px 0 4px;
}

.rzsg-tips b {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  margin-right: 2px;
}

.rzsg-tips span {
  color: #9fb0c7;
  font-size: 13px;
}

.rzsg-chip {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 20px;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all .16s;
  background: rgba(255, 255, 255, .06);
}

.rzsg-chip:hover {
  background: var(--rzs-gold);
  border-color: var(--rzs-gold);
  color: #201603;
}

/* ---- 结果分组 ---- */
.rzsg-group {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.rzsg-group:last-of-type {
  margin-bottom: 0;
}

.rzsg-gh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #eef2f7;
  color: var(--rzs-navy);
  font-size: 14.5px;
  font-weight: 700;
  padding: 9px 14px;
}

.rzsg-gh span {
  font-weight: 400;
  font-size: 12.5px;
  color: #7b8697;
}

.rzsg-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-top: 1px solid #eef1f5;
  font-size: 13.5px;
}

.rzsg-row:first-child {
  border-top: 0;
}

.rzsg-row:hover {
  background: #f7f9fc;
}

.rzsg-spec {
  flex: 0 0 168px;
  font-weight: 700;
  color: var(--rzs-navy);
  word-break: break-all;
}

.rzsg-meta {
  flex: 1 1 auto;
  min-width: 0;
  color: #6d7889;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rzsg-flag {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: #2c7a4b;
  background: #e8f4ee;
  border-radius: 3px;
  padding: 2px 7px;
}

.rzsg-go {
  flex: 0 0 auto;
  color: var(--rzs-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(12, 23, 40, .25);
  white-space: nowrap;
}

.rzsg-go:hover {
  color: var(--rzs-gold);
  border-color: var(--rzs-gold);
}

.rzsg-more {
  padding: 8px 14px;
  font-size: 12.5px;
  color: #8a93a0;
  border-top: 1px solid #eef1f5;
}

/* ---- 无结果 ---- */
.rzsg-empty {
  background: #fff;
  border-left: 3px solid var(--rzs-gold);
  border-radius: 6px;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  line-height: 1.8;
}

.rzsg-empty b {
  color: var(--rzs-navy);
  font-size: 15px;
}

.rzsg-empty span {
  color: #5e6978;
}

.rzsg-empty a {
  align-self: flex-start;
  margin-top: 2px;
  background: var(--rzs-gold);
  color: #201603;
  font-weight: 700;
  font-size: 13.5px;
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
}

.rzsg-empty a:hover {
  background: #d8a03a;
}

/* ---- 结果底部 CTA ---- */
.rzsg-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.rzsg-cta b {
  color: #fff;
  font-size: 14px;
}

.rzsg-cta a {
  color: #201603;
  background: var(--rzs-gold);
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 15px;
  border-radius: 6px;
  text-decoration: none;
}

.rzsg-cta a:hover {
  background: #d8a03a;
}

.rzsg-cta span {
  color: #9fb0c7;
  font-size: 12.5px;
}

/* ---- 静态规格速查列表（爬虫可读） ---- */
.rzsg-catlist {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rzs-line);
  border-radius: 8px;
  overflow: hidden;
}

.rzsg-cat {
  padding: 13px 16px;
  border-top: 1px solid var(--rzs-line);
  background: #fff;
}

.rzsg-cat:first-child {
  border-top: 0;
}

.rzsg-cat:nth-child(even) {
  background: var(--rzs-th);
}

.rzsg-cat-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.rzsg-cat-n {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--rzs-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(12, 23, 40, .2);
}

.rzsg-cat-n:hover {
  color: var(--rzs-gold);
  border-color: var(--rzs-gold);
}

.rzsg-cat-c {
  font-style: normal;
  font-size: 12.5px;
  color: #fff;
  background: var(--rzs-navy);
  border-radius: 3px;
  padding: 2px 8px;
}

.rzsg-cat-t {
  font-size: 12.5px;
  color: var(--rzs-gold);
  text-decoration: none;
  font-weight: 600;
}

.rzsg-cat-t:hover {
  text-decoration: underline;
}

.rzsg-cat-s {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #4d5766;
  word-break: break-word;
}

.rzsg-cat-s b {
  color: var(--rzs-navy);
}

.rzsg-cat-m {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8a93a0;
}

@media (max-width: 860px) {
  .rzsg {
    padding: 16px 14px 14px;
  }
  .rzsg-bar {
    flex-direction: column;
  }
  .rzsg-bar button {
    height: 42px;
  }
  .rzsg-spec {
    flex: 0 0 118px;
  }
  .rzsg-meta {
    display: none;
  }
}

