@charset "utf-8";
/* =============================================================================
   樽诺财务官网 · 二级页面样式
   -----------------------------------------------------------------------------
   依赖 css/main.css 中的设计令牌与页头/页脚样式，本文件只提供内页专用组件：
     01. 面包屑与内页首屏
     02. 内页三段式布局（正文 + 侧栏）
     03. 正文排版 .prose
     04. 优势卡片 / 流程步骤 / 材料清单 / 数据表格
     05. 常见问题（details 折叠，自带可抓取内容）
     06. 侧栏卡片 / 相关服务 / CTA
     07. 列表页（知识栏目、公司新闻）与筛选
     08. 工具页（贷款计算器、公司核名）
     09. 搜索结果页
     10. 文章详情页
   ========================================================================== */

/* ========================= 01. 面包屑与内页首屏 ========================= */
.crumb-bar { width: 100%; background: #fafafa; border-bottom: 1px solid var(--line-2); }
.crumb { padding: 14px 0; font-size: 14px; color: var(--ink-3); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; }
.crumb li { display: flex; align-items: center; }
.crumb li + li::before { content: ">"; margin: 0 8px; color: #c4c4c4; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--brand); }
.crumb [aria-current="page"] { color: var(--ink-2); }

.page-hero {
  position: relative;
  width: 100%;
  padding: 56px 0 62px;
  color: #fff;
  background: var(--grad-brand);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
}
.page-hero h1 { font-size: 40px; line-height: 1.25; letter-spacing: 1px; }
.page-hero .hero-sub { margin-top: 16px; max-width: 760px; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, 0.92); }
.page-hero .hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-hero .hero-tags span {
  padding: 6px 14px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
}
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.btn {
  display: inline-block;
  padding: 0 28px;
  height: 46px;
  font-size: 16px;
  line-height: 46px;
  text-align: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--t-base);
}
.btn-primary { color: #fff; background: #fff; color: var(--brand); font-weight: bold; }
.btn-primary:hover { background: var(--brand-tint-2); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.26); }
.btn-solid { color: #fff; background: var(--brand); }
.btn-solid:hover { background: var(--brand-2); }
.btn-block { display: block; width: 100%; }

/* ======================= 02. 内页三段式布局 ======================= */
.page-body { padding: 44px 0 70px; }
.page-body .lin-content { display: flex; align-items: flex-start; gap: 40px; }
.page-main { flex: 1 1 auto; min-width: 0; }
.page-side { flex: 0 0 300px; width: 300px; }

/* ========================= 03. 正文排版 ========================= */
.prose { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  position: relative;
  margin-top: 46px;
  padding-left: 14px;
  font-size: 24px;
  line-height: 34px;
  color: var(--ink);
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 4px; height: 24px;
  background: var(--brand-2);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; list-style: revert; }
.prose li + li { margin-top: 8px; }
.prose blockquote {
  padding: 16px 20px;
  color: var(--ink-2);
  background: var(--brand-tint-1);
  border-left: 4px solid var(--brand-2);
  border-radius: 0 6px 6px 0;
}
.prose .lead { font-size: 16px; color: var(--ink); }

/* ================= 04. 卡片 / 步骤 / 清单 / 表格 ================= */
.block { margin-top: 46px; }
.block-title { position: relative; padding-left: 14px; margin-bottom: 24px; font-size: 24px; line-height: 34px; color: var(--ink); }
.block-title::before { content: ""; position: absolute; left: 0; top: 5px; width: 4px; height: 24px; background: var(--brand-2); }

.card-grid { display: grid; gap: 18px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.card h3, .card .card-title { font-size: 17px; color: var(--ink); }
.card p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--ink-3); }
.card .card-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 10px;
}

/* 流程步骤 */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: step; }
.step {
  position: relative;
  padding: 20px 20px 20px 66px;
  background: #fafafa;
  border: 1px solid var(--line-2);
  border-radius: 10px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px; top: 20px;
  width: 32px; height: 32px;
  font-size: 15px;
  font-weight: bold;
  line-height: 32px;
  color: #fff;
  text-align: center;
  background: var(--brand);
  border-radius: 50%;
}
.step h3 { font-size: 16px; color: var(--ink); }
.step p { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--ink-3); }

