@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
/* 새하얀피부과 은평점 — 전체 공통 (메인 + 서브) : 폰트, 기본요소, 헤더, 푸터, 퀵메뉴, 공통 컴포넌트 */

/* ─────────────────────────────────────────────
   그누보드 head.sub.php 의 default.css 간섭 보정
   (원본 정적 페이지와 같은 결과가 나오도록 되돌림)
   ───────────────────────────────────────────── */
html {overflow-y:revert}
h1,h2,h3,h4,h5,h6 {font-size:revert;font-family:inherit}
p {word-break:keep-all;overflow-wrap:break-word}
input,textarea,select {font-family:inherit}
label,input,button,select,img {vertical-align:revert;font-size:revert}
input,button {margin:revert;padding:revert}
ul,ol {padding:revert;margin:revert}
ul:not([class]),ol:not([class]) {list-style:revert}
ol li {list-style:revert}
dl,dd {margin:revert}
dl,dt,dd {padding:revert;list-style:revert}
/* 스크롤 등장 효과 클래스는 default.css 의 .is-visible{display:block !important} 와 겹치지 않게 .ws-visible 사용 */
::before,::after {box-sizing:content-box}
/* 그누보드 자동등록방지(캡챠) : 사이트 img{display:block;width:100%} 등 간섭 보정 */
#captcha {position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin:8px 0 0;padding:0;border:0;font-weight:400}
#captcha legend {position:absolute !important;width:1px !important;height:1px !important;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#captcha #captcha_img {display:inline-block;flex:none;width:auto;max-width:100%;height:52px;margin:0;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;object-fit:contain;vertical-align:middle}
#captcha #captcha_mp3, #captcha #captcha_reload {flex:none;width:40px;height:40px;margin:0;border:0;border-radius:10px;cursor:pointer}
#captcha #captcha_key {flex:none;width:130px;height:52px;margin:0;padding:0 12px;border:1px solid #d3dfe2;border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:18px;font-weight:600;letter-spacing:.12em;text-align:center}
#captcha #captcha_key:focus {outline:0;border-color:var(--blue) !important;box-shadow:0 0 0 4px rgba(82,125,153,.14) !important}
#captcha #captcha_info {flex-basis:100%;margin:2px 0 0;color:var(--muted);font-size:13px;letter-spacing:0}
#captcha.m_captcha audio {flex-basis:100%;width:100%;max-width:260px;height:40px}
#captcha.m_captcha #captcha_img {display:inline-block;width:auto;height:52px;margin:0}
@media (max-width:650px) {#captcha #captcha_key {flex:1 1 120px}}

@font-face {
    font-family: 'Pretendard';
    src: url('../assets/whitskin/PretendardVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Adjusted-Fallback-2';
    src: local('Arial');
    size-adjust:100%;ascent-override:90%;descent-override:22%;line-gap-override:0%}

:root {
    --ink: #243f4d;
    --muted: #64777d;
    --blue: #527d99;
    --line: #dee7e9;
    --pale: #f1f7f8;
    --green: #708d73
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'Pretendard', 'Noto Sans KR', 'Adjusted-Fallback-2', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

button,summary {
    font: inherit
}

a,button,summary {
    -webkit-tap-highlight-color: transparent
}

img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover
}

h1,h2,h3,p {
    margin: 0
}

h1,h2,h3 {
}

h1 {
}

h2 {
    margin-bottom: 25px
}

h3 {
}

p {
    color: var(--muted)
}

address {
    font-style: normal
}

button {
    cursor: pointer
}

a:focus-visible,summary:focus-visible,button:focus-visible {
    outline: 3px solid #5980a3;
    outline-offset: 5px
}

.wrap {
    width: min(1240px,86%);
    margin: auto;
    padding: 95px 0
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 22px
}

.header {
    height: 100px;
    padding: 0 3%;
    display: flex;
    align-items: center;
    gap: 35px;
    position: sticky;
    top: 0;
    background: #fffffffa;
    border-bottom: 1px solid var(--line);
    z-index: 20
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.brand img {
    width: 168px;
    height: auto
}

.brand span {
    font-size: 12px;
    border-left: 1px solid #ccd5d7;
    padding-left: 10px;
    white-space: nowrap
}

.header nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex: 1
}

.nav-item {
    position: relative
}

.nav-item summary {
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    font-size: 14px;
    padding: 35px 0
}

.nav-item summary::-webkit-details-marker {
    display: none
}

.nav-item[open] summary {
    color: var(--blue)
}

.dropdown {
    position: absolute;
    top: 79px;
    left: -22px;
    min-width: 210px;
    background: white;
    padding: 18px 22px;
    box-shadow: 0 12px 30px #233d4c12;
    border: 1px solid var(--line)
}

.dropdown a {
    display: block;
    padding: 8px 0;
    font-size: 14px
}

.dropdown a:hover {
    color: var(--blue)
}

.menu {
    display: none
}

.skip {
    position: fixed;
    top: -60px;
    left: 15px;
    z-index: 99;
    background: white
}

.skip:focus {
    top: 10px
}

.intro {
    text-align: center;
    padding: 110px 0
}

.intro>p:last-child {
    line-height: 2.2
}

.focus {
    padding-top: 20px
}

.text-link {
    display: inline-block;
    border-bottom: 1px solid var(--ink);
    margin-top: 30px;
    padding-bottom: 5px
}

.visit {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    border-top: 1px solid var(--line)
}

.phone {
    font-size: 35px;
    display: block;
    margin: 25px 0 10px;
    letter-spacing: .025em
}

.hours {
    margin: 15px 0
}

.hours>div {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0
}

.hours dt {
    min-width: 85px;
    color: var(--muted)
}

.hours dd {
    margin: 0
}

.note {
    font-size: 12px;
    margin: 12px 0 25px
}

footer {
    background: #eff3f4;
    border-top: 1px solid var(--line)
}

.foot {
    display: flex;
    justify-content: space-between;
    padding: 55px 0 80px;
    font-size: 13px;
    gap: 30px
}

.foot strong {
    font-size: 21px
}

.foot p {
    margin: 10px 0
}

.foot>div:last-child {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.quick {
    position: fixed;
    right: 15px;
    top: 42%;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--line);
    z-index: 10;
    box-shadow: 0 5px 20px #29424b0a
}

.quick a {
    padding: 13px 12px;
    font-size: 11px;
    border-bottom: 1px solid var(--line);
    text-align: center
}

.quick a:first-child {
    background: var(--ink);
    color: white
}

.quick a:hover {
    background: var(--pale);
    color: var(--ink)
}

.breadcrumb {
    padding: 20px 0;
    font-size: 12px;
    color: var(--muted)
}

.detail-intro {
    max-width: 850px
}

.lead {
    font-size: 23px;
    color: var(--ink);
    line-height: 1.8;
    margin: 25px 0
}

.process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px
}

@media(max-width: 1250px) {
.header {
        gap:20px
    }

.header nav {
        gap: 15px
    }

.brand img {
        width: 145px
    }

.header {
        padding: 0 4%
    }

.nav-item summary {
        font-size: 13px
    }
}

@media(max-width: 1000px) {
.header {
        height:80px;
        justify-content: space-between
    }

.menu {
        display: block;
        background: none;
        border: 0;
        font-size: 25px
    }

.header nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 140px);
        overflow: auto;
        background: white;
        padding: 15px 7% 30px
    }

