/* 加喜财税 · 栏目页/组件补充样式（与 site.css 同源：v03 薄荷蓝图色板，主体 1240px） */

/* 计数后缀细距：解决“134项 / 10,000+”数字与单位贴死 */
.sfx { display: inline-block; margin-left: .22em; font-weight: 400; }
.num .sfx, .spec .sfx { letter-spacing: 0; }
.spec b .sfx { font-size: .72em; color: var(--ink-2); vertical-align: .12em; }

/* 八大板块卡片：四边循环描线 */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { position: relative; background: #fff; padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s ease; overflow: hidden; }
.tile:hover { background: #F1F7F7; }
.tile .idx { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .14em; color: var(--ink-3); position: relative; padding-left: 12px; }
.tile .idx::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 0; background: linear-gradient(180deg, rgba(14,140,128,.7), rgba(14,140,128,0)); animation: tile-v 8.4s ease-in-out infinite; }
.tile .idx::after { content: ""; position: absolute; right: 0; top: 0; width: 1px; height: 0; background: linear-gradient(180deg, rgba(14,140,128,0), rgba(14,140,128,.7)); animation: tile-v2 8.4s ease-in-out infinite; }
.tile h3 { margin: 12px 0 10px; font-size: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tile h3 span { font-family: ui-monospace, monospace; font-size: 11px; font-weight: 400; color: var(--accent); }
.tile p { margin: 0; font-size: 12.5px; line-height: 1.85; color: var(--ink-3); }
.tile i.corner { position: absolute; right: 12px; top: 12px; width: 14px; height: 14px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); opacity: .4; animation: corner-pulse 3.2s ease-in-out infinite; }
.tile::before, .tile::after { content: ""; position: absolute; left: 0; width: 44%; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .55; }
.tile::before { top: 0; animation: tile-top 8.4s linear infinite; }
.tile::after { bottom: 0; animation: tile-bottom 8.4s linear infinite; }
.tile:nth-child(3n+2)::before, .tile:nth-child(3n+2) .idx::before { animation-delay: 1.2s; }
.tile:nth-child(3n+2)::after, .tile:nth-child(3n+2) .idx::after { animation-delay: 2.6s; }
.tile:nth-child(3n)::before, .tile:nth-child(3n) .idx::before { animation-delay: 2.4s; }
.tile:nth-child(3n)::after, .tile:nth-child(3n) .idx::after { animation-delay: 3.8s; }
.tile:hover::before, .tile:hover::after { opacity: 1; }
@keyframes tile-top { 0% { transform: translateX(-105%); } 55% { transform: translateX(265%); } 100% { transform: translateX(265%); } }
@keyframes tile-bottom { 0% { transform: translateX(265%); } 55% { transform: translateX(-105%); } 100% { transform: translateX(-105%); } }
@keyframes tile-v { 0% { height: 0; opacity: 0; } 26% { height: 100%; opacity: .9; } 58% { height: 100%; opacity: 0; } 100% { height: 0; opacity: 0; } }
@keyframes tile-v2 { 0% { height: 0; opacity: 0; } 30% { height: 100%; opacity: .8; } 70% { height: 100%; opacity: 0; } 100% { height: 0; opacity: 0; } }
@keyframes corner-pulse { 0%,100% { opacity: .25; transform: translate(0,0); } 50% { opacity: .9; transform: translate(-3px,3px); } }

/* 章节与标题 */
.sec { padding: 62px 0; }
.sec-head { max-width: 760px; margin-bottom: 34px; }
.sec-head .k { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .18em; color: var(--accent); }
.sec-head h2 { margin: 10px 0 12px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -.01em; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.h2line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin: 44px 0 18px; }
.h2line h2 { margin: 0; font-size: 19px; }
.h2line em { font-style: normal; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }

/* 编号板块（行业/区页 11+9 板块） */
.blk { border-top: 1px solid var(--line); padding: 34px 0 6px; }
.blk:first-child { border-top: 0; }
.blk-h { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.blk-h b { font-family: ui-monospace, monospace; font-size: 11px; font-weight: 400; color: var(--accent); letter-spacing: .1em; padding-top: 4px; min-width: 26px; }
.blk-h h2 { margin: 0; font-size: 18px; line-height: 1.5; }
.blk-h p { margin: 6px 0 0; color: var(--ink-3); font-size: 12.5px; }

/* 列表与卡片 */
.list { margin: 0; padding: 0; list-style: none; }
.list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.list li:last-child { border-bottom: 0; }
.list li b { font-family: ui-monospace, monospace; font-size: 11px; color: var(--accent); font-weight: 400; padding-top: 3px; min-width: 22px; }
.list.two-col { columns: 2; column-gap: 34px; }
.list.two-col li { break-inside: avoid; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.chip { border: 1px solid var(--line-strong); color: var(--ink-2); font-size: 12px; padding: 5px 10px; background: rgba(14,140,128,.04); }

/* 列表页（知识库/问答） */
.feed { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feed .row { background: #fff; padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; transition: background .3s; }
.feed .row:hover { background: #F4FAFA; }
.feed .row time { font-family: ui-monospace, monospace; font-size: 11px; color: var(--ink-3); letter-spacing: .08em; min-width: 84px; padding-top: 3px; }
.feed .row h3 { margin: 0 0 6px; font-size: 15.5px; line-height: 1.6; }
.feed .row h3 a { color: var(--ink); }
.feed .row h3 a:hover { color: var(--accent); }
.feed .row p { margin: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.85; }
.catbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.catbar a { font-size: 12.5px; padding: 7px 14px; border: 1px solid var(--line); color: var(--ink-2); }
.catbar a.on, .catbar a:hover { border-color: var(--line-strong); color: var(--accent); background: rgba(14,140,128,.05); }
.pager { display: flex; gap: 8px; align-items: center; margin-top: 26px; font-size: 12.5px; }
.pager a, .pager span { padding: 7px 12px; border: 1px solid var(--line); color: var(--ink-2); }
.pager .page-num-current { border-color: var(--accent); color: var(--accent); }

/* 侧栏 */
.side-box { border: 1px solid var(--line); padding: 20px; margin-bottom: 18px; background: #fff; }
.side-box h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .04em; }
.side-box .tel { font-family: ui-monospace, monospace; font-size: 20px; color: var(--accent); display: block; margin-bottom: 6px; }
.side-box p { font-size: 12px; color: var(--ink-3); line-height: 1.8; margin: 0 0 10px; }
.side-box .links a { display: block; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-2); }
.side-box .links a:hover { color: var(--accent); }

/* 套餐 */
.pkg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pkg .p { background: #fff; padding: 26px 24px; position: relative; }
.pkg .p em { font-style: normal; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.pkg .p h3 { margin: 10px 0 4px; font-size: 17px; }
.pkg .p .price { font-family: ui-monospace, monospace; font-size: 26px; color: var(--accent); margin: 10px 0 2px; }
.pkg .p .price small { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.pkg .p ul { margin: 12px 0 18px; padding: 0; list-style: none; }
.pkg .p ul li { font-size: 12.5px; color: var(--ink-2); padding: 6px 0; border-bottom: 1px dashed var(--line); }

/* 页面抬头 */
.hero { padding: 44px 0 30px; }
.hero .facts { margin-top: 30px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 18px; background: rgba(255,255,255,.6); }
.facts small { display: block; font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 6px; }
.facts b { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.6; }

/* 表格补充 */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; margin: 14px 0 6px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: top; line-height: 1.75; }
.tbl th { background: rgba(14,140,128,.05); font-weight: 500; font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.tbl td:first-child { color: var(--ink); }
.tbl td { color: var(--ink-2); }
.mono { font-family: ui-monospace, monospace; }

/* 工具页 */
.tool { border: 1px solid var(--line); background: #fff; padding: 26px; margin-bottom: 26px; }
.tool-h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.tool-h h2 { margin: 0; font-size: 18px; }
.tool-h em { font-style: normal; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; color: var(--ink-3); }
.field select, .field input { height: 40px; border: 1px solid var(--line-strong); background: #fff; padding: 0 10px; font-size: 13px; color: var(--ink); font-family: inherit; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,140,128,.1); }
.form .go { height: 40px; border: 0; background: var(--accent); color: #fff; font-size: 13px; letter-spacing: .08em; cursor: pointer; }
.form .go:hover { background: var(--accent-2); }
.nm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 26px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.nm-head b { font-size: 15px; color: var(--ink); }
.nmgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.nm { background: #fff; padding: 20px; }
.nm-top { display: flex; align-items: center; gap: 10px; }
.nm-idx { font-family: ui-monospace, monospace; font-size: 11px; color: var(--ink-3); }
.nm-top b { font-size: 15.5px; line-height: 1.5; flex: 1; }
.grade { font-style: normal; font-size: 11px; padding: 3px 8px; border: 1px solid var(--line-strong); color: var(--accent); white-space: nowrap; }
.grade.lv1 { background: rgba(14,140,128,.1); }
.grade.lv4 { color: #8a6a2f; border-color: rgba(138,106,47,.3); }
.nm-mid { display: flex; gap: 18px; align-items: center; margin: 14px 0 10px; }
.sc em { font-style: normal; font-family: ui-monospace, monospace; font-size: 24px; color: var(--accent); }
.sc small { display: block; font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; }
.wgs { display: flex; flex-wrap: wrap; gap: 6px; }
.wgs span { font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); padding: 4px 7px; }
.wgs b { font-family: ui-monospace, monospace; color: var(--ink); font-weight: 400; margin: 0 3px; }
.wgs i { font-style: normal; color: var(--accent); }
.wgs i.凶 { color: #8a6a2f; }
.nm-note { margin: 0 0 12px; font-size: 12px; color: var(--ink-3); line-height: 1.85; }
.nm-act { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed var(--line); padding-top: 12px; font-size: 11px; color: var(--ink-3); }
.nm-act a { color: var(--accent); font-size: 12.5px; }
.msr { border: 1px solid var(--line); padding: 22px; background: #fff; }
.msr-top { display: flex; gap: 22px; align-items: center; margin-bottom: 16px; }
.msr-h b { font-size: 18px; }
.msr-h p { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.mtips { margin: 10px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); line-height: 1.9; }
.tip { font-size: 12px; color: var(--ink-3); line-height: 1.8; margin-top: 12px; }

/* 媒体块 */
.media { border: 1px solid var(--line); overflow: hidden; }
.media img { width: 100%; display: block; }
.cap { font-size: 11.5px; color: var(--ink-3); padding: 10px 12px; border-top: 1px solid var(--line); font-family: ui-monospace, monospace; letter-spacing: .06em; }

/* 头部导航：条目较多时的密度适配 */
.hdr nav.main { gap: clamp(9px, 1vw, 18px); }
.hdr nav.main a { white-space: nowrap; }
@media (max-width: 1360px) {
  .hdr nav.main { gap: 9px; }
  .hdr nav.main a { font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 900px) { .hdr nav.main a { font-size: 13px; } }

/* 表格首列不折行（标签列） */
.tbl td:first-child, .tbl th:first-child { white-space: nowrap; }

/* 无脚本兜底：JS 未执行时内容保持可见 */
html:not(.js) [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (max-width: 1080px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .pkg { grid-template-columns: 1fr; }
  .nmgrid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .tiles, .form, .facts { grid-template-columns: 1fr; }
  .list.two-col { columns: 1; }
  .sec { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tile::before, .tile::after, .tile .idx::before, .tile .idx::after, .tile i.corner { animation: none; opacity: .25; }
}