/* 材料清单 */
.check-list { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  background: #fafafa;
  border-radius: 8px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 14px; top: 15px;
  width: 6px; height: 11px;
  border-bottom: 2px solid var(--brand-2);
  border-right: 2px solid var(--brand-2);
  transform: rotate(40deg);
}

/* 数据表格 */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 13px 14px; text-align: left; border: 1px solid var(--line-2); }
.data-table th { font-weight: bold; color: var(--ink); background: #fafafa; }
.data-table td { color: var(--ink-2); }
.data-table tbody tr:hover td { background: var(--brand-tint-5); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ========================= 05. 常见问题 ========================= */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.faq-item > summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-bottom: 2px solid var(--ink-3);
  border-right: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t-base);
}
.faq-item[open] > summary { color: var(--brand); font-weight: bold; }
.faq-item[open] > summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--brand); }
.faq-item > summary:hover { color: var(--brand); }
.faq-item .faq-answer { padding: 0 18px 18px; font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* ========================= 06. 侧栏与 CTA ========================= */
.side-card { margin-bottom: 20px; padding: 20px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; }
.side-card > h2, .side-card > .side-title {
  position: relative;
  padding-left: 12px;
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--ink);
}
.side-card > h2::before, .side-card > .side-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 4px; height: 18px;
  background: var(--brand-2);
}
.side-links li + li { margin-top: 10px; }
.side-links a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink-2);
  background: #fafafa;
  border-radius: 6px;
}
.side-links a:hover { color: #fff; background: var(--brand); }
.side-contact { font-size: 14px; color: var(--ink-2); }
.side-contact .tel { display: block; margin: 6px 0 12px; font-size: 24px; font-weight: bold; color: var(--brand); }
.side-contact p + p { margin-top: 6px; }
.side-card.is-brand { color: #fff; background: var(--grad-brand); border: 0; }
.side-card.is-brand .side-title { color: #fff; }
.side-card.is-brand .side-title::before { background: #fff; }
.side-card.is-brand p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, 0.92); }
.side-card.is-brand .btn { margin-top: 14px; background: #fff; color: var(--brand); font-weight: bold; }
.side-card.is-brand .btn:hover { background: var(--brand-tint-2); }

.related-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.related-chips a {
  padding: 9px 16px;
  font-size: 14px;
  color: var(--ink-2);
  background: #fafafa;
  border: 1px solid var(--line-2);
  border-radius: 20px;
}
.related-chips a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }

.cta-band { margin-top: 50px; padding: 34px 36px; background: var(--grad-brand); border-radius: 12px; }
.cta-band h2 { font-size: 24px; color: #fff; }
.cta-band p { margin-top: 10px; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, 0.92); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.cta-band .btn-white { color: var(--brand); background: #fff; font-weight: bold; }
.cta-band .btn-white:hover { background: var(--brand-tint-2); }
.cta-band .btn-line { color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.6); }
.cta-band .btn-line:hover { background: rgba(255, 255, 255, 0.26); }

/* 内联咨询表单（复用首页字段样式，但改为浅色卡片） */
.inline-form { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inline-form .full { grid-column: 1 / -1; }
.inline-form label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--ink); }
.inline-form input, .inline-form textarea, .inline-form select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.inline-form textarea { height: 96px; padding: 10px 12px; line-height: 1.7; resize: vertical; }
.inline-form input:focus, .inline-form textarea:focus, .inline-form select:focus { border-color: var(--brand); outline: none; }
.field-error { display: none; margin-top: 6px; font-size: 12px; color: var(--brand-2); }
.field-error.is-visible { display: block; }

/* ================= 07. 列表页与筛选 ================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px; margin-bottom: 24px; background: #fafafa; border-radius: 10px; }
.filter-bar button {
  padding: 8px 18px;
  font-size: 14px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
}
.filter-bar button:hover { color: var(--brand); border-color: var(--brand); }
.filter-bar button.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }

.list-articles { display: grid; gap: 16px; }
.list-articles li { padding: 20px 22px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; transition: box-shadow 0.3s, transform 0.3s; }
.list-articles li:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.list-articles h3 { font-size: 17px; line-height: 1.6; color: var(--ink); }
.list-articles h3 a:hover { color: var(--brand); }
.list-articles .meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.list-articles .meta .tag { padding: 2px 10px; color: var(--brand); background: var(--brand-tint-3); border-radius: 10px; }
.list-articles .excerpt { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.pager li {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  line-height: 34px;
  color: var(--ink-2);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  cursor: pointer;
}
.pager li:hover { color: var(--brand); border-color: var(--brand); }
.pager li.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
.pager li.is-disabled { opacity: 0.5; cursor: not-allowed; }
.pager li.is-dots { border-color: transparent; background: transparent; cursor: default; }

/* ================= 08. 工具页 ================= */
.tool-panel { padding: 26px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; }
.tool-form { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-form .full { grid-column: 1 / -1; }
.tool-form label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--ink); }
.tool-form input, .tool-form select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.tool-form input:focus, .tool-form select:focus { border-color: var(--brand); outline: none; }
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 0; cursor: pointer; }

