/* 신규 상세 15개 전용 (.ng 범위). 기존 site.css 를 건드리지 않는다. */
.ng{--navy:#0f2742}
.ng .ng-s{padding:84px 0}
.ng .ng-s.soft{background:var(--soft)}
.ng h2{font-size:clamp(26px,3.2vw,40px);font-weight:700;margin-bottom:26px;overflow-wrap:break-word}
.ng h3{font-size:19px;font-weight:700}
.ng p{font-size:17px;line-height:1.85}
.ng figure img{width:100%;object-fit:cover;background:#e9edf1}
.ng figcaption{padding-top:10px;font-size:15px;line-height:1.55;color:var(--mut)}
.ng .crumb{font-size:14px;color:var(--mut);margin-bottom:18px}

/* 히어로: DOM 순서 = 사진 → H1 → 설명 → CTA (모바일 그대로, 데스크톱만 배치 변경) */
.ng-hero{padding:34px 0 56px}
.ng-hero .w{display:grid;gap:30px;grid-template-columns:minmax(0,1fr)}
.ng figure,.ng .ht,.ng .w>*{min-width:0}
.ng-hero h1{font-weight:800;letter-spacing:-.04em;line-height:1.15;font-size:clamp(34px,5vw,60px);margin-bottom:20px;overflow-wrap:break-word}
.ng-hero .lead{max-width:680px;margin-bottom:28px;font-size:18px}
.ng-hero .cta{display:flex;gap:12px;flex-wrap:wrap}
.ng-hero .hi img{aspect-ratio:16/10;max-height:620px}
.ng-hero.h-splitL .w,.ng-hero.h-splitR .w{grid-template-columns:minmax(0,6fr) minmax(0,6fr);align-items:center;gap:56px}
.ng-hero.h-splitR .hi{order:2}
.ng-hero.h-splitL .hi img,.ng-hero.h-splitR .hi img{aspect-ratio:4/5;max-height:640px}
.ng-hero.h-full{background:#fff}
.ng-hero.h-full .hi img{aspect-ratio:21/9}
.ng-hero.h-band{background:var(--soft);padding-bottom:64px}
.ng-hero.h-band .hi img{aspect-ratio:16/7}
.ng-hero.h-band .ht{background:#fff;padding:36px 40px;margin:-90px 40px 0;position:relative;box-shadow:0 10px 30px rgba(15,39,66,.08);border-top:4px solid var(--red)}
.ng-hero.h-splitL{background:#f7fafc}.ng-hero.h-splitR{background:#fff6f0}

/* 상단 사진 4장 / 중간 사진 2장 */
.ng-top{padding:10px 0 56px}
.ng-g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}
.ngm-g22 .ng-g4{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.ng-g4 img{aspect-ratio:4/3}
.ngm-r11 .ng-g4 img{aspect-ratio:1/1}
.ngm-r34 .ng-g4 img{aspect-ratio:3/4}
.ng-mid{padding:20px 0 70px}
.ng-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ng-g2 img{aspect-ratio:4/3}
.ngm-r34 .ng-g2 img{aspect-ratio:3/4}

/* 본문 블록 */
.ng-text .w{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:56px}
.ng-text h2{position:sticky;top:96px;align-self:start}
.ng-text.alt .w{grid-template-columns:minmax(0,8fr) minmax(0,4fr)}.ng-text.alt h2{order:2}
.ng-text .b p+p{margin-top:16px}
.ng-note .box{background:#fff4ec;border-left:5px solid #f26a1b;padding:34px 38px}
.ng-note h2{font-size:clamp(22px,2.6vw,30px);margin-bottom:14px}
.ng-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ng-cards>div{background:#fff;padding:28px;border-top:3px solid var(--navy)}
.ng-cards b{display:block;color:var(--red);font-size:14px;letter-spacing:.1em;margin-bottom:6px}
.ng-cards p{margin-top:10px;font-size:16px;line-height:1.75}
.ng-check{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 40px;border-top:2px solid var(--ink)}
.ng-check li{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}
.ng-check i{flex:0 0 24px;height:24px;margin-top:3px;border:2px solid var(--red);border-radius:5px;position:relative}
.ng-check i:after{content:"";position:absolute;left:6px;top:1px;width:6px;height:12px;border:solid var(--red);border-width:0 3px 3px 0;transform:rotate(45deg)}
.ng-check p,.ng-steps p{margin-top:6px;font-size:16px;line-height:1.75}
.ng-steps{list-style:none;counter-reset:s}
.ng-steps li{display:flex;gap:22px;padding:22px 0;border-bottom:1px solid var(--line)}
.ng-steps li:first-child{border-top:2px solid var(--ink)}
.ng-steps span{flex:0 0 54px;font-size:30px;font-weight:800;color:var(--red);line-height:1.2}
.ng-cmp{display:grid;gap:22px}.ng-cmp.c2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ng-cmp.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ng-cmp>div{border:1px solid var(--line);padding:28px}.ng-cmp>div:nth-child(2){background:var(--soft)}
.ng-cmp ul{list-style:none;margin-top:14px}.ng-cmp li{padding:9px 0 9px 20px;position:relative;font-size:16px;line-height:1.7;border-bottom:1px dashed var(--line)}
.ng-cmp li:before{content:"";position:absolute;left:0;top:19px;width:8px;height:8px;background:var(--red)}
.ngt{overflow:hidden;border-top:2px solid var(--ink)}
.ngt table{width:100%;min-width:0;border-collapse:collapse}
.ngt th{background:#fff;text-align:left;padding:15px 18px;font-size:16px;border-bottom:1px solid var(--ink)}
.ngt td{padding:15px 18px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.7;vertical-align:top}
.ngt td:first-child{font-weight:700;white-space:nowrap}
.ng-flow .ng-steps li{align-items:flex-start}
.ng .rl b{font-size:16px}.ng .rl span{font-size:14px}

@media(max-width:1000px){
 .ng .ng-s{padding:56px 0}
 .ng-hero{padding:20px 0 40px}
 .ng-hero .w{gap:22px}
 .ng-hero.h-splitL .w,.ng-hero.h-splitR .w{grid-template-columns:minmax(0,1fr);gap:22px}
 .ng-hero.h-splitR .hi{order:0}
 .ng-hero .hi img,.ng-hero.h-splitL .hi img,.ng-hero.h-splitR .hi img,.ng-hero.h-full .hi img,.ng-hero.h-band .hi img{aspect-ratio:16/10;max-height:none}
 .ng-hero.h-band .ht{margin:0;padding:24px 0 0;box-shadow:none;border-top:0;background:transparent}
 .ng-g4,.ngm-g22 .ng-g4{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ng-g2{gap:10px}
 .ng-text .w,.ng-text.alt .w{grid-template-columns:minmax(0,1fr);gap:6px}.ng-text h2,.ng-text.alt h2{position:static;order:0}
 .ng-cards{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .ng-check{grid-template-columns:minmax(0,1fr)}
 .ng-cmp.c2,.ng-cmp.c3{grid-template-columns:minmax(0,1fr)}
 .ng-note .box{padding:24px 22px}
 /* 표: 필수 정보 보존한 카드형 */
 .ngt table,.ngt thead,.ngt tbody,.ngt tr,.ngt td{display:block;width:100%}
 .ngt thead{display:none}
 .ngt tr{padding:14px 0;border-bottom:1px solid var(--line)}
 .ngt td{border:0;padding:3px 0;font-size:16px}
 .ngt td:first-child{white-space:normal;font-size:17px;color:var(--navy)}
 .ngt td[data-l]:not(:first-child):before{content:attr(data-l) " · ";font-weight:700;color:var(--mut);font-size:14px}
 body{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
}
@media(max-width:600px){
 .ng-cards{grid-template-columns:minmax(0,1fr)}
 .ng-steps span{flex-basis:42px;font-size:24px}
 .ng-steps li{gap:14px}
 .ng p,.ng-hero .lead{font-size:16px}
 .ng-hero .cta .btn{flex:1 1 100%;text-align:center}
 }
@media(max-width:480px){.ng-g2{grid-template-columns:minmax(0,1fr)}.ng-g2 img,.ngm-r34 .ng-g2 img{aspect-ratio:4/3}}
@media(max-width:380px){.ng-hero h1{font-size:30px}}