.nav-item summary {
        padding: 17px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px
    }

.nav-item summary:after {
        content: '+';
        float: right
    }

.dropdown {
        position: static;
        box-shadow: none;
        border: 0;
        background: var(--pale);
        padding: 10px 20px
    }

.quick {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        justify-content: stretch
    }

.quick a {
        flex: 1;
        padding: 13px 4px
    }

.foot {
        padding-bottom: 90px
    }

.visit {
        gap: 35px
    }

.process {
        gap: 35px
    }
}

@media(max-width: 650px) {
.wrap {
        width:88%;
        padding: 60px 0
    }

.brand img {
        width: 145px
    }

.intro p {
        font-size: 14px
    }

.visit {
        grid-template-columns: 1fr
    }

.foot {
        display: block;
        padding-bottom: 100px
    }

.foot>div:last-child {
        margin-top: 30px
    }

.breadcrumb {
        padding: 15px 0
    }

.lead {
        font-size: 21px
    }

.process {
        grid-template-columns: 1fr;
        gap: 15px
    }
}

@media(prefers-reduced-motion:reduce) {
html {
        scroll-behavior: auto
    }

* {
        transition: none!important
    }
}

/* Signature editorial slider */

button,input,textarea,select {
    font-family: inherit
}

.signature {
    display: grid;
    grid-template-columns: 30% 70%;
    padding: 55px 0 110px 7%;
    overflow: hidden
}

.signature-intro>p:not(.eyebrow) {
    font-size: 15px;
    line-height: 2.1
}

.signature-intro .eyebrow {
    font-size: 10px
}

.signature-image img {
    height: 100%;
    width: 100%;
    object-position: 70% center;
    transition: transform 1s cubic-bezier(.2,.65,.3,1),filter 1s
}

.signature-slide p {
    font-size: 13px
}

.signature-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fffD;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: .4s
}

.slide-progress span {
    display: block;
    width: 25%;
    height: 1px;
    background: var(--ink);
    transition: width .5s
}

