/* ============================================================
   tiku-shigong.css · 施工员题库（重构版，tk- 前缀）
   题头形态②：左右分栏（左文右图）
   区块序列：表格框架 / 序号考点卡 / 折叠示例题 / 横向步骤流 / zigzag错题 / 横向时间轴 / FAQ / CTA
   ============================================================ */

/* ---------- 题头：左右分栏 ---------- */
.tk-hero{ padding:130px 0 70px; background:linear-gradient(180deg, var(--bg-orange) 0%, #fff 100%); }
.tk-hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:48px; align-items:center; }
.tk-crumbs{ display:flex; flex-wrap:wrap; gap:8px; font-size:13px; color:var(--ink-3); margin-bottom:16px; }
.tk-crumbs a{ color:var(--ink-2); }
.tk-crumbs .sep{ color:var(--line); }
.tk-kicker{
  display:inline-block; font-size:12.5px; font-weight:800; letter-spacing:2px; color:var(--orange-deep);
  background:var(--orange-soft); padding:6px 14px; border-radius:999px; margin-bottom:16px;
}
.tk-title{ font-size:42px; font-weight:800; line-height:1.3; }
.tk-sub{ margin-top:16px; font-size:15.5px; line-height:1.95; color:var(--ink-2); }
.tk-actions{ margin-top:26px; display:flex; flex-wrap:wrap; gap:14px; }
.tk-photo{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); border:6px solid #fff; }
.tk-photo img{ width:100%; height:340px; object-fit:cover; }
.tk-photo figcaption{ background:var(--ink); color:#cfe3d8; font-size:13px; padding:11px 18px; }

/* ---------- 通用区块 ---------- */
.tk-sec{ padding:72px 0; }
.tk-table-sec{ background:var(--bg-soft); }

/* ---------- 表格 ---------- */
.tk-table-wrap{ margin-top:32px; overflow-x:auto; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.tk-table{ width:100%; border-collapse:collapse; background:#fff; min-width:640px; }
.tk-table th{
  background:linear-gradient(135deg,var(--orange),var(--orange-deep)); color:#fff;
  text-align:left; padding:14px 18px; font-size:14.5px; letter-spacing:1px;
}
.tk-table td{ padding:14px 18px; font-size:14px; color:var(--ink-2); border-bottom:1px solid var(--line); line-height:1.7; }
.tk-table tbody tr:nth-child(even){ background:var(--bg-orange); }
.tk-table tbody tr:hover{ background:var(--green-soft); }
.tk-ch{ font-weight:700; color:var(--ink); white-space:nowrap; }

/* ---------- 序号考点卡 ---------- */
.tk-pts{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px; }
.tk-pt{
  position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:26px 24px; box-shadow:var(--shadow-sm); transition:transform .3s ease, box-shadow .3s ease;
}
.tk-pt:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--green-2); }
.tk-pt-no{
  position:absolute; top:16px; right:18px; font-size:34px; font-weight:800; color:var(--line); line-height:1;
}
.tk-pt h3{ font-size:17px; margin-bottom:10px; padding-right:44px; }
.tk-pt p{ font-size:14px; color:var(--ink-2); line-height:1.85; }

/* ---------- 折叠示例题 ---------- */
.tk-demo-sec{ background:var(--bg-green); }
.tk-demo{ margin-top:32px; max-width:900px; }
.tk-d-item{
  background:#fff; border-radius:var(--radius); margin-bottom:14px; overflow:hidden;
  border-left:5px solid var(--orange); box-shadow:var(--shadow-sm);
}
.tk-d-item:nth-child(2){ border-left-color:var(--green); }
.tk-demo .acc-head{
  width:100%; text-align:left; padding:18px 22px; font-size:16px; font-weight:700;
  display:flex; justify-content:space-between; align-items:center; gap:14px;
}
.tk-demo .acc-head::after{
  content:"+"; flex-shrink:0; width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:18px;
  background:var(--orange-soft); color:var(--orange-deep); transition:transform .3s ease;
}
.tk-d-item.open .acc-head::after{ transform:rotate(45deg); background:var(--green-soft); color:var(--green-deep); }
.tk-demo .acc-panel{ display:none; padding:0 22px 20px; }
.tk-d-item.open .acc-panel{ display:block; }
.tk-demo .acc-panel h3{ font-size:15.5px; line-height:1.7; margin-bottom:12px; }
.tk-opts{ margin-bottom:12px; }
.tk-opts li{ font-size:14px; color:var(--ink-2); background:var(--bg-soft); border-radius:8px; padding:7px 14px; margin-bottom:7px; }
.tk-ans{ font-size:13.5px; color:var(--green-deep); background:var(--green-soft); border-radius:10px; padding:11px 15px; line-height:1.8; }

/* ---------- 横向步骤流 ---------- */
.tk-flow-sec{ background:#fff; }
.tk-flow{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:36px; counter-reset:tkf; }
.tk-flow li{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 22px;
  position:relative; box-shadow:var(--shadow-sm);
}
.tk-flow li::after{
  content:"→"; position:absolute; right:-16px; top:50%; transform:translateY(-50%);
  font-size:20px; font-weight:800; color:var(--orange); z-index:2;
}
.tk-flow li:last-child::after{ display:none; }
.tk-flow-no{
  display:inline-block; font-size:13px; font-weight:800; color:#fff;
  background:linear-gradient(135deg,var(--green),var(--green-deep)); padding:5px 12px; border-radius:999px; margin-bottom:12px;
}
.tk-flow li:nth-child(even) .tk-flow-no{ background:linear-gradient(135deg,var(--orange),var(--orange-deep)); }
.tk-flow h3{ font-size:16.5px; margin-bottom:8px; }
.tk-flow p{ font-size:13.5px; color:var(--ink-2); line-height:1.8; }

/* ---------- 错题 zigzag ---------- */
.tk-wrong-sec{ background:var(--bg-orange); }
.tk-w-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:48px; align-items:center; }
.tk-w-photo{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); }
.tk-w-photo img{ width:100%; height:360px; object-fit:cover; }
.tk-w-list{ margin-top:20px; display:flex; flex-direction:column; gap:14px; }
.tk-w-list li{ background:#fff; border-radius:var(--radius); padding:16px 20px; box-shadow:var(--shadow-sm); border-left:4px solid var(--green); }
.tk-w-list b{ font-size:15px; color:var(--green-deep); }
.tk-w-list p{ font-size:14px; color:var(--ink-2); margin-top:4px; line-height:1.8; }

/* ---------- 横向时间轴 ---------- */
.tk-tl-sec{ background:#fff; }
.tk-tl{
  margin-top:40px; display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;
}
.tk-tl::before{
  content:""; position:absolute; top:27px; left:5%; right:5%; height:3px;
  background:linear-gradient(90deg,var(--orange),var(--green)); border-radius:3px;
}
.tk-tl-item{ position:relative; padding:0 14px; text-align:center; }
.tk-tl-wk{
  position:relative; z-index:2; display:inline-block; min-width:96px;
  font-weight:800; font-size:14.5px; color:#fff; padding:10px 12px; border-radius:999px;
  background:linear-gradient(135deg,var(--orange),var(--orange-deep)); box-shadow:0 6px 14px rgba(255,122,28,.3);
}
.tk-tl-item:nth-child(even) .tk-tl-wk{ background:linear-gradient(135deg,var(--green),var(--green-deep)); box-shadow:0 6px 14px rgba(18,183,106,.3); }
.tk-tl-item p{ margin-top:16px; font-size:13.5px; color:var(--ink-2); line-height:1.8; }

/* ---------- FAQ ---------- */
.tk-faq-sec{ background:var(--bg-soft); }
.tk-faq{ max-width:860px; margin:32px auto 0; }
.tk-faq .acc-item{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); margin-bottom:14px; overflow:hidden; }
.tk-faq .acc-head{ width:100%; text-align:left; padding:18px 22px; font-size:16px; font-weight:700; display:flex; justify-content:space-between; gap:14px; }
.tk-faq .acc-head::after{
  content:"+"; flex-shrink:0; width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:18px;
  background:var(--green-soft); color:var(--green-deep); transition:transform .3s ease;
}
.tk-faq .acc-item.open .acc-head::after{ transform:rotate(45deg); background:var(--orange-soft); color:var(--orange-deep); }
.tk-faq .acc-panel{ display:none; padding:0 22px 20px; }
.tk-faq .acc-item.open .acc-panel{ display:block; }
.tk-faq .acc-panel p{ font-size:14.5px; color:var(--ink-2); line-height:1.9; }
.tk-link{ color:var(--orange-deep); font-weight:700; border-bottom:1px dashed var(--orange); }

/* ---------- CTA ---------- */
.tk-cta{ background:linear-gradient(120deg, var(--green-deep), var(--green) 60%, var(--orange-deep)); }
.tk-cta-inner{ display:grid; grid-template-columns:1.4fr 1fr; gap:32px; align-items:center; padding:60px 0; color:#fff; }
.tk-cta-copy h2{ font-size:30px; font-weight:800; margin-bottom:12px; }
.tk-cta-copy p{ font-size:15px; line-height:1.9; color:rgba(255,255,255,.92); }
.tk-cta-act{ display:flex; flex-wrap:wrap; gap:14px; justify-content:flex-end; }

/* ---------- 响应式 ---------- */
@media (max-width:980px){
  .tk-title{ font-size:32px; }
  .tk-hero-grid{ grid-template-columns:1fr; gap:32px; }
  .tk-pts{ grid-template-columns:repeat(2,1fr); }
  .tk-flow{ grid-template-columns:repeat(2,1fr); }
  .tk-flow li::after{ display:none; }
  .tk-w-grid{ grid-template-columns:1fr; gap:28px; }
  .tk-tl{ grid-template-columns:1fr; gap:20px; }
  .tk-tl::before{ display:none; }
  .tk-cta-inner{ grid-template-columns:1fr; }
  .tk-cta-act{ justify-content:flex-start; }
}
@media (max-width:640px){
  .tk-pts{ grid-template-columns:1fr; }
  .tk-flow{ grid-template-columns:1fr; }
}
