/* 2026-10-19: keep Korean words intact and portraits clear of frame edges. */
.partners :is(.page-content,.section,.people-caption) :is(p,li,dd,summary){word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty}
.partners :is(.page-banner h1,.section h2,.page-content h2,.page-content h3){word-break:keep-all;overflow-wrap:break-word;text-wrap:balance}
.partners .page-content .expert-intro-lead{font-size:20px;line-height:1.85;color:#22354b}
.partners .page-content .expert-intro-role{font-size:14px;line-height:1.6;color:#1765e8}
.partners .page-content .expert-intro-office{font-size:15px;line-height:1.75}
.partners .page-content .expert-intro-expand :is(p,li){font-size:16px;line-height:1.9;word-break:keep-all;overflow-wrap:break-word}
.partners .expert-intro-identity h2{white-space:nowrap;text-wrap:nowrap}
.partners :is(.team-profile-image,.expert-intro-portrait) img{height:96%;top:auto;bottom:0}
.partners .portrait-detail .representative-portrait img{height:96%;top:auto;bottom:0}
.partners .team-profile-copy p{word-break:keep-all}
.partners .online-phone strong,.partners .quick-phone{white-space:nowrap}
@media(max-width:640px){
 .partners .page-content .expert-intro-lead{font-size:16px;line-height:1.85}
 .partners .page-content .expert-intro-role{font-size:12px}
 .partners .page-content .expert-intro-office{font-size:13px;line-height:1.75}
 .partners .page-content .expert-intro-expand :is(p,li){font-size:15px;line-height:1.85}
 .partners .expert-intro-services{font-size:15px;line-height:1.85}
 .partners .expert-intro-identity h2{font-size:27px;line-height:1.4}
 /* Give the welcome copy its full width, then ground the portrait beside its name. */
 .is-consultation .consultation-welcome{padding:24px 22px 0;min-height:0}
 .partners .consultation-welcome h2{max-width:none;font-size:25px;line-height:1.45;margin:16px 0 12px;text-wrap:balance}
 .partners .consultation-welcome .intake-heading p{max-width:none;font-size:13px;line-height:1.85}
 .is-consultation .consultation-adviser{position:relative;top:auto;right:auto;width:calc(100% + 44px);height:160px;margin:18px -22px 0}
 .is-consultation .consultation-adviser img{height:160px;width:auto;max-width:none;bottom:0;right:auto;left:70%;transform:translateX(-50%)}
 .is-consultation .consultation-adviser>div{left:22px;bottom:24px}
 .is-consultation .consultation-adviser small{font-size:11px}
 .is-consultation .consultation-adviser strong{font-size:22px}
 .partners .consultation-kind-copy strong{font-size:13px;word-break:keep-all}
 .partners .consultation-kind-copy small{font-size:11px;word-break:keep-all;line-height:1.7}
 .partners.is-consultation .intake-fields-grid label{overflow-wrap:break-word}
 .is-consultation .consultation-extras>summary{flex-wrap:wrap;gap:8px}
 .is-consultation .consultation-extras>summary>span:first-child{flex-basis:calc(100% - 30px);order:0}
 .is-consultation .consultation-extras>summary::after{order:1}
 .is-consultation #consultation-extras-status{order:2;text-align:left;max-width:none;flex-basis:100%}
}