.reveal-ready {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .85s ease,transform .85s cubic-bezier(.2,.65,.3,1)
}

.reveal-ready.ws-visible {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width: 1000px) {
.signature {
        grid-template-columns:29% 71%;
        padding-left: 6%
    }

.signature-intro>p:not(.eyebrow) {
        font-size: 13px
    }
}

@media(max-width: 650px) {
.signature {
        display:block;
        padding: 45px 0 60px 6%
    }

.signature-intro>p:not(.eyebrow) {
        font-size: 14px
    }

.signature-slide p {
        font-size: 13px
    }

.signature-arrow {
        opacity: 1;
        transform: none
    }
}

@media(prefers-reduced-motion:reduce) {
.reveal-ready {
        opacity: 1;
        transform: none
    }

.signature-image img,.signature-arrow,.slide-progress span {
        transition: none
    }
}

/* Shared typography and 12-column layout system: all pages, all breakpoints. */

:root {
    --font-ui: 'Pretendard', 'Noto Sans KR', 'Adjusted-Fallback-2', sans-serif;
    --container: 1240px;
    --gutter: 48px;
    --gap: 32px;
    --section-space: 88px;
    --h1: 56px;
    --h2: 40px;
    --h3: 24px;
    --h4: 20px;
    --h5: 18px;
    --h6: 16px;
    --body: 16px
}

body,button,input,textarea,select,summary {
    font-family: var(--font-ui)
}

body {
    font-size: var(--body);
    font-weight: 400;
    line-height: 1.8
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-ui);
    font-style: normal;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
    word-break: keep-all
}

h1 {
    font-size: var(--h1);
    font-weight: 400;
    line-height: 1.3
}

h2 {
    font-size: var(--h2);
    font-weight: 600;
    line-height: 1.4
}

h3 {
    font-size: var(--h3);
    font-weight: 500;
    line-height: 1.5
}

h4 {
    font-size: var(--h4);
    font-weight: 500;
    line-height: 1.5
}

h5 {
    font-size: var(--h5);
    font-weight: 500;
    line-height: 1.5
}

h6 {
    font-size: var(--h6);
    font-weight: 500;
    line-height: 1.5
}

p,.hero-copy>p:not(.eyebrow),.signature-intro>p:not(.eyebrow),.cards p,.topic-list p,.process li p,.care-note p,.signature-slide p {
    font-size: var(--body);
    font-weight: 400;
    line-height: 1.8
}

.eyebrow {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .18em
}

.note,.references p,.foot small {
    font-size: 13px
}

.button,.program-grid a,.nav-item summary {
    font-size: 15px
}

.wrap,.hero-copy {
    width: min(var(--container),calc(100% - var(--gutter)*2));
    max-width: var(--container);
    margin-inline:auto}

.wrap {
    padding-block:var(--section-space);padding-inline: 0
}

.header {
    padding-inline:max(var(--gutter),calc((100vw - var(--container))/2));gap: 24px
}

.header nav {
    gap: 20px
}

.visit,.process {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: var(--gap)
}

.visit {
    border-top: 0
}

.detail-intro {
    max-width: var(--container)
}

.foot {
    padding-block:56px 88px}

@media(max-width: 1100px) {
:root {
        --gutter:32px;
        --gap: 24px;
        --h1: 48px;
        --h2: 34px;
        --h3: 22px;
        --section-space: 72px
    }

.header nav {
        gap: 14px
    }

.header {
        gap: 20px
    }
}

@media(max-width: 650px) {
:root {
        --gutter:24px;
        --gap: 20px;
        --h1: 36px;
        --h2: 28px;
        --h3: 21px;
        --h4: 19px;
        --h5: 17px;
        --h6: 16px;
        --section-space: 56px;
        --body: 16px
    }

.wrap,.hero-copy {
        width: calc(100% - var(--gutter)*2)
    }

.header {
        padding-inline:var(--gutter)}

.header nav {
        padding-inline: var(--gutter)
    }

.philosophy,.visit,.process,.news {
        grid-template-columns: minmax(0,1fr);
        gap: 28px
    }

.foot {
        padding-bottom: 100px
    }
}

body {
    overflow-x: clip
}

@media(max-width: 1250px) and (min-width:1001px) {
.header nav {
        gap:12px
    }

.header .nav-item summary {
        font-size: 14px
    }

.brand img {
        width: 135px
    }

.header {
        gap: 16px
    }
}

p,address {
    word-break: keep-all;
    overflow-wrap: break-word
}

/* Shared journal board, homepage feed and owner editor. */

.journal {
    padding-block:var(--section-space,88px)}

.column-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: var(--gap)
}

