/* 상위 6개 페이지 전용 (body.top6): 세부 서비스 5/3/2열, 시공사례 5/3/2열 */
body.top6 .casegrid{grid-template-columns:repeat(5,1fr);gap:14px}
body.top6 .card.case{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;transition:transform .25s,box-shadow .25s}
body.top6 .card.case:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(36,59,75,.18)}
body.top6 .card.case .thumb{width:100%;height:auto;aspect-ratio:3/4;border-radius:0}
body.top6 .card.case .ct{padding:10px 12px 12px}
body.top6 .case b{font-size:15px;min-height:2.7em;word-break:keep-all}
body.top6 .case p{font-size:12.5px}
@media(max-width:1100px){body.top6 .casegrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){
body.top6 .casegrid{grid-template-columns:repeat(2,1fr);gap:12px}
body.top6 .case b{font-size:14px}
body.top6 .subgrid{grid-template-columns:repeat(2,1fr);gap:12px}
body.top6 .subgrid .card.svc{display:block;aspect-ratio:3/4;padding:0;min-height:0}
body.top6 .subgrid .card .thumb{width:100%;height:100%;border-radius:0}
body.top6 .subgrid .cap{position:absolute;padding:40px 10px 10px;color:#fff;background:linear-gradient(0deg,rgba(24,41,54,.92),rgba(24,41,54,0))}
body.top6 .subgrid .cap b{font-size:14px}body.top6 .subgrid .cap span{font-size:11.5px;color:#fff}
body.top6 .subgrid .cap i{display:none}
}
@media(prefers-reduced-motion:reduce){body.top6 .card.case{transition:none}}
body.top6 .rmore{margin:14px 0 0;font-size:14.5px}body.top6 .rmore a{color:var(--navy);text-decoration:underline}
