@charset "utf-8";
/* 밑그림 클리닉 테마 (딥 네이비)
   색은 아래 변수만 바꾸면 된다. 관리자 > 테마 문구·사진 의 포인트 색은 --st-accent 를 덮어쓴다. */
:root {
    --st-ink: #18212E;        /* 글자 */
    --st-paper: #F3F5F8;      /* 밝은 바탕 (차가운 아이보리) */
    --st-card: #FFFFFF;       /* 카드 바탕 */
    --st-char: #14233F;       /* 어두운 섹션 바탕 (푸터) */
    --st-mute: #6B7584;       /* 보조 글자 */
    --st-line: #DDE3EA;
    --st-accent: #1C3557;     /* 강조 (딥 네이비): 버튼, 영문 제목, 전화번호 */
    --st-max: 1440px;
    --st-pad: clamp(20px, 5vw, 80px);
    --st-sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    --st-serif: "Cormorant Garamond", "Times New Roman", serif;
    --st-ease: cubic-bezier(.2, .7, .1, 1);
}

/* basic 의 1200px 고정 폭 해제 */
#hd, #wrapper, #ft { min-width: 0; }
html { scroll-behavior: smooth; }
body { background: var(--st-paper); color: var(--st-ink); font-family: var(--st-sans); word-break: keep-all; -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 3px; }
.st-label { font-size: 12px; font-weight: 600; letter-spacing: .24em; color: var(--st-accent); margin: 0 0 18px; }
.st-serif { font-family: var(--st-serif); font-weight: 300; letter-spacing: -.01em; line-height: 1; margin: 0; }
.st-empty { color: var(--st-mute); padding: 24px 0; }