.column-card {
    min-width: 0;
    border: 1px solid #e5e5de;
    background: #fff
}

.column-card a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none
}

.column-card img,.column-cover {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover
}

.column-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f2f2ec;
    color: #686e5c;
    font-size: 24px;
    letter-spacing: .16em
}

.column-cover span {
    font-size: 12px;
    letter-spacing: .3em;
    margin-top: 12px
}

.column-card-copy {
    padding: 28px
}

.column-card h3 {
    margin: 14px 0;
    overflow-wrap: anywhere
}

.column-card-copy>p:not(.eyebrow) {
    color: #707368;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.column-card .text-link {
    display: inline-block;
    margin-top: 24px
}

.column-empty {
    padding: 56px 24px;
    background: #f6f6f1;
    text-align: center;
    border-top: 1px solid #e3e5dc
}

.column-empty p {
    margin-top: 16px;
    color: #74786a
}

.column-article {
    max-width: 1240px;
    margin-inline:auto}

.article-cover {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    margin: 24px 0
}

.article-summary {
    font-size: 20px;
    color: #656c57;
    padding-block:24px;border-bottom: 1px solid #e3e5dc
}

.article-body {
    line-height: 1.9;
    overflow-wrap: anywhere
}

.article-body p {
    margin: 28px 0
}

.column-article .text-link {
    display: inline-block;
    margin-top: 32px
}

@media(max-width: 900px) {
.column-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
}

@media(max-width: 650px) {
.journal {
        padding-block:56px
    }

.column-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

.column-card-copy {
        padding: 24px
    }

.column-empty {
        padding: 40px 20px
    }
}

/* Centered brand statement with the supplied softly lit curtain background. */

.way-marquee-track {
    display: flex;
    width: max-content;
    animation: whitskin-flow 120s linear infinite;
    will-change: transform
}

@media(prefers-reduced-motion:reduce) {
.way-marquee-track {
        animation: none;
        transform: none
    }
}

/* Clear detail imagery and an alternating reading rhythm. */

.detail-page .copy-left {
    text-align: left
}

.detail-page .copy-center {
    text-align: center
}

.copy-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease,transform .7s cubic-bezier(.2,.65,.3,1)
}

.copy-reveal.ws-visible {
    opacity: 1;
    transform: translateY(0)
}

@media(prefers-reduced-motion:reduce) {
.copy-reveal {
        opacity: 1;
        transform: none;
        transition: none!important
    }
}

@media print {
.copy-reveal {
        opacity: 1;
        transform: none
    }
}

/* Visual treatment chapters: editorial illustration, icon cards and care steps. */

.detail-page .process ol {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
    position: relative
}

@media(max-width: 650px) {
.detail-page .process ol {
        grid-template-columns: 1fr;
        gap: 16px
    }
}

/* Acne pilot: definition first, illustrative skin pair, then guided care. */

@font-face {
    font-family: 'Marcellus';
    src: url('../assets/whitskin/Marcellus-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

br.sentence-break {
    display: revert!important
}

/* Consistent journey heading and step cards, including the first step. */

.acne-page .visit,.acne-page .visit h2,.acne-page .visit p,.acne-page .visit address,.acne-page .visit .phone {
    text-align: left
}

/* Equal whitespace above and below the home introduction. */

.home-page .intro.wrap {
    min-height: 0;
    padding-block:var(--section-space)}

.home-page .intro.wrap + .focus.wrap {
    padding-top: 0
}

/* Supplied dermatologist mark in the feature section and quick navigation. */

.quick-specialist {
    display: block;
    width: 100%;
    line-height: 0;
    background: #fff;
    overflow: hidden
}

.quick-specialist img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

@media(min-width: 1001px) {
.quick {
        width:80px
    }

.quick a {
        padding-inline:6px}

.quick-specialist {
        flex: none
    }
}

@media(max-width: 1000px) {
.quick-specialist {
        flex:1;
        min-width: 0;
        width: 0;
        display: flex;
        align-items: center;
        justify-content: center
    }

.quick-specialist img {
        width: auto;
        height: 46px;
        max-width: 100%;
        object-fit: contain
    }
}

/* Balance model portraits with condition imagery in homepage banners. */

.visit-station {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 7px
}

.subway-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #ef7b22;
    color: white;
    font-size: 14px;
    font-weight: 600;
    flex: none
}

/* Hospital introduction: pale blue editorial section, scoped to this content. */

.info-page .about-philosophy>.wrap {
    padding-block:88px 100px}

@media(max-width: 750px) {
.info-page .about-philosophy>.wrap {
        padding-block:60px
    }
}

/* Center the directions information on the clinic information page. */

.notice-list {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center
}

.notice-list th,.notice-list td {
    padding: 20px 14px;
    border-bottom: 1px solid var(--line)
}

.notice-list th {
    background: var(--pale);
    font-weight: 500
}

.notice-list th:first-child {
    width: 72px
}

.notice-list th:last-child {
    width: 130px
}

.notice-list td:nth-child(2) {
    text-align: left;
    overflow-wrap: anywhere
}

.notice-list td a {
    display: block
}

.notice-list td a:hover {
    text-decoration: underline
}

.notice-list .notice-empty {
    padding: 60px 20px;
    text-align: center
}

.notice-pagination {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 32px
}

.notice-article h2 {
    text-align: left
}

.notice-article .text-link {
    margin-right: 24px
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap
}

@media(max-width: 650px) {
.notice-list th,.notice-list td {
        padding:16px 8px;
        font-size: 14px
    }

.notice-list th:first-child {
        width: 42px
    }

.notice-list th:last-child {
        width: 100px
    }
}

.article-body :is(h2,h3,h4) {
    text-align: left;
    line-height: 1.5;
    margin: 32px 0 16px;
    overflow-wrap: anywhere
}

.article-body h2 {
    font-size: 30px;
    font-weight: 600
}

.article-body h3 {
    font-size: 24px;
    font-weight: 500
}

.article-body h4 {
    font-size: 20px;
    font-weight: 500
}

.article-body> :first-child {
    margin-top: 0
}

@media(max-width: 650px) {
.article-body h2 {
        font-size: 25px
    }

.article-body h3 {
        font-size: 21px
    }

.article-body h4 {
        font-size: 18px
    }
}

/* Float the specialist badge outside the quick-bar panel. */

.quick .quick-specialist {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    line-height: 0
}

.quick .quick-specialist img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain
}

