/* 渝车回收 - 文章通用样式 */
/* 配色与首页一致：绿色主色调，无卡片感，纯文字流 */

:root {
  --green: #00C250;
  --green-dark: #00A844;
  --text: #222;
  --text2: #666;
  --text3: #999;
  --bg: #F5F7FA;
  --white: #fff;
  --border: #EBEDF0;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== 导航栏（与首页一致） ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.nav-logo span {
  color: var(--green);
}

.nav-tel {
  font-size: 15px;
}

.nav-tel a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

/* ===== 文章容器 ===== */
.article-wrap,
body > article {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 12px;
  padding-top: 32px;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text3);
  margin: 0 6px;
}

/* ===== 文章头部 ===== */
.article-header h1,
body > article h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.meta {
  font-size: 14px;
  color: var(--text3);
  margin-bottom: 32px;
}

.meta .tag {
  display: inline-block;
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

.meta time {
  margin-left: 8px;
}

/* ===== 文章正文 - 纯文字流，无卡片感 ===== */
.article-body {
  max-width: 100%;
  padding: 0;
}

.article-body p,
body > article p {
  margin: 16px 0;
  color: var(--text2);
  font-size: 16px;
  line-height: 1.8;
}

/* ===== 标题 ===== */
.article-body h2,
body > article h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  color: var(--text);
}

.article-body h3,
body > article h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text);
}

/* ===== 列表 ===== */
.article-body ul, .article-body ol,
body > article ul, body > article ol {
  margin: 12px 0;
  padding-left: 24px;
}

.article-body li,
body > article li {
  margin: 8px 0;
  color: var(--text2);
  font-size: 16px;
  line-height: 1.7;
}

.article-body li strong,
.article-body strong,
body > article li strong,
body > article strong {
  color: var(--green);
  font-weight: 600;
}

/* ===== 图片 ===== */
.article-body img,
body > article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

/* ===== 表格 ===== */
.article-body table,
body > article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--border);
}

.article-body th,
body > article th {
  background: var(--green);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

.article-body td,
body > article td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}

.article-body tr:last-child td,
body > article tr:last-child td {
  border-bottom: none;
}

.article-body tr:nth-child(even) td,
body > article tr:nth-child(even) td {
  background: var(--bg);
}

/* ===== 提示框 ===== */
.article-body .tip,
.note {
  background: var(--bg);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

.article-body .tip strong,
.note strong {
  color: var(--green);
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
  margin: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item .faq-q {
  padding: 14px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.faq-item .faq-a {
  padding: 0 0 14px;
  font-size: 15px;
  color: var(--text2);
}

/* ===== CTA 区块 ===== */
.cta-section {
  margin: 40px 0 0;
  background: linear-gradient(135deg, var(--bg), #E8F8EE);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
}

.cta-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cta-section .cta-desc {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 20px;
}

.cta-section .form-row {
  margin-bottom: 12px;
}

.cta-section input {
  width: 100%;
  max-width: 360px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  background: var(--white);
}

.cta-section input:focus {
  border-color: var(--green);
}

.cta-section .cta-btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 12px 40px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  min-width: 200px;
  text-decoration: none;
}

.cta-section .cta-btn:hover {
  background: var(--green-dark);
}

/* ===== 相关文章 ===== */
.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.related-list {
  display: grid;
  gap: 12px;
}

.related-item {
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.related-item:hover {
  background: #E8F8EE;
}

.related-item .related-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.related-item .related-desc {
  font-size: 13px;
  color: var(--text3);
  margin-top: 4px;
}

/* ===== 底部版权 ===== */
.article-footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  color: var(--text3);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

/* ===== 页脚（与首页一致） ===== */
.footer {
  background: #1A1A1A;
  padding: 32px 24px;
  text-align: center;
  color: #999;
  font-size: 13px;
  line-height: 2.2;
}

.footer-tel {
  font-size: 20px;
  font-weight: 700;
}

.footer-tel a {
  color: var(--green);
  text-decoration: none;
}

.copy-btn {
  background: none;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 14px;
  border-radius: 6px;
  font-family: inherit;
  margin-left: 12px;
  vertical-align: middle;
  transition: all .2s;
}

.copy-btn:hover {
  background: var(--green);
  color: #fff;
}

/* ===== 响应式 ===== */
@media (max-width: 640px) {
  .article-wrap {
    padding: 0 16px 40px;
  }

  .breadcrumb {
    padding-top: 24px;
    font-size: 12px;
  }

  .article-header h1 {
    font-size: 22px;
  }

  .meta {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .article-body p {
    font-size: 15px;
  }

  .article-body h2 {
    font-size: 19px;
  }

  .cta-section {
    padding: 24px 20px;
  }

  .cta-section input {
    max-width: 100%;
  }

  .nav {
    padding: 0 16px;
    height: 52px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-tel {
    font-size: 13px;
  }

  .footer {
    padding: 24px 16px;
    font-size: 12px;
  }

  .footer-tel {
    font-size: 18px;
  }
}
