/* ==========================================================================
   内页样式（栏目列表页 / 文章详情页）
   依赖 home.css 的变量与头部导航、页脚样式
   ========================================================================== */

/* ---------- 内页页头 ---------- */
.page-head {
  position: relative;
  padding: 54px 0 46px;
  background: linear-gradient(135deg, #16203a 0%, #1f2c44 55%, #2a3550 100%);
  overflow: hidden;
}
.page-head-bg { position: absolute; inset: 0; pointer-events: none; }
.ph-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.ph-glow-a {
  width: 340px; height: 340px;
  background: rgba(255,182,0,.20);
  top: -140px; right: 8%;
}
.ph-glow-b {
  width: 300px; height: 300px;
  background: rgba(74,131,255,.16);
  bottom: -160px; left: 4%;
}
.page-head .wrap { position: relative; }
.page-head h1 {
  font-size: 32px;
  color: #fff;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.crumb {
  font-size: 13px;
  color: rgba(255,255,255,.68);
}
.crumb a { color: rgba(255,255,255,.68); }
.crumb a:hover { color: var(--brand); }

/* 面包屑条（详情页用） */
.crumb-bar {
  background: #f6f7f9;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.crumb-bar .crumb { color: var(--ink-3); }
.crumb-bar .crumb a { color: var(--ink-3); }
.crumb-bar .crumb a:hover { color: var(--brand-600); }

/* ---------- 主体布局 ---------- */
.inner-body { padding: 48px 0 64px; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

/* ---------- 文章列表 ---------- */
.art-list { display: flex; flex-direction: column; gap: 18px; }
.art-item {
  display: flex;
  gap: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.art-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20,30,50,.09);
  border-color: rgba(255,182,0,.5);
}
.art-pic {
  flex: 0 0 220px;
  height: 148px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(150deg, #f7f9fc, #eef1f6);
  display: grid;
  place-items: center;
}
.art-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.art-item:hover .art-pic img { transform: scale(1.05); }
.art-pic-ph { font-size: 14px; color: var(--ink-3); letter-spacing: 1px; }

.art-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.art-info h2 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color .16s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-item:hover .art-info h2 { color: var(--brand-600); }
.art-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-3);
}
.art-meta .dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand);
  margin-right: 6px;
  vertical-align: middle;
}
.art-more {
  margin-left: auto;
  color: var(--brand-600);
  font-weight: 600;
}
.art-more i { font-style: normal; }

/* ---------- 分页 ---------- */
.pager { margin-top: 32px; display: flex; justify-content: center; }
.pager ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.pager li {
  list-style: none;
}
.pager li a,
.pager li span,
.pager .active {
  display: inline-block;
  min-width: 36px;
  padding: 7px 12px;
  text-align: center;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  transition: all .16s ease;
}
.pager li a:hover {
  border-color: var(--brand);
  color: var(--brand-600);
}
.pager .active,
.pager li.active a,
.pager li.active span {
  background: var(--brand);
  border-color: var(--brand);
  color: #241a00;
  font-weight: 600;
}
.pager li.disabled span { opacity: .5; }
.pagination_info {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- 文章详情 ---------- */
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 44px 34px;
}
.article-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.article-head h1 {
  font-size: 27px;
  line-height: 1.45;
  margin-bottom: 14px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-3);
}
.article-meta a { color: var(--brand-600); }

/* 正文排版（内容由编辑器产出，需兜底规范） */
.article-content {
  font-size: 16px;
  line-height: 1.95;
  color: #33383f;
}
.article-content p { margin: 0 0 18px; }
.article-content h2 {
  font-size: 21px;
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
  color: var(--ink);
}
.article-content h3 {
  font-size: 18px;
  margin: 26px 0 12px;
  color: var(--ink);
}
.article-content h4 { font-size: 16px; margin: 22px 0 10px; }
.article-content ul,
.article-content ol { margin: 0 0 18px; padding-left: 24px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: var(--brand-600); }
.article-content a { color: var(--brand-600); text-decoration: underline; }
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}
.article-content blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  background: var(--brand-100);
  border-left: 4px solid var(--brand);
  color: var(--ink-2);
  font-size: 15px;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.article-content th,
