/* ============================================================
   style-zizhi.css
   用于 Products-article-zizhixiangqing.html 自定义内容排版
   作用域：.post-text 内的 8 个自定义 section
   依赖：style.css 中的 CSS 变量（--clr-primary / --clr-navy 等）
   版本：v=20260923
   ============================================================ */

/* ---- 全局重置：取消 section 默认 padding/margin，避免与外层冲突 ---- */
.post-text .header-section,
.post-text .steps-section,
.post-text .params-section,
.post-text .features-section,
.post-text .application-section,
.post-text .pellet-display-section,
.post-text .money-section,
.post-text .faq-section {
  padding: 24px 0;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.post-text section + section { margin-top: 8px; }

/* ---- 通用标题样式 ---- */
.post-text .params-section h2,
.post-text .features-section h2,
.post-text .application-section h2,
.post-text .pellet-display-section h2,
.post-text .money-section h2,
.post-text .faq-section h2 {
  text-align: center;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-navy);
  margin: 0 0 20px;
  line-height: 1.3;
}

/* ============ 1. header-section ============ */
.post-text .header-section {
  text-align: center;
  padding-top: 8px;
}
.post-text .header-section h1 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-navy);
  margin: 0 0 16px;
  line-height: 1.3;
}
.post-text .header-section img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* ============ 2. steps-section（六步骤图标区） ============ */
.post-text .steps-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 15px;
}
.post-text .step-item {
  flex: 0 0 calc(16.666% - 20px);
  min-width: 140px;
  text-align: center;
}
.post-text .step-item img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px;
  display: block;
}
.post-text .step-item p {
  font-size: 14px;
  color: var(--clr-navy);
  font-weight: 500;
  margin: 0;
}
@media (max-width: 991px) {
  .post-text .step-item { flex: 0 0 calc(33.333% - 20px); }
}
@media (max-width: 767px) {
  .post-text .step-item { flex: 0 0 calc(50% - 20px); }
}

/* ============ 3. params-section（产品参数区） ============ */
.post-text .params-section img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}
.post-text .table-wrapper {
  overflow-x: auto;
  margin: 12px 0 24px;
}
.post-text .params-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.post-text .params-section th,
.post-text .params-section td {
  border: 1px solid var(--clr-border);
  padding: 10px 12px;
  text-align: left;
}
.post-text .params-section thead {
  background: var(--clr-primary);
  color: var(--clr-white);
}
.post-text .params-section thead th {
  font-weight: 600;
  color: var(--clr-white);
}
.post-text .params-section tbody tr:nth-child(even) {
  background: var(--clr-soft);
}

/* ============ 4. features-section（产品特性区） ============ */
.post-text .features-section { padding: 24px 0; }
.post-text .feature-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--clr-soft);
  border-radius: 8px;
  border-left: 4px solid var(--clr-primary);
}
.post-text .feature-item:nth-child(even) { flex-direction: row-reverse; }
.post-text .feature-item img {
  flex: 0 0 280px;
  max-width: 280px;
  width: 100%;
  border-radius: 6px;
}
.post-text .feature-item > div {
  flex: 1 1 280px;
  min-width: 280px;
}
.post-text .feature-item h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--clr-navy);
  margin: 0 0 8px;
  font-weight: 600;
}
.post-text .feature-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}
@media (max-width: 767px) {
  .post-text .feature-item,
  .post-text .feature-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-text .feature-item img {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

/* ============ 5/6. application-section / pellet-display-section ============ */
/* 桌面端固定 3 列，移动端 2 列 */
.post-text .app-grid,
.post-text .pellet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.post-text .app-grid img,
.post-text .pellet-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.35s ease;
  cursor: pointer;
}
.post-text .app-grid img:hover,
.post-text .pellet-grid img:hover {
  transform: scale(1.04);
}
@media (max-width: 767px) {
  .post-text .app-grid,
  .post-text .pellet-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .post-text .app-grid img,
  .post-text .pellet-grid img {
    height: 110px;
  }
}

/* ============ 7. money-section（盈利方法区） ============ */
.post-text .money-section > img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px;
  display: block;
  border-radius: 8px;
}
.post-text .money-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.post-text .money-step {
  border: 1px solid var(--clr-border);
  padding: 20px;
  border-radius: 8px;
  background: var(--clr-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}
.post-text .money-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: 50%;
  margin-bottom: 12px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 18px;
}
.post-text .money-step h3 {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--clr-navy);
  margin: 0 0 10px;
  font-weight: 600;
}
.post-text .money-step p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 12px;
}
.post-text .money-step img {
  width: 100%;
  border-radius: 6px;
}

/* ============ 8. faq-section ============ */
.post-text .faq-section { padding: 24px 0; }
.post-text .faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-primary);
  padding: 16px 20px;
  border-radius: 4px;
  background: var(--clr-soft);
}
.post-text .faq-item h3 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--clr-navy);
  margin: 0 0 8px;
  font-weight: 600;
}
.post-text .faq-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
