/* 구성원 소개 (2026-10-25): 영문판 Our Team 과 같은 한 그리드 구성. 대표·변호사·전문위원·법률사무원을 나누지 않고 함께 소개한다.
   목록 그리드(.tm)는 옛 디자인 페이지(첫 화면 슬라이드를 살린 /b/member_list/) 안에 들어가므로 sub.css 없이도 서도록 변수·글꼴·여백을 스스로 정한다. */
.tm{--navy:#17214d;--ink:#222;--mute:#666;--line:#dcdcdc;background:#fff;padding:80px 0 96px;font-family:"Pretendard Variable",Pretendard,-apple-system,"Malgun Gothic",sans-serif;color:var(--ink);line-height:1.5}
.tm *{box-sizing:border-box}
.tm .tm-wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.tm .tm-head{text-align:center;margin-bottom:48px}
.tm .tm-head h2{font-size:clamp(24px,2.6vw,34px);font-weight:700;margin:0;color:var(--ink)}
.tm .tm-head p{margin:12px 0 0;font-size:16px;color:var(--mute)}
.tm h3,.tm p{margin:0}
.tm a{text-decoration:none;color:inherit}
.tm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:44px 28px}
.tm-card{display:block;min-width:0;color:inherit}
.tm-card .ph{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:6px;background:#e4e7ee}
.tm-card .ph img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.ph img.fit{position:absolute;height:auto;max-width:none}
.tm-card h3{font-size:22px;font-weight:700;line-height:1.25;margin-top:16px;color:var(--ink)}
.tm-card .role{font-size:14px;color:var(--mute);margin-top:4px}
.tm-card .spec{font-size:14px;font-weight:600;color:var(--navy);margin-top:6px}
a.tm-card:hover h3{color:var(--navy);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.tm-np .ph{display:flex;align-items:center;justify-content:center}
.tm-np .ph svg{display:block;width:100%;height:100%}
/* 상세 */
.tm-det{padding:64px 0 88px}
.tm-det .g{display:grid;grid-template-columns:300px minmax(0,1fr);gap:56px;align-items:start}
.tm-det .side{position:sticky;top:calc(var(--hd) + 24px)}
.tm-det .side .ph{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:6px;background:#e4e7ee}
.tm-det .side .ph img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.tm-det .side .ph img.fit{height:auto}
.tm-det .side .nm{margin-top:18px;font-size:14px;color:var(--mute)}
.tm-det .side h2{font-size:28px;font-weight:700;line-height:1.2;margin-top:4px;color:var(--ink)}
.tm-det .side .spec{margin-top:6px;font-size:15px;font-weight:600;color:var(--navy)}
.tm-det .cta{display:grid;gap:8px;margin-top:22px}
.tm-det .cta a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:6px;font-size:15px;font-weight:600}
.tm-det .cta .b1{background:var(--navy);color:#fff}
.tm-det .cta .b1:hover{opacity:.9}
.tm-det .cta .b2{border:1px solid var(--ink);color:var(--ink)}
.tm-det .cta .b2:hover{background:var(--ink);color:#fff}
.tm-det .blk+.blk{margin-top:40px}
.tm-det .blk h2{font-size:14px;font-weight:700;letter-spacing:.08em;color:var(--navy);padding-bottom:10px;border-bottom:1px solid var(--ink)}
.tm-det .blk ul{list-style:none;margin:0;padding:0}
.tm-det .blk li{padding:11px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:1.6}
@media (max-width:1024px){
  .tm-det .g{grid-template-columns:220px minmax(0,1fr);gap:36px}
  .tm-grid{grid-template-columns:repeat(3,1fr);gap:36px 24px}
}
@media (max-width:768px){
  .tm{padding:48px 0 64px}
  .tm .tm-intro{margin-bottom:32px;font-size:15px}
  .tm-det{padding:40px 0 64px}
  .tm-det .g{grid-template-columns:1fr;gap:28px}
  .tm-det .side .ph{width:100%;max-width:240px;margin-inline:auto}
  .tm-det .side{position:static}
  .tm-grid{grid-template-columns:repeat(2,1fr);gap:28px 16px}
  .tm-card h3{font-size:19px}
}
