/* 서브페이지: 어절을 지키는 줄바꿈과 일관된 이미지·본문 간격 */
:is(.sub-hero,.lx-intro,.lx-panel,.lx-special,.lifting-contact) :is(h1,h2,h3,h4){word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance}
:is(.lx-intro,.lx-panel,.lx-special,.lifting-contact) :is(p,li,summary,figcaption){word-break:keep-all;overflow-wrap:anywhere;text-wrap:pretty}
.lx-intro p,.lx-panel p,.lx-panel .lx-care li{text-wrap:balance}
.sub-hero-desc{text-wrap:balance;word-break:keep-all;overflow-wrap:anywhere}
.lx-intro h2,.lx-intro p{max-width:880px;margin-left:auto!important;margin-right:auto!important}
.lx-intro h2 em,.lx-intro h2>span{display:inline-block}
.lx-intro p:not(.eyebrow)+p{margin-top:12px}
.lx-panel :is(.lx-head-copy,.lx-split>div,.lx-recommend>div,.lx-faq>div){min-width:0}
.lx-panel :is(.lx-head,.lx-split,.lx-recommend){align-items:start}
.lx-panel .lx-split.is-text{align-items:stretch}
.lx-panel :is(.lx-head-img,.lx-split-img){margin:0}
.lx-panel :is(.lx-head-copy p,.lx-steps p,.lx-benefits p,.eq-body p){line-height:1.8}
.lx-panel .lx-block{margin-bottom:clamp(56px,6vw,88px)}
.lx-panel>.lx-block:last-child{margin-bottom:0}
.lx-panel .lx-section>.lx-benefits{margin-bottom:0}
.lx-panel .lx-title{margin-bottom:36px}
.lx-panel .lx-title p{max-width:840px;margin-left:auto;margin-right:auto}
.lx-panel .lx-recommend li{border-radius:24px;text-wrap:balance}
.lx-panel .lx-tags li{white-space:nowrap}
.lx-panel .lx-keys{grid-template-columns:repeat(2,minmax(0,1fr))}
.lx-panel .lx-keys strong{line-height:1.5;text-wrap:balance}
.lx-panel .lx-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
.lx-panel .lx-steps:has(>li:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.lx-panel .lx-steps:has(>li:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.lx-panel .lx-steps strong{line-height:1.5;text-wrap:balance}
.lx-panel .lx-benefits strong{line-height:1.5;text-wrap:balance}
.lx-panel .lx-faq summary{line-height:1.65;text-wrap:pretty}
.lx-panel .lx-faq details p{line-height:1.85}
.lx-panel .lx-faq summary::after{width:20px;height:24px;line-height:24px;text-align:center;right:8px;top:20px}
.lx-panel .lx-faq details[data-course-guide] p:not(:last-child){margin-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:12px}
.lx-panel .lx-faq details[data-course-guide] p+p{margin-top:0;border-top-left-radius:0;border-top-right-radius:0;padding-top:0}
.lx-panel .eq-card{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start}
.lx-panel .eq-img{height:300px;padding:24px 16px;background:#faf8f6}
.lx-panel .eq-img img{width:100%;height:100%;object-fit:contain;object-position:center top}
.lx-panel .eq-body{min-width:0;padding:26px 24px}
.lx-panel .eq-body h4{font-size:22px;line-height:1.45;text-wrap:balance}
.lx-panel .eq-rec li{text-wrap:balance}
.lx-panel .eq-hash{row-gap:8px}
.lx-panel .cr-cards strong{text-wrap:balance;line-height:1.5}
.lx-panel .cr-cards p{line-height:1.8}
.lx-panel .a010-vows p+p{margin-top:12px}
.lx-special li{text-wrap:pretty}
@media(min-width:761px) and (max-width:1100px){
  .lx-tabs-wrap{top:80px}
  .lx-panel .lx-steps:has(>li:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:761px) and (max-width:900px){
  .lx-panel .lx-steps:has(>li:nth-child(3):last-child){grid-template-columns:1fr}
}
@media(max-width:760px){
  .sub-category{overflow-x:auto;justify-content:safe center}
  .sub-category>a{flex:0 0 auto;white-space:nowrap}
  .sub-hero h1{font-size:clamp(28px,8vw,34px);line-height:1.35}
  .sub-hero-desc{max-width:32em;margin-left:auto;margin-right:auto;line-height:1.7}
  .lx-intro{padding-top:52px;padding-bottom:32px}
  .lx-intro h2{font-size:clamp(26px,7vw,32px);line-height:1.45}
  .lx-intro p:not(.eyebrow){line-height:1.85}
  .lx-panel{padding-top:40px}
  .lx-panel :is(.lx-head,.lx-split,.lx-recommend,.lx-faq){gap:28px}
  .lx-panel .lx-block{margin-bottom:52px}
  .lx-panel>.lx-block:last-child{margin-bottom:0}
  .lx-panel .lx-title{margin-bottom:28px}
  .lx-panel .lx-head h2{font-size:30px;line-height:1.4;margin-bottom:16px}
  .lx-panel h3{font-size:22px;line-height:1.45}
  .lx-panel .lx-steps,.lx-panel .lx-steps:has(>li:nth-child(2):last-child),.lx-panel .lx-steps:has(>li:nth-child(4):last-child){grid-template-columns:1fr;gap:16px}
  .lx-panel .lx-steps li{padding:28px 24px}
  .lx-panel .lx-benefits:has(>li>p){grid-template-columns:1fr;gap:16px}
  .lx-panel .lx-benefits:has(>li>p) li{padding:24px}
  .lx-panel .lx-benefits.is-photo:has(>li>p) img{aspect-ratio:auto;max-height:220px;object-fit:contain;object-position:center}
  .lx-panel .lx-benefits:has(>li>p) strong{font-size:17px}
  .lx-panel .lx-benefits:has(>li>p) p{font-size:14px;line-height:1.8}
  .lx-panel .lx-benefits:not(:has(>li>p)) strong{font-size:15px}
  .lx-panel .lx-keys{grid-template-columns:1fr}
  .lx-panel .lx-points,.lx-panel .lx-care{padding:28px 22px}
  .lx-panel .lx-points li{padding-left:38px;line-height:1.8}
  .lx-panel .lx-recommend{padding:28px 20px}
  .lx-panel .lx-recommend li{padding:12px 14px 12px 42px;line-height:1.75}
  .lx-panel .lx-faq summary{padding-left:28px;padding-right:30px;line-height:1.7}
  .lx-panel .lx-faq details p{padding:16px 18px}
  .lx-panel .eq-card{grid-template-columns:1fr}
  .lx-panel .eq-img{height:260px;padding:24px}
  .lx-panel .eq-body{padding:24px 20px}
  .lx-panel .eq-rec{padding:18px}
  .lx-panel .cr-cards strong{margin-left:14px;margin-right:14px;font-size:16px}
  .lx-panel .cr-cards p{margin-left:14px;margin-right:14px;line-height:1.75}
  .lx-panel .cr-cards:has(p){grid-template-columns:1fr;gap:16px}
  .lx-special{padding-top:32px}
}

/* [수정 261116] 원리 설명 단면 그림: 화면 폭 전체로 키우지 않고 가운데 정렬 */
.lx-figure.is-diagram{max-width:720px;margin-left:auto;margin-right:auto}
.lx-intro .lx-figure.is-diagram{margin-top:36px;margin-bottom:0}
/* 잡티 종류 카드: 단면 그림을 카드 위에 (흉터 종류 카드와 같은 모양) */
.pg-melasma_3020 .lx-benefits.is-photo img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:0 16px;margin:0 0 14px}