/* 交航众鑫 · 解决方案（总览页 /solutions/）与应用案例详情
   总览页的版式在 Elementor 里，这里是应用领域面板的展开状态；
   详情页“文章内容”位置由插件按案例资料生成（.jc-*），样式全在这里。 */

body.jham-site [data-jh-cases] [role=listitem][hidden],
body.jham-site [data-jh-cs][hidden]{display:none!important}
@keyframes jc-swap{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
body.jham-site [data-jh-cases].is-swap [role=listitem]{animation:jc-swap .5s both}

/* ---------- 总览 01 应用领域：三块面板，悬停 / 点按展开（data-jh-fd） ---------- */
body.jham-site [data-jh-fd]{display:flex;gap:16px;height:clamp(460px,38vw,540px)}
body.jham-site [data-jh-fd-item]{flex:1;transition:flex .7s cubic-bezier(.2,.7,.2,1),box-shadow .5s;cursor:pointer;outline:none}
body.jham-site [data-jh-fd-item].is-on{flex:2.3;box-shadow:0 30px 70px rgba(10,20,45,.25)}
body.jham-site [data-jh-fd-item] [data-jh="fd-img"]{opacity:.55;transition:transform 1.2s cubic-bezier(.2,.7,.2,1),opacity .6s}
body.jham-site [data-jh-fd-item].is-on [data-jh="fd-img"]{opacity:1;transform:scale(1.03)}
body.jham-site [data-jh-fd-item].is-on [data-jh="fd-ic"]{background:var(--red);border-color:var(--red)}
body.jham-site [data-jh-fd-item] [data-jh="fd-more"]{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .6s cubic-bezier(.2,.7,.2,1),opacity .4s}
body.jham-site [data-jh-fd-item].is-on [data-jh="fd-more"]{grid-template-rows:1fr;opacity:1;transition-delay:.15s}
body.jham-site [data-jh-fd-item] [data-jh="fd-more"]>*{overflow:hidden;min-height:0;min-width:0}
body.elementor-editor-active [data-jh-fd-item] [data-jh="fd-more"]{grid-template-rows:1fr;opacity:1}
@media (max-width:1024px){
  body.jham-site [data-jh-fd]{flex-direction:column;height:auto}
  body.jham-site [data-jh-fd-item]{flex:none;height:120px}
  body.jham-site [data-jh-fd-item].is-on{height:auto}
  body.jham-site [data-jh-fd-item]:not(.is-on) [data-jh="fd-top"]{display:none}
  body.jham-site [data-jh-fd-item] [data-jh="fd-num"]{display:none}
  body.jham-site [data-jh-fd-item].is-on [data-jh="fd-body"]{position:relative;left:auto;right:auto;bottom:auto;padding:100px 26px 30px}
}

/* ---------- 详情：通用 ---------- */
body.jham-site .jc-detail{--jc-gut:var(--jh-gut,clamp(16px,4vw,40px))}
body.jham-site .jc-wrap{position:relative;z-index:1;width:100%;max-width:var(--jh-wrap,1280px);margin:0 auto;padding:0 var(--jc-gut)}
body.jham-site .jc-sec{position:relative;overflow:hidden;padding:var(--jh-sec-pad,clamp(72px,9vw,128px)) 0}
body.jham-site .jc-head{margin-bottom:clamp(36px,4vw,52px)}
body.jham-site .jc-kicker{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-family:var(--f-en);font-weight:600;font-size:15px;line-height:1.6;letter-spacing:.24em;text-transform:uppercase;color:var(--red)}
body.jham-site .jc-kicker span{font-family:var(--f-mono);font-weight:500;font-size:12px;letter-spacing:.04em;color:var(--muted);padding-right:12px;border-right:1px solid #cfd3d9}
body.jham-site .jc-head h2{margin:0;font-size:var(--jh-h2,clamp(28px,3vw,40px));font-weight:700;line-height:1.3;letter-spacing:.03em;color:var(--ink)}
body.jham-site .jc-sub{margin-top:14px;max-width:44em;font-size:16px;line-height:1.75;color:var(--muted)}
body.jham-site .jc-bigword{position:absolute;top:clamp(28px,4vw,56px);left:var(--jc-gut);z-index:0;font-family:var(--f-en);font-weight:700;font-size:clamp(60px,10.5vw,156px);line-height:.88;text-transform:uppercase;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.07);white-space:nowrap;pointer-events:none}

/* 概要 */
body.jham-site .jc-summary{padding:clamp(48px,5vw,64px) 0 clamp(56px,6vw,80px);background:linear-gradient(180deg,#fff 0,#fff 60%,var(--mist) 60%)}
body.jham-site .jc-sample{display:flex;gap:12px;align-items:center;margin-bottom:24px;padding:10px 16px;font-size:13.5px;color:#7a5c0a;background:#FFF8E5;border:1px solid #F2DC9A}
body.jham-site .jc-sample b{flex:none;font-weight:700}
body.jham-site .jc-card{display:grid;grid-template-columns:5fr 6fr;background:#fff;box-shadow:0 30px 70px rgba(17,21,28,.12)}
body.jham-site .jc-img{position:relative;min-height:440px;overflow:hidden;background:#06142f}
body.jham-site .jc-img img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
body.jham-site .jc-tagf{position:absolute;left:0;top:0;z-index:2;padding:8px 14px;font-size:14px;letter-spacing:.12em;color:#fff;background:var(--red)}
body.jham-site .jc-info{min-width:0;padding:clamp(30px,3.4vw,48px) clamp(28px,3.4vw,52px);border-left:3px solid var(--red)}
body.jham-site .jc-info small{font-size:13.5px;color:#8a919b;letter-spacing:.04em}
body.jham-site .jc-info h1{margin:10px 0 0;font-size:clamp(24px,2.3vw,32px);font-weight:700;line-height:1.45;letter-spacing:.03em;color:var(--ink)}
body.jham-site .jc-dl{margin:22px 0 0;border-top:1px solid var(--line)}
body.jham-site .jc-dl div{display:grid;grid-template-columns:92px 1fr;gap:12px;padding:11px 0;border-bottom:1px dashed var(--line);font-size:14.5px;line-height:1.7}
body.jham-site .jc-dl dt{color:var(--muted);font-weight:400}
body.jham-site .jc-dl dd{margin:0;color:var(--ink)}
body.jham-site .jc-st{display:inline-block;padding:1px 8px;font-size:12.5px;color:var(--red);border:1px solid var(--red)}
body.jham-site .jc-m{margin-top:26px;display:grid;grid-template-columns:repeat(3,1fr)}
body.jham-site .jc-m div{padding:0 clamp(12px,1.6vw,22px);border-left:1px solid var(--line)}
body.jham-site .jc-m div:first-child{padding-left:0;border-left:0}
body.jham-site .jc-m b{display:flex;align-items:baseline;gap:4px;font-family:var(--f-en);font-weight:700;font-size:clamp(36px,3.4vw,48px);line-height:1;color:var(--red);white-space:nowrap}
body.jham-site .jc-m b i{font-style:normal;font-size:.42em}
body.jham-site .jc-m span{display:block;margin-top:8px;font-size:13.5px;color:var(--muted)}

/* 01 客户挑战 */
body.jham-site .jc-challenge{background:var(--mist);padding-top:clamp(40px,4vw,56px)}
body.jham-site .jc-ch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
body.jham-site .jc-ch{background:#fff;padding:34px 30px 32px;border-top:3px solid var(--red);transition:box-shadow .35s}
body.jham-site .jc-ch:hover{box-shadow:0 20px 44px rgba(17,21,28,.08)}
body.jham-site .jc-ch b{font-family:var(--f-en);font-weight:700;font-size:52px;line-height:1;color:transparent;-webkit-text-stroke:1px #c8ccd2}
body.jham-site .jc-ch em{display:block;margin-top:14px;font-style:normal;font-family:var(--f-en);font-weight:600;font-size:12.5px;letter-spacing:.2em;color:var(--red)}
body.jham-site .jc-ch p{margin:8px 0 0;font-size:16px;line-height:1.85;color:var(--ink)}

/* 02 解决方案（深色） */
body.jham-site .jc-solution{background:linear-gradient(160deg,#071a3d,#0b2556 60%,#081c42);color:#fff}
body.jham-site .jc-solution .jc-kicker{color:#ff5a6e}
body.jham-site .jc-solution .jc-kicker span{color:rgba(255,255,255,.55);border-color:rgba(255,255,255,.25)}
body.jham-site .jc-solution .jc-head h2{color:#fff}
body.jham-site .jc-solution .jc-sub{color:rgba(255,255,255,.65)}
body.jham-site .jc-so-line{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;padding:0;list-style:none}
body.jham-site .jc-so{position:relative;padding:34px 34px 36px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);transition:background .4s}
body.jham-site .jc-so+.jc-so{border-left:0}
body.jham-site .jc-so:hover{background:rgba(255,255,255,.07)}
body.jham-site .jc-so .n{display:flex;align-items:center;gap:14px}
body.jham-site .jc-so .n i{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--red);font-style:normal;font-family:var(--f-en);font-weight:700;font-size:18px}
body.jham-site .jc-so .n small{font-family:var(--f-en);font-weight:600;font-size:12px;letter-spacing:.24em;color:rgba(255,255,255,.5)}
body.jham-site .jc-so h3{margin:22px 0 0;font-size:21px;font-weight:700;letter-spacing:.08em;color:#fff}
body.jham-site .jc-so p{margin:12px 0 0;font-size:14.5px;line-height:1.9;color:rgba(255,255,255,.75)}
body.jham-site .jc-so:not(:last-child)::after{content:"";position:absolute;right:-13px;top:50%;z-index:2;width:24px;height:24px;margin-top:-12px;border:1px solid rgba(255,255,255,.3);border-radius:50%;
  background:#0b2556 linear-gradient(45deg,transparent 46%,#fff 46%,#fff 54%,transparent 54%) center/8px 8px no-repeat}

/* 03 实施效果 */
body.jham-site .jc-result{background:#fff}
body.jham-site .jc-rs-grid{display:grid;grid-template-columns:4fr 7fr;gap:clamp(40px,6vw,96px);align-items:start}
body.jham-site .jc-rs-head .jc-head{margin-bottom:0}
body.jham-site .jc-rs-con{margin:22px 0 0;padding-left:18px;border-left:3px solid var(--red);font-size:16px;line-height:1.95;color:var(--ink)}
body.jham-site .jc-legend{margin-top:26px;display:flex;gap:22px;font-size:13.5px;color:var(--muted)}
body.jham-site .jc-legend span{display:inline-flex;align-items:center;gap:8px}
body.jham-site .jc-legend i{width:22px;height:8px}
body.jham-site .jc-legend .b,body.jham-site .jc-bar .b{background:#c5cbd3}
body.jham-site .jc-legend .a,body.jham-site .jc-bar .a{background:var(--red)}
body.jham-site .jc-bar{padding:22px 0;border-bottom:1px solid var(--line)}
body.jham-site .jc-bar:first-child{border-top:1px solid var(--line)}
body.jham-site .jc-bar-h{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
body.jham-site .jc-bar-h b{font-size:15.5px;font-weight:500}
body.jham-site .jc-delta{font-family:var(--f-en);font-weight:700;font-size:22px;color:var(--red)}
body.jham-site .jc-delta.is-bad{color:var(--muted)}
body.jham-site .jc-bar-row{display:grid;grid-template-columns:52px 1fr 70px;gap:12px;align-items:center;margin-top:10px;font-size:13px;color:var(--muted)}
body.jham-site .jc-bar-row .tr{height:10px;background:var(--mist);overflow:hidden}
body.jham-site .jc-bar-row .tr i{display:block;height:100%;width:0;transition:width 1.2s cubic-bezier(.2,.7,.2,1)}
body.jham-site .jc-bar-row .v{font-family:var(--f-mono);font-size:13px;color:var(--ink);text-align:right}
body.jham-site .jc-bars.is-in .tr i,html:not(.js-rv) body.jham-site .jc-bars .tr i{width:var(--w)}

/* 补充正文 */
body.jham-site .jc-more{padding-top:0}
body.jham-site .jc-more .jh-prose{max-width:860px}

/* 04 相关产品 + 上一个 / 下一个 */
body.jham-site .jc-prod{background:var(--mist)}
body.jham-site .jc-rp-row{display:flex;flex-wrap:wrap;gap:16px}
body.jham-site .jc-rp{display:flex;align-items:center;gap:16px;min-width:280px;padding:20px 26px 20px 20px;background:#fff;border:1px solid var(--line);transition:border-color .3s,box-shadow .3s}
body.jham-site .jc-rp:hover{border-color:transparent;box-shadow:0 18px 40px rgba(17,21,28,.08)}
body.jham-site .jc-rp .ic{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;border:1.5px solid var(--red);color:var(--red);transition:background .3s,color .3s}
body.jham-site .jc-rp .ic svg{width:24px;height:24px}
body.jham-site .jc-rp:hover .ic{background:var(--red);color:#fff}
body.jham-site .jc-rp b{display:block;font-size:16px;letter-spacing:.04em;color:var(--ink)}
body.jham-site .jc-rp small{display:block;margin-top:2px;font-size:12.5px;color:var(--muted)}
body.jham-site .jc-nav{margin-top:48px;background:#fff}

@media (max-width:1024px){
  body.jham-site .jc-card{grid-template-columns:1fr}
  body.jham-site .jc-img{min-height:0;aspect-ratio:16/10}
  body.jham-site .jc-info{border-left:0;border-top:3px solid var(--red)}
  body.jham-site .jc-ch-grid,body.jham-site .jc-so-line{grid-template-columns:1fr}
  body.jham-site .jc-so+.jc-so{border-left:1px solid rgba(255,255,255,.14);border-top:0}
  body.jham-site .jc-so:not(:last-child)::after{display:none}
  body.jham-site .jc-rs-grid{grid-template-columns:1fr}
}
@media (max-width:767px){
  body.jham-site .jc-m{grid-template-columns:1fr;gap:18px}
  body.jham-site .jc-m div{padding:0;border-left:0}
  body.jham-site .jc-sample{flex-direction:column;align-items:flex-start;gap:4px}
  body.jham-site .jc-rp{min-width:0;width:100%}
}
