/* Scoped team directory and profile; SUIT is restricted to medical-team content. */
.team-page { --team-navy:#123e60; --team-muted:#5b7182; --team-accent:#b34c23; color:var(--team-navy); background:#fbfaf7; font-family:"SUIT Variable",SUIT,"Pretendard Variable",Pretendard,sans-serif; padding-bottom:96px; }
.team-page *, .team-page *::before, .team-page *::after { box-sizing:border-box; }
.team-page .team-wide { width:min(1240px,calc(100% - 96px)); margin-inline:auto; }
.team-page [id] { scroll-margin-top:128px; }
.team-page a { text-decoration:none; }
.team-page a:focus-visible { outline:3px solid #168d8c; outline-offset:5px; }
.team-page .team-eyebrow { margin:0; color:var(--team-accent); font-size:12px; font-weight:750; line-height:1.6; letter-spacing:.09em; }
.team-breadcrumb { display:flex; flex-wrap:wrap; gap:12px; padding-block:30px; color:var(--team-muted); font-size:14px; line-height:1.5; }
.team-breadcrumb a { color:inherit; }
.team-breadcrumb strong { color:var(--team-navy); font-weight:650; }
.team-intro { padding-top:50px; }
.team-intro-row { display:flex; align-items:end; justify-content:space-between; gap:36px; margin-top:20px; }
.team-intro h1 { margin:0; color:var(--team-navy); font-size:clamp(34px,3.5vw,52px); font-weight:400; line-height:1.35; letter-spacing:-.045em; word-break:keep-all; }
.team-intro h1 strong { font-weight:750; color:inherit; }
.team-intro-row > p { margin:0 0 4px; color:var(--team-muted); font-size:17px; line-height:1.85; word-break:keep-all; }
.team-departments { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:44px; }
.team-departments a { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px; border:1px solid #d8e1e5; border-radius:12px; background:#fff; color:var(--team-navy); font-size:17px; font-weight:650; }
.team-departments a:hover { border-color:var(--team-navy); background:#edf4f7; }
.team-departments span { color:var(--team-accent); }
.team-group { padding-top:70px; }
.team-group-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.team-group-heading h2 { margin:0; color:var(--team-navy); font-size:30px; font-weight:750; letter-spacing:-.03em; }
.team-group-heading > span { color:#697e8b; font-size:11px; letter-spacing:.14em; }
.team-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.team-card { display:grid; grid-template-columns:42% minmax(0,1fr); min-width:0; overflow:hidden; border:1px solid #e0e5e6; border-radius:22px 54px 22px 22px; background:#fff; }
.team-portrait { position:relative; min-width:0; overflow:hidden; background:var(--doctor-portrait-bg,#f4f7f9); }
.team-portrait-frame { position:absolute; inset:46px -15% 0; overflow:hidden; -webkit-mask-image:linear-gradient(#000 0%,#000 78%,transparent 100%); mask-image:linear-gradient(#000 0%,#000 78%,transparent 100%); }
.team-portrait img { position:absolute; top:var(--portrait-top,0%); left:50%; display:block; width:auto; max-width:none; height:var(--portrait-height,100%); transform:translateX(-50%); }
.team-portrait img[src*="doctor-2-full"] { rotate:-3deg; transform-origin:50% 80%; }
.team-card-copy { min-width:0; padding:34px 24px 28px; display:flex; flex-direction:column; }
.team-card h3 { margin:12px 0 10px; color:var(--team-navy); font-size:30px; font-weight:750; line-height:1.4; letter-spacing:-.035em; }
.team-card h3 span { display:inline-block; font-size:15px; font-weight:500; letter-spacing:0; }
.team-specialty { margin:0; color:var(--team-navy); font-size:15px; font-weight:650; line-height:1.65; word-break:keep-all; }
.team-focus { margin:14px 0 0; color:var(--team-muted); font-size:14px; line-height:1.8; word-break:keep-all; }
.team-highlights { margin:22px 0; padding:20px 0 0; border-top:1px solid #e0e6e8; list-style:none; }
.team-highlights li { position:relative; padding-left:11px; color:#526a7c; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.team-highlights li + li { margin-top:8px; }
.team-highlights li::before { content:""; position:absolute; left:0; top:.7em; width:3px; height:3px; border-radius:50%; background:var(--team-accent); }
.team-text-link { display:inline-flex; align-items:center; justify-content:space-between; gap:22px; width:fit-content; padding-bottom:8px; border-bottom:1px solid #b8c9d4; color:var(--team-navy); font-size:15px; font-weight:700; line-height:1.6; }
.team-text-link span { color:var(--team-accent); }
.team-card .team-text-link { margin-top:auto; }
.team-contact { display:flex; align-items:center; justify-content:space-between; gap:36px; margin-top:70px; padding:38px 40px; border:1px solid #dce5e9; border-radius:24px; background:#edf3f5; }
.team-contact h2 { margin:10px 0 12px; color:var(--team-navy); font-size:28px; font-weight:750; }
.team-contact p:last-child { margin:0; color:var(--team-muted); font-size:16px; line-height:1.7; }
.team-actions { display:flex; flex-wrap:wrap; align-items:center; gap:26px; }
.team-button { display:inline-flex; justify-content:center; align-items:center; gap:30px; min-height:54px; padding:16px 24px; border:1px solid var(--team-navy); border-radius:12px; color:#fff; background:var(--team-navy); font-size:16px; font-weight:700; line-height:1.5; }
.team-button:hover { background:#245778; color:#fff; }
.team-button.is-outline { color:var(--team-navy); background:transparent; }
.team-button.is-outline:hover { background:#edf3f5; }
.team-phone { color:var(--team-navy); font-size:23px; font-weight:750; white-space:nowrap; }
.team-phone small { display:block; margin-bottom:5px; color:var(--team-muted); font-size:13px; font-weight:500; }
.team-switcher { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); margin:12px 0 36px; padding:8px; gap:6px; border:1px solid #e0e5e6; border-radius:18px; background:#fff; }
.team-switcher a { padding:15px 6px; border:1px solid transparent; border-radius:11px; text-align:center; color:var(--team-navy); font-size:17px; font-weight:700; line-height:1.5; }
.team-switcher small { display:block; margin-top:3px; font-size:11px; font-weight:500; color:var(--team-muted); }
.team-switcher a:hover { background:#f2f6f7; }
.team-switcher a[aria-current="page"] { background:#edf3f5; border-color:var(--team-navy); }
.team-profile { display:grid; grid-template-columns:.9fr 1.1fr; border:1px solid #e0e5e6; border-radius:26px 72px 26px 26px; overflow:hidden; background:#fff; }
.team-profile > .team-portrait { min-height:500px; }
.team-profile .team-portrait-frame { inset:60px 0 0; }
.team-photo-label { position:absolute; z-index:1; top:30px; left:32px; color:#798783; font-size:10px; font-weight:600; letter-spacing:.16em; line-height:1.9; }
.team-profile-copy { min-width:0; padding:34px; }
.team-profile h1 { margin:14px 0 12px; color:var(--team-navy); font-size:54px; line-height:1.25; font-weight:750; letter-spacing:-.045em; }
.team-profile h1 span { display:inline-block; font-size:22px; font-weight:500; letter-spacing:-.02em; }
.team-profile .team-specialty { font-size:18px; }
.team-profile h2 { margin:0 0 14px; color:var(--team-navy); font-size:16px; font-weight:750; }
.team-profile-fields { margin-top:22px; }
.team-profile-fields ul { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.team-profile-fields li { padding:8px 13px; border-radius:8px; background:#f0f5f7; color:#476478; font-size:14px; line-height:1.5; }
.team-profile-summary { margin-top:22px; }
.team-profile-summary .team-highlights { margin:0; padding:0; border:0; }
.team-profile-summary li { font-size:16px; }
.team-profile .team-actions { margin-top:24px; }
.team-history { display:grid; grid-template-columns:1.15fr .85fr; gap:24px; margin-top:30px; align-items:start; }
.team-history-side { display:grid; gap:24px; }
.team-history-card { padding:38px; border:1px solid #e0e5e6; border-radius:22px; background:#fff; }
.team-history-card h2 { margin:12px 0 26px; color:var(--team-navy); font-size:27px; font-weight:750; letter-spacing:-.03em; }
.team-history-card ul { margin:0; padding:0; list-style:none; }
.team-history-card li { position:relative; padding:0 0 20px 20px; color:#496477; font-size:17px; line-height:1.8; word-break:keep-all; overflow-wrap:anywhere; }
.team-history-card li:last-child { padding-bottom:0; }
.team-history-card li::before { content:""; position:absolute; left:0; top:.73em; width:5px; height:5px; border-radius:50%; background:#ba7554; }
.team-back { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; margin-top:36px; }
@media (min-width:1181px) and (max-width:1640px) {
 .team-page .team-wide { width:calc(100% - 240px); margin-left:48px; margin-right:192px; }
 .team-card { grid-template-columns:38% minmax(0,1fr); }
 .team-card-copy { padding:28px 20px; }
 .team-card h3 { font-size:27px; }
 .team-contact { align-items:start; flex-direction:column; }
 .team-profile-copy { padding:30px; }
}
@media (max-width:1050px) {
 .team-intro-row { display:block; }
 .team-intro-row > p { margin-top:24px; }
 .team-grid { grid-template-columns:1fr; }
 .team-card { grid-template-columns:40% minmax(0,1fr); min-height:400px; }
 .team-card-copy { padding:36px; }
 .team-contact { flex-direction:column; align-items:start; }
 .team-switcher { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .team-profile { grid-template-columns:.8fr 1.2fr; }
 .team-profile-copy { padding:32px; }
 .team-profile h1 { font-size:44px; }
 .team-history { grid-template-columns:1fr; }
}
@media (max-width:600px) {
 .team-page { padding-bottom:68px; }
 .team-page .team-wide { width:calc(100% - 36px); }
 .team-breadcrumb { padding-block:24px; font-size:12px; gap:9px; }
 .team-intro { padding-top:22px; }
 .team-intro h1 { font-size:32px; }
 .team-intro-row > p { font-size:16px; }
 .team-departments { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:28px; }
 .team-departments a { padding:15px; font-size:15px; }
 .team-group { padding-top:48px; }
 .team-group-heading { margin-bottom:18px; }
 .team-group-heading h2 { font-size:25px; }
 .team-grid { gap:18px; }
 .team-card { grid-template-columns:1fr; border-radius:20px 48px 20px 20px; }
 .team-card > .team-portrait { height:310px; }
 .team-portrait-frame { inset:24px 0 0; }
 .team-card-copy { padding:28px; }
 .team-card h3 { font-size:32px; }
 .team-highlights li { font-size:15px; }
 .team-contact { margin-top:46px; padding:28px 24px; gap:26px; }
 .team-contact h2 { font-size:25px; }
 .team-actions { gap:20px; }
 .team-switcher { gap:4px; padding:5px; margin-top:4px; margin-bottom:22px; }
 .team-switcher a { padding:10px 2px; font-size:15px; }
 .team-switcher small { font-size:10px; }
 .team-profile { grid-template-columns:1fr; border-radius:22px 54px 22px 22px; }
 .team-profile > .team-portrait { min-height:0; height:300px; }
 .team-profile .team-portrait-frame { inset:40px 0 0; }
 .team-photo-label { top:20px; left:20px; font-size:8px; }
 .team-profile-copy { padding:30px 24px; }
 .team-profile h1 { font-size:42px; }
 .team-profile h1 span { font-size:19px; }
 .team-profile .team-specialty { font-size:17px; }
 .team-profile-summary li { font-size:15px; }
 .team-history { margin-top:20px; gap:20px; }
 .team-history-side { gap:20px; }
 .team-history-card { padding:28px 24px; }
 .team-history-card h2 { font-size:24px; }
 .team-history-card li { font-size:16px; padding-left:16px; }
}
