/* case.css — 工程案例（深色科技风） 作用域：body.page-case */
body.page-case { background: #0B192C; color: rgba(255,255,255,.86); }

/* ---- 顶部共享头部覆盖 ---- */
body.page-case .header { position: relative; z-index: 99999; }
body.page-case .head-top { background: #0B192C; border-bottom: 1px solid rgba(14,165,233,.18); color: rgba(255,255,255,.7); }
body.page-case .head-top .fl { color: rgba(255,255,255,.66); }
body.page-case .hotLine .span1 { color: #0EA5E9; }
body.page-case .hotLine .span2 { color: #fff; }
body.page-case .head-mid { height: 80px; }
body.page-case .head-con {
    background: rgba(11,25,44,.92);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(14,165,233,.25);
    height: 80px;
}
body.page-case .logo { top: 18px; }
body.page-case .logo img { max-width: 170px; }
body.page-case .nav-yi { line-height: 80px; color: rgba(255,255,255,.82); letter-spacing: 1px; transition: color .2s ease; }
body.page-case .menu-box li:hover .nav-yi,
body.page-case .menu-box li.active .nav-yi { color: #fff; }
body.page-case .nav-yi:after { border-top-color: #0EA5E9; }
body.page-case .menu-box li.active .nav-yi { color: #0EA5E9; }
body.page-case .nav-er-box { background: rgba(11,25,44,.96); border: 1px solid rgba(14,165,233,.25); border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
body.page-case .nav-er-box a { color: rgba(255,255,255,.78); line-height: 42px; }
body.page-case .nav-er-box a:hover { color: #0EA5E9; background: rgba(14,165,233,.1); }
body.page-case .menu-handler .burger { background: #0EA5E9; }

/* ---- 内页 banner：工程案例行业实景图 + 深色遮罩 ---- */
body.page-case .ban {
    position: relative;
    height: 360px;
    background: linear-gradient(135deg, #0B192C 0%, #0f2540 55%, #0B192C 100%);
    overflow: hidden;
}
body.page-case .ban::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('/Content/Images/banner_case_industry.png') center center / cover no-repeat;
    opacity: .85;
    animation: caseBanZoom 18s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes caseBanZoom {
    0%   { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.08) translate3d(-1.5%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    body.page-case .ban::before { animation: none; }
}
body.page-case .ban::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(11,25,44,.82) 0%, rgba(11,25,44,.45) 45%, rgba(11,25,44,.25) 100%),
        linear-gradient(rgba(14,165,233,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,165,233,.08) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
}
body.page-case .ban img { display: none; }

body.page-case .ban .case-ban-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: auto;
    max-width: 880px;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(11, 25, 44, .45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, .3);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
body.page-case .case-ban-kicker { margin: 0 0 14px 0; color: #0EA5E9; font-size: 13px; letter-spacing: 6px; font-weight: 600; }
body.page-case .case-ban-title {
    margin: 0 0 16px 0;
    color: #fff;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0,0,0,.45);
}
body.page-case .case-ban-desc {
    margin: 0 auto;
    max-width: 820px;
    color: rgba(255,255,255,.82);
    font-size: clamp(13px, 1.2vw, 16px);
    letter-spacing: 1px;
    line-height: 1.6;
}

/* ---- 页面顶部标题区 ---- */
body.page-case .position {
    height: auto;
    margin-top: 0;
    padding: 56px 0 36px 0;
    background:
        radial-gradient(1200px 300px at 80% 0%, rgba(14,165,233,.12), transparent 60%),
        linear-gradient(180deg, #0B192C 0%, #0f2540 100%);
    position: relative;
    z-index: 6;
}
body.page-case .position h2 { width: auto; background: none; color: #fff; font-size: 30px; font-weight: 700; letter-spacing: 3px; line-height: 1.2; text-align: left; }
body.page-case .position h2:before { display: none; }
body.page-case .gk-title img { width: 30px; height: 30px; margin: -2px 10px 0 0; }
body.page-case .case-hero-sub { margin: 14px 0 0 0; color: rgba(14,165,233,.85); font-size: 14px; letter-spacing: 2px; font-weight: 500; }
body.page-case .case-crumb { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); }
body.page-case .case-crumb a { color: rgba(255,255,255,.6); }
body.page-case .case-crumb a:hover { color: #0EA5E9; }
body.page-case .case-crumb i { margin: 0 8px; font-style: normal; color: rgba(255,255,255,.3); }
body.page-case .case-crumb span { color: #0EA5E9; }

/* ---- 主体布局 ---- */
body.page-case .contentbox { padding: 48px 0 80px 0; min-height: 500px; background: #0B192C; }
body.page-case .case-layout { display: flex; align-items: flex-start; gap: 40px; }

/* ---- 左侧子导航 ---- */
body.page-case .brief-nav { width: 220px; position: relative; left: auto; top: auto; flex: 0 0 220px; position: sticky; top: 100px; text-align: left; }
body.page-case .brief-nav-con li { margin-top: 0; margin-bottom: 10px; }
body.page-case .left-yi {
    display: block;
    line-height: 52px;
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.78);
    border: 1px solid rgba(14,165,233,.18);
    border-radius: 8px;
    padding: 0 18px;
    transition: all .2s ease;
}
body.page-case .left-yi:hover { color: #fff; border-color: rgba(14,165,233,.5); background: rgba(14,165,233,.1); }
body.page-case .left-yi:before { display: none; }
body.page-case .brief-nav-con li.active .left-yi {
    color: #fff;
    background: linear-gradient(90deg, #0EA5E9 0%, #1E3A8A 100%);
    border-color: #0EA5E9;
    box-shadow: 0 8px 20px rgba(14,165,233,.3);
}
body.page-case .brief-nav-con li.active .left-yi:before { display: none; }
body.page-case .zksq { display: none !important; }

/* ---- 右侧内容区 ---- */
body.page-case .box-right { margin-left: 0; padding-top: 0; flex: 1; min-width: 0; }
body.page-case .title2 { border-bottom: 1px solid rgba(14,165,233,.2); padding-bottom: 14px; }
body.page-case .title2 h4 { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1px; }
body.page-case .title2 h4 img { width: 22px; height: 22px; margin-right: 10px; vertical-align: -5px; filter: none; }
body.page-case .title2 h4:after { display: none; }
body.page-case .title2 span { color: rgba(14,165,233,.8); letter-spacing: 2px; font-size: 13px; }
body.page-case .ny-title-r { color: rgba(255,255,255,.45); font-size: 12px; }
body.page-case .ny-title-r a { color: rgba(255,255,255,.6); }
body.page-case .ny-title-r a:hover { color: #0EA5E9; }

/* ---- 案例卡片 ---- */
body.page-case .gcal-list { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
body.page-case .gcal-list li {
    width: auto;
    margin: 0;
    text-align: left;
    box-sizing: border-box;
    float: none;
}
body.page-case .gcal-list .img100 {
    position: relative;
    background: linear-gradient(180deg, #0f2540 0%, #0B192C 100%);
    border: 1px solid rgba(14,165,233,.16);
    border-radius: 12px;
    overflow: hidden;
}
body.page-case .gcal-list .img100 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .4s ease, opacity .3s ease;
    opacity: .92;
}
body.page-case .gcal-list li:hover .img100 img { transform: scale(1.06); opacity: 1; }
body.page-case .gcal-list .img100::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 64px;
    background: linear-gradient(180deg, transparent, rgba(11,25,44,.85));
    pointer-events: none;
}
body.page-case .gcal-list p {
    color: rgba(255,255,255,.82);
    margin-top: 14px;
    padding: 0 4px;
    height: 3.2em;
    font-size: 15px;
    line-height: 1.6em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color .2s ease;
}
body.page-case .gcal-list li:hover p { color: #0EA5E9; }

/* ---- 分页 ---- */
body.page-case .paging { margin: 30px auto 10px auto; height: auto; font-size: 13px; }
body.page-case .paging a {
    margin: 0 4px;
    padding: 0 14px;
    line-height: 38px;
    min-width: 38px;
    border-radius: 8px;
    border: 1px solid rgba(14,165,233,.22);
    background: rgba(255,255,255,.03);
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-family: inherit;
    transition: all .2s ease;
}
body.page-case .paging a:hover {
    background: rgba(14,165,233,.15);
    border-color: rgba(14,165,233,.6);
    color: #fff;
}
body.page-case .paging .current {
    background: linear-gradient(90deg, #0EA5E9 0%, #1E3A8A 100%);
    color: #fff;
    border: 1px solid #0EA5E9;
    font-weight: 700;
    line-height: 38px;
    padding: 0 14px;
    margin: 0 4px;
    border-radius: 8px;
}

/* ---- 案例详情页（s.cshtml） ---- */
body.page-case .alxq-title { padding: 20px 0 24px 0; border-bottom: 1px solid rgba(14,165,233,.18); margin-bottom: 8px; }
body.page-case .alxq-title h1 { font-size: 26px; color: #fff; font-weight: 700; margin-bottom: 12px; }
body.page-case .alxq-title h4 { color: #fff; }
body.page-case .alxq-title span { color: rgba(255,255,255,.5); font-size: 13px; margin: 0 8px; }
body.page-case .edibox { padding: 32px 0; color: rgba(255,255,255,.78);  font-size: 15px; line-height: 1.6; }
body.page-case .edibox div { margin-bottom: 6px; }
body.page-case .edibox img { max-width: 100%; border-radius: 6px; }
body.page-case .edibox a { color: #0EA5E9; }

body.page-case .xwfy { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(14,165,233,.18); }
body.page-case .xwfy-a a {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    line-height: 1.6;
    display: block;
    padding: 10px 0;
}
body.page-case .xwfy-a a:hover { color: #0EA5E9; }
body.page-case .fy-go { color: #0EA5E9; font-size: 13px; margin-bottom: 4px; }
body.page-case .fy-go span { margin: 0 6px; color: rgba(14,165,233,.4); }
body.page-case .fl.xwfy-a a,
body.page-case .fr.xwfy-a a { background: rgba(255,255,255,.03); border: 1px solid rgba(14,165,233,.16); border-radius: 8px; padding: 12px 18px; }

body.page-case .fanghui1 { margin-top: 40px; }
body.page-case .fanghui1 a {
    display: inline-block;
    padding: 0 36px;
    line-height: 44px;
    border-radius: 22px;
    border: 1px solid rgba(14,165,233,.5);
    background: rgba(14,165,233,.1);
    color: #0EA5E9;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all .2s ease;
}
body.page-case .fanghui1 a:hover { background: #0EA5E9; color: #fff; border-color: #0EA5E9; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    body.page-case .case-layout { gap: 24px; }
    body.page-case .brief-nav { flex: 0 0 180px; width: 180px; }
}
@media (max-width: 768px) {
    body.page-case .ban { height: 220px; }
    body.page-case .ban .case-ban-overlay { padding: 24px 20px; max-width: 92%; }
    body.page-case .case-ban-kicker { letter-spacing: 3px; margin-bottom: 10px; }
    body.page-case .case-ban-title { letter-spacing: 1px; }
    body.page-case .gcal-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    body.page-case .gcal-list .img100 img { height: 150px; }
}
@media (max-width: 640px) {
    body.page-case .case-layout { flex-direction: column; gap: 20px; }
    body.page-case .brief-nav { position: static; flex: 0 0 auto; width: 100%; }
    body.page-case .brief-nav-con ul { display: flex; flex-wrap: wrap; gap: 8px; }
    body.page-case .brief-nav-con li { flex: 0 0 auto; margin: 0; }
    body.page-case .left-yi { line-height: 42px; padding: 0 14px; }
}
@media (max-width: 480px) {
    body.page-case .gcal-list { grid-template-columns: 1fr; }
}
