/* jingyan-fenxiang.html 专属布局 */

.hero-jingyan { position: relative; overflow: hidden; background: var(--paper); }
.hero-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-top: 96px; padding-bottom: 70px; }
.hero-text h1 { font-size: 40px; line-height: 1.25; color: var(--ink-900); margin: 14px 0 18px; }
.hero-media img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(21,50,56,.16); }
.ph-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.ph-bg { position: absolute; inset: auto 0 0 0; height: 220px; pointer-events: none; }
.ph-bg svg { width: 100%; height: 100%; display: block; }

.split { line-height: 0; font-size: 0; overflow: hidden; }
.split svg { display: block; width: 100%; height: 56px; }

/* 经验文章卡 */
.exp-card { padding: 26px; margin-bottom: 18px; }
.exp-card h3 { margin: 14px 0 12px; color: var(--ink-900); font-size: 19px; line-height: 1.5; }
.exp-card p { color: var(--ink-500); line-height: 1.9; margin: 0; }

.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.media-row.single { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.media-row img { width: 100%; height: auto; border-radius: 14px; }

/* 要点提炼条 */
.takeaway-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.take-item { background: #fff; border-radius: 12px; padding: 20px; border-left: 4px solid var(--green-500); }
.take-item:nth-child(2) { border-left-color: var(--blue-500); }
.take-item:nth-child(3) { border-left-color: var(--yellow-400); }
.take-item:nth-child(4) { border-left-color: var(--ink-700); }
.take-item strong { display: block; color: var(--ink-900); margin-bottom: 8px; }
.take-item span { color: var(--ink-500); line-height: 1.8; font-size: 14px; }

/* 常见问题 */
.qa-list { margin-top: 22px; }
.qa-list .card { padding: 22px; }
.qa-list h3 { margin: 0 0 10px; color: var(--ink-900); }
.qa-list p { color: var(--ink-500); line-height: 1.85; margin: 0; }

/* 相关推荐 */
.rel-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.rel-links a { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--green-100); color: var(--ink-700); font-size: 14px; transition: all .2s ease; }
.rel-links a:hover { background: var(--green-50); border-color: var(--green-500); color: var(--green-500); }

/* 踩坑清单 */
.pitfall-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.pitfall { padding: 22px; border-left: 4px solid var(--yellow-400); }
.pf-bad { display: inline-block; font-size: 13px; font-weight: 700; color: #B25B00; background: var(--yellow-50); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.pitfall h3 { margin: 0 0 8px; color: var(--ink-900); font-size: 17px; }
.pitfall p { color: var(--ink-500); line-height: 1.85; margin: 0; }

/* 按岗位看经验 */
.pos-wall { margin-top: 22px; }
.pos-wall .card { padding: 20px; }
.pos-wall .tag { margin-bottom: 10px; }
.pos-wall p { color: var(--ink-500); line-height: 1.85; margin: 0; font-size: 14px; }

@media (max-width: 768px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 26px; padding-top: 84px; }
  .hero-text h1 { font-size: 30px; }
  .media-row { grid-template-columns: 1fr; }
  .takeaway-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-text h1 { font-size: 25px; }
  .split svg { height: 38px; }
  .ph-bg { height: 130px; }
  .takeaway-strip { grid-template-columns: 1fr; }
  .pitfall-list { grid-template-columns: 1fr; }
}
/* N3：手机端首屏按钮整列堆叠 */
@media (max-width: 640px) {
  .ph-actions { flex-direction: column; align-items: stretch; }
  .ph-actions .btn { width: 100%; }
}
