/* ==========================================================================
   baoan-dayi.html 报考答疑专属样式
   母题：分组手风琴问答 / 答疑之路时间轴（邮戳方节点 + 虚线轴）
   ========================================================================== */

/* ---------- 1. 答疑头图 ---------- */
.qa-hero {
  background:
    linear-gradient(rgba(53, 47, 34, .82), rgba(53, 47, 34, .78)),
    url(../images/banner-kecheng.jpg) center/cover no-repeat;
  padding: clamp(130px, 15vw, 180px) 0 clamp(48px, 6vw, 76px);
  color: #f4f1e8; position: relative;
}
.qa-hero-inner { max-width: 820px; }
.qa-hero .crumbs a { color: var(--khaki-200); }
.qa-hero .crumbs { color: rgba(244, 241, 232, .7); margin-bottom: 22px; }
.qa-hero .eyebrow { color: var(--khaki-300); }
.qa-hero .eyebrow::before { background: var(--khaki-300); }
.qa-hero h1 { color: #fff; margin: 8px 0 18px; }
.qa-lead { font-size: 16.5px; color: #e6dfcd; max-width: 660px; }
.qa-anchor { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.qa-anchor a {
  font-size: 13.5px; color: #f4f1e8; background: rgba(255,255,255,.1);
  border: 1px solid rgba(227, 217, 194, .45); border-radius: 50px; padding: 7px 18px;
  transition: all .25s var(--ease);
}
.qa-anchor a:hover { background: var(--stamp); border-color: var(--stamp); color: #fff; transform: translateY(-2px); }

/* ---------- 2. 分组问答 ---------- */
.qa-section { background: var(--mist); }
.qa-section.alt { background: var(--paper); }
.qa-cat-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.qa-cat-head .cat-no {
  flex: none; font-family: var(--font-serif); font-size: 40px; font-weight: 700;
  color: var(--khaki-300); line-height: 1; padding-top: 8px;
}
.qa-cat-head h2 { margin-bottom: 6px; }
.qa-cat-head .lead { font-size: 15px; margin: 0; }
.faq-wrap { max-width: 880px; }

/* ---------- 3. 答疑之路时间轴：虚线轴 + 邮戳方节点 ---------- */
.qa-tl-section { background: var(--khaki-100); }
.journey-tl { max-width: 820px; margin-inline: auto; }
.journey-tl .tl-row { --tw: 96px; --aw: 50px; padding: 14px 0; }
/* 虚线轴：覆盖 base 的实线 */
.journey-tl .tl-row::before {
  background: repeating-linear-gradient(to bottom, var(--khaki-500) 0 6px, transparent 6px 12px);
}
.journey-tl .tl-time { display: flex; align-items: center; justify-content: flex-end; padding-right: 16px; }
.journey-tl .tl-time em {
  font-style: normal; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; color: var(--stamp); border: 1.5px solid var(--stamp);
  border-radius: 6px; padding: 4px 8px; transform: rotate(-3deg);
}
/* 邮戳方节点：圆角方形 + 旋转 */
.journey-tl .tl-node {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--paper); border: 1.5px solid var(--khaki-500);
  box-shadow: 0 0 0 5px var(--khaki-100); color: var(--khaki-600);
  transform: translate(-50%, -50%) rotate(4deg);
}
.journey-tl .tl-node.anim { animation: journeyFloat 3.4s ease-in-out infinite; }
@keyframes journeyFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(4deg); }
  50% { transform: translate(-50%, -56%) rotate(4deg); }
}
.journey-tl .tl-node svg { width: 19px; height: 19px; }
.journey-tl .tl-row:nth-child(odd) .tl-node { background: var(--khaki-600); color: #fff; border-color: var(--khaki-600); }
.journey-tl .tl-body { padding: 4px 0 4px 26px; }
.journey-tl .tl-body h3 { font-size: 17px; margin-bottom: 4px; }
.journey-tl .tl-body p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- 4. 更多入口提示 ---------- */
.qa-more { max-width: 880px; margin: 26px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.qa-more a { color: var(--khaki-600); font-weight: 600; border-bottom: 1px dashed var(--khaki-400); }
.qa-more a:hover { color: var(--stamp); }

/* ---------- 5. 配图带 ---------- */
.qa-photo-band { background: var(--paper); padding: clamp(30px, 4vw, 56px) 0 clamp(50px, 6vw, 80px); }
.qa-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.qa-photo-grid figure { position: relative; }
.qa-photo-grid img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.qa-photo-grid figcaption {
  position: absolute; left: 14px; bottom: 12px; background: rgba(52, 49, 41, .86); color: #efe9da;
  font-size: 12.5px; padding: 5px 14px; border-radius: 50px; letter-spacing: .05em;
}

/* ---------- CTA 复用 base.cta-band ---------- */

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .journey-tl .tl-row { --tw: 64px; --aw: 38px; }
  .journey-tl .tl-time em { font-size: 10.5px; padding: 3px 5px; }
  .journey-tl .tl-node { width: 32px; height: 32px; }
  .journey-tl .tl-node svg { width: 15px; height: 15px; }
  .journey-tl .tl-body { padding-left: 16px; }
  .qa-cat-head .cat-no { font-size: 30px; }
  .qa-photo-grid { grid-template-columns: 1fr; }
}
