/* 수술 설명 카드: 번호·제목·설명 다음에 그림 */
body.wds .dn-insight-card>.dn-insight-card__desc{flex:0 0 auto}
body.wds .dn-insight-card>.dn-insight-card__fig{margin:auto 0 0;padding-top:20px;width:100%}
@supports (grid-template-rows:subgrid){
body.wds .dn-insight-track{display:grid;grid-auto-flow:column;grid-auto-columns:max(300px,calc(25% - 12px));grid-template-rows:auto auto auto 1fr}
body.wds .dn-insight-track>.dn-insight-card{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:0;align-content:start}
body.wds .dn-insight-track>.dn-insight-card>.dn-insight-card__fig{margin:0;align-self:start}
@media (max-width:768px){body.wds .dn-insight-track{grid-auto-columns:260px}}
/* 넓은 화면에서 카드가 3장이면 제목 줄과 같은 폭을 3등분해 채운다. 다 보이므로 넘김 막대는 감춘다 */
@media (min-width:1024px){
body.wds .dn-insight-section:has(.dn-insight-card__fig) .dn-insight-track{max-width:1120px}
body.wds .dn-insight-track:has(>.dn-insight-card:nth-child(3):last-child){grid-auto-columns:max(300px,calc((100% - 32px)/3))}
body.wds .dn-insight-slider:has(>.dn-insight-track>.dn-insight-card:nth-child(3):last-child) .dn-insight-scrollbar{display:none}
}
}
/* 그림: 한 가지 비율, 한 가지 모서리 */
body.wds .content_wrap .dn-insight-section{--eye-fig-radius:10px}
body.wds .content_wrap .dn-insight-section .dn-insight-card .dn-insight-card__fig>img:not([class*="avatar"]):not([class*="profile"]){aspect-ratio:8/5;border-radius:var(--eye-fig-radius) !important}
body.wds .content_wrap .dn-insight-section .dn-surg .dn-surg__step img:not([class*="avatar"]):not([class*="profile"]){display:block;width:100%;max-width:none;height:auto;aspect-ratio:8/5;object-fit:cover;object-position:var(--eye-pos,50% 50%);border-radius:var(--eye-fig-radius) !important;background:none}
/* 컷: 번호·설명 다음에 그림, 같은 줄 그림 윗선 맞춤 */
body.wds .dn-surg .dn-surg__step{display:flex;flex-direction:column}
body.wds .dn-surg .dn-surg__cap{flex:1 0 auto;margin:0 0 10px}
body.wds .dn-insight-card .dn-surg .dn-surg__cap{min-height:39px}
/* 번호·설명이 없는 그림도 그림 구역 윗선에서 바로 시작한다 */
body.wds .dn-insight-card .dn-insight-card__fig>img,body.wds .dn-insight-card .dn-insight-card__fig>ul.dn-surg__grid{margin-top:0}
body.wds .dn-surg--block .dn-surg__grid--four{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
@media (min-width:768px){body.wds .dn-surg--block .dn-surg__grid--four{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}
body.wds .dn-surg--titled .dn-surg__t{display:inline}
body.wds .dn-surg--titled .dn-surg__d{display:block;margin-top:6px}
/* 트임 컷: 눈과 표시선이 칸 안에 온전히 오게 묶음별로 위치를 잡는다 */
body.wds .dn-surg:has(img[src*="/medial-canthoplasty-"]){--eye-pos:50% 50% !important}
body.wds .dn-surg:has(img[src*="/lateral-canthoplasty-"]){--eye-pos:50% 30% !important}
body.wds .dn-surg:has(img[src*="/lower-canthoplasty-"]){--eye-pos:50% 54% !important}
