/* ============================================================
   tiku-biaozhun.css · 标准员题库（重构版，tk- 前缀）
   题头形态⑤：渐变面板 + 分类标签墙
   区块序列：家族树图文 / 三卡 / 代号示例题 / 对照双栏 / 错题卡 / 步骤流 / 问答块 / CTA
   ============================================================ */

/* ---------- 题头：渐变面板 ---------- */
.tk-panel{ padding:130px 0 56px; background:linear-gradient(120deg, var(--orange) 0%, var(--orange-deep) 45%, var(--green-deep) 110%); color:#fff; position:relative; overflow:hidden; }
.tk-panel::before{ content:""; position:absolute; left:-60px; bottom:-90px; width:280px; height:280px; border-radius:50%; background:rgba(255,255,255,.07); }
.tk-crumbs{ display:flex; flex-wrap:wrap; gap:8px; font-size:13px; color:rgba(255,255,255,.78); margin-bottom:16px; }
.tk-crumbs a{ color:#fff; }
.tk-crumbs .sep{ color:rgba(255,255,255,.4); }
.tk-title{ font-size:42px; font-weight:800; letter-spacing:1px; }
.tk-sub{ margin-top:14px; max-width:740px; font-size:15.5px; line-height:1.9; color:rgba(255,255,255,.94); }
.tk-tagwall{ margin-top:24px; display:flex; flex-wrap:wrap; gap:10px; }
.tk-tagwall a{ font-size:13px; font-weight:600; padding:8px 16px; border-radius:999px; color:#fff; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.32); transition:background .25s ease; }
.tk-tagwall a:hover{ background:#fff; color:var(--orange-deep); }

/* ---------- 通用区块 ---------- */
.tk-sec{ padding:72px 0; }

/* ---------- 家族树图文 ---------- */
.tk-tree-sec{ background:var(--bg-soft); }
.tk-tree-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:40px; align-items:start; }
.tk-tree-photo{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); position:sticky; top:90px; }
.tk-tree-photo img{ width:100%; height:280px; object-fit:cover; }
.tk-tree-photo figcaption{ background:var(--ink); color:#cfe3d8; font-size:13px; padding:11px 18px; }
.tk-tree-list{ margin-top:18px; display:flex; flex-direction:column; gap:14px; }
.tk-tree-list li{ background:#fff; border-radius:var(--radius); padding:16px 20px; box-shadow:var(--shadow-sm); border-left:4px solid var(--green); }
.tk-tree-list li:nth-child(even){ border-left-color:var(--orange); }
.tk-tree-list b{ font-size:15px; }
.tk-tree-list p{ font-size:14px; color:var(--ink-2); margin-top:4px; line-height:1.8; }

/* ---------- 三卡 ---------- */
.tk-three-sec{ background:#fff; }
.tk-three{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px; }
.tk-three-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px 24px;
  box-shadow:var(--shadow-sm); text-align:center; transition:transform .3s ease, box-shadow .3s ease;
}
.tk-three-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--orange-2); }
.tk-three-code{
  display:inline-block; font-size:22px; font-weight:800; color:#fff; padding:10px 22px; border-radius:12px;
  background:linear-gradient(135deg,var(--orange),var(--orange-deep)); margin-bottom:16px; letter-spacing:2px;
}
.tk-three-card:nth-child(2) .tk-three-code{ background:linear-gradient(135deg,var(--green),var(--green-deep)); }
.tk-three-card:nth-child(3) .tk-three-code{ background:linear-gradient(135deg,#5b6b62,var(--ink)); }
.tk-three-card h3{ font-size:17px; margin-bottom:8px; }
.tk-three-card p{ font-size:13.5px; color:var(--ink-2); line-height:1.8; }

/* ---------- 示例题 ---------- */
.tk-demo-sec{ background:var(--bg-orange); }
.tk-d-list{ max-width:900px; margin-top:32px; display:grid; gap:20px; }
.tk-d-item{ background:#fff; border-radius:var(--radius-lg); padding:28px 30px; box-shadow:var(--shadow-sm); border-right:5px solid var(--orange); }
.tk-d-item:nth-child(2){ border-right-color:var(--green); }
.tk-d-tag{ display:inline-block; font-size:12.5px; font-weight:700; color:#fff; background:var(--ink); padding:5px 12px; border-radius:6px; margin-bottom:14px; letter-spacing:1px; }
.tk-d-item h3{ font-size:16.5px; line-height:1.7; margin-bottom:14px; }
.tk-opts{ margin-bottom:14px; }
.tk-opts li{ font-size:14.5px; color:var(--ink-2); background:var(--bg-soft); border-radius:8px; padding:7px 14px; margin-bottom:8px; }
.tk-ans{ font-size:14px; color:var(--green-deep); background:var(--green-soft); border-radius:10px; padding:12px 16px; line-height:1.8; }

/* ---------- 对照双栏 ---------- */
.tk-compare-sec{ background:var(--bg-green); }
.tk-compare{ margin-top:32px; display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.tk-cmp-col{ border-radius:var(--radius-lg); padding:26px 28px; box-shadow:var(--shadow-sm); }
.tk-cmp-wrong{ background:#fff; border-top:5px solid var(--orange); }
.tk-cmp-right{ background:var(--green-deep); color:#fff; border-top:5px solid var(--green); }
.tk-cmp-col h3{ font-size:17px; margin-bottom:14px; }
.tk-cmp-col ul{ display:flex; flex-direction:column; gap:10px; }
.tk-cmp-col li{ font-size:14.5px; line-height:1.7; padding-left:20px; position:relative; }
.tk-cmp-wrong li{ color:var(--ink-2); }
.tk-cmp-wrong li::before{ content:"×"; position:absolute; left:0; color:var(--orange-deep); font-weight:800; }
.tk-cmp-right li{ color:rgba(255,255,255,.94); }
.tk-cmp-right li::before{ content:"✓"; position:absolute; left:0; color:#d8ffe9; font-weight:800; }

/* ---------- 错题卡 ---------- */
.tk-wrong-sec{ background:#fff; }
.tk-w-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px; }
.tk-w-card{ background:var(--bg-soft); border-radius:var(--radius-lg); padding:24px 22px; border-top:4px solid var(--orange); }
.tk-w-card:nth-child(2){ border-top-color:var(--green); }
.tk-w-card:nth-child(3){ border-top-color:var(--orange-deep); }
.tk-w-card h3{ font-size:16px; margin-bottom:8px; }
.tk-w-card p{ font-size:13.5px; color:var(--ink-2); line-height:1.8; }

/* ---------- 步骤流 ---------- */
.tk-steps-sec{ background:var(--bg-soft); }
.tk-steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:36px; }
.tk-steps li{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 22px; box-shadow:var(--shadow-sm); text-align:center; }
.tk-steps-no{
  display:inline-flex; width:50px; height:50px; border-radius:50%; align-items:center; justify-content:center;
  font-weight:800; font-size:19px; color:#fff; background:linear-gradient(135deg,var(--green),var(--green-deep)); margin-bottom:14px;
}
.tk-steps li:nth-child(even) .tk-steps-no{ background:linear-gradient(135deg,var(--orange),var(--orange-deep)); }
.tk-steps h3{ font-size:16.5px; margin-bottom:8px; }
.tk-steps p{ font-size:13.5px; color:var(--ink-2); line-height:1.8; }

/* ---------- 问答块 ---------- */
.tk-faq-sec{ background:#fff; }
.tk-faq-list{ max-width:860px; margin:32px auto 0; }
.tk-f-item{ background:var(--bg-soft); border-radius:var(--radius); padding:20px 24px; margin-bottom:12px; }
.tk-f-item h3{ font-size:15.5px; color:var(--green-deep); margin-bottom:6px; }
.tk-f-item p{ font-size:14px; color:var(--ink-2); line-height:1.85; }
.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) 0%, #0B8F56 50%, var(--ink) 130%); }
.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:30px; }
  .tk-tree-grid{ grid-template-columns:1fr; gap:28px; }
  .tk-tree-photo{ position:static; }
  .tk-three{ grid-template-columns:1fr; }
  .tk-compare{ grid-template-columns:1fr; }
  .tk-w-cards{ grid-template-columns:1fr; }
  .tk-steps{ grid-template-columns:repeat(2,1fr); }
  .tk-cta-inner{ grid-template-columns:1fr; }
  .tk-cta-act{ justify-content:flex-start; }
}
@media (max-width:640px){
  .tk-steps{ grid-template-columns:1fr; }
}
