/* v0.3.5 home: visit overview rail, numbers and reading rail in the Cheongdam palette. */
.sm-home .sm-dark{padding-bottom:110px}
.sm-home .sm-overview{padding-top:40px}
.sm-home .sm-eyebrow{color:var(--cd-primary,#78566f)}
.sm-home .sm-overview-card h3{color:var(--cd-deep,#493343)}
.sm-home .sm-overview-card .sm-text-link{color:var(--cd-deep,#493343)}
.sm-home .sm-numbers>div{border-left-color:rgba(255,255,255,.28)}
.sm-home .sm-dark:not(.is-dark) .sm-numbers>div{border-left-color:#cdbfca}
.sm-home .sm-numbers dd b{margin:0 .04em}
/* Word values share the numeric row height so every caption starts on the same line, and spin with the odometers. */
.sm-home .sm-numbers dd.cd-num-text{height:1.12em;overflow:hidden;align-items:flex-end}
.sm-home .cd-num-word{display:block;font-size:clamp(32px,3.1vw,46px);line-height:1.2;letter-spacing:-.04em;margin-bottom:.12em}
.sm-home .cd-num-word.is-rolling{height:1.2em;overflow:hidden;width:100%}
.sm-home .sm-numbers dt span{white-space:nowrap}
.sm-home .cd-roll-strip{display:block;transform:translateY(0)}
.sm-home .sm-numbers.is-counted .cd-num-word.is-armed .cd-roll-strip{transform:translateY(calc(var(--roll-steps)*-1.2em));transition:transform 1.8s cubic-bezier(.16,.72,.17,1)}
.sm-home .cd-roll-strip>span{display:block;height:1.2em;line-height:1.2;white-space:nowrap}
.sm-home .sm-numbers dt{word-break:keep-all}
.sm-home .sm-journal{padding-bottom:40px}
.sm-home .sm-journal-rail figure{background:#f4eff2}
.sm-home .sm-journal-rail p{color:var(--cd-primary,#78566f);font-weight:600}
.sm-home .sm-journal-rail h3{color:#202124;word-break:keep-all}
.sm-home .sm-journal-rail a:hover h3{color:var(--cd-primary,#78566f)}
.sm-home .sm-journal .sm-rail-controls button:not(:disabled):hover{background:var(--cd-deep,#493343);border-color:var(--cd-deep,#493343)}
@media(max-width:1024px){.sm-home .sm-dark{padding-bottom:80px}.sm-home .sm-numbers dd{font-size:clamp(44px,8vw,68px)}.sm-home .cd-num-word{font-size:clamp(28px,4.6vw,42px)}}
@media(max-width:600px){.sm-home .sm-dark{padding-bottom:64px}.sm-home .sm-overview{padding-top:24px}.sm-home .sm-numbers dd{font-size:clamp(38px,11vw,52px)}.sm-home .cd-num-word{font-size:clamp(20px,5.6vw,24px)}.sm-home .sm-numbers dd small{font-size:.38em}.sm-home .sm-numbers dt br{display:none}.sm-home .sm-journal{padding-bottom:16px}}

/* Home footer contact choices: matching filled buttons, scoped to this one section. */
.sm-home .sm-end .sm-actions.cd-home-contacts{grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px;gap:14px;margin:34px auto 0}
.sm-home .sm-end .cd-home-contacts .cd-home-contact{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-width:0;min-height:64px;padding:16px 18px;border-radius:5px;font-size:16px;font-weight:700;line-height:1.4;white-space:nowrap;text-decoration:none;transition:background-color .18s,border-color .18s}
.sm-home .sm-end .cd-home-contact svg,.sm-home .sm-end .cd-home-contact img{width:23px;height:23px;flex:0 0 23px}
.sm-home .sm-end .cd-home-contact--naver{background:#03c75a;border-color:#03c75a;color:#102b1c}
.sm-home .sm-end .cd-home-contact--naver svg{color:#fff}
.sm-home .sm-end .cd-home-contact--naver:hover{background:#03b450;border-color:#03b450;color:#102b1c}
.sm-home .sm-end .cd-home-contact--phone{background:var(--cd-primary,#78566f);border-color:var(--cd-primary,#78566f);color:#fff}
.sm-home .sm-end .cd-home-contact--phone:hover{background:var(--cd-deep,#493343);border-color:var(--cd-deep,#493343);color:#fff}
.sm-home .sm-end .cd-home-contact:focus-visible{outline:3px solid #493343;outline-offset:4px}
@media(max-width:900px){.sm-home .sm-end .cd-home-contacts .cd-home-contact{font-size:14px;padding-inline:12px;gap:8px}}
@media(max-width:600px){.sm-home .sm-end .sm-actions.cd-home-contacts{grid-template-columns:1fr;max-width:380px;gap:12px;margin-top:28px}.sm-home .sm-end .cd-home-contacts .cd-home-contact{min-height:60px;font-size:15px;padding:16px}}
/* Health-question rail is built around square (1:1) photos. */
.sm-home .sm-journal-rail article{display:flex;width:clamp(250px,23vw,330px);max-width:none;flex:none}
.sm-home .sm-journal-rail article>a{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;cursor:pointer;text-decoration:none}
.sm-home .sm-journal-rail figure{aspect-ratio:1/1;border-radius:12px}
.sm-home .sm-journal-rail img{width:100%;height:100%;object-fit:cover}
.sm-home .sm-journal-rail h3{font-size:21px;line-height:1.5}
/* Transform the complete HTML cover, including its title, logo and illustration. */
.sm-home .sm-journal-rail article>a .cd-health-cover img,.sm-home .sm-journal-rail article>a:hover .cd-health-cover img{transform:none;transition:none}
.sm-home .sm-journal-rail article>a:hover figure>img{transform:none}
.sm-home .sm-journal-rail figure>.cd-health-cover,.sm-home .sm-journal-rail figure>img{transform:scale(1);transform-origin:center;transition:transform .4s cubic-bezier(.22,.61,.36,1)}
@media(hover:hover) and (pointer:fine){
 .sm-home .sm-journal-rail article>a:hover figure>.cd-health-cover,.sm-home .sm-journal-rail article>a:hover figure>img{transform:scale(1.04)}
}
.sm-home .sm-journal-rail article>a:focus-visible figure>.cd-health-cover,.sm-home .sm-journal-rail article>a:focus-visible figure>img{transform:scale(1.04)}
.sm-home .sm-journal-rail article>a:focus-visible h3{color:var(--cd-primary,#78566f);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.sm-home .sm-journal-rail.is-dragging article>a,.sm-home .sm-journal-rail.is-dragging article>a *{cursor:grabbing}
@media(prefers-reduced-motion:reduce){
 .sm-home .sm-journal-rail article>a figure>.cd-health-cover,.sm-home .sm-journal-rail article>a figure>img{transform:none!important;transition:none!important}
}
@media(max-width:1024px){.sm-home .sm-journal-rail article{width:clamp(240px,34vw,300px)}}
@media(max-width:600px){.sm-home .sm-journal-rail article{width:72vw;max-width:290px}.sm-home .sm-journal-rail h3{font-size:19px}}
/* Doctors: real-photo cutouts side by side on white, equal canvas so the two faces match in size. */
.cheongdam-site .cd-team-portraits{display:flex;align-items:flex-end;min-height:0;padding:0;max-width:720px;isolation:isolate}
.cheongdam-site .cd-team-portraits figure{position:relative;flex:none;width:60.4%;margin:0;padding:0;background:none;border-radius:0;box-shadow:none;text-align:center}
.cheongdam-site .cd-team-portraits .cd-doctor-main{z-index:1;width:60.4%}
.cheongdam-site .cd-team-portraits .cd-doctor-partner{position:relative;right:auto;bottom:auto;z-index:2;width:60.4%;margin-left:-20.8%;padding:0;background:none;box-shadow:none}
.cheongdam-site .cd-team-portraits .cd-doctor-main img,.cheongdam-site .cd-team-portraits .cd-doctor-partner img{display:block;width:100%;height:auto;aspect-ratio:5/6;object-fit:contain;object-position:center bottom;background:none;border-radius:0}
.cheongdam-site .cd-team-portraits figcaption,.cheongdam-site .cd-team-portraits .cd-doctor-partner figcaption{padding:14px 4px 0;text-align:center;font-size:14px}
.cheongdam-site .cd-team-portraits .cd-doctor-partner strong{font-size:21px}
@media(max-width:1100px){.cheongdam-site .cd-team-portraits{max-width:560px}}
@media(max-width:767px){.cheongdam-site .cd-team-portraits{max-width:420px;margin:0 auto 34px;padding-right:0}.cheongdam-site .cd-team-portraits figcaption strong,.cheongdam-site .cd-team-portraits .cd-doctor-partner strong{font-size:18px}}
