/* v2s: 全站排版自检修正 */
/* 1 顶部图带下方统一留白（拉弯页、关于页已自带） */
.v2d-banner+section:not(.bending-start):not(.v2q-about):not(.library){margin-top:clamp(48px,5.5vw,88px)}
.v2d-banner+.library{margin-top:clamp(32px,3.5vw,48px)}
/* 2 无实拍图的项目卡：改为深色钢板质感，不再像空白占位 */
.project-visual .record-visual{position:relative;justify-content:flex-end;background:linear-gradient(160deg,#2b3238 0%,#1b232b 100%);border-top:3px solid var(--navy);color:#fff;overflow:hidden}
.project-visual .record-visual::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,#ffffff08 0 1px,transparent 1px 10px)}
.project-visual .record-visual::after{content:"HONGYING";position:absolute;left:clamp(18px,2vw,34px);top:clamp(18px,2vw,30px);font:600 11px/1 var(--mono);letter-spacing:.24em;color:#ffffff66}
.project-visual .record-visual strong{position:relative;color:#fff;font-size:clamp(20px,1.8vw,26px);font-weight:600}
.project-visual .record-visual>span{position:relative;color:#c9d1d6;margin-top:10px;font:600 11px/1.4 var(--mono);letter-spacing:.12em;text-transform:uppercase}
/* 3 案例详情页无图时的条纹块与黄色开发标签隐藏 */
.v2e-nophoto{display:none}
.v2e-hero .preview-todo{background:#1b232bcc;color:#fff;font-weight:600;letter-spacing:.04em;padding:5px 10px}
/* 4 案例图集：避免最后一行只剩一张孤图 */
.v2f-grid>.v2f-ph:first-child:nth-last-child(3n+1){grid-column:1/-1;aspect-ratio:16/8}
.v2f-grid>.v2f-ph:last-child:nth-child(3n+2){grid-column:span 2;aspect-ratio:auto}
.v2f-gallery{margin-top:clamp(36px,4vw,56px)}
.v2f-gallery h2{padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:18px}
@media(max-width:760px){
 .v2f-grid>.v2f-ph:first-child:nth-last-child(3n+1),.v2f-grid>.v2f-ph:last-child:nth-child(3n+2){grid-column:auto;aspect-ratio:4/3}
 .v2f-grid>.v2f-ph:first-child:nth-last-child(odd){grid-column:1/-1;aspect-ratio:16/10}
}
/* 5 关于页图注短句不再拆出孤字 */
.v2q-fig figcaption,.v2r-photo figcaption{text-wrap:pretty;word-break:keep-all}
/* v2t: 技术页圆管大图补图注，样式同设备图注 */
.feature-split .v2t-cap{margin:0;padding:12px 0 0;font-size:12px;line-height:1.6;color:var(--muted);background:#fff}
@media(max-width:640px){.feature-split .v2t-cap{font-size:11px}}
/* v2t: 删卡后网格补齐——末行孤卡横排占满；仅两张卡时两列 */
@media(min-width:901px){
.project-grid:not(:has(>[hidden]))>.project-card:last-child:nth-child(3n+1):not(:first-child){grid-column:1/-1;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:28px;align-items:end}
.project-grid:not(:has(>[hidden]))>.project-card:last-child:nth-child(3n+1):not(:first-child) .card-copy{padding:0 0 12px}
.project-grid:has(>.project-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* v2u: 港澳代表工程三张实拍卡，桌面三列 */
@media(min-width:901px){.ed-record-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.ed-record:has(.record-photo){display:flex!important;flex-direction:column!important;align-items:stretch;padding:12px 12px 16px!important;gap:12px}.ed-record .record-photo{order:-1;width:100%;max-width:none;margin:0}.ed-record .record-photo img{aspect-ratio:4/3;height:auto;width:100%}.ed-record .record-copy{min-width:0;padding:0 4px}.ed-record .record-copy h3{overflow-wrap:anywhere}}