@media(max-width: 1000px) {
.quick .quick-specialist {
        top:auto;
        bottom: calc(100% + 12px);
        left: auto;
        right: 12px;
        width: 64px;
        min-width: 0;
        flex: none
    }
}

/* Mobile specialist badge sits beside the clinic identity in the sticky header. */

.header .brand .header-specialist {
    display: none
}

@media(max-width: 1000px) {
.quick .quick-specialist {
        display:none
    }

.header {
        gap: 10px
    }

.header .brand {
        gap: 6px
    }

.header .brand .header-specialist {
        display: block;
        width: 36px;
        height: auto;
        flex: none;
        object-fit: contain
    }

.header .brand>img:not(.header-specialist) {
        width: clamp(112px,37vw,145px)
    }

.header .brand span {
        font-size: 11px;
        padding-left: 6px
    }

.header .menu {
        flex: none;
        padding: 4px
    }
}

/* Shared header: navigation and member links share one desktop row. */

.header {
    --header-menu-size: 16px
}

@media(min-width: 1201px) {
.header {
        display:flex;
        height: 100px;
        gap: 24px;
        flex-wrap: nowrap;
        padding-inline:max(32px,calc((100vw - 1480px)/2))}

.header nav {
        min-width: 0;
        gap: 28px;
        flex: 1;
        justify-content: center
    }

.header .nav-item summary {
        font-size: var(--header-menu-size)
    }
}

@media(min-width: 1201px) and (max-width:1399px) {
.header {
        --header-menu-size:15px;
        padding-inline:24px;gap: 16px
    }

.header .brand>img:not(.header-specialist) {
        width: 120px
    }

.header nav {
        gap: 20px
    }
}

@media(max-width: 1200px) {
.header {
        --header-menu-size:17px;
        height: 128px;
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        grid-template-rows: 72px 56px;
        gap: 0 12px
    }

.header .brand {
        grid-column: 1;
        grid-row: 1
    }

.header .menu {
        grid-column: 2;
        grid-row: 1;
        display: block;
        background: none;
        border: 0;
        font-size: 25px;
        padding: 4px
    }

.header nav {
        display: none;
        position: absolute;
        top: 128px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 180px);
        overflow: auto;
        background: #fff;
        padding: 15px var(--gutter) 30px
    }

.header .nav-item summary {
        padding: 20px 0;
        border-bottom: 1px solid var(--line)
    }

.header .nav-item summary:after {
        content: "+";
        float: right
    }

.header .dropdown {
        position: static;
        box-shadow: none;
        border: 0;
        background: var(--pale);
        padding: 10px 20px
    }

.header .nav-item summary {
        font-size: var(--header-menu-size)
    }

html {
        scroll-padding-top: 144px
    }
}

/* Transparent over the opening hero; solid navigation after scrolling. */

.header {
    background: transparent;
    border-bottom-color: transparent;
    transition: background-color .3s ease,border-color .3s ease,box-shadow .3s ease
}

