/* 새하얀피부과 은평점 — 서브페이지 전용 : about */
/* Balance model portraits with condition imagery in homepage banners. */

.physician-profile {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: clamp(32px,5vw,80px);
    align-items: start
}

.physician-photo {
    margin: 0;
    position: sticky;
    top: 124px;
    border-radius: 24px;
    overflow: hidden;
    background: #f2f1ed
}

.physician-photo img {
    width: 100%;
    height: auto;
    object-fit: contain
}

.physician-copy .eyebrow {
    margin-bottom: 12px
}

.physician-copy h2 {
    display: flex;
    gap: 16px;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 32px
}

.physician-copy h2 span {
    font-size: 18px;
    font-weight: 400;
    color: var(--muted)
}

.physician-copy h3 {
    margin-bottom: 16px
}

.physician-copy ul {
    margin: 0;
    padding-left: 20px
}

.physician-copy li {
    padding-left: 4px;
    margin-bottom: 9px;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: anywhere
}

.physician-papers {
    margin-top: 36px
}

.physician-papers li {
    margin-bottom: 16px;
    font-size: 15px
}

.physician-copy {
    text-align: left
}

@media(max-width: 750px) {
.physician-profile {
        grid-template-columns:1fr;
        gap: 32px
    }

.physician-photo {
        position: static;
        max-width: 480px;
        width: 100%;
        margin-inline:auto;border-radius: 20px
    }

.physician-copy h2 {
        gap: 12px
    }

.physician-copy li {
        font-size: 15px
    }
}

/* Keep physician credentials and publications aligned with their content column. */

.info-page .physician-copy :is(h2,h3,p,ul,li),.info-page .physician-papers {
    text-align: left
}

.info-page .physician-copy h2 {
    justify-content: flex-start
}

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

.info-page .about-philosophy {
    background: #f5fafd
}

.info-page .about-promise h2 {
    margin-bottom: 20px
}

.info-page .about-promise p {
    font-size: 20px;
    line-height: 1.9;
    color: var(--ink)
}

.info-page .about-story {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
    gap: clamp(32px,5vw,72px);
    align-items: center;
    margin-top: 80px
}

.info-page .about-story:nth-of-type(even) {
    grid-template-columns: minmax(0,1.15fr) minmax(0,1fr)
}

.info-page .about-story:nth-of-type(even) figure {
    order: 2
}

.info-page .about-story figure {
    margin: 0;
    border-radius: 24px;
    overflow: hidden
}

.info-page .about-story img {
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    object-fit: cover
}

.info-page .about-story-copy,.info-page .about-story-copy :is(h3,p) {
    text-align: left
}

.info-page .about-story-copy h3 {
    font-size: var(--h3,24px);
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 24px;
    word-break: keep-all
}

.info-page .about-story-copy p {
    font-size: 16px;
    line-height: 1.95;
    word-break: keep-all;
    overflow-wrap: anywhere;
    margin: 0 0 18px
}

.info-page .about-story-copy p:last-child {
    margin-bottom: 0
}

.info-page .about-story-copy strong {
    font-weight: 600;
    color: var(--ink)
}

@media(max-width: 750px) {
.info-page .about-promise p {
        font-size: 17px
    }

.info-page .about-story,.info-page .about-story:nth-of-type(even) {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 48px
    }

.info-page .about-story:nth-of-type(even) figure {
        order: 0
    }

.info-page .about-story figure {
        border-radius: 20px
    }

.info-page .about-story-copy h3 {
        font-size: 21px;
        margin-bottom: 18px
    }
}

/* Use the same centered title and measure as a treatment introduction. */

.info-page .about-story,.info-page .about-story:nth-of-type(even) {
    background: #fff;
    border-radius: var(--clinic-radius);
    overflow: hidden;
    gap: 0;
    margin-top: var(--clinic-card-gap);
}

.info-page .about-story figure {
    align-self: stretch;
    border-radius: 0
}

.info-page .about-story figure img {
    height: 100%;
    min-height: 100%;
    object-fit: cover
}

.info-page .about-story .about-story-copy {
    min-width: 0;
    padding: clamp(22px,4vw,54px);
    align-self: center
}

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

@media(max-width: 750px) {
.info-page .about-story figure img {
        height:auto;
        min-height: 0
    }

.info-page .about-story .about-story-copy {
        padding: 22px 24px 28px
    }
}

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

.about-story-copy #specialist-care {
    display: flex;
    align-items: center;
    gap: 10px
}

.about-story-copy #specialist-care::before {
    display: none
}

.about-story-copy #specialist-care .care-emblem {
    display: block;
    width: 34px;
    height: 33px;
    flex: none;
    object-fit: contain
}

/* Physician portrait: keep the frame's size and zoom in on the doctor.
   --physician-zoom sets the magnification; --physician-focus is the point that stays in place. */

.physician-photo {
    --physician-zoom: 1.5;
    --physician-focus: 90% 54%;
    aspect-ratio: 1365/2048
}

.physician-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--physician-zoom));
    transform-origin: var(--physician-focus)
}
