/* ============================================
   报考费用标准页 feiyong.html 专属样式（重构版）
   骨架：首屏左文右图 → 四节点横向费用带 →
        收/不收双栏对照 → 票据图文 → 问答折叠 → 服务导航
   ============================================ */

.container { box-sizing: border-box; }
body { overflow-x: hidden; }
.fy-h1 { color: var(--ink-900); }

.fy-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  background: var(--paper);
}
.fy-hero-lines { position: absolute; inset: 0; height: 100%; pointer-events: none; }
.fy-hero-lines svg { width: 100%; height: 100%; }
.fy-hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.fy-hero-fig img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 18px 40px rgba(21, 50, 56, .14);
}
.fy-hero .ph-desc { margin: 18px 0 26px; line-height: 1.9; }

.split { display: block; line-height: 0; }
.split svg { width: 100%; height: 90px; display: block; }

/* 四节点横向费用带 */
.fy-flow-band {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fy-flow-node {
  position: relative;
  background: #fff;
  border: 1px solid var(--green-100);
  border-top: 4px solid var(--green-500);
  border-radius: 12px;
  padding: 22px 18px;
}
.fy-flow-node:nth-child(2) { border-top-color: var(--blue-500); }
.fy-flow-node:nth-child(3) { border-top-color: var(--yellow-400); }
.fy-flow-node:nth-child(4) { border-top-color: var(--ink-900); }
.fy-flow-step {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green-500);
  margin-bottom: 8px;
}
.fy-flow-node h3 { margin: 0 0 10px; font-size: 18px; }
.fy-flow-node p { margin: 0 0 14px; line-height: 1.8; color: var(--ink-700); font-size: 14px; }
.fy-flow-tag {
  display: inline-block;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
}

/* 收与不收双栏对照 */
.fy-duel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
.fy-duel-col {
  border-radius: 14px;
  padding: 26px 24px;
}
.fy-duel-in { background: var(--green-50); border: 1px solid var(--green-100); }
.fy-duel-out { background: var(--yellow-50); border: 1px solid var(--yellow-200); }
.fy-duel-col h3 { margin: 0 0 14px; }
.fy-duel-col ul { margin: 0; padding-left: 0; list-style: none; }
.fy-duel-col li {
  padding: 9px 0 9px 26px;
  position: relative;
  line-height: 1.75;
  color: var(--ink-700);
  border-bottom: 1px dashed rgba(21,50,56,.08);
}
.fy-duel-col li:last-child { border-bottom: none; }
.fy-duel-in li::before {
  content: "";
  position: absolute; left: 0; top: 15px;
  width: 12px; height: 12px;
  background: var(--green-500);
  border-radius: 3px;
}
.fy-duel-out li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 12px; height: 2px;
  background: var(--yellow-400);
}
.fy-duel-vs {
  align-self: center;
  writing-mode: vertical-rl;
  letter-spacing: 6px;
  color: var(--ink-300);
  font-weight: 700;
  border: 1px solid var(--ink-300);
  border-radius: 999px;
  padding: 18px 8px;
}

/* 票据图文 */
.fy-pay {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.fy-pay-txt p { line-height: 1.95; color: var(--ink-700); margin: 0 0 14px; }
.fy-pay-fig img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 14px 34px rgba(21, 50, 56, .12);
}

/* 公告栏小图 */
.fy-notice { margin: 26px 0 0; }
.fy-notice img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* 折叠 */
.acc {
  border: 1px solid var(--ink-300);
  border-radius: 10px;
  background: #fff;
  margin: 0 auto 12px;
  padding: 0 18px;
  max-width: 860px;
}
.acc summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink-900);
  list-style: none;
  position: relative;
}
.acc summary::-webkit-details-marker { display: none; }
.acc .acc-ico {
  position: absolute; right: 0; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--green-500);
  border-bottom: 2px solid var(--green-500);
  transform: translateY(-70%) rotate(45deg);
}
.acc[open] .acc-ico { transform: translateY(-30%) rotate(225deg); }
.acc-body { padding: 0 0 16px; color: var(--ink-700); line-height: 1.9; }

/* 链接卡 */
.fy-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 600;
  border-left: 4px solid var(--yellow-400);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fy-link:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(255, 206, 51, .25); }

/* 平板 */
@media (max-width: 900px) {
  .fy-hero-wrap, .fy-pay { grid-template-columns: 1fr; }
  .fy-hero-fig { order: -1; }
  .fy-flow-band { grid-template-columns: 1fr 1fr; }
  .fy-duel { grid-template-columns: 1fr; }
  .fy-duel-vs { writing-mode: horizontal-tb; padding: 8px 18px; }
}

/* 手机（按规范 N.3 修复按钮挤压） */
@media (max-width: 640px) {
  .fy-hero { padding: calc(var(--nav-h) + 24px) 0 40px; }
  .split svg { height: 56px; }
  .fy-flow-band { grid-template-columns: 1fr; }
  .ph-actions { flex-direction: column; align-items: stretch; }
  .ph-actions .btn { width: 100%; }
}