.article-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
.article-content th { background: #f6f7f9; font-weight: 600; }
.article-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

/* 单页封面图 */
.article-cover {
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
}
.article-cover img { width: 100%; height: auto; display: block; }

/* 单页底部转化条 */
.page-cta {
  margin-top: 32px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(120deg, #fffdf6, #fff8ea);
  border: 1px solid #f2e3bf;
  border-radius: var(--radius);
}
.page-cta-txt { flex: 1; min-width: 0; }
.page-cta-txt strong { display: block; font-size: 16px; margin-bottom: 4px; }
.page-cta-txt span { font-size: 13px; color: var(--ink-2); }
.page-cta .btn { flex: 0 0 auto; }

/* 标签 */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.article-tags a {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.article-tags a:hover {
  border-color: var(--brand);
  color: var(--brand-600);
}

/* 上下篇 */
.article-prenext {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.pn {
  font-size: 14px;
  color: var(--ink-2);
  padding: 10px 14px;
  background: var(--soft);
  border-radius: 8px;
  transition: color .16s ease, background .16s ease;
}
.pn:hover { color: var(--brand-600); background: var(--brand-100); }
.pn i { font-style: normal; }
.pn.disabled { opacity: .6; }

/* ---------- 侧边栏 ---------- */
.side-col { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 88px; }
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.side-title {
  font-size: 16px;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  line-height: 1.2;
  margin-bottom: 14px;
}
.side-nav li { border-bottom: 1px dashed #f1f3f6; }
.side-nav li:last-child { border-bottom: none; }
.side-nav a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .16s ease, padding-left .16s ease;
}
.side-nav a:hover { color: var(--brand-600); padding-left: 4px; }
.side-nav li.active a { color: var(--brand-600); font-weight: 600; }

.side-hot li { border-bottom: 1px dashed #f1f3f6; }
.side-hot li:last-child { border-bottom: none; }
.side-hot a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}
.side-hot-pic {
  flex: 0 0 62px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
}
.side-hot-pic img { width: 100%; height: 100%; object-fit: cover; }
.side-hot-txt {
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-hot a:hover .side-hot-txt { color: var(--brand-600); }

.side-cta {
  background: linear-gradient(160deg, #fffdf7, #fff);
  border-color: #f0e2c0;
}
.side-cta p { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.side-phone {
  font-size: 26px !important;
  font-weight: 800;
  color: var(--brand-600) !important;
  letter-spacing: .5px;
  margin: 8px 0 2px !important;
}
.side-note { font-size: 12px !important; color: var(--ink-3) !important; margin-bottom: 16px !important; }
.side-cta .btn { display: block; text-align: center; }

/* ---------- 单页内容模块 ---------- */
/* 汇总数据条 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 26px;
}
.stat-row div {
  background: linear-gradient(160deg, #fffdf6, #fff);
  border: 1px solid #f1e3c1;
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}
.stat-row strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-600);
  line-height: 1.25;
}
.stat-row span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 5px;
}

/* 高亮强调块（创始人背景） */
.hl-box {
  margin: 24px 0;
  padding: 20px 24px;
  background: linear-gradient(120deg, #fffdf5, #fff8e9);
  border: 1px solid #f2e3bf;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
}
.hl-box h2,
.hl-box h3 { margin-top: 0 !important; }
.hl-box p:last-child { margin-bottom: 0; }

/* 通用卡网格 */
.mod-grid { display: grid; gap: 16px; margin: 20px 0 26px; }
.mod-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mod-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mod-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(20,30,50,.08);
  border-color: rgba(255,182,0,.5);
}
.mod-card h3 { margin: 0 0 8px !important; font-size: 16px; }
.mod-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.mod-card .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--brand-100);
  color: var(--brand-600);
  border-radius: 11px;
  font-size: 18px;
  margin-bottom: 12px;
}

/* 服务流程步骤 */
.flow { margin: 22px 0 26px; counter-reset: step; }
.flow li {
  position: relative;
  list-style: none;
  padding: 0 0 18px 46px;
  margin: 0;
  border-left: 2px solid #f0e2c2;
}
.flow li:last-child { border-left-color: transparent; padding-bottom: 0; }
.flow li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -17px; top: -2px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #241a00;
  font-size: 15px; font-weight: 800;
  border-radius: 50%;
}
.flow li strong { display: block; font-size: 16px; margin-bottom: 3px; }
.flow li span { font-size: 14px; color: var(--ink-2); }

/* 联系信息面板 */
.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0 26px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.contact-item .ico {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--brand-100);
  color: var(--brand-600);
  border-radius: 10px;
  font-size: 17px;
}
.contact-item .txt { min-width: 0; }
.contact-item .lbl {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 3px;
}
.contact-item .val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  word-break: break-all;
}
.contact-item .val a { color: var(--ink); text-decoration: none; }
.contact-item .val a:hover { color: var(--brand-600); }

/* 常见问题 FAQ */
.faq { margin: 22px 0 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq dt {
  padding: 13px 18px;
  background: var(--soft);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.faq dd {
  margin: 0;
  padding: 13px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.85;
  border-bottom: 1px solid var(--line);
}
.faq dd:last-child { border-bottom: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .mod-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .page-head { padding: 38px 0 32px; }
  .page-head h1 { font-size: 25px; }
  .art-item { flex-direction: column; }
  .art-pic { flex: none; width: 100%; height: 180px; }
  .article { padding: 26px 20px 22px; }
  .article-head h1 { font-size: 22px; }
  .article-content { font-size: 15px; }
  .mod-grid-2,
  .mod-grid-3,
  .mod-grid-4 { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .hl-box { padding: 16px 18px; }
}
