/* ════════════════════════════════════════════════════
   场景页深度长文 · scenario-content
   2026-04-24
   ════════════════════════════════════════════════════ */

.scenario-content-wrap {
  padding: 32px 0 16px;
  background: #fff;
}

.scenario-content-inner {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.scenario-content {
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
}

/* H2 · 大节标题 */
.scenario-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--theme, #DC2626);
  line-height: 1.4;
}

.scenario-content h2:first-child {
  margin-top: 0;
}

.biz-yixue .scenario-content h2 {
  border-left-color: #1565C0;
}

/* H3 · 小节标题 */
.scenario-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e5e7eb;
}

/* 段落 */
.scenario-content p {
  margin: 12px 0;
  color: #334155;
}

/* 强调 */
.scenario-content strong {
  color: #0f172a;
  font-weight: 700;
}

/* 链接 */
.scenario-content a {
  color: #1565C0;
  text-decoration: none;
  transition: color .15s;
}

.scenario-content a:hover {
  color: #DC2626;
  text-decoration: underline;
}

/* 列表 */
.scenario-content ul,
.scenario-content ol {
  padding-left: 24px;
  margin: 12px 0;
}

.scenario-content ul li,
.scenario-content ol li {
  margin: 6px 0;
  line-height: 1.8;
  color: #334155;
}

.scenario-content ul li::marker {
  color: var(--theme, #DC2626);
}

/* 表格 */
.scenario-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}

.scenario-content table thead tr {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.scenario-content table th {
  color: #0f172a;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13.5px;
}

.scenario-content table td {
  padding: 11px 14px;
  color: #475569;
  border-bottom: 1px solid #eef1f4;
  line-height: 1.7;
  font-size: 13.5px;
}

.scenario-content table tr:last-child th,
.scenario-content table tr:last-child td {
  border-bottom: none;
}

.scenario-content table tr:hover td {
  background: #fafbfc;
}

/* 引用块 */
.scenario-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: #fef2f2;
  border-left: 3px solid #DC2626;
  border-radius: 0 8px 8px 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
}

.biz-yixue .scenario-content blockquote {
  background: #eff6ff;
  border-left-color: #1565C0;
}

/* 移动端 */
@media (max-width: 640px) {
  .scenario-content-inner {
    padding: 0 14px;
  }
  .scenario-content {
    font-size: 14px;
  }
  .scenario-content h2 {
    font-size: 18px;
    margin: 28px 0 12px;
  }
  .scenario-content h3 {
    font-size: 15px;
  }
  .scenario-content table {
    font-size: 12.5px;
  }
  .scenario-content table th,
  .scenario-content table td {
    padding: 9px 10px;
  }
}
