/* 의료진 /doctors — 클래스 접두사: doctors-, doctor-profile */
.doctors-map { padding-bottom: clamp(48px, 5vw, 72px); }
.doctors-map__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--radius);
    background: var(--sage);
}
.doctors-map__title { grid-column: 1 / span 4; font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.35; letter-spacing: -.035em; }
.doctors-map__table { grid-column: 5 / span 8; border-top: 1px solid var(--sage-2); }
.doctors-map__table > div {
    display: grid;
    grid-template-columns: minmax(110px, 28%) minmax(0, 1fr);
    column-gap: var(--col-gap);
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--sage-2);
    font-size: 16px;
}
.doctors-map__table dt a { font-weight: 700; color: var(--ink); }
.doctors-map__table dt a:hover { color: var(--accent); }
.doctors-map__table dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.doctors-map__table dd a { font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.doctors-map__table dd span { font-size: 14.5px; color: var(--ink-2); }

.doctor-profile { padding: clamp(56px, 6vw, 96px) 0; border-top: 1px solid var(--line); }
.doctor-profile__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: start;
}
.doctor-profile__figure { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
body:has(.site-header.is-hidden) .doctor-profile__figure { top: 32px; }
.doctor-profile__body { grid-column: 6 / span 7; }
.doctor-profile--no-photo .doctor-profile__body { grid-column: 1 / span 8; }
.doctor-profile__board { font-size: 15px; font-weight: 700; color: var(--accent); }
.doctor-profile__name { margin-top: 6px; font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.25; letter-spacing: -.04em; }
.doctor-profile__name span { margin-left: 4px; font-size: .5em; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); }
.doctor-profile__fields { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.doctor-profile__fields-label { margin-right: 6px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.doctor-profile__fields .tag:hover { background: var(--sage-2); }
.doctor-profile__quote {
    margin-top: 28px;
    padding: 22px 26px;
    border-radius: var(--radius);
    background: var(--sage);
}
.doctor-profile__quote figcaption { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.doctor-profile__quote p { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.55; letter-spacing: -.025em; }
.doctor-profile__bio { margin-top: 26px; }
.doctor-profile__info { margin-top: 32px; border-top: 2px solid var(--ink); }
.doctor-profile__info > div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: var(--col-gap);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
    line-height: 1.7;
}
.doctor-profile__info dt { font-weight: 700; color: var(--ink-3); }
.doctor-profile__info li + li { margin-top: 2px; }
.doctor-profile__treatments { margin-top: 28px; }
.doctor-profile__label { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.doctor-profile__treatments ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.doctor-profile__treatments a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 4px 14px;
    border-radius: var(--radius-s);
    box-shadow: inset 0 0 0 1px var(--line-2);
    font-size: 15px;
    font-weight: 600;
    transition: box-shadow .2s, color .2s;
}
.doctor-profile__treatments a .arrow { width: 10px; color: var(--accent); }
.doctor-profile__treatments a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.doctor-profile__cta { margin-top: 28px; }

@media (max-width: 1099px) {
    .doctors-map__title { grid-column: 1 / -1; margin-bottom: 16px; }
    .doctors-map__table { grid-column: 1 / -1; }
    .doctor-profile__figure { grid-column: 1 / span 5; }
    .doctor-profile__body { grid-column: 6 / span 7; }
}
@media (max-width: 767px) {
    .doctors-map__table > div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
    .doctor-profile__figure { grid-column: 1 / -1; position: static; width: 76%; }
    .doctor-profile__body,
    .doctor-profile--no-photo .doctor-profile__body { grid-column: 1 / -1; margin-top: 28px; }
    .doctor-profile__quote { padding: 18px 18px; }
    .doctor-profile__info > div { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
    .doctor-profile__cta .button { width: 100%; }
}
@media (max-width: 640px) {
    /* 모바일: 한쪽으로 치우친 좁은 액자 대신 본문 폭 전체, 너무 길지 않게 1:1 (일러스트는 contain 이라 잘리지 않음) */
    .doctor-profile__figure { width: 100%; }
    .doctor-profile__figure .media { aspect-ratio: 1 / 1; }
}
