/* fonts.py */
/* fonts.py 가 쓴다(2026-11-23 다국어 글꼴 보충) — 손으로 고치지 않는다. 설명 = /home/cheongdampt/i18n/tools/fonts.py */
@font-face{font-family:"Pretendard Variable";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/PretendardVariable.i18n-lat.woff2) format("woff2");font-weight:45 920;font-display:swap;unicode-range:U+00A0-00A8,U+00AA-00AD,U+00AF,U+00B1-00B6,U+00B8-00D6,U+00D8-0148,U+014A-01C3,U+01C5-024F,U+0300-031E,U+0321-036F,U+2000-200D,U+2010-2012,U+2015-2017,U+201A-201B,U+201E-2025,U+2027,U+202F-203A,U+203C-2060,U+20A0-20BF,U+2100-2101,U+2103,U+2105-2106,U+2109,U+2113,U+2116-2117,U+211E-2121,U+2123,U+2126,U+212A-212B,U+212E,U+2132,U+213B,U+214D,U+214F,U+2194-2199,U+21A9-21AA,U+21B0-21B1,U+21B3-21B5,U+21BA-21BB,U+21D0,U+21D2,U+21D4,U+21DE-21DF,U+21E4-21E5,U+21E7,U+21EA,U+2202,U+2205-2206,U+220F,U+2211-2212,U+221A,U+221E,U+222B,U+2248,U+2260,U+226A-226B,U+22EF,U+25A0-25A2,U+25AA,U+25B2-25B3,U+25B6-25B7,U+25BA-25BD,U+25C0-25C1,U+25C4-25C7,U+25CA,U+25E6,U+25EF}
@font-face{font-family:"Pretendard";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/PretendardVariable.i18n-lat.woff2) format("woff2");font-weight:45 920;font-display:swap;unicode-range:U+00A0-00A8,U+00AA-00AD,U+00AF,U+00B1-00B6,U+00B8-00D6,U+00D8-0148,U+014A-01C3,U+01C5-024F,U+0300-031E,U+0321-036F,U+2000-200D,U+2010-2012,U+2015-2017,U+201A-201B,U+201E-2025,U+2027,U+202F-203A,U+203C-2060,U+20A0-20BF,U+2100-2101,U+2103,U+2105-2106,U+2109,U+2113,U+2116-2117,U+211E-2121,U+2123,U+2126,U+212A-212B,U+212E,U+2132,U+213B,U+214D,U+214F,U+2194-2199,U+21A9-21AA,U+21B0-21B1,U+21B3-21B5,U+21BA-21BB,U+21D0,U+21D2,U+21D4,U+21DE-21DF,U+21E4-21E5,U+21E7,U+21EA,U+2202,U+2205-2206,U+220F,U+2211-2212,U+221A,U+221E,U+222B,U+2248,U+2260,U+226A-226B,U+22EF,U+25A0-25A2,U+25AA,U+25B2-25B3,U+25B6-25B7,U+25BA-25BD,U+25C0-25C1,U+25C4-25C7,U+25CA,U+25E6,U+25EF}
@font-face{font-family:"Pretendard Variable";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/PretendardVariable.i18n-vi.woff2) format("woff2");font-weight:45 920;font-display:swap;unicode-range:U+1E00-1EFF}
@font-face{font-family:"Pretendard";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/PretendardVariable.i18n-vi.woff2) format("woff2");font-weight:45 920;font-display:swap;unicode-range:U+1E00-1EFF}
@font-face{font-family:"Pretendard Variable";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/PretendardVariable.i18n-cyr.woff2) format("woff2");font-weight:45 920;font-display:swap;unicode-range:U+0400-049D,U+04A0-04FF,U+052F,U+2116}
@font-face{font-family:"Pretendard";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/PretendardVariable.i18n-cyr.woff2) format("woff2");font-weight:45 920;font-display:swap;unicode-range:U+0400-049D,U+04A0-04FF,U+052F,U+2116}
@font-face{font-family:"NanumMyeongjo";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/NotoSerif.g-cyrillic.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"NanumMyeongjo";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/NotoSerif.g-cyrillic.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"NanumMyeongjo";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/NotoSerif.g-cyrillic-ext.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"NanumMyeongjo";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/NotoSerif.g-cyrillic-ext.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Cormorant";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/CormorantGaramond.g-cyrillic.woff2) format("woff2");font-weight:300 700;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Cormorant";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/CormorantGaramond.g-cyrillic-ext.woff2) format("woff2");font-weight:300 700;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"NanumMyeongjo";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/NotoSerif.g-latin.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+00A0-00FF,U+2000-206F}
@font-face{font-family:"NanumMyeongjo";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/NotoSerif.g-latin.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+00A0-00FF,U+2000-206F}
@font-face{font-family:"Cormorant";src:url(https://channel-static.rebeauty.co.kr/cheongdampt/ko/_i18n/fonts/CormorantGaramond.g-latin.woff2) format("woff2");font-weight:300 700;font-display:swap;unicode-range:U+00A0-00FF,U+2000-206F}
/* /fonts.py */
/* 청담라플라스 다국어 공통 CSS (2026-11-23) — 번역 페이지에만 serve.php 가 넣는다. 글꼴 보충 · 줄바꿈 규칙 */

/* 번역 글은 한국어보다 길다: 긴 낱말이 좁은 칸을 넘으면 그 안에서 줄을 바꾼다 */
html[data-lpi] [data-t]{overflow-wrap:break-word}   /* 번역된 글 덩어리에만(serve.php 가 data-t 를 붙인다). body 전체에 두었더니 영문 장식 낱말(Contribution)까지 쪼개졌다(2026-11-24) */
/* 한국어 줄 묶음(낱말이 갈리지 않게 붙인 span)은 번역 글에서는 풀어 준다 — 긴 번역 구절이 휴대폰 폭을 넘지 않게 */
html[data-lpi] :is(.nw,.ac-nw,.ak-nw,.cr-nw,.mc-nw,.lp-nw,.th-nw,.fd-words,.tc-ln){white-space:normal}

/* 2026-11-24 배치 검사에서 고친 것 ─────────────────────────────── */
/* 줄바꿈 다듬기: 제목 · 짧은 글은 줄 길이를 고르게, 문단은 끝 줄에 낱말 하나만 남지 않게(지원하는 브라우저만) */
/* text-wrap 줄임 속성은 white-space:nowrap(한 줄 고정)까지 풀어 버린다 → 세부 속성 text-wrap-style 만 쓴다(2026-11-24, 병원 Tour 층 표지가 두 줄로 꺾여 겹쳤다) */
html[data-lpi] :is(h1,h2,h3,h4,h5,figcaption,summary,dt,th,label,button,.kicker,.lead,[class*="-h"],[class*="-t"],[class*="-k"]){text-wrap-style:balance}
html[data-lpi] .hero-en{text-wrap-style:balance}   /* 2026-11-25 SEO: 첫 화면 h1 을 .hero-kick 으로 옮겼다 — 영문 큰 제목(이제 p)도 예전처럼 줄을 고르게 */
html[data-lpi] :is(p,li,dd,td,blockquote){text-wrap-style:pretty}
/* 머리글 회원 링크가 가운데 메뉴에 닿을 때(rt.js fitHead 가 붙인다) */
#hd .hd-util.lpi-h2 .hu-2,#hd .hd-util.lpi-h1 .hu-mem{display:none}
/* 메인 «고민 카드»: 제목 · 설명이 카드 아래에 따로 떠 있어(absolute) 번역 글이 두 줄이 되면 겹쳤다 → 아래에서부터 차례로 쌓는다 */
html[data-lpi] .cn-t{display:flex;flex-direction:column;justify-content:flex-end;padding:0 22px 20px;box-sizing:border-box}
html[data-lpi] .cn-t span{position:relative;left:auto;right:auto;bottom:auto}
html[data-lpi] .cn-t .cn-s{margin-top:7px}
/* Comfort Care 접힌 카드: 제목이 한 줄 띠 안에서 아래 기준으로 떠 있다 → 접힌 카드에서는 한 줄 + «…», 펼친 카드(.on)는 전체 */
html[data-lpi] .cc-pan li:not(.on) .cp-t strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}
html[data-lpi] .cc-pan li:not(.on) .cp-t{flex-wrap:nowrap}
/* 의료진 사진 모음 작은 칸 설명: 번역 글이 길어 사진 위로 넘쳤다 → 3줄까지 */
html[data-lpi] .dp-gal .dp-ph:not(:first-of-type) figcaption{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
/* LA Place «무엇이 다른가» 큰 제목: 줄마다 한 줄 고정(nowrap)이라 번역 낱말이 옆 칸 본문까지 넘쳤다(모션 PC 배치) → 칸 안에서 줄을 바꾼다 */
html[data-lpi] .df-h span{white-space:normal}
/* 메인 DERMAL SOLUTION 카드: 높이가 비율로 고정이라 번역 설명 · 칩이 길면 위쪽이 잘렸다(PC 1280 ru 88px) → 글 · 칩을 조금 줄이고, 좁은 PC(1025–1279)는 2열 */
html[data-lpi] .card-txt{left:22px;right:22px;bottom:24px} html[data-lpi] .card h3{font-size:17px;line-height:1.4} html[data-lpi] .card h3 small{font-size:15px} html[data-lpi] .card p{font-size:13px;line-height:1.55;margin-top:8px} html[data-lpi] .chips{gap:5px} html[data-lpi] .chips li{font-size:11.5px;line-height:1.45;padding:2px 8px;white-space:normal} html[data-lpi] .cards:not(:hover):not(:focus-within) .card:first-child .chips,html[data-lpi] .card:hover .chips,html[data-lpi] .card:focus-within .chips{margin-top:12px} @media (min-width:1025px) and (max-width:1279px){html[data-lpi] .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 5-Layer 펼친 층 카드: 카드 높이가 고정(clamp 640–880px)이라 번역 문장이 위로 넘쳤다(ru) → 큰 문장 · 본문을 조금 줄인다 */
html[data-lpi] .st-line{font-size:22px;line-height:1.4}
html[data-lpi] .st-p{font-size:15px;line-height:1.7}
/* (모션 PC 아코디언) 펼친 카드 글은 카드 아래에서 위로 쌓이고 쓸 수 있는 높이 = 카드 − 제목줄 84px → 아코디언을 조금 키우고 아래 여백을 줄인다(1280×800 ru +59px → −18px) */
html[data-lpi] .st-acc{height:clamp(700px,94vh,960px)}
html[data-lpi] .st-acc .st-txt{padding-bottom:30px}
/* 한 줄 고정(nowrap)이라 번역 글이 칸 · 화면 밖으로 나갔다: 5-Layer 오른쪽 표지, Cell Priming 아코디언 제목 */
html[data-lpi] :is(.rp-dev,.eco-acc h3){white-space:normal}
/* 오시는 길 진료시간 표(.contact .hours): 요일 칸이 120px(휴대폰 100px) 고정이라 번역 요일 이름이 두 줄로 꺾였다 → 요일 칸을 글 길이에 맞추고 요일 · 시간을 각각 한 줄로(2026-11-24 사용자 «각각 1줄로») */
html[data-lpi] .contact .hours{grid-template-columns:max-content minmax(0,1fr)}
html[data-lpi] .contact .hours dt,html[data-lpi] .contact .hours dd{white-space:nowrap}