.header.is-scrolled,.header:has(nav.open) {
    background: #fff;
    border-bottom-color: var(--line);
    box-shadow: 0 3px 18px #243f4d08
}

/* Consistent product presentation using the supplied product photographs. */

.article-provenance {
    font-size: 13px;
    line-height: 1.9;
    margin: 16px 0 28px;
    color: var(--muted)
}

/* Desktop reference: the crown rises to the guide while the banner floor stays fixed. */

@font-face {
    font-family: 'Whitskin Hero Serif';
    src: url('../assets/whitskin/hero-serif.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@media(min-width: 1400px) {
.header {
        --header-menu-size:18px
    }

.header nav {
        gap: 34px
    }
}

@media(min-width: 1201px) and (max-width:1399px) {
.header {
        --header-menu-size:17px
    }

.header nav {
        gap: 26px
    }
}

@media(max-width: 1200px) {
.header {
        --header-menu-size:19px
    }

.header .nav-item summary {
        padding-block:24px}
}

/* Main editorial hierarchy and shared all-menu navigation. */

.header>.menu {
    display: inline-flex;
    order: 3;
    align-items: center;
    justify-content: center;
    flex: none;
    font-size: 15px;
    white-space: nowrap;
    background: none;
    color: var(--ink);
    border: 0;
    padding: 12px 4px;
    cursor: pointer
}

.header>nav.all-navigation {
    display: grid;
    position: absolute;
    inset: 100% 0 auto;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 32px;
    max-height: calc(100dvh - 120px);
    overflow: auto;
    padding: 36px max(var(--gutter),calc((100vw - 1240px)/2));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 24px #243f4d12
}

.header>nav.all-navigation[hidden] {
    display: none
}

.all-navigation h2, .all-navigation .all-nav-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px
}

/* 전체메뉴 제목은 h2 대신 p (페이지 제목 구조에 섞이지 않게) — 기존 h2 모양 유지 */
.all-navigation .all-nav-title {
    font-family: var(--font-ui);
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -.035em;
    word-break: keep-all
}

.all-navigation a {
    display: block;
    font-size: 15px;
    padding: 5px 0;
    color: var(--muted)
}

.all-navigation a:hover {
    color: var(--blue);
    text-decoration: underline
}

@media(max-width: 1200px) {
.header {
        height:80px;
        grid-template-rows: 80px
    }

.header>.menu {
        font-size: 14px;
        padding: 10px 0
    }

.header>nav.all-navigation {
        grid-template-columns: repeat(2,minmax(0,1fr));
        max-height: calc(100dvh - 80px);
        padding: 28px var(--gutter)
    }

html {
        scroll-padding-top: 96px
    }
}

.visit .visit-address-title {
    font-size: clamp(24px,2.2vw,34px);
    line-height: 1.5;
    margin-bottom: 22px;
    word-break: keep-all
}

.visit-map-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px
}

.visit-map-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
    transition: background .2s
}

.visit-map-buttons a:hover {
    background: var(--pale)
}

.visit.wrap>div {
    container-type: inline-size
}

.visit.wrap .visit-address-title {
    font-size: clamp(14px,5.65cqi,29px);
    white-space: nowrap;
    letter-spacing: -.04em;
    margin-bottom: 10px;
    text-align: left
}

.visit.wrap .visit-station,.visit.wrap .visit-map-buttons {
    justify-content: flex-start;
    text-align: left;
    margin-left: 0
}

.visit.wrap .visit-map-buttons {
    margin-top: 16px
}

.visit-map-buttons a {
    gap: 5px
}

.header button.menu {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: var(--header-menu-size)
}

.menu svg {
    width: 1.5em;
    height: 1.5em
}

.menu .cross,.menu[aria-expanded=true] .bars {
    display: none
}

.menu[aria-expanded=true] .cross {
    display: block
}

@font-face {
    font-family: 'Whitskin Promise';
    src: url('../assets/whitskin/promise-serif.woff') format('woff');
    font-weight: 400;
    font-display: swap
}

.quick {
    width: 52px;
    gap: 7px;
    border: 0;
    background: transparent;
    box-shadow: none
}

.quick>a,.quick>a:first-child {
    position: relative;
    display: grid;
    place-items: center;
    padding: 0;
    width: 52px;
    height: 52px;
    flex: none;
    border: 0;
    border-radius: 14px;
    background: var(--ink);
    color: #fff
}

.quick>a:is(:hover,:focus-visible) {
    background: var(--blue);
    color: white
}

.quick>a svg {
    width: 24px;
    height: 24px
}

.quick>a span {
    position: absolute;
    right: calc(100% + 8px);
    padding: 3px 10px;
    white-space: nowrap;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none
}

