/* ============================================================
   detail.css — 资料详情页专用排版
   只被 resource-1/2/3/4.html 引用，不影响其他页面
   ============================================================ */

/* ---------- 三个 Skill：图文交替 ---------- */
.skill-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 3.5vw, 48px);
  align-items: center;
  margin: 40px 0;
}

.skill-row--rev .skill-fig {
  order: 2;
}

.skill-fig {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 26px 56px -24px rgba(0, 0, 0, 0.85);
  background: #0b1228;
}

.skill-fig img {
  display: block;
  width: 100%;
  height: auto;
}

.skill-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: #c8a45c;
  margin-bottom: 10px;
}

.skill-copy h2 {
  font-size: clamp(20px, 1.9vw, 25px);
  margin: 0 0 10px;
  letter-spacing: 0.4px;
  line-height: 1.35;
}

.skill-lead {
  font-size: 15px;
  font-weight: 600;
  color: #e8d5b0;
  line-height: 1.7;
  margin: 0 0 12px;
}

.skill-copy p {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(201, 212, 234, 0.72);
  margin: 0;
}

/* ---------- 大白话话术块（resource-2） ---------- */
.say-hero {
  padding: 24px 26px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(64, 104, 200, 0.22), transparent 60%),
    linear-gradient(160deg, #18234a, #0b1228);
  margin: 22px 0 32px;
}

.say-line {
  font-size: 16px;
  line-height: 1.8;
  color: #c9d4ea;
  margin: 0;
}

.say-line--big {
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 800;
  color: #f4f7ff;
  margin-top: 4px;
}

.say-line--big b {
  color: #d9b87a;
  font-weight: 800;
  text-shadow: 0 0 26px rgba(212, 175, 55, 0.5);
}

.say-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: #8fa2c8;
}

.say-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.say-item {
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.say-q {
  font-size: 16px;
  line-height: 1.65;
  color: #f4f7ff;
  margin: 0 0 8px;
  padding-left: 16px;
  border-left: 3px solid #c8a45c;
  font-weight: 500;
}

.say-a {
  margin: 0 0 0 19px;
  font-size: 13px;
  color: #d9b87a;
}

.say-a::before {
  content: "↳ 做出来的东西：";
  color: #8fa2c8;
}

/* ---------- Skill 能力三宫格（resource-3，保留兼容） ---------- */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 6px 0 10px;
}

.skill-box {
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  padding: 24px 22px 20px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(64, 104, 200, 0.2), transparent 58%),
    linear-gradient(160deg, #18234a, #0b1228);
}

.skill-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #c8a45c;
}

.skill-box h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 10px 0 8px;
}

.skill-box p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(201, 212, 234, 0.68);
  margin: 0;
}

.skill-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 6px 0 10px;
}

.skill-shots figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.24);
  background: #0b1228;
}

.skill-shots img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.skill-shots figcaption {
  padding: 8px 10px 10px;
  font-size: 11px;
  color: #e8d5b0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .skill-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin: 30px 0;
  }
  .skill-row--rev .skill-fig {
    order: 0;
  }
}

@media (max-width: 760px) {
  .skill-grid,
  .skill-shots {
    grid-template-columns: 1fr;
  }
  .skill-shots img {
    height: auto;
  }
}

/* ---------- 居中大图（数据图/对比图） ---------- */
.detail-fig {
  margin: 22px 0 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: #0b1228;
}

.detail-fig img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-fig figcaption {
  padding: 10px 14px 12px;
  font-size: 11.5px;
  letter-spacing: 0.6px;
  color: #e8d5b0;
  background: rgba(212, 175, 55, 0.06);
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}
