/* Shared treatment layout contract. Header, consultation bar and review UI are outside this scope. */
body.treatment-page main{--uniform-gap:24px;--uniform-card-padding:28px;--uniform-title-gap:16px}
body.treatment-page main [data-uniform-group="cards"],body.treatment-page main [data-uniform-group="gallery"],body.treatment-page main [data-uniform-group="pair"]{gap:var(--uniform-gap)!important;align-items:stretch}
body.treatment-page main [data-uniform-card]{min-width:0;box-sizing:border-box}
body.treatment-page main [data-uniform-group="cards"]>.target-card,body.treatment-page main [data-uniform-group="cards"]>.process-card,body.treatment-page main [data-uniform-group="cards"]>article:not(.signature-card):not(.cp-story-item),body.treatment-page main .np-cases>[data-uniform-card]{padding:var(--uniform-card-padding)!important}
body.treatment-page main .signature-copy{padding:var(--uniform-card-padding)!important}
body.treatment-page main [data-uniform-group="cards"] [data-uniform-slot="heading"]{font-family:Pretendard,sans-serif!important;font-size:24px!important;line-height:1.45!important;font-weight:650!important;letter-spacing:-.035em;margin:0 0 var(--uniform-title-gap)!important;word-break:keep-all;overflow-wrap:anywhere}
body.treatment-page main [data-uniform-group="cards"] [data-uniform-slot="heading"] strong{font-size:inherit!important;line-height:inherit!important}
body.treatment-page main [data-uniform-group="cards"] [data-uniform-slot^="body"]{font-family:Pretendard,sans-serif!important;font-size:17px!important;line-height:1.85!important;margin:0!important;word-break:keep-all;overflow-wrap:anywhere}
body.treatment-page main [data-uniform-group="cards"] [data-uniform-slot^="lead"]{display:block;margin:0 0 16px!important}
body.treatment-page main [data-uniform-icon]{width:64px!important;height:64px!important;min-height:64px;flex:none}
body.treatment-page main [data-uniform-group] [data-uniform-media]{position:relative!important;display:block!important;box-sizing:border-box;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:var(--uniform-photo-ratio,1.6)!important;margin:0!important;overflow:hidden!important;padding:0!important;background:transparent!important}
body.treatment-page main [data-uniform-group] [data-uniform-media]>div:has(>img){width:100%!important;height:100%!important;aspect-ratio:auto!important;margin:0!important}
body.treatment-page main [data-uniform-group] [data-uniform-media] img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;position:static!important;left:auto!important;background:transparent!important}
body.treatment-page main [data-uniform-slot="caption"]{margin:0!important;padding:16px 0 0!important;font-size:15px!important;line-height:1.65!important;word-break:keep-all}
body.treatment-page main [data-uniform-group] [data-uniform-media] .np-gal-mark{position:absolute;left:12px;top:12px;margin:0;font-size:12px;line-height:1.4;padding:6px 8px;background:var(--clinic-ink,#8b7055);color:#fff}
body.treatment-page main .signature-card.wide>figure{min-height:0!important;aspect-ratio:auto!important}
body.treatment-page main .image-clean-text-grid .signature-card{display:block;grid-column:auto}
body.treatment-page main .depth-step[data-uniform-text-only]{grid-template-columns:1fr}
body.treatment-page main .np-split-img>img{display:block;width:100%;height:auto;object-fit:contain}
body.treatment-page main [data-uniform-table]{table-layout:fixed;width:100%}
body.treatment-page main [data-uniform-table] th,body.treatment-page main [data-uniform-table] td{vertical-align:top;word-break:keep-all}
body.treatment-page main .next-table thead th:first-child{width:19%}
body.treatment-page main .next-table thead th:not(:first-child){width:auto}
body.treatment-page main .np-table thead th:first-child{width:22%}
body.treatment-page main .np-table thead th:last-child{width:22%}
body.treatment-page main .allon-compare .compare-name{display:block;min-height:2.9em;line-height:1.45}
body.treatment-page main .allon-compare .compare-badge{min-height:1.5em}
body.treatment-page main .care-table thead th .care-icon{display:block;width:64px;height:64px;margin:0 auto 16px}
@media(max-width:760px){
 body.treatment-page main{--uniform-gap:20px;--uniform-card-padding:24px;--uniform-title-gap:14px}
 body.treatment-page main [data-uniform-group="cards"],body.treatment-page main [data-uniform-group="gallery"],body.treatment-page main [data-uniform-group="pair"]{grid-template-columns:minmax(0,1fr)!important}
 body.treatment-page main [data-uniform-group="cards"] [data-uniform-slot="heading"]{font-size:22px!important}
 body.treatment-page main [data-uniform-group="cards"] [data-uniform-slot^="body"]{font-size:16px!important}
 body.treatment-page main [data-uniform-slot="caption"]{font-size:14px!important;padding-top:14px!important}
 body.treatment-page main .signature-card.wide>figure{aspect-ratio:1.6!important;min-height:0!important}
 body.treatment-page main .np-table-wrap{overflow:visible!important;border:0}
 body.treatment-page main .np-table{display:block!important;min-width:0!important}
 body.treatment-page main .np-table thead{display:none}
 body.treatment-page main .np-table tbody{display:grid;gap:16px}
 body.treatment-page main .np-table tr{display:block;border:1px solid #ffffff24;padding:4px 0}
 body.treatment-page main .np-table td,body.treatment-page main .np-table th{display:block;width:100%!important;box-sizing:border-box;padding:12px 16px!important}
 body.treatment-page main .np-table td:before{content:attr(data-label);display:block;font-size:13px;color:var(--clinic-light);margin-bottom:5px}
}

body.treatment-page main [data-uniform-icon]:not(svg){display:flex!important;align-items:center;justify-content:center}
body.treatment-page main [data-uniform-media-gap]{margin-bottom:24px!important}

body.treatment-page main [data-uniform-group="cards"] [data-uniform-slot="heading"] h3,body.treatment-page main [data-uniform-group="cards"] [data-uniform-slot="heading"] h4{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}

/* Revision 24: equal visible photo edges, rather than equal empty containers. */
html body.treatment-page main [data-uniform-group][data-uniform-group] figure[data-uniform-card]{margin:0!important;min-width:0;align-self:stretch}
html body.treatment-page main [data-uniform-group][data-uniform-group] [data-uniform-media]{flex:none!important;align-self:stretch;isolation:isolate}
html body.treatment-page main [data-uniform-group][data-uniform-group] [data-uniform-media] img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 50%!important;margin:0!important;padding:0!important;border:0!important}
html body.treatment-page main [data-uniform-group][data-uniform-group] [data-uniform-slot="caption"]{align-self:stretch;box-sizing:border-box}
body.treatment-page main .process-photo-pair{margin-top:32px!important}
@media(max-width:760px){body.treatment-page main .process-photo-pair{margin-top:24px!important}}