.quick>a:is(:hover,:focus-visible) span {
    opacity: 1
}

@media(min-width: 1001px) {
.quick {
        top:50%;
        transform: translateY(-50%)
    }
}

@media(max-width: 1000px) {
.quick {
        width:auto;
        justify-content: space-evenly;
        align-items: center;
        padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--line)
    }

.quick>a,.quick>a:first-child {
        height: 44px;
        width: 48px;
        border-radius: 11px
    }

.quick>a span {
        right: auto;
        bottom: calc(100% + 5px)
    }
}

/* Six care steps use full-bleed photographs above the step label. */

.acne-page .photo-process ol {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: clamp(12px,2vw,26px);
    padding: 0;
    margin: 0;
    list-style: none
}

.card-rail-controls {
    display: flex;
    align-items: center;
    gap: clamp(12px,1.5vw,22px);
    margin-top: 16px
}

.card-rail-controls[hidden] {
    display: none
}

.card-rail-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border: 1px solid #d3dfe4;
    border-radius: 50%;
    background: #fff;
    color: #263f4c;
    font: 400 20px/1 sans-serif;
    cursor: pointer
}

.card-rail-controls button:disabled {
    opacity: .38;
    cursor: default
}

.card-rail-controls button:focus-visible,[data-card-rail]:focus-visible {
    outline: 2px solid #4e778a;
    outline-offset: 2px
}

[data-card-rail][data-enhanced] {
    scrollbar-width: none;
    padding-bottom: 0
}

[data-card-rail][data-enhanced]::-webkit-scrollbar {
    display: none
}

[data-card-rail].is-scrubbing {
    scroll-snap-type: none
}

.card-rail-position {
    appearance: none;
    -webkit-appearance: none;
    flex: 1;
    min-width: 0;
    margin: 0;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    touch-action: pan-y;
    background: linear-gradient(#d4dfe4,#d4dfe4) center / 100% 1px no-repeat
}

.card-rail-position::-webkit-slider-runnable-track {
    height: 44px;
    border: 0;
    background: transparent
}

.card-rail-position::-moz-range-track {
    height: 44px;
    border: 0;
    background: transparent
}

.card-rail-position::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: var(--rail-window,25%);
    height: 44px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(#769cb1,#769cb1) center / 100% 2px no-repeat;
    cursor: grab
}

.card-rail-position::-moz-range-thumb {
    width: var(--rail-window,25%);
    height: 44px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(#769cb1,#769cb1) center / 100% 2px no-repeat;
    cursor: grab
}

.card-rail-position:focus-visible {
    outline: 2px solid #6790a6;
    outline-offset: 2px
}

@media(forced-colors:active) {
.card-rail-position {
        appearance: auto
    }
}

/* Play one short movement as each new treatment visual enters the carousel. */

.visit .clinic-map {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 0;
    min-height: 410px;
    margin: 0;
    border-radius: 20px;
    background: #edf2f1
}

.clinic-map-preview,.clinic-diagram,.clinic-map-tiles,.clinic-diagram>svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.clinic-diagram {
    font-size: 13px;
    color: #546b76
}

.clinic-diagram>span {
    position: absolute
}

.diagram-office {
    left: 18%;
    top: 23%;
    font-weight: 600
}

.diagram-road {
    left: 9%;
    top: 39%;
    letter-spacing: .12em
}

.diagram-station {
    right: 4%;
    top: 53%;
    padding: 3px 8px;
    background: #fff;
    border-radius: 7px;
    white-space: nowrap
}

.diagram-station b {
    color: #c66219
}

.diagram-key {
    left: 12px;
    bottom: 10px;
    color: #647982
}

.clinic-map-tiles {
    overflow: hidden;
    opacity: 0;
    pointer-events: none
}

.clinic-map.tiles-ready .clinic-map-tiles {
    opacity: 1
}

.clinic-map.tiles-ready .clinic-diagram {
    visibility: hidden
}

.clinic-map .clinic-map-tiles img {
    position: absolute;
    display: block;
    width: 256px;
    max-width: none;
    height: 256px
}

.clinic-map .clinic-site-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-100%);
    display: grid;
    justify-items: center;
    gap: 3px;
    width: max-content;
    max-width: 95%;
    text-decoration: none;
    color: #fff;
    filter: drop-shadow(0 3px 5px #22384433)
}

.clinic-pin-label {
    display: grid;
    justify-items: center;
    padding: 8px 14px;
    background: #234857;
    border-radius: 10px;
    line-height: 1.45
}

.clinic-pin-label strong {
    font-size: 15px;
    color: #fff
}

.clinic-pin-label small {
    font-size: 12px;
    color: #e5f0f5
}

.clinic-map .clinic-map-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 8px 12px;
    border: 1px solid #cedbe0;
    border-radius: 20px;
    background: white;
    color: #284754;
    font-size: 13px;
    cursor: pointer
}

