/* ==========================================================================
   news-kecheng-kaiqi.html 专属样式
   母题：课程开课文章头 + 课程阶段轴（宽左轴 / 吊牌节点）
   ========================================================================== */

/* ---------- 1. 文章头 ---------- */
.art-head {
  background:
    radial-gradient(760px 340px at 12% -10%, rgba(195,176,137,.34), transparent 60%),
    linear-gradient(150deg, #4a4433 0%, var(--khaki-700, var(--khaki-600)) 60%, #3a3528 100%);
  padding: clamp(130px, 16vw, 180px) 0 clamp(48px, 6vw, 70px);
  color: #efe9da; position: relative; overflow: hidden;
}
.art-head .crumbs a { color: var(--khaki-200); }
.art-head .crumbs .sep { color: rgba(239,233,218,.4); }
.art-head .crumbs span { color: rgba(239,233,218,.8); }
.art-cat { font-size: 12.5px; letter-spacing: .3em; color: #e8a37f; font-weight: 700; margin: 20px 0 10px; }
.art-head h1 { color: #fff; font-size: clamp(27px, 4.2vw, 42px); line-height: 1.35; }
.art-lead { margin-top: 16px; max-width: 700px; font-size: 15.5px; line-height: 1.9; color: rgba(239,233,218,.9); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; font-size: 13px; color: rgba(239,233,218,.66); }
.art-meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(239,233,218,.4); }

/* ---------- 2. 正文 ---------- */
.art-body { background: var(--mist); padding: clamp(36px, 5vw, 60px) 0 10px; }
.prose { max-width: 860px; margin: 0 auto; }
.prose p { font-size: 16px; line-height: 1.95; color: var(--ink); margin-bottom: 16px; }
.prose h3 { font-size: 20px; margin: 26px 0 12px; }
.prose .lead-p::first-letter {
  font-family: var(--font-serif); font-size: 46px; font-weight: 700; color: var(--stamp);
  line-height: 1; padding-right: 8px; float: left;
}
.plain-note { font-size: 13.5px; color: var(--ink-faint); background: var(--paper); border-left: 3px solid var(--khaki-400); padding: 12px 16px; border-radius: 0 6px 6px 0; }
.prose-fig { margin: 26px 0 34px; }
.prose-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.prose-fig figcaption { font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; text-align: center; }

/* ---------- 3. 班型卡 ---------- */
.class-grid { max-width: 1080px; margin: 26px auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.class-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 26px 24px; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.class-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.class-card.hot { border-top: 4px solid var(--stamp); }
.class-tag {
  display: inline-block; font-size: 11.5px; letter-spacing: .14em; font-weight: 700;
  color: var(--khaki-600); background: var(--khaki-100); border-radius: 50px; padding: 3px 12px; margin-bottom: 12px;
}
.class-card h3 { font-size: 19px; margin-bottom: 8px; }
.class-desc { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.85; }
.class-meta { border-top: 1px dashed var(--line); padding-top: 12px; }
.class-meta li { font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; padding-left: 14px; position: relative; }
.class-meta li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--khaki-400); }

/* ---------- 3b. 班型对比表 ---------- */
.class-cmp { max-width: 1080px; margin: 6px auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 28px; }
.class-cmp h3 { font-size: 18px; margin-bottom: 16px; }
.class-cmp table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.class-cmp th, .class-cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); word-break: break-word; }
.class-cmp th { background: var(--khaki-100); color: var(--khaki-800); font-size: 13.5px; }
.class-cmp td { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.class-cmp tbody tr:last-child td { border-bottom: none; }
.cmp-note { font-size: 13.5px; color: var(--ink-faint); margin: 14px 0 0; line-height: 1.85; }

/* ---------- 4. 课程阶段轴（宽左轴 / 吊牌节点） ---------- */
.stage2-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(50px,7vw,84px) 0; }
.stage2-tl { max-width: 780px; margin: 10px auto 0; }
.stage2-tl .tl-row { --tw: 90px; --aw: 78px; padding: 14px 0; }
.stage2-tl .tl-time { text-align: right; padding-right: 16px; padding-top: 10px; }
.stage2-tl .tl-time em {
  font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--khaki-600);
  letter-spacing: .1em;
}
/* 吊牌节点：圆角矩形、顶部打孔、卡其底 */
.stage2-tl .tl-node {
  width: 50px; height: 50px; border-radius: 10px;
  background: var(--khaki-200); border: 1.5px solid var(--khaki-400); color: var(--khaki-800);
  font-size: 16px; font-weight: 800;
  box-shadow: inset 0 -4px 0 rgba(95,84,60,.12);
}
.stage2-tl .tl-row:nth-child(even) .tl-node { background: var(--khaki-600); color: #fff; border-color: var(--khaki-600); }
.stage2-tl .tl-node.anim { animation: tagFloat 3.4s ease-in-out infinite; }
@keyframes tagFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -57%); }
}
.stage2-tl .tl-body { padding: 4px 0 4px 26px; }
.stage2-tl .tl-body h3 { font-size: 17px; margin-bottom: 4px; }
.stage2-tl .tl-body p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.8; }

/* ---------- 5. 提示框 / 署名 ---------- */
.note-box {
  max-width: 1080px; margin: 30px auto 0;
  background: var(--sand); border: 1px dashed var(--line-strong); border-radius: var(--radius-m);
  padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start;
}
.note-tag { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--stamp); border-radius: 4px; padding: 4px 10px; margin-top: 3px; }
.note-box p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.9; }
.byline { max-width: 860px; margin: 34px auto 0; padding-top: 20px; border-top: 1px dashed var(--line-strong); font-size: 13.5px; color: var(--ink-soft); }
.byline-sub { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }

/* ---------- 6. 相关推荐 ---------- */
.related { max-width: 1080px; margin: 44px auto 10px; }
.related-h { font-size: 22px; margin-bottom: 18px; position: relative; padding-left: 14px; }
.related-h::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--stamp); border-radius: 2px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; display: block; }
.rel-cat { font-size: 11.5px; letter-spacing: .16em; color: var(--stamp); font-weight: 700; }
.rel-card h3 { font-size: 16.5px; margin: 8px 0; line-height: 1.5; }
.rel-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.8; }
.rel-card:hover h3 { color: var(--stamp); }

/* ---------- 7. CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--khaki-600), var(--khaki-800)); padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #d9d2bf; font-size: 15px; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .class-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .class-cmp { padding: 20px 16px; overflow-x: auto; }
  .class-cmp table { min-width: 560px; }
  .stage2-tl .tl-row { --tw: 66px; --aw: 54px; }
  .stage2-tl .tl-time { padding-right: 8px; }
  .stage2-tl .tl-time em { font-size: 12px; }
  .stage2-tl .tl-node { width: 40px; height: 40px; font-size: 13px; }
  .stage2-tl .tl-body { padding-left: 16px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .note-box { flex-direction: column; gap: 10px; }
}