.result-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; }
.result-item { padding: 20px; text-align: center; background: var(--brand-tint-1); border-radius: 10px; }
.result-item .label { font-size: 14px; color: var(--ink-3); }
.result-item .value { margin-top: 8px; font-size: 26px; font-weight: bold; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.schedule-wrap { max-height: 420px; margin-top: 26px; overflow: auto; border: 1px solid var(--line-2); border-radius: 10px; }
.schedule-wrap table { border-collapse: collapse; width: 100%; font-size: 13px; }
.schedule-wrap th, .schedule-wrap td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.schedule-wrap th:first-child, .schedule-wrap td:first-child { text-align: left; }
.schedule-wrap thead th { position: sticky; top: 0; background: #fafafa; z-index: 1; }

/* ================= 09. 搜索结果页 ================= */
.search-box-lg { display: flex; gap: 12px; max-width: 720px; }
.search-box-lg input {
  flex: 1 1 auto;
  height: 48px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.search-box-lg input:focus { border-color: var(--brand); outline: none; }
.search-box-lg button { flex: 0 0 auto; height: 48px; padding: 0 30px; font-size: 16px; color: #fff; background: var(--brand); border: 0; border-radius: 8px; }
.search-box-lg button:hover { background: var(--brand-2); }
.search-empty { padding: 40px 0; font-size: 15px; color: var(--ink-3); text-align: center; }
mark { padding: 0 2px; color: var(--brand); background: var(--brand-tint-4); border-radius: 2px; }

/* ================= 10. 文章详情页 ================= */
.article-head { padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.article-head h1 { font-size: 30px; line-height: 1.45; color: var(--ink); }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.article-body { margin-top: 26px; }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; font-size: 14px; border-top: 1px solid var(--line-2); }
.article-nav a { color: var(--ink-2); }
.article-nav a:hover { color: var(--brand); }

/* ================= 服务场景照片组 =================
   照片来自原站素材（中性商务照片，无烘焙文案、无旧品牌字样）。
   统一固定高度 + object-fit: cover，避免不同原始比例把网格撑乱。 */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-soft);
}
.photo-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* ================= 通用：内页窄屏适配 ================= */
@media screen and (max-width: 1199px) {
  .page-body .lin-content { flex-direction: column; gap: 28px; }
  .page-side { flex: 1 1 auto; width: 100%; }
  .page-hero { padding: 36px 0 40px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero .hero-sub { font-size: 15px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4,
  .steps, .check-list, .inline-form, .tool-form { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .data-table { display: block; overflow-x: auto; }
  .cta-band { padding: 24px 20px; }
}
@media screen and (max-width: 760px) {
  .page-body .lin-content { padding-left: 0; padding-right: 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card img { height: 210px; }
}