.clinic-map .clinic-map-credit {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1px 5px;
    background: #fffffff2;
    font: 11px/1.5 sans-serif;
    color: #395564;
    text-decoration: underline
}

.clinic-map [hidden] {
    display: none!important
}

.visit .clinic-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    filter: none
}

@media(max-width: 650px) {
.visit .clinic-map {
        min-height:315px
    }
}

/* A shared left edge for the visit information on home, clinic and treatment pages. */

#visit .visit-details,#visit .visit-details :is(.eyebrow,h2,h3,p,.phone,dt,dd) {
    text-align: left
}

#visit .visit-details :is(.visit-station,.visit-map-buttons) {
    justify-content: flex-start;
    margin-inline:0}

#visit .visit-details .phone {
    margin-inline:0}

#visit .visit-details .hours {
    margin-inline:0}

#visit .visit-details .hours>div {
    display: grid;
    grid-template-columns: clamp(74px,19%,108px) 1fr;
    gap: 8px;
    align-items: baseline;
    justify-content: start
}

#visit .visit-details .hours :is(dt,dd) {
    margin: 0;
    min-width: 0;
    width: auto
}

.map-brand {
    display: inline-block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat
}

.map-brand-naver {
    background-image: url("../assets/whitskin/map-services/naver.png")
}

.map-brand-kakao {
    background-image: url("../assets/whitskin/map-services/kakao.png")
}

.map-brand-google {
    background-image: url("../assets/whitskin/map-services/google.png")
}

.map-brand-tmap {
    background-image: url("../assets/whitskin/map-services/tmap.png")
}

/* The three supplied cross sections share a scale and a baseline. */

:where(a,button,summary,input,textarea,select):focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px
}

#site-footer .foot-main {
    min-width: 0
}

#site-footer .foot-policy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 14px 0 18px;
    font-size: 14px;
    color: var(--ink)
}

#site-footer .foot-policy>*+* {
    padding-inline-start:12px;margin-inline-start:12px;border-inline-start:1px solid var(--muted)}

#site-footer .foot-info {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 20px
}

#site-footer .foot-info,#site-footer address,#site-footer .foot-resources {
    font-size: 14px;
    color: var(--muted)
}

#site-footer address {
    margin: 3px 0 0;
    font-style: normal;
    word-break: keep-all
}

#site-footer .foot-copyright {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--muted)
}

@media(max-width: 650px) {
#site-footer .foot-info {
        column-gap:12px
    }

#site-footer .foot-resources {
        align-items: flex-start
    }
}

#site-footer .foot-policy a:hover,#site-footer .foot-policy a:focus-visible {
    text-decoration: underline;
    text-underline-offset: .2em
}

/* Share the acne-scar page's section rhythm across the rest of the site. */

:is(.home-page,.info-page,.community-page) {
    --clinic-section-pad: clamp(58px,7vw,96px);
    --clinic-heading-gap: clamp(28px,3.6vw,50px);
    --clinic-card-gap: clamp(16px,2vw,28px);
    --clinic-radius: 22px;
}

/* Keep the homepage film, interactive Signature banners and sliding tracks intact. */

.home-page main>:is(.intro.wrap,.focus.wrap,#journal,.visit.wrap), .info-page main>:is(.physician-profile,.visit.wrap), .info-page :is(.about-philosophy,.treatment-directory)>.wrap, .community-page main>.journal {
    padding-block:var(--clinic-section-pad); }

.home-page #journal .column-card,.community-page #column-feed .column-card {
    border: 0;
    border-radius: var(--clinic-radius);
    overflow: hidden;
    background: #fff;
}

:is(.home-page,.community-page) .column-card:focus-within {
    outline: 2px solid var(--blue);
    outline-offset: -2px
}

:is(.home-page,.community-page) .column-card-copy {
    padding: clamp(20px,2.3vw,32px)
}

/* Match the reference's unboxed Q&A rows without changing native details behavior. */

@media(max-width: 650px) {
:is(.home-page,.community-page,.info-page) {
        --clinic-radius:20px
    }
}

/* Match consultation card spacing while preserving the complete clinical diagrams. */

.clinic-map .clinic-site-pin {
    transform: translate(-50%,-44px);
    row-gap: 4px
}

.clinic-map .clinic-site-pin>svg {
    grid-row: 1;
    width: 34px;
    height: 44px
}

.clinic-map .clinic-site-pin>.clinic-pin-label {
    grid-row: 2
}

@keyframes whitskin-flow {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}
