/* 非产品页面正文的兼容修正；导航、页尾及产品兼容样式由各自组件维护。 */
[hidden] { display:none!important }
img { max-width:100% }
button, a { touch-action:manipulation }
button { cursor:pointer }
main { display:block }
.container { width:calc(100% - 48px);max-width:1200px }
main a:focus, button:focus { outline:2px solid #79a5ff;outline-offset:3px }
.home-page .sec-head h1 { font-size:30px;font-weight:700;position:relative;padding-top:20px;margin:0 }
.home-page .sec-head h1:before { content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:34px;height:4px;border-radius:2px;background:#1e5ae8 }
#products { scroll-margin-top:115px }
.cases-page .wall-sec { padding:45px 0 }
.cases-page .wall-head { max-width:1000px;margin:auto;padding:0 24px;text-align:center }
.cases-page .case-grid { padding-top:15px }
.cases-page .case-photo { color:white }
.case-product-links { display:flex;flex-wrap:wrap;justify-content:center;padding-bottom:40px }
.case-product-links a { margin:5px;padding:7px 12px;border:1px solid #dce3ef;border-radius:16px;color:#1e5ae8;font-size:13px }
.cases-page .seo-blk { padding:45px 0 }
.lightbox { padding:30px;top:0;right:0;bottom:0;left:0 }
.lightbox img { max-width:100%;max-height:80vh }
.news-shell .news-feature { margin:0 0 24px }
.news-shell .news-row { margin:0 0 18px }
.news-shell .news-row h2 { font-size:18px;margin:6px 0 }
.news-shell .news-feature-pic:empty, .news-shell .news-row-pic:empty { background:#f1f5fb }
.pagination { display:flex;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:30px }
.pagination>* { margin:8px }
.pagination a, .retry-button { padding:8px 18px;border:1px solid #dce3ef;border-radius:6px;color:#1e5ae8;background:#fff }
.top-label { background:#1e5ae8;color:#fff;padding:3px 6px;font-size:12px;border-radius:4px }
.article>img { display:block;width:100%;height:auto;margin:24px 0 }
.article-content { line-height:1.9;overflow-wrap:break-word }
.article-content img, .article-content video { max-width:100%;height:auto }
.article-content table { display:block;overflow:auto;border-collapse:collapse }
.article-content td, .article-content th { border:1px solid #dce3ef;padding:8px }
.article-content p { margin:1em 0 }
.article-source, .article-tags { font-size:13px;color:#788396 }
.article-lead { background:#f4f7fc;padding:18px }
@supports not (display:grid) {
.home-page .prod-grid, .home-page .adv-grid, .home-page .scene-grid, .home-page .flow, .home-page .about-facts, .about-page .res-grid, .about-page .motto-grid { display:flex;flex-wrap:wrap }
.home-page .prod-card { width:23%;margin:1% }
.home-page .adv, .home-page .step, .home-page .scene { width:46%;margin:2% }
.home-page .fact { width:46%;margin:2% }
.home-page .about { display:block }
.home-page .about-poster { margin-top:24px }
.news-feature, .news-row { display:flex;flex-wrap:wrap }
.news-feature>div, .news-row>div { width:48%;margin:1% }
}
@media(max-width:700px) {
.news-feature>div, .news-row>div { width:100%;margin:0 }
.home-page .prod-card { min-width:0 }
.container { width:calc(100% - 32px) }
}
@supports not (display:grid) {
@media(max-width:700px) {
.home-page .prod-card { width:46%;margin:2% }
}
}
@media(prefers-reduced-motion:reduce) {
html { scroll-behavior:auto }
*, *:before, *:after { animation:none!important;transition:none!important }
}
@media(max-width:900px) {
.home-page .sec-head h1 { font-size:24px }
}
@media(max-width:560px) {
.home-page .sec-head h1 { font-size:21px;padding-top:14px }
}
.cases-page .lane { gap:0 }
.cases-page .lane>.card { display:block;margin-right:16px }
.cases-page .lane .tag { color:white }
/* 图片与底部控制栏分别定位，为说明文字预留独立区域。 */
.case-lightbox-image { position:absolute;left:5%;right:5%;top:64px;bottom:164px;display:flex;align-items:center;justify-content:center }
.case-lightbox-image img { position:relative;z-index:1;max-height:100%;max-width:100% }
/* 加载提示固定在图片下层；切图时新图尚未显示，提示自然露出，无需脚本切换提示状态。 */
.case-image-loading { position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:0;color:#dce8fa;text-align:center;font-size:14px;line-height:22px;white-space:nowrap;pointer-events:none }
.case-loading-spinner { display:block;width:30px;height:30px;margin:0 auto 12px;border:3px solid rgba(220,232,250,.22);border-top-color:#9dc0ff;border-radius:50%;box-sizing:border-box;animation:case-photo-loading .8s linear infinite }
@keyframes case-photo-loading { to { transform:rotate(360deg) } }
@media(prefers-reduced-motion:reduce) { .case-loading-spinner { animation:none } }
.case-lightbox-controls { position:absolute;left:50%;bottom:64px;width:calc(100% - 48px);max-width:760px;height:64px;transform:translateX(-50%) }
.case-lightbox-controls .case-prev, .case-lightbox-controls .case-next { position:absolute;top:50%;transform:translateY(-50%);width:36px;height:42px;border:1px solid #fff6;background:#07101e99;color:white;border-radius:6px;font-size:18px }
.case-lightbox-controls .case-prev { left:0 }
.case-lightbox-controls .case-next { right:0 }
.case-lightbox-controls .case-photo-label { display:flex;align-items:center;justify-content:center;height:100%;padding:0 60px;margin:0;color:white;text-align:center;line-height:22px;word-wrap:break-word;overflow:hidden }
.lightbox .case-related { position:absolute;left:50%;bottom:24px;transform:translateX(-50%);margin:0;color:#9dc0ff;white-space:nowrap }
.cases-page .wall-head { z-index:2 }
.cases-page .case-product-links { margin-left:auto;margin-right:auto;justify-content:center;text-align:center }