/* 등장 효과: 처음부터 보이는 상태에서 살짝 올라오게 (JS 가 꺼져도 내용은 보인다) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--st-ease), transform 1s var(--st-ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 헤더 ---------- */
#st-hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, color .4s, box-shadow .4s; }
#st-hd.is-over { color: #fff; }
#st-hd.is-solid { background: var(--st-paper); color: var(--st-ink); box-shadow: 0 1px 0 var(--st-line); }
.st-hd-in { max-width: var(--st-max); margin: 0 auto; height: 64px; padding: 0 var(--st-pad); display: flex; align-items: center; gap: 36px; }
.st-logo { font-family: var(--st-serif); font-size: 26px; font-weight: 500; letter-spacing: .18em; margin-right: auto; color: inherit; }
.st-logo:hover { color: inherit; text-decoration: none; }
.st-logo img { display: block; height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.st-logo .st-logo-light { display: none; }
#st-hd.is-over:not(.is-solid) .st-logo-dark { display: none; }
#st-hd.is-over:not(.is-solid) .st-logo-light { display: block; }
body.st-menu-open #st-hd .st-logo-dark { display: block; }
body.st-menu-open #st-hd .st-logo-light { display: none; }
.st-gnb { display: none; }
.st-gnb > ul { display: flex; gap: 40px; }
.st-gnb li { position: relative; }
.st-gnb a { font-size: 15px; font-weight: 500; color: inherit; }
.st-gnb > ul > li > a { position: relative; padding: 8px 0; }
.st-gnb > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--st-ease); }
.st-gnb > ul > li > a:hover { text-decoration: none; }
.st-gnb > ul > li > a:hover::after, .st-gnb > ul > li:focus-within > a::after { transform: scaleX(1); transform-origin: left; }
.st-gnb-sub { display: none; position: absolute; top: 100%; left: -18px; min-width: 170px; margin-top: 12px; padding: 10px 0; background: #fff; color: var(--st-ink); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.st-gnb li:hover > .st-gnb-sub, .st-gnb li:focus-within > .st-gnb-sub { display: block; }
.st-gnb-sub a { display: block; padding: 8px 18px; font-size: 14px; }
.st-cta { display: none; border: 1px solid currentColor; color: inherit; padding: 8px 18px; border-radius: 30px; font-size: 13px; letter-spacing: .04em; transition: background .3s, color .3s; }
.st-cta:hover { background: var(--st-ink); border-color: var(--st-ink); color: #fff; text-decoration: none; }
#st-hd.is-over .st-cta:hover { background: #fff; border-color: #fff; color: var(--st-ink); }
.st-burger { display: flex; flex-direction: column; gap: 6px; width: 40px; height: 40px; justify-content: center; align-items: center; background: none; border: 0; cursor: pointer; color: inherit; }
.st-burger i { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s; }
.st-burger[aria-expanded="true"] i:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
.st-burger[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.st-burger[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }
#st-mnav { background: #fff; color: var(--st-ink); padding: 8px var(--st-pad) 28px; height: calc(100dvh - 64px); overflow-y: auto; }
#st-mnav[hidden] { display: none; } /* basic 의 nav{display:block} 이 hidden 속성을 이기지 않게 */
#st-mnav li a { display: block; padding: 16px 0; font-size: 22px; font-weight: 600; color: var(--st-ink); border-bottom: 1px solid var(--st-line); }
.st-mnav-util { display: flex; gap: 16px; padding-top: 18px; font-size: 14px; }
.st-mnav-util a { color: var(--st-mute); }
body.st-menu-open #st-hd { background: #fff; color: var(--st-ink); }

/* ---------- 서브 페이지 (게시판·회원) ---------- */
#container_wr { width: auto; max-width: var(--st-max); margin: 0 auto; padding: 120px var(--st-pad) 0; }
#container { float: none; width: auto; margin: 0; }
#container_title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 32px; }

/* ---------- 푸터 ---------- */
#st-ft { background: var(--st-char); color: #9AA5B8; }
.st-ft-in { max-width: var(--st-max); margin: 0 auto; padding: 56px var(--st-pad) 100px; display: grid; gap: 20px; font-size: 13px; line-height: 1.9; }
.st-ft-brand b { display: block; font-family: var(--st-serif); font-weight: 500; font-size: 28px; letter-spacing: .18em; color: #fff; margin-bottom: 8px; }
.st-ft-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.st-ft-links a { color: #C9C9C9; }
.st-copy { margin: 0; }
.st-top { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--st-ink); border: 1px solid var(--st-line); display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .08em; opacity: 0; pointer-events: none; transition: opacity .3s; }
.st-top.is-show { opacity: 1; pointer-events: auto; }
.st-top:hover { text-decoration: none; color: var(--st-accent); }

/* ---------- 태블릿 ---------- */
@media (min-width: 768px) {
    .st-hd-in { height: 76px; }
    .st-ft-in { grid-template-columns: 1fr auto; align-items: start; }
}

/* ---------- 데스크탑 ---------- */
@media (min-width: 1024px) {
    .st-hd-in { height: 88px; }
    .st-gnb, .st-cta { display: block; }
    .st-burger, #st-mnav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ================= 인터렉션 추가분 ================= */

/* 제목 글자 나누기: JS 가 글자마다 span 으로 감싼다 */
.st-split-ch { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 1s var(--st-ease), opacity 1s var(--st-ease); transition-delay: calc(var(--i) * 35ms); }
.st-split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.is-in .st-split-ch { transform: none; opacity: 1; }

/* 사진 펼쳐지기 */
.js [data-clip] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.77,0,.18,1); }
.js [data-clip].is-in { clip-path: inset(0 0 0 0); }


/* ================= 서브 페이지 공통 머리말 ================= */
.st-subhero { max-width: var(--st-max); margin: 0 auto; padding: 150px var(--st-pad) 48px; border-bottom: 1px solid var(--st-line); }
.st-crumb { font-size: 12px; letter-spacing: .14em; color: var(--st-mute); margin: 0 0 28px; display: flex; gap: 10px; }
.st-crumb a { color: var(--st-mute); }
.st-crumb a:hover { color: var(--st-accent); text-decoration: none; }
.st-subhero-en { font-family: var(--st-serif); font-weight: 300; font-size: clamp(64px, 12vw, 180px); line-height: .9; margin: 0; }
.st-subhero #container_title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 18px 0 0; color: var(--st-ink); }
#container_wr { padding-top: 56px; }

/* ================= 회사소개 ================= */
.st-co, .st-bz { margin: -56px calc(var(--st-pad) * -1) 0; }
.st-co-band { position: relative; height: 78svh; min-height: 460px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; }
.st-co-band-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.st-co-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); }
.st-co-band h2 { position: relative; z-index: 1; max-width: var(--st-max); width: 100%; margin: 0 auto; padding: 0 var(--st-pad) 64px; font-size: clamp(32px, 5.4vw, 76px); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.st-co-msg, .st-co-stats, .st-co-process, .st-co-history, .st-co-cta { max-width: var(--st-max); margin: 0 auto; padding: 120px var(--st-pad) 0; }
.st-co-msg { display: grid; gap: 40px; }
.st-co-msg .st-serif, .st-co-sec-head .st-serif, .st-co-cta .st-serif { font-size: clamp(48px, 7vw, 104px); }
.st-co-text { font-size: 18px; line-height: 1.95; color: #333; }
.st-co-text p { margin: 0 0 1.2em; }
.st-co-sign { margin: 32px 0 0; font-weight: 600; }
.st-co-sign::before { content: ""; display: inline-block; width: 32px; height: 1px; background: var(--st-ink); vertical-align: middle; margin-right: 12px; }
.st-co-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.st-co-stats div { border-top: 1px solid var(--st-ink); padding: 22px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.st-co-stats strong { font-family: var(--st-serif); font-weight: 400; font-size: clamp(56px, 7vw, 96px); line-height: 1; font-variant-numeric: tabular-nums; }
.st-co-stats small { font-family: var(--st-sans); font-size: .3em; font-weight: 600; margin-left: 6px; vertical-align: top; }
.st-co-stats span:last-child { color: var(--st-mute); font-size: 15px; }
.st-co-sec-head { margin-bottom: 48px; }
.st-co-process ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.st-co-process li { position: relative; border: 1px solid var(--st-line); padding: 28px 26px 32px; display: flex; flex-direction: column; gap: 6px; transition: background .5s var(--st-ease), color .5s var(--st-ease), border-color .5s; transition-delay: calc(var(--d) * 60ms); }
.st-co-process li:hover { background: var(--st-ink); color: #fff; border-color: var(--st-ink); }
.st-co-process .n { font-size: 12px; letter-spacing: .2em; color: var(--st-accent); }
.st-co-process .en { font-family: var(--st-serif); font-size: 40px; line-height: 1.1; margin-top: 24px; }
.st-co-process b { font-size: 18px; }
.st-co-process li p { color: var(--st-mute); margin: 6px 0 0; line-height: 1.7; }
.st-co-process li:hover p { color: #BDBDBD; }
.st-co-timeline { --line: 0; list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.st-co-timeline::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--st-line); }
.st-co-timeline::after { content: ""; position: absolute; left: 0; top: 8px; width: 1px; height: calc((100% - 16px) * var(--line)); background: var(--st-ink); }
.st-co-timeline li { position: relative; display: grid; gap: 6px; padding: 0 0 44px; }
.st-co-timeline li::before { content: ""; position: absolute; left: -32px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--st-paper); border: 1px solid var(--st-ink); }
.st-co-timeline time { font-family: var(--st-serif); font-size: 40px; line-height: 1; }
.st-co-timeline p { margin: 0; font-size: 17px; color: #444; }
.st-co-cta { padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.st-circle { position: absolute; z-index: 1; right: var(--st-pad); bottom: 48px; width: 136px; height: 136px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; letter-spacing: .06em; transition: background .4s, color .4s, transform .4s var(--st-ease); }
.st-circle:hover { text-decoration: none; transform: scale(1.06); }
.st-circle-dark { position: static; border-color: var(--st-accent); color: var(--st-accent); border-color: var(--st-ink); color: var(--st-ink); }
.st-circle-dark:hover { background: var(--st-accent); color: #fff; }

/* ================= 프로젝트 목록 ================= */
.st-wk-cate { margin: 0 0 40px; overflow-x: auto; }
.st-wk-cate ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.st-wk-cate li a { display: block; padding: 9px 18px; border: 1px solid var(--st-line); border-radius: 30px; font-size: 14px; color: var(--st-ink); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.st-wk-cate li a:hover { border-color: var(--st-ink); text-decoration: none; }
.st-wk-cate #bo_cate_on { background: var(--st-ink); color: #fff; border-color: var(--st-ink); }
#bo_gall.st-wk { padding-bottom: clamp(96px, 12vw, 160px); }
.st-wk #bo_btn_top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.st-wk-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px 32px; }
.st-wk-item { position: relative; }
.st-wk-chk { position: absolute; z-index: 2; left: 12px; top: 12px; }
.st-wk-link { display: flex; flex-direction: column; gap: 10px; color: var(--st-ink); }
.st-wk-link:hover { text-decoration: none; color: var(--st-ink); }
.st-wk-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #EEE; }
.st-wk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--st-ease), filter .6s; }
.st-wk-link:hover .st-wk-img img { transform: scale(1.06); }
.st-wk-noimg { display: grid; place-items: center; height: 100%; color: var(--st-mute); font-size: 12px; letter-spacing: .2em; }
.st-wk-meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; color: var(--st-accent); margin-top: 8px; }
.st-wk-title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--st-ease); justify-self: start; align-self: flex-start; }
.st-wk-link:hover .st-wk-title { background-size: 100% 1px; }
.st-wk-loc { font-size: 14px; color: var(--st-mute); }
.st-wk .pg_wrap { margin-top: 64px; }

/* ================= 프로젝트 보기 ================= */
.st-wv { margin: -56px calc(var(--st-pad) * -1) 0; }
.st-wv-cover { margin: 0; height: 80svh; min-height: 420px; overflow: hidden; }
.st-wv-cover img { width: 100%; height: 100%; object-fit: cover; }
.st-wv-head, .st-wv-body, .st-wv-photos, .st-wv-admin, .st-wv-nav { max-width: var(--st-max); margin: 0 auto; padding-left: var(--st-pad); padding-right: var(--st-pad); }
.st-wv-head { padding-top: 64px; display: grid; gap: 40px; }
.st-wv-title { font-size: clamp(34px, 5vw, 68px); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; margin: 0; }
.st-wv-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--st-ink); }
.st-wv-facts div { padding: 16px 0; border-bottom: 1px solid var(--st-line); }
.st-wv-facts dt { font-size: 12px; letter-spacing: .12em; color: var(--st-mute); margin-bottom: 4px; }
.st-wv-facts dd { margin: 0; font-weight: 600; }
.st-wv-body { padding-top: 64px; }
.st-wv-body #bo_v_con { font-size: 18px; line-height: 1.95; max-width: 44em; color: #333; }
.st-wv-photos { padding-top: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-wv-photos figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.st-wv-photos figure.is-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.st-wv-photos img { width: 100%; height: 100%; object-fit: cover; }
.st-wv-admin { padding-top: 64px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.st-btn-line { display: inline-block; padding: 12px 26px; border: 1px solid var(--st-ink); border-radius: 30px; color: var(--st-ink); font-weight: 600; transition: background .3s, color .3s; }
.st-btn-line:hover { background: var(--st-ink); color: #fff; text-decoration: none; }
.st-btn-text { font-size: 14px; color: var(--st-mute); }
.st-btn-text:hover { color: var(--st-accent); }
.st-wv-nav { padding-top: 80px; padding-bottom: 40px; display: grid; gap: 16px; }
.st-wv-nav-item { position: relative; display: block; overflow: hidden; height: 240px; color: #fff; background: var(--st-char); }
.st-wv-nav-item:hover { color: #fff; text-decoration: none; }
.st-wv-nav-img, .st-wv-nav-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-wv-nav-img img { filter: brightness(.55); transition: transform 1.2s var(--st-ease), filter .6s; }
.st-wv-nav-item:hover img { transform: scale(1.06); filter: brightness(.7); }
.st-wv-nav-txt { position: absolute; left: 28px; bottom: 26px; right: 28px; display: flex; flex-direction: column; gap: 6px; }
.st-wv-nav-txt small { font-size: 12px; letter-spacing: .16em; color: #E2D3C4; }
.st-wv-nav-txt b { font-size: 24px; letter-spacing: -.02em; }

@media (min-width: 768px) {
    .st-co-msg { grid-template-columns: 5fr 7fr; gap: 64px; }
    .st-co-stats { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
    .st-co-process ol { grid-template-columns: 1fr 1fr; }
    .st-co-timeline { padding-left: 0; margin-left: 160px; }
    .st-co-timeline li { padding-left: 48px; }
    .st-co-timeline li::before { left: -4px; }
    .st-co-timeline time { position: absolute; left: -160px; top: 0; }
    .st-co-cta { flex-direction: row; justify-content: space-between; align-items: center; padding-bottom: 120px; }
    .st-wk-grid { grid-template-columns: 1fr 1fr; }
    .st-wk-item:nth-child(even) { margin-top: 120px; }
    .st-wv-head { grid-template-columns: 7fr 5fr; align-items: end; }
    .st-wv-nav { grid-template-columns: 1fr 1fr; }
    .st-wv-nav-item { height: 320px; }
}
@media (min-width: 1024px) {
    .st-co-process ol { grid-template-columns: repeat(4, 1fr); }
    .st-co-process li { min-height: 340px; }
    .st-wk-grid { gap: 80px 56px; }
    .st-wk-item:nth-child(4n+1) .st-wk-img { aspect-ratio: 4 / 5; }
    .st-wk-item:nth-child(4n) .st-wk-img { aspect-ratio: 4 / 5; }
}

/* ================= 공지·상담 게시판 (skin/board/news) ================= */
.st-bd #bo_btn_top::after, .st-wk #bo_btn_top::after { display: none; }
.st-bd #bo_btn_top, .st-wk #bo_btn_top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.st-bd #bo_list_total, .st-wk #bo_list_total { font-size: 13px; color: var(--st-mute); }
.st-bd #bo_list_total span, .st-wk #bo_list_total span { color: var(--st-ink); font-weight: 600; margin-right: 8px; }
.st-bd .btn_bo_user .btn, .st-wk .btn_bo_user .btn { width: 34px; height: 34px; line-height: 34px; border: 0; border-radius: 50%; background: none; color: var(--st-mute); font-size: 13px; transition: background .3s, color .3s; }
.st-bd .btn_bo_user .btn:hover, .st-wk .btn_bo_user .btn:hover { background: #F2F2F2; color: var(--st-ink); }
.st-bd-allchk { margin-bottom: 10px; font-size: 13px; }
.st-bd-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--st-ink); }
.st-bd-row { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--st-line); }
.st-bd-chk { flex: none; padding-right: 12px; }
.st-bd-num { flex: none; width: 44px; font-size: 12px; color: var(--st-mute); font-variant-numeric: tabular-nums; }
.st-bd-row.is-notice .st-bd-num { color: var(--st-accent); }
.st-bd-link { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline; padding: 18px 0; color: var(--st-ink); }
.st-bd-link:hover { color: var(--st-ink); text-decoration: none; }
.st-bd-cate { grid-column: 1 / -1; font-size: 12px; letter-spacing: .12em; color: var(--st-accent); }
.st-bd-tit { font-size: 16px; font-weight: 500; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: transform .5s var(--st-ease); }
.st-bd-tit .fa-lock { color: var(--st-mute); margin-right: 6px; font-size: .85em; }
.st-bd-new { display: inline-block; font-size: 10px; line-height: 16px; width: 16px; text-align: center; border-radius: 50%; background: var(--st-accent); color: #fff; vertical-align: 3px; }
.st-bd-cmt { font-size: 13px; color: var(--st-accent); font-weight: 500; }
.st-bd-meta { grid-column: 1; display: flex; gap: 12px; font-size: 12px; color: var(--st-mute); font-variant-numeric: tabular-nums; }
.st-bd-row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--st-ink); transition: width .6s var(--st-ease); }
.st-bd-row:hover::after { width: 100%; }
.st-bd-row:hover .st-bd-tit { transform: translateX(4px); }
.st-bd .pg_wrap { margin-top: 56px; }
.st-bd .bo_fx { display: none; }

/* 보기 */
#bo_v.st-bd { max-width: none; margin: 0; padding-bottom: clamp(96px, 12vw, 160px); }
#bo_v.st-bd > header { padding-bottom: 28px; }
#bo_v.st-bd #bo_v_title { word-break: keep-all; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
#bo_v.st-bd .bo_v_tit { font-size: inherit; line-height: inherit; }
#bo_v.st-bd #bo_v_info > h2, #bo_v.st-bd #bo_v_info::after { display: none; }
#bo_v.st-bd .bo_v_cate { display: block; width: auto; background: none; color: var(--st-accent); font-size: 12px; letter-spacing: .14em; padding: 0; margin: 0 0 14px; font-weight: 600; line-height: 1; }
#bo_v.st-bd #bo_v_info { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--st-ink); border-bottom: 1px solid var(--st-line); }
#bo_v.st-bd .pf_img { display: none; }
#bo_v.st-bd .profile_info_ct { padding: 0; font-size: 13px; color: var(--st-mute); }
#bo_v.st-bd .profile_info_ct strong { font-weight: 500; margin-right: 12px; }
#bo_v.st-bd .profile_info_ct strong:first-of-type { color: var(--st-ink); font-weight: 600; }
#bo_v.st-bd .profile_info_ct br { display: none; }
#bo_v.st-bd #bo_v_top .btn { border-radius: 50%; width: 34px; height: 34px; line-height: 34px; border: 0; background: none; color: var(--st-mute); font-size: 13px; }
#bo_v.st-bd #bo_v_top .btn:hover { background: #F2F2F2; color: var(--st-ink); }
#bo_v.st-bd #bo_v_atc { padding: 56px 0 24px; }
#bo_v.st-bd #bo_v_con { font-size: 17px; line-height: 1.95; color: #333; min-height: 160px; }
#bo_v.st-bd #bo_v_img img { max-width: 100%; height: auto; }
#bo_v.st-bd #bo_v_share { display: none; }
#bo_v.st-bd .bo_v_nb { margin: 40px 0 0; border-top: 1px solid var(--st-ink); }
#bo_v.st-bd .bo_v_nb li { display: flex; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--st-line); }
#bo_v.st-bd .bo_v_nb .nb_tit { flex: none; width: 72px; font-size: 12px; letter-spacing: .1em; color: var(--st-mute); }
#bo_v.st-bd .bo_v_nb .nb_tit i { display: none; }
#bo_v.st-bd .bo_v_nb a { flex: 1; font-size: 15px; font-weight: 500; min-width: 0; color: var(--st-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#bo_v.st-bd .bo_v_nb a:hover { color: var(--st-accent); text-decoration: none; }
#bo_v.st-bd .bo_v_nb .nb_date { position: static; color: var(--st-mute); font-size: 13px; }
#bo_v.st-bd .cmt_btn { margin-top: 56px; border-bottom: 1px solid var(--st-ink); }

/* 쓰기 */
#bo_w.st-bd { max-width: none; margin: 0; }
#bo_w.st-bd .frm_input, #bo_w.st-bd textarea, #bo_w.st-bd select { height: 52px; border: 0; border-bottom: 1px solid var(--st-line); border-radius: 0; box-shadow: none; background: transparent; font-size: 16px; padding: 0 2px; transition: border-color .3s; }
#bo_w.st-bd textarea { height: 280px; padding: 14px 2px; border: 1px solid var(--st-line); }
#bo_w.st-bd .frm_input:focus, #bo_w.st-bd textarea:focus { outline: none; border-color: var(--st-ink); }
#bo_w.st-bd .write_div { margin: 14px 0; }
#bo_w.st-bd .btn_confirm { display: flex; justify-content: center; gap: 12px; margin-top: 48px; }
#bo_w.st-bd .btn_submit, #bo_w.st-bd .btn_cancel { height: 56px; line-height: 56px; padding: 0 48px; border-radius: 30px; font-size: 16px; font-weight: 600; border: 1px solid var(--st-ink); }
#bo_w.st-bd .btn_submit { background: var(--st-ink); color: #fff; }
#bo_w.st-bd .btn_cancel { background: #fff; color: var(--st-ink); }
#bo_w.st-bd .btn_submit:hover { background: var(--st-accent); border-color: var(--st-accent); }

@media (min-width: 768px) {
    .st-bd-num { width: 72px; }
    .st-bd-link { padding: 20px 0; }
    .st-bd-tit { font-size: 17px; }
    .st-bd-meta { grid-column: 2; grid-row: 1; }
    .st-bd-cate ~ .st-bd-meta { grid-row: 2; }
}
@media (max-width: 767px) {
    #bo_v.st-bd #bo_v_info { flex-direction: column; align-items: flex-start; gap: 14px; }
    #bo_v.st-bd #bo_v_top .btn_bo_user { display: flex; flex-wrap: nowrap; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .st-bd-row::after, .st-bd-tit { transition: none; }
}

/* 댓글 입력: 기본 파란 버튼 대신 테마 색 */
#bo_v.st-bd #bo_vc_w textarea { border: 1px solid var(--st-line); border-radius: 0; box-shadow: none; padding: 14px; font-size: 15px; }
#bo_v.st-bd #bo_vc_w textarea:focus { outline: none; border-color: var(--st-ink); }
#bo_v.st-bd #bo_vc_w .btn_submit { height: 44px; padding: 0 28px; border-radius: 30px; background: var(--st-ink); color: #fff; font-weight: 600; border: 0; transition: background .3s; }
#bo_v.st-bd #bo_vc_w .btn_submit:hover { background: var(--st-accent); }

/* ================= 사업영역 (skin/content/business) ================= */
.st-biz-more { margin: 28px 0 8px; font-size: 14px; padding: 10px 22px; color: #fff; border-color: rgba(255,255,255,.45); }
.st-biz-more:hover { background: #fff; color: var(--st-ink); border-color: #fff; }
.st-bz-intro, .st-bz-item { max-width: var(--st-max); margin: 0 auto; padding: 96px var(--st-pad) 0; }
.st-bz-intro { display: grid; gap: 40px; padding-top: 96px; }
.st-bz-intro .st-serif { font-size: clamp(48px, 7vw, 104px); }
.st-bz-index { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--st-ink); }
.st-bz-index a { display: flex; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--st-line); color: var(--st-ink); font-weight: 500; transition: padding .4s var(--st-ease), color .3s; }
.st-bz-index a:hover { padding-left: 8px; color: var(--st-accent); text-decoration: none; }
.st-bz-index span { font-size: 12px; color: var(--st-mute); font-variant-numeric: tabular-nums; }
.st-bz-item { display: grid; gap: 32px; scroll-margin-top: 80px; }
.st-bz-img { margin: 0; overflow: hidden; aspect-ratio: 3 / 2; background: #EEE; }
.st-bz-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--st-ease); }
.st-bz-item:hover .st-bz-img img { transform: scale(1.04); }
.st-bz-txt { display: flex; flex-direction: column; }
.st-bz-num { font-size: 12px; letter-spacing: .2em; color: var(--st-accent); }
.st-bz-en { font-family: var(--st-serif); font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1; margin: 16px 0 0; }
.st-bz-title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 14px 0 0; }
.st-bz-desc { font-size: 17px; line-height: 1.85; color: #444; margin: 20px 0 0; max-width: 30em; }
.st-bz-scope { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--st-line); }
.st-bz-scope li { padding: 12px 0; border-bottom: 1px solid var(--st-line); font-size: 15px; color: #333; display: flex; gap: 12px; }
.st-bz-scope li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--st-accent); margin-top: .8em; }
.st-bz .st-co-cta { padding-top: 140px; }

@media (min-width: 1024px) {
    .st-bz-intro { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
    .st-bz-item { grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; padding-top: 140px; }
    .st-bz-item.is-flip { grid-template-columns: 5fr 7fr; }
    .st-bz-item.is-flip .st-bz-img { order: 2; }
    .st-bz-img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
    .st-bz-img img, .st-bz-index a { transition: none; }
}

/* ================= 밑그림 클리닉: 공통 ================= */
:root { --cl-hd: 64px; --cl-notice: 0px; }
body:has(.st-notice) { --cl-notice: 30px; }
.st-notice { margin: 0; height: var(--cl-notice); background: var(--st-accent); color: #E6ECF5; font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 var(--st-pad); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-notice b { font-weight: 700; color: #fff; }
.st-notice a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
#st-hd.is-solid { box-shadow: 0 1px 0 var(--st-line); }
.st-cta { background: var(--st-accent); border-color: var(--st-accent); color: #fff; }
.st-cta:hover { background: var(--st-ink); border-color: var(--st-ink); }
#container_wr, .st-subhero { scroll-margin-top: 120px; }
.st-subhero { padding-top: calc(var(--cl-hd) + var(--cl-notice) + 56px); }
.st-btn-fill { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 30px; background: var(--st-accent); color: #fff; font-size: 15px; font-weight: 600; transition: background .3s; }
.st-btn-fill:hover { background: var(--st-ink); color: #fff; text-decoration: none; }
.st-btn-light { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 30px; border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 15px; }
.st-btn-light:hover { background: #fff; color: var(--st-accent); text-decoration: none; }
.st-ico { width: 22px; height: 22px; flex: none; }
.cl-sec { max-width: var(--st-max); margin: 0 auto; padding: 96px var(--st-pad) 0; }
.cl-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.cl-head .st-serif { font-size: clamp(40px, 6vw, 72px); color: var(--st-accent); }
.cl-head .st-label { margin-bottom: 12px; }

/* 1. 첫 화면 */
.cl-hero { position: relative; max-width: var(--st-max); margin: 0 auto; padding: calc(var(--cl-hd) + var(--cl-notice)) 0 0; display: grid; }
.cl-hero-txt { padding: 40px var(--st-pad) 0; display: grid; gap: 14px; }
.cl-hero-en { font-size: clamp(52px, 8vw, 104px); color: var(--st-accent); }
.cl-hero-title { margin: 6px 0 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.cl-hero-desc { margin: 0; font-size: 16px; line-height: 1.75; color: var(--st-mute); }
.cl-hero-doc { position: relative; margin: 28px 0 0; height: 420px; overflow: hidden; border-radius: 0 0 0 110px; background: #E4E9F0; }
.cl-hero-doc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cl-hero-doc figcaption { position: absolute; left: 32px; bottom: 26px; right: 24px; color: #fff; display: grid; gap: 2px; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.cl-hero-doc figcaption b { font-size: 20px; }
.cl-hero-doc figcaption span { font-size: 13px; opacity: .92; }
.cl-hours { margin: -40px 16px 0; position: relative; z-index: 2; background: var(--st-card); border-radius: 18px; padding: 22px 22px; display: grid; gap: 18px; box-shadow: 0 18px 44px rgba(28,53,87,.12); }
.cl-hours dl { margin: 0; display: grid; gap: 7px; font-size: 14.5px; }
.cl-hours dl div { display: flex; justify-content: space-between; gap: 12px; }
.cl-hours dt { color: var(--st-mute); }
.cl-hours dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.cl-hours .is-today dt, .cl-hours .is-today dd { color: var(--st-accent); font-weight: 700; }
.cl-hours dt em { font-style: normal; font-size: 11px; margin-left: 6px; padding: 1px 7px; border-radius: 10px; background: var(--st-accent); color: #fff; vertical-align: 1px; }
.cl-hours-tel { display: grid; gap: 8px; }
.cl-hours-tel span { font-size: 12px; letter-spacing: .1em; color: var(--st-mute); }
.cl-hours-tel a:not(.st-btn-fill) { font-size: 26px; font-weight: 700; color: var(--st-accent); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cl-hours-tel a:hover { text-decoration: none; }

/* 3. 의료진 */
.cl-doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 14px; }
.cl-doc-list li { position: relative; }
.cl-doc-list a { display: grid; gap: 4px; color: var(--st-ink); }
.cl-doc-list a:hover { text-decoration: none; }
.cl-doc-list .ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px 18px 18px 60px; background: #E4E9F0; margin-bottom: 12px; }
.cl-doc-list .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1s var(--st-ease); }
.cl-doc-list a:hover .ph img { transform: scale(1.05); }
.cl-doc-list .role { font-size: 12.5px; color: var(--st-accent); font-weight: 600; letter-spacing: .02em; }
.cl-doc-list b { font-size: 19px; letter-spacing: -.02em; }
.cl-doc-list .area { font-size: 13.5px; color: var(--st-mute); }
.cl-doc-list.is-board { margin-top: 8px; }

/* 5. 칼럼 + 공지 */
.cl-news-grid { display: grid; gap: 40px; }
.cl-col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cl-col-list a { display: grid; gap: 8px; height: 100%; padding: 24px 22px; background: var(--st-card); border: 1px solid var(--st-line); border-radius: 16px; color: var(--st-ink); transition: border-color .3s, transform .4s var(--st-ease); }
.cl-col-list a:hover { border-color: var(--st-accent); transform: translateY(-4px); text-decoration: none; }
.cl-col-list .tag { font-size: 12.5px; font-weight: 600; color: var(--st-accent); }
.cl-col-list b { font-size: 18px; line-height: 1.45; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-col-list p { margin: 0; font-size: 14px; color: var(--st-mute); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-col-list time { font-size: 12.5px; color: var(--st-mute); font-variant-numeric: tabular-nums; }
.cl-news .st-news { background: var(--st-card); border: 1px solid var(--st-line); border-radius: 16px; padding: 24px 22px; }
.cl-news .st-news-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--st-ink); }
.cl-news .st-news-head h3 { margin: 0; font-size: 18px; }
.cl-news .st-news-head a { font-size: 13px; color: var(--st-mute); }
.cl-news .st-news ul { list-style: none; margin: 0; padding: 0; }
.cl-news .st-news li a { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--st-line); font-size: 14.5px; color: var(--st-ink); }
.cl-news .st-news li time { color: var(--st-mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.cl-news .st-news li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 6. 오시는 길 */
.cl-loc { margin-top: 110px; background: var(--st-accent); color: #fff; display: grid; }
.cl-loc-map { margin: 0; min-height: 280px; overflow: hidden; background: #22406A; }
.cl-loc-map img { width: 100%; height: 100%; object-fit: cover; }
.cl-loc-info { padding: 48px var(--st-pad) 56px; display: grid; gap: 20px; align-content: center; justify-items: start; }
.cl-loc-info dl { justify-self: stretch; }
.cl-loc-info .st-label { color: #9FB3D1; margin: 0; }
.cl-loc-info h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.35; letter-spacing: -.03em; }
.cl-loc-info dl { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.25); }
.cl-loc-info dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }
.cl-loc-info dt { color: #9FB3D1; }
.cl-loc-info dd { margin: 0; font-variant-numeric: tabular-nums; }
.cl-loc-info dd a { color: #fff; font-weight: 700; }
.cl-note { margin: 0; font-size: 13px; color: #B9C6DA; }

/* 푸터 진료시간 */
.st-ft-brand b { font-family: var(--st-sans); font-size: 20px; letter-spacing: -.01em; font-weight: 700; }
.st-ft-hours { margin: 0; display: grid; gap: 2px; font-size: 13px; }
.st-ft-hours div { display: flex; gap: 14px; }
.st-ft-hours dt { min-width: 90px; color: #6E7C94; }
.st-ft-hours dd { margin: 0; color: #C9D2E0; font-variant-numeric: tabular-nums; }

/* 빠른 메뉴 (데스크탑 오른쪽) · 아래 버튼 줄 (휴대폰) */
.st-quick { display: none; }
.st-mbar { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); height: 56px; border-radius: 30px; background: var(--st-card); box-shadow: 0 10px 30px rgba(20,35,63,.18); display: flex; align-items: stretch; overflow: hidden; }
.st-mbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--st-accent); }
.st-mbar a + a { border-left: 1px solid var(--st-line); }
.st-mbar a.on { background: var(--st-accent); color: #fff; }
.st-mbar .st-ico { width: 17px; height: 17px; }
.st-mbar a:hover { text-decoration: none; }
body { padding-bottom: 80px; }
#st-ft { margin-bottom: -80px; padding-bottom: 80px; }

/* 의료진 상세 */
.cl-dv { display: grid; gap: 32px; padding-bottom: 40px; }
.cl-dv-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px 22px 22px 90px; background: #E4E9F0; }
.cl-dv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.cl-dv-name { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; }
.cl-dv-role { margin: 8px 0 0; font-size: 16px; color: var(--st-accent); font-weight: 600; }
.cl-dv-area { margin: 18px 0 0; padding: 14px 18px; background: var(--st-card); border-radius: 12px; font-size: 15px; display: flex; gap: 12px; }
.cl-dv-area b { color: var(--st-mute); font-weight: 500; flex: none; }
.cl-dv-career { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--st-ink); }
.cl-dv-career #bo_v_con { font-size: 15.5px; line-height: 1.95; color: #39424F; }
.cl-dv .st-wv-admin { padding-top: 36px; }

@media (min-width: 768px) {
    .cl-doc-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .cl-col-list { grid-template-columns: repeat(3, 1fr); }
    .cl-loc { grid-template-columns: 1fr 1fr; }
    .cl-loc-map { min-height: 520px; }
    .cl-dv { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
}
@media (min-width: 1024px) {
    :root { --cl-hd: 88px; }
    body:has(.st-notice) { --cl-notice: 36px; }
    .st-notice { font-size: 13.5px; }
    .cl-hero { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
    .cl-hero-txt { padding: clamp(48px, 7vh, 96px) 0 0 var(--st-pad); align-content: start; }
    .cl-hero-doc { margin: 0; height: clamp(560px, calc(100svh - var(--cl-hd) - var(--cl-notice)), 820px); border-radius: 0 0 0 220px; grid-row: 1 / span 2; grid-column: 2; }
    .cl-hero-doc figcaption { left: 140px; bottom: 44px; }
    .cl-hours { grid-column: 1; align-self: end; margin: 24px 40px 40px var(--st-pad); grid-template-columns: 1.25fr 1fr; padding: 28px 30px; gap: 26px; }
    .cl-hours-tel { border-left: 1px solid var(--st-line); padding-left: 26px; align-content: center; }
    .cl-sec { padding-top: 140px; }
    .cl-news-grid { grid-template-columns: 2fr 1fr; gap: 20px; }
    .cl-col-list { grid-template-columns: 1fr 1fr; }
    .cl-col-list li:first-child { grid-column: 1 / -1; }
    .cl-loc { margin-top: 160px; }
    .cl-loc-info { padding: 72px var(--st-pad) 80px 72px; }

    /* 오른쪽 빠른 메뉴: 본문이 메뉴 밑으로 들어가지 않게 좌우 여백을 메뉴 폭(22+66px)보다 넓힌다 */
    :root { --st-pad: max(104px, 5vw); }
    .st-mbar { display: none; }
    body { padding-bottom: 0; }
    #st-ft { margin-bottom: 0; padding-bottom: 0; }
    .st-quick { display: grid; position: fixed; z-index: 90; right: 22px; top: 50%; transform: translateY(-40%); width: 66px; padding: 16px 0 12px; gap: 6px; justify-items: center; background: var(--st-card); border-radius: 40px; box-shadow: 0 12px 34px rgba(20,35,63,.12); }
    .st-quick a { display: grid; justify-items: center; gap: 3px; width: 58px; padding: 6px 0; font-size: 10.5px; color: var(--st-mute); border-radius: 14px; }
    .st-quick a .st-ico { width: 21px; height: 21px; color: var(--st-accent); }
    .st-quick a:hover { color: var(--st-accent); background: var(--st-paper); text-decoration: none; }
    .st-quick a.q-tel { width: 50px; height: 50px; border-radius: 50%; background: var(--st-accent); color: #fff; place-content: center; margin-top: 4px; }
    .st-quick a.q-tel .st-ico { color: #fff; width: 18px; height: 18px; }
    .st-quick .st-top { width: 50px; height: 30px; border: 0; background: none; font-size: 10px; opacity: 1; pointer-events: auto; color: var(--st-mute); }
}
@media (prefers-reduced-motion: reduce) {
    .cl-col-list a, .cl-doc-list .ph img { transition: none; }
}

/* ================= 밑그림 클리닉: 섹션 추가분 ================= */
.cl-h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.cl-lead { margin: 14px 0 0; font-size: 16px; line-height: 1.8; color: var(--st-mute); }
.cl-head-center { display: grid; justify-content: center; justify-items: center; text-align: center; gap: 0; }
.cl-head-center .st-label { margin-bottom: 14px; }

/* 슬라이드 공통 */
.cl-slider { position: relative; outline: none; }
.cl-slider-track { display: flex; gap: 24px; transition: transform .8s var(--st-ease); touch-action: pan-y; user-select: none; cursor: grab; }
.cl-slider-track.is-drag { transition: none; cursor: grabbing; }
.cl-slider:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 6px; }
.cl-drag { display: flex; align-items: center; justify-content: center; gap: 2px; width: 104px; height: 104px; border-radius: 50%; background: var(--st-accent); color: #fff; box-shadow: 0 14px 30px rgba(20,35,63,.25); z-index: 3; }
.cl-drag span { font-size: 9px; letter-spacing: .3em; padding-left: .3em; opacity: .85; }
.cl-drag button { width: 30px; height: 30px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.cl-drag button .st-ico { width: 18px; height: 18px; }
.cl-drag button:hover { opacity: .7; }

/* 2. 진료과목 슬라이드 */
.cl-dept { padding: 96px 0 0; overflow: hidden; }
.cl-dept .cl-head { margin-bottom: 44px; padding: 0 var(--st-pad); }
.cl-dept-card { flex: 0 0 82%; position: relative; transition: opacity .6s, transform .8s var(--st-ease); }
.cl-dept-card:not(.is-active) { opacity: .45; transform: scale(.94); }
.cl-dept-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #DCE3EC; }
.cl-dept-card figure img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cl-dept-info { position: relative; margin: -56px 0 0 auto; width: 88%; background: var(--st-card); padding: 28px 26px 30px; border-radius: 6px; box-shadow: 0 16px 40px rgba(20,35,63,.08); display: grid; gap: 6px; }
.cl-dept-info b { font-size: 24px; letter-spacing: -.03em; }
.cl-dept-info .en { font-size: 15px; font-weight: 600; color: var(--st-accent); letter-spacing: .02em; }
.cl-dept-info p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--st-mute); }
.cl-plus { position: absolute; right: 0; top: -60px; width: 60px; height: 60px; background: var(--st-accent); color: #fff; display: grid; place-items: center; border-radius: 4px; transition: background .3s; }
.cl-plus .st-ico { width: 26px; height: 26px; }
.cl-plus:hover { background: var(--st-ink); color: #fff; }
.cl-dept .cl-drag { margin: 26px auto 0; }

/* 화면 가득 남색 섹션 공통 */
.cl-band { position: relative; overflow: hidden; margin-top: 110px; background: var(--st-accent); color: #fff; }
.cl-band .st-label { color: #9FB3D1; }
.cl-band .cl-lead { color: #B9C6DA; }
.cl-band-in { position: relative; z-index: 1; max-width: var(--st-max); margin: 0 auto; padding: 96px var(--st-pad); }
.cl-watermark { position: absolute; margin: 0; font-family: var(--st-serif); font-style: italic; font-weight: 300; line-height: .8; color: rgba(255,255,255,.06); white-space: nowrap; pointer-events: none; user-select: none; }
.cl-watermark-v { left: -.12em; top: 0; font-size: clamp(120px, 14vw, 220px); writing-mode: vertical-rl; transform: rotate(180deg); font-style: normal; }
.cl-watermark-a { left: 2%; top: 60px; font-size: clamp(110px, 15vw, 240px); }
.cl-watermark-b { right: -2%; bottom: 40px; font-size: clamp(110px, 15vw, 240px); }

/* 3. 진료 시스템 */
.cl-system-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.cl-system-cards li { position: relative; min-height: 220px; padding: 28px 26px 30px; border-radius: 22px; color: var(--st-ink); background: linear-gradient(160deg, #FFFFFF 0%, #EEF2F8 100%); box-shadow: 0 20px 40px rgba(6,16,34,.25); display: grid; align-content: start; gap: 6px; }
.cl-system-cards .no { font-family: var(--st-serif); font-size: 16px; color: var(--st-mute); }
.cl-system-cards b { font-size: 21px; letter-spacing: -.03em; color: var(--st-accent); }
.cl-system-cards p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.7; color: #4A5566; max-width: 22em; }
.cl-system-cards .st-ico { position: absolute; right: 24px; bottom: 22px; width: 64px; height: 64px; color: var(--st-accent); opacity: .85; stroke-width: 1; }

/* 5. 연구 · 학회 */
.cl-research { background: #14233F; }
.cl-research-in { display: grid; gap: 40px; }
.cl-paper-slider .cl-slider-track { display: grid; cursor: grab; }
.cl-paper { grid-area: 1 / 1; display: grid; gap: 28px; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.cl-paper.is-active { opacity: 1; visibility: visible; }
.cl-paper-cover { margin: 0; width: min(320px, 78%); aspect-ratio: 3 / 4; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.4); overflow: hidden; }
.cl-paper-cover img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cl-paper-cover.is-drawn { position: relative; display: flex; flex-direction: column; padding: 22px 22px 0; color: #1F2733; font-family: "Times New Roman", var(--st-serif); }
.cl-paper-cover .j { font-style: italic; font-size: 15px; color: var(--st-accent); border-bottom: 1px solid #D5DCE6; padding-bottom: 10px; }
.cl-paper-cover .k { margin-top: 26%; font-family: var(--st-sans); font-size: 10px; letter-spacing: .1em; border-bottom: 1px solid #1F2733; padding-bottom: 4px; }
.cl-paper-cover b { margin-top: 10px; font-size: 17px; font-weight: 400; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.cl-paper-cover .a { margin-top: 12px; font-family: var(--st-sans); font-size: 9.5px; color: #5C6676; border-top: 1px solid #1F2733; padding-top: 6px; }
.cl-paper-cover .y { margin-top: auto; margin-left: -22px; margin-right: -22px; padding: 12px 22px; background: #9DB6D6; font-family: var(--st-sans); font-size: 11px; font-weight: 600; color: #14233F; }
.cl-paper-meta { display: grid; gap: 10px; align-content: center; }
.cl-paper-meta b { font-size: 19px; }
.cl-paper-meta p { margin: 0; font-size: 14.5px; line-height: 1.8; color: #B9C6DA; word-break: keep-all; overflow-wrap: break-word; }
.cl-paper-meta a { justify-self: start; margin-top: 8px; font-size: 13.5px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.cl-paper-meta a:hover { text-decoration: none; border-color: #fff; }
.cl-paper-slider .cl-drag { margin-top: 28px; background: #9DB6D6; color: #14233F; }
.cl-paper-slider .cl-drag button { color: #14233F; }

@media (min-width: 768px) {
    .cl-dept-card { flex-basis: 64%; }
    .cl-system-cards { grid-template-columns: 1fr 1fr; }
    .cl-paper { grid-template-columns: 320px 1fr; align-items: center; gap: 48px; }
    .cl-paper-cover { width: 320px; }
}
@media (min-width: 1024px) {
    .cl-dept { padding-top: 140px; }
    .cl-dept-card { flex-basis: 54%; }
    .cl-dept-info { padding: 36px 40px 40px; }
    .cl-dept-info b { font-size: 28px; }
    .cl-dept .cl-drag { position: absolute; left: calc(50% + 27% - 52px); top: calc(54vw * .625 * .5 - 52px); margin: 0; }
    .cl-band { margin-top: 160px; }
    .cl-band-in { padding: 140px var(--st-pad); }
    .cl-system .cl-band-in { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
    .cl-system-txt { position: sticky; top: 180px; padding-left: 40px; }
    .cl-system-cards { margin-top: 0; gap: 22px; }
    .cl-system-cards li { min-height: 300px; padding: 34px 32px; }
    .cl-system-cards li:nth-child(odd) { transform: translateY(0); }
    .cl-system-cards li:nth-child(even) { transform: translateY(140px); }
    .cl-system-cards { padding-bottom: 140px; }
    .js .cl-system-cards li[data-reveal]:nth-child(even) { transform: translateY(168px); }
    .js .cl-system-cards li[data-reveal].is-in:nth-child(even) { transform: translateY(140px); }
    .cl-research-in { grid-template-columns: 4fr 8fr; gap: 64px; align-items: center; }
    .cl-paper { grid-template-columns: 340px 1fr; gap: 64px; }
    .cl-paper-cover { width: 340px; }
    .cl-paper-slider .cl-drag { position: absolute; left: 380px; top: 0; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cl-slider-track, .cl-dept-card, .cl-paper { transition: none; }
}

/* ================= 병원소개 (skin/content/company) ================= */
#container_wr.is-bare { padding-top: calc(var(--cl-hd) + var(--cl-notice)); }
.cl-about { margin: 0 calc(var(--st-pad) * -1); }
.cl-about > section { padding-left: var(--st-pad); padding-right: var(--st-pad); }
.cl-ab-head { display: grid; justify-items: center; text-align: center; margin-bottom: 44px; }
.cl-ab-kicker { margin: 0 0 10px; font-family: var(--st-serif); font-size: 16px; letter-spacing: .08em; color: var(--st-accent); }
/* 1. 사진 머리말 */
.cl-ab-hero { position: relative; height: 62svh; min-height: 380px; overflow: hidden; display: flex; align-items: center; padding: 0 !important; }
.cl-ab-hero-bg { position: absolute; inset: -10% 0; background-size: cover; background-position: 60% 30%; will-change: transform; }
.cl-ab-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,35,63,.55), rgba(20,35,63,.05) 70%); }
.cl-ab-hero-txt { position: relative; z-index: 1; width: 100%; max-width: var(--st-max); margin: 0 auto; padding: 0 var(--st-pad); color: #fff; }
.cl-ab-hero-txt .st-label { color: #C9D4E6; }
.cl-ab-hero h2 { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-weight: 400; }
.cl-ab-hero h2 span { font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -.04em; }
.cl-ab-hero h2 i { width: clamp(60px, 10vw, 160px); height: 1px; background: rgba(255,255,255,.7); }
.cl-ab-hero h2 em { font-style: normal; font-size: clamp(15px, 1.6vw, 19px); opacity: .92; }
/* 2. 왜 */
.cl-ab-why { max-width: 820px; margin: 0 auto; padding-top: 110px !important; display: grid; justify-items: center; text-align: center; }
.cl-ab-dots { display: flex; gap: 5px; margin: 0 0 22px; }
.cl-ab-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--st-accent); opacity: .35; }
.cl-ab-dots i:nth-child(1) { opacity: 1; } .cl-ab-dots i:nth-child(2) { opacity: .8; } .cl-ab-dots i:nth-child(3) { opacity: .6; }
.cl-ab-vline { width: 1px; height: 90px; background: var(--st-mute); opacity: .5; margin: 34px 0; }
.cl-ab-lead { margin: 0 0 14px; font-size: 18px; font-weight: 600; color: var(--st-accent); }
.cl-ab-text { font-size: 16px; line-height: 1.95; color: #4A5566; }
.cl-ab-text p { margin: 0 0 .8em; }
.cl-ab-sign { margin: 16px 0 0; font-weight: 600; }
/* 3. 사진 + 질문 */
.cl-ab-split { max-width: var(--st-max); margin: 100px auto 0; display: grid; gap: 28px; }
.cl-ab-split figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.cl-ab-split figure img { width: 100%; height: 100%; object-fit: cover; }
.cl-ab-split-txt { border-top: 1px solid var(--st-ink); padding-top: 28px; }
.cl-ab-split-txt h3 { margin: 0 0 20px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; letter-spacing: -.03em; }
.cl-ab-split-txt p { margin: 0; font-size: 15.5px; line-height: 1.95; color: #4A5566; }
/* 4. 강점 */
.cl-ab-strength { margin-top: 120px; padding-top: 100px !important; padding-bottom: 100px !important; background: var(--st-card); }
.cl-ab-strength-in { max-width: 1080px; margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.cl-ab-strength ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cl-ab-strength li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-paper); font-size: 16px; font-weight: 600; }
.cl-ab-strength li .st-ico { color: var(--st-accent); width: 24px; height: 24px; }
.cl-ab-strength figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.cl-ab-strength figure img { width: 100%; height: 100%; object-fit: cover; }
/* 5. 진료 영역 */
.cl-ab-area { max-width: 1180px; margin: 0 auto; padding-top: 120px !important; display: grid; gap: 56px; }
.cl-ab-area .cl-ab-head { margin-bottom: 0; }
.cl-ab-row { display: grid; gap: 24px; align-items: center; }
.cl-ab-row figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.cl-ab-row figure img { width: 100%; height: 100%; object-fit: cover; }
.cl-ab-row > div { border-top: 1px solid var(--st-ink); padding-top: 24px; display: grid; gap: 10px; }
.cl-ab-row .en { font-family: var(--st-serif); font-size: 18px; color: var(--st-accent); }
.cl-ab-row h4 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.cl-ab-row p { margin: 0; font-size: 15px; line-height: 1.85; color: #4A5566; }
.cl-ab-row .items { color: var(--st-mute); font-size: 14px; }
.cl-ab-row a { justify-self: start; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--st-accent); }
/* 6. 둘러보기 */
.cl-ab-tour { max-width: 1180px; margin: 0 auto; padding-top: 120px !important; }
.cl-ab-tour-main { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #DCE3EC; }
.cl-ab-tour-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.cl-ab-tour-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.cl-ab-tour-thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; opacity: .55; transition: opacity .3s, border-color .3s; }
.cl-ab-tour-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-ab-tour-thumbs button.is-active, .cl-ab-tour-thumbs button:hover { opacity: 1; border-color: var(--st-accent); }
/* 7. 상담 · 예약 */
.cl-ab-contact { max-width: 1080px; margin: 0 auto; padding-top: 120px !important; padding-bottom: 120px !important; }
.cl-ab-contact-in { display: grid; gap: 12px; }
.cl-ab-contact a { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border: 1px solid var(--st-line); border-radius: 60px; background: var(--st-card); color: var(--st-ink); transition: border-color .3s, transform .4s var(--st-ease); }
.cl-ab-contact a:hover { border-color: var(--st-accent); transform: translateY(-3px); text-decoration: none; }
.cl-ab-contact a > .st-ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--st-paper); color: var(--st-accent); }
.cl-ab-contact span { display: grid; gap: 2px; }
.cl-ab-contact small { font-size: 12.5px; color: var(--st-mute); }
.cl-ab-contact b { font-size: 17px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
    .cl-ab-split { grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
    .cl-ab-strength-in { grid-template-columns: 5fr 7fr; gap: 48px; }
    .cl-ab-row { grid-template-columns: 1fr 1fr; gap: 56px; }
    .cl-ab-row.is-flip figure { order: 2; }
    .cl-ab-contact-in { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .cl-ab-hero { height: 72svh; }
    .cl-ab-why { padding-top: 140px !important; }
    .cl-ab-split { margin-top: 140px; }
    .cl-ab-split-txt { padding-bottom: 40px; }
}

/* ================= 의료진 목록 (skin/board/doctors) ================= */
.cl-ab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-accent); margin-bottom: 20px; }
.cl-dl-intro { display: grid; justify-items: center; text-align: center; padding: 30px 0 70px; }
.cl-dl-intro .cl-ab-vline { margin: 30px 0; height: 70px; }
.cl-dl-intro p { margin: 0; color: var(--st-mute); font-size: 16px; }
.cl-dl { display: grid; gap: 28px; }
.cl-dl-item { position: relative; display: grid; gap: 20px; padding: 22px; background: var(--st-card); border-radius: 18px; }
.cl-dl-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: #E4E9F0; }
.cl-dl-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1s var(--st-ease); }
.cl-dl-photo:hover img { transform: scale(1.04); }
.cl-dl-photo .wm { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--st-serif); font-size: clamp(40px, 6vw, 72px); letter-spacing: .1em; color: rgba(255,255,255,.75); pointer-events: none; }
.cl-dl-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; background: var(--st-paper); color: var(--st-accent); font-size: 12.5px; font-weight: 600; }
.cl-dl-body h3 { margin: 12px 0 4px; font-size: 26px; letter-spacing: -.03em; }
.cl-dl-body h3 a { color: var(--st-ink); }
.cl-dl-body h3 a:hover { text-decoration: none; color: var(--st-accent); }
.cl-dl-role { margin: 0 0 18px; font-size: 14.5px; color: var(--st-mute); }
.cl-dl-career { display: grid; gap: 4px 28px; border-top: 1px solid var(--st-line); padding-top: 18px; font-size: 14px; line-height: 1.85; color: #4A5566; }
.cl-dl-career h4 { margin: 10px 0 2px; font-size: 14.5px; color: var(--st-ink); }
.cl-dl-career ul { margin: 0; padding: 0; list-style: none; }
.cl-dl-career p { margin: 0; }
@media (min-width: 768px) {
    .cl-dl { grid-template-columns: 1fr 1fr; gap: 24px; }
    .cl-dl-item { grid-template-columns: 220px 1fr; padding: 26px; }
    .cl-dl-photo { aspect-ratio: 3 / 4; }
    .cl-dl-item.is-lead { grid-column: 1 / -1; grid-template-columns: 5fr 7fr; gap: 48px; padding: 36px; }
    .cl-dl-item.is-lead .cl-dl-body h3 { font-size: 34px; }
    .cl-dl-item.is-lead .cl-dl-career { grid-template-columns: repeat(3, 1fr); grid-auto-flow: column; grid-template-rows: auto 1fr; }
    .cl-dl-item.is-lead .cl-dl-career h4 { grid-row: 1; }
    .cl-dl-item.is-lead .cl-dl-career ul { grid-row: 2; }
}

/* ================= 메디컬 칼럼 (skin/board/column) ================= */
.cl-cl-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cl-cl-grid li { position: relative; }
.cl-cl-grid a { display: grid; align-content: start; gap: 8px; height: 100%; padding-bottom: 6px; color: var(--st-ink); }
.cl-cl-grid a:hover { text-decoration: none; }
.cl-cl-grid .ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--st-accent); margin-bottom: 8px; }
.cl-cl-grid .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--st-ease); }
.cl-cl-grid a:hover .ph img { transform: scale(1.05); }
.cl-cl-grid .ph.is-text { display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(150deg, var(--st-accent), #2E4F7C); }
.cl-cl-grid .ph.is-text i { color: rgba(255,255,255,.88); font-size: 34px; font-style: italic; line-height: 1.05; }
.cl-cl-grid .tag { font-size: 12.5px; font-weight: 600; color: var(--st-accent); }
.cl-cl-grid strong { font-size: 18px; line-height: 1.45; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.cl-cl-grid a:hover strong { color: var(--st-accent); }
.cl-cl-grid .ex { font-size: 14px; line-height: 1.65; color: var(--st-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-cl-grid time { font-size: 12.5px; color: var(--st-mute); font-variant-numeric: tabular-nums; }
.cl-cv, .cl-rv { background: none !important; }
.cl-cv { max-width: none; margin: 0; padding-bottom: 80px; }
.cl-cv-head { display: grid; gap: 12px; padding-bottom: 26px; border-bottom: 1px solid var(--st-ink); }
.cl-cv-head .tag { font-size: 13px; font-weight: 600; color: var(--st-accent); letter-spacing: .04em; }
.cl-cv-head h2 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.35; letter-spacing: -.03em; word-break: keep-all; }
.cl-cv-head .meta { margin: 0; display: flex; gap: 14px; font-size: 13.5px; color: var(--st-mute); }
.cl-cv-cover { margin: 32px 0 0; border-radius: 14px; overflow: hidden; }
.cl-cv-cover img { width: 100%; height: auto; display: block; }
.cl-cv-body { padding: 36px 0 10px; }
.cl-cv-body #bo_v_con { font-size: 16.5px; line-height: 1.95; color: #39424F; }
.cl-cv .st-wv-admin { padding-top: 30px; }
.cl-cv-nav { margin-top: 40px; display: grid; gap: 10px; }
.cl-cv-nav a { display: grid; gap: 4px; padding: 18px 22px; background: var(--st-card); border: 1px solid var(--st-line); border-radius: 12px; color: var(--st-ink); }
.cl-cv-nav a:hover { border-color: var(--st-accent); text-decoration: none; }
.cl-cv-nav small { font-size: 12px; color: var(--st-mute); }
.cl-cv-nav b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ================= 연구 · 학회 (skin/board/research) ================= */
.cl-rs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 18px; }
.cl-rs-grid li { position: relative; }
.cl-rs-grid a { display: grid; gap: 6px; color: var(--st-ink); }
.cl-rs-grid a:hover { text-decoration: none; }
.cl-rs-grid .cl-paper-cover { width: 100%; margin-bottom: 12px; box-shadow: 0 16px 30px rgba(20,35,63,.14); transition: transform .5s var(--st-ease); }
.cl-rs-grid a:hover .cl-paper-cover { transform: translateY(-6px); }
.cl-rs-grid .cl-paper-cover.is-drawn { padding: 16px 16px 0; }
.cl-rs-grid .cl-paper-cover.is-drawn b { font-size: 14px; }
.cl-rs-grid .cl-paper-cover .y { margin-left: -16px; margin-right: -16px; padding: 10px 16px; }
.cl-rs-grid .au { font-size: 12.5px; font-weight: 600; color: var(--st-accent); }
.cl-rs-grid strong { font-size: 15.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cl-rs-grid .jr { font-size: 13px; color: var(--st-mute); font-style: italic; }
.cl-rv { max-width: none; }
.cl-rv-top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--st-line); }
.cl-rv .cl-cv-head { border-bottom: 0; padding-bottom: 0; align-content: center; }
.cl-rv .cl-paper-cover { width: min(320px, 80%); }
.cl-rv-facts { margin: 14px 0 0; display: grid; gap: 0; border-top: 1px solid var(--st-ink); }
.cl-rv-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--st-line); font-size: 15px; }
.cl-rv-facts dt { color: var(--st-mute); }
.cl-rv-facts dd { margin: 0; font-weight: 500; }

/* ================= 진료 예약 (skin/board/reserve) ================= */
.cl-reserve { max-width: none; margin: 0; }
.cl-reserve .required { background-image: none !important; }
.cl-rs-intro { margin: 0 0 26px; padding: 18px 22px; background: var(--st-card); border-radius: 12px; font-size: 15px; color: #4A5566; }
.cl-rs-intro b, .cl-form b, .cl-agree b { color: #C0392B; }
.cl-form { display: grid; gap: 14px 20px; margin-bottom: 8px; }
.cl-form .f { display: grid; gap: 6px; }
.cl-form label { font-size: 14px; font-weight: 600; }
#bo_w.st-bd .cl-form .frm_input, #bo_w.st-bd .cl-form select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--st-line); border-radius: 10px; background: var(--st-card); font-size: 15.5px; }
#bo_w.st-bd .cl-form .frm_input:focus, #bo_w.st-bd .cl-form select:focus { border-color: var(--st-accent); outline: none; }
.cl-agree { margin-top: 24px !important; padding: 20px 22px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-card); display: grid; gap: 12px; }
.cl-agree p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--st-mute); }
.cl-agree p b { color: var(--st-ink); }
.cl-agree label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
.cl-agree input { width: 18px; height: 18px; accent-color: var(--st-accent); }
.cl-rs-info { margin: 0 0 10px; padding: 18px 22px; display: grid; gap: 8px; background: var(--st-card); border-radius: 12px; }
.cl-rs-info div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 15px; }
.cl-rs-info dt { color: var(--st-mute); }
.cl-rs-info dd { margin: 0; font-weight: 600; }
@media (min-width: 768px) {
    .cl-cl-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
    .cl-cv-nav { grid-template-columns: 1fr 1fr; }
    .cl-rs-grid { grid-template-columns: repeat(4, 1fr); gap: 48px 28px; }
    .cl-rv-top { grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
    .cl-rv .cl-paper-cover { width: 320px; }
    .cl-form { grid-template-columns: 1fr 1fr; }
}

/* 비밀글 비밀번호 확인 (그누보드 기본 member 스킨): 테마 색으로 */
#pw_confirm h1 { color: var(--st-ink); }
#pw_confirm p strong { color: var(--st-accent); }
#pw_confirm .frm_input { height: 50px; border: 1px solid var(--st-line); border-radius: 10px; background-image: none; padding: 0 14px; font-size: 15px; }
#pw_confirm .btn_submit { height: 50px; border-radius: 10px; background: var(--st-accent); font-size: 15px; }
#pw_confirm .btn_submit:hover { background: var(--st-char, #14233F); }

/* 게시판 검색: 모달 대신 목록 위쪽 줄에 셀렉트 + 입력칸 */
.st-bd .btn_bo_user, .st-wk .btn_bo_user { display: flex; align-items: center; gap: 6px; }
.st-sch { display: flex; gap: 6px; float: none !important; width: auto !important; height: auto !important; margin: 0 !important; background: none !important; }
.st-sch select, .st-sch-bar input { height: 42px; border: 1px solid var(--st-line); border-radius: 10px; background-color: var(--st-card); color: var(--st-ink); font: inherit; font-size: 14px; }
.st-sch select { padding: 0 30px 0 14px; appearance: none; background: var(--st-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2366708A' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }
.st-sch-bar { position: relative; display: block; }
.st-sch-bar input { width: 220px; padding: 0 42px 0 14px; }
.st-sch-bar input::-webkit-search-cancel-button { display: none; }
.st-sch select:focus, .st-sch-bar input:focus { outline: none; border-color: var(--st-accent); }
.st-sch-bar button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--st-mute); cursor: pointer; transition: background .3s, color .3s; }
.st-sch-bar button:hover { background: var(--st-accent); color: #fff; }
@media (max-width: 767px) {
    .st-bd #bo_btn_top, .st-wk #bo_btn_top { flex-wrap: wrap; gap: 12px; }
    .st-bd .btn_bo_user, .st-wk .btn_bo_user { width: 100%; }
    .st-sch { flex: 1; }
    .st-sch-bar { flex: 1; }
    .st-sch-bar input { width: 100%; }
}

/* 목록 아래 오른쪽 글쓰기 버튼 */
.st-write-row { display: flex; justify-content: flex-end; margin-top: 24px; }
.st-write-row .st-btn-fill { min-width: 112px; justify-content: center; }

/* 그누보드 기본 스킨의 흰 상자 배경을 걷어 낸다 (이 테마는 바탕이 연회색) */
#bo_v, #bo_w, #bo_list, #bo_gall { background: none !important; }
.bo_notice td { background: none !important; border-bottom-color: var(--st-line) !important; }

/* 그누보드 기본 파란색·흰 띠를 테마 색으로 (글 보기 댓글, 회원, 검색) */
.btn_submit { background: var(--st-accent); border-radius: 10px; transition: background .3s; }
.btn_submit:hover { background: var(--st-char); }
#bo_v_top ul, .st-bd .btn_bo_user li, .st-wk .btn_bo_user li, #bo_v .btn_bo_user li { background: none; }
.cmt_btn { background: none; border-bottom-color: var(--st-line); }
.cmt_btn span.total { color: var(--st-accent); }
.cmt_btn span.total:after { background: var(--st-accent); }
.mbskin .mbskin_box { border-color: var(--st-line); border-radius: 14px; overflow: hidden; }
.mbskin .frm_input, #fregisterform .frm_input { border-radius: 10px; background-image: none; }
#fregister p { background: var(--st-card); color: var(--st-ink); border: 1px solid var(--st-line); border-radius: 10px; font-weight: 600; }
#fregister p:before { background: var(--st-accent); border-radius: 10px 0 0 10px; }
#fregister p i { color: var(--st-accent); }
#fregister_chkall { background: var(--st-card); border-color: var(--st-line); border-radius: 10px; }
.register .btn_confirm .btn_close { border-radius: 10px; }
#sch_res_detail { background: var(--st-card); border-radius: 14px; }
#sch_res_detail select, #sch_res_detail .frm_input { border-radius: 10px; }
#sch_res_detail .btn_submit { background: var(--st-accent); border-radius: 10px; }
#sch_res_detail .switch_field input:checked + label, #sch_res_board .sch_on, #sch_res_board a:hover { background-color: var(--st-accent); border-color: var(--st-accent); color: #fff; }
.sch_more { color: var(--st-accent); }
/* 검색 결과·회원가입: 푸터와 붙지 않게 아래 여백, 검색어 강조는 테마 색 */
#sch_result, .register { padding-bottom: clamp(96px, 12vw, 160px); }
.sch_word { background: var(--st-accent) !important; color: #fff !important; border-radius: 4px; padding: 0 3px; }
#sch_res_ov { background: var(--st-card); border-color: var(--st-line); border-radius: 10px; }
#sch_res_ov h2 { color: var(--st-ink); }
#sch_res_ov h2 strong { color: var(--st-accent); }
#sch_res_board a { color: var(--st-ink); }
/* 칼럼·연구 보기의 아래 버튼 줄은 본문과 같은 왼쪽 선에서 시작 (프로젝트 보기용 좌우 여백 해제) */
.cl-cv .st-wv-admin { padding-left: 0; padding-right: 0; }
/* 예약 폼: 신청 버튼이 푸터에 붙지 않게 */
.cl-reserve { padding-bottom: clamp(96px, 12vw, 160px); }
