/* ==========================================================================
   뉴로이어 구성원 소개 리뉴얼 (member.css)
   - 모든 규칙은 .nlm 아래에만 적용됩니다. 기존 common.css의 .s11_* 규칙과 충돌하지 않습니다.
   - 기준 시안: Figma 1920px(데스크톱) / 390px(모바일)
   - 구간: ~767 모바일 / 768~1023 태블릿 / 1024~ 데스크톱(콘텐츠 최대 1200px)
   ========================================================================== */

.nlm {
  /* 색 */
  --nlm-ink: #152b37;        /* 기본 글자 */
  --nlm-accent: #315f75;     /* 강조 글자·태그 글자 */
  --nlm-muted: #66767e;      /* 직함·업종 */
  --nlm-line: #a0aaae;       /* 비활성 탭·구분선 */
  --nlm-tag-bg: #e9f1f5;     /* 태그 배경 */
  --nlm-photo-bg: #abb4bb;   /* 사진 자리 배경 */
  --nlm-photo-bg-hover: #707578;
  --nlm-card-bg: #f5f7f8;    /* 파트너사·고객사 로고 상자 배경 (변호사 카드 글자 영역은 2026-12-02 부터 투명) */
  --nlm-more: #426b82;       /* 모바일 태그 +N */
  --nlm-case-bg: #f8f8f8;    /* 성공사례 카드 */
  --nlm-case-badge: #002255;
  --nlm-case-ink: #212121;

  /* 글꼴 */
  --nlm-font: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --nlm-font-num: "Montserrat", var(--nlm-font);

  /* 레이아웃 */
  --nlm-max: 1200px;
  --nlm-gutter: 16px;

  font-family: var(--nlm-font);
  color: var(--nlm-ink);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.nlm *, .nlm *::before, .nlm *::after { box-sizing: border-box; }
.nlm :where(h1, h2, h3, h4, p, ul, ol, li, figure, dl, dd) { margin: 0; padding: 0; }
.nlm :where(ul, ol) { list-style: none; }
:where(.nlm) a { color: inherit; text-decoration: none; }
:where(.nlm) img { display: block; }

.nlm-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   상단 비주얼 (기존 사이트 서브 비주얼이 같다면 그것을 그대로 쓰고 이 블록은 생략)
   -------------------------------------------------------------------------- */
.nlm-hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 440px; padding-top: 67px;
  background: #232428 center / cover no-repeat;
  color: #fff; text-align: center;
}
.nlm-hero__title { font-size: 48px; font-weight: 700; line-height: normal; }
.nlm-hero__desc { margin-top: 15px; font-size: 22px; font-weight: 400; line-height: 29.7px; }

/* --------------------------------------------------------------------------
   탭
   -------------------------------------------------------------------------- */
.nlm-tabs { display: flex; justify-content: center; align-items: flex-end; }
.nlm-tabs__link {
  display: block; padding: 10px 16px;
  border-bottom: 1px solid var(--nlm-line);
  color: var(--nlm-line); font-size: 24px; font-weight: 400; letter-spacing: -0.02em; line-height: normal;
  transition: color .2s;
}
.nlm-tabs__link:hover { color: var(--nlm-ink); }
.nlm-tabs__link[aria-current="page"] {
  border-bottom: 2px solid var(--nlm-ink);
  color: var(--nlm-ink); font-weight: 600;
}
.nlm-tabs__link:focus-visible { outline: 2px solid var(--nlm-accent); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   목록 공통
   -------------------------------------------------------------------------- */
.nlm-list {
  display: flex; flex-direction: column; align-items: center; gap: 120px;
  padding: 100px var(--nlm-gutter) 300px;
  background: #fff;
}
.nlm-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px; row-gap: 88px;
  width: 100%; max-width: var(--nlm-max);
}
.nlm-grid--org { row-gap: 80px; }

/* 이미지 자르기: Figma 배치값(--w,--l,--t)이 있으면 그대로, 없으면 cover 로 채움 */
.nlm-photo { position: relative; overflow: hidden; background: var(--nlm-photo-bg); aspect-ratio: 3 / 4; transition: background-color .3s; }
.nlm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; transform-origin: 50% 100%; }
.nlm-photo img[style*="--w"] {
  position: absolute; max-width: none; height: auto; object-fit: initial;
  width: var(--w); left: var(--l, 0); top: var(--t, 0);
}

/* --------------------------------------------------------------------------
   변호사 카드
   -------------------------------------------------------------------------- */
.nlm-card { display: flex; flex-direction: column; height: 100%; }
.nlm-card__media { position: relative; }
.nlm-card__plus {
  position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.35); transition: background-color .25s;
}
.nlm-card__plus::before, .nlm-card__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 1px;
  width: 20px; height: 2px; transform: translate(-50%, -50%);
}
.nlm-card__plus::after { width: 2px; height: 20px; }

.nlm-card__body {
  flex: 1; display: flex; flex-direction: column; gap: 18px;
  padding: 28px 8px 28px; background: transparent; /* 2026-12-02: var(--nlm-card-bg) → 투명(모든 폭, 마우스 올림·포커스 때도 바뀌지 않음) */
}
.nlm-card__name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; line-height: normal; }
.nlm-card__name strong { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.nlm-card__name span { color: var(--nlm-muted); font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }

.nlm-meta { display: flex; flex-direction: column; gap: 8px; }
.nlm-meta__row { display: flex; align-items: flex-start; gap: 8px; line-height: normal; }
.nlm-meta__text { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; row-gap: 2px; min-width: 0; }
.nlm-meta__row::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 0.5px;
  background: center / contain no-repeat;
}
.nlm-meta__row--edu::before { background-image: url("../img/icon-grad.svg"); }
.nlm-meta__row--career::before { background-image: url("../img/icon-verify.svg"); }
.nlm-meta__main { font-size: 16px; letter-spacing: -0.02em; }
.nlm-meta__sub { color: var(--nlm-accent); font-size: 14px; letter-spacing: -0.02em; }

.nlm-tags { display: flex; flex-wrap: wrap; column-gap: 8px; row-gap: 7px; }
.nlm-tag {
  padding: 6px 10px; border-radius: 4px; background: var(--nlm-tag-bg);
  color: var(--nlm-accent); font-size: 14px; letter-spacing: -0.02em; line-height: normal;
  transition: color .25s;
}
.nlm-tags__more { display: none; color: var(--nlm-more); font-size: 12px; font-weight: 300; letter-spacing: -0.02em; }

/* 마우스를 올렸을 때 (시안 196:2641 / 196:2642) */
@media (hover: hover) {
  .nlm-card:hover .nlm-photo { background-color: var(--nlm-photo-bg-hover); }
  .nlm-card:hover .nlm-photo img { transform: scale(1.03); }
  .nlm-card:hover .nlm-card__plus { background-color: #6c9bb5; }
  .nlm-card:hover .nlm-tag { color: var(--nlm-ink); }
}
.nlm-card:focus-visible { outline: 2px solid var(--nlm-accent); outline-offset: 4px; }

/* --------------------------------------------------------------------------
   파트너사·고객사 카드
   -------------------------------------------------------------------------- */
.nlm-org { display: flex; flex-direction: column; gap: 28px; }
.nlm-org__logo {
  position: relative; overflow: hidden; aspect-ratio: 3 / 1; background: var(--nlm-card-bg);
}
.nlm-org__logo img {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  max-width: 70%; max-height: 60%; object-fit: contain; mix-blend-mode: multiply;
}
.nlm-org__logo img[style*="--w"] { max-width: none; max-height: none; width: var(--w); height: auto; }
.nlm-org__text { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0 8px; line-height: normal; }
.nlm-org__name { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.nlm-org__type { color: var(--nlm-muted); font-size: 20px; letter-spacing: -0.02em; }
a.nlm-org { transition: opacity .2s; }
@media (hover: hover) { a.nlm-org:hover .nlm-org__logo { background-color: #edf1f3; } }
a.nlm-org:focus-visible { outline: 2px solid var(--nlm-accent); outline-offset: 4px; }

/* --------------------------------------------------------------------------
   개인 페이지
   -------------------------------------------------------------------------- */
/* 사진 3장 영역(2026-12-01, Figma 196:2336 기준): 본문과 같은 폭(최대 1200)·같은 좌우 여백(--nlm-gutter) → 좌우 끝선이 본문과 일치
   높이는 디자인 780 → 700 으로 살짝 줄임, 모든 폭에서 1200:700 비율. 큰 사진 1장 + 작은 사진 2장, 간격 0, 모바일도 같은 배치
   흐린 배경은 모든 폭에서 화면 전체 폭. 원본·썸네일은 1200px 그대로(화질 유지) */
.nlm-gallery { position: relative; overflow: hidden; padding: 0 var(--nlm-gutter); background: #fff; }
.nlm-gallery__blur {
  position: absolute; inset: -60px; background: center / cover no-repeat;
  filter: blur(35px); transform: translateZ(0);
}
.nlm-gallery__blur::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.nlm-gallery__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%; max-width: var(--nlm-max); aspect-ratio: 1200 / 700; margin: 0 auto;
}
.nlm-gallery__item { position: relative; overflow: hidden; min-width: 0; min-height: 0; }
.nlm-gallery__item--main { grid-row: 1 / 3; }
.nlm-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
/* 작은 사진 2장은 머리가 사진 맨 위에 붙어 있어 위쪽 기준으로 자름(아래쪽만 잘림). 큰 사진은 가운데 기준 */
.nlm-gallery__item:not(.nlm-gallery__item--main) img { object-position: 50% 0; }
.nlm-gallery__item img[style*="--w"] { position: absolute; max-width: none; width: var(--w); height: var(--h, auto); left: var(--l, 0); top: var(--t, 0); }

.nlm-intro { padding: 80px var(--nlm-gutter); border-bottom: 1px solid var(--nlm-line); background: #fff; }
.nlm-intro__inner { display: flex; align-items: center; gap: 50px; max-width: var(--nlm-max); margin: 0 auto; }
.nlm-intro__avatar { flex: none; width: 160px; height: 160px; aspect-ratio: 1; border-radius: 50%; }
.nlm-intro__text { min-width: 0; }
.nlm-intro__name { display: flex; align-items: center; gap: 8px; margin-bottom: -12px; font-size: 32px; line-height: 1.8; letter-spacing: -0.03em; }
.nlm-intro__name strong { font-weight: 600; }
.nlm-intro__name span { font-weight: 400; }
.nlm-intro__slogan { color: var(--nlm-accent); font-size: 52px; font-weight: 500; line-height: 1.8; letter-spacing: -0.03em; }
/* 소개 문단(wr_3) — 시안에 없음, 검색용 본문. 슬로건 아래 */
.nlm-intro__bio { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; color: var(--nlm-ink); font-size: 18px; line-height: 1.8; letter-spacing: -0.02em; }
.nlm-intro__name + .nlm-intro__bio { margin-top: 24px; }
/* 없는 구성원(404) 안내 */
.nlm-notfound { max-width: var(--nlm-max); margin: 0 auto; padding: 120px var(--nlm-gutter) 200px; text-align: center; font-size: 18px; line-height: 1.8; }
.nlm-notfound a { display: inline-block; margin-top: 16px; color: var(--nlm-accent); text-decoration: underline; }

.nlm-detail { padding: 100px var(--nlm-gutter); border-bottom: 1px solid var(--nlm-line); background: #fff; }
.nlm-detail__inner { display: grid; grid-template-columns: 586fr 588fr; column-gap: 27px; max-width: var(--nlm-max); margin: 0 auto; }
.nlm-detail__col { display: flex; flex-direction: column; gap: 60px; min-width: 0; }
.nlm-block { display: flex; flex-direction: column; gap: 20px; }
.nlm-block__title { font-size: 32px; font-weight: 600; line-height: normal; letter-spacing: -0.02em; }
.nlm-block .nlm-tags { gap: 8px; }
.nlm-block .nlm-tag { font-size: 18px; line-height: 1.5; }
.nlm-lines { display: flex; flex-direction: column; gap: 8px; font-size: 18px; line-height: 1.5; letter-spacing: -0.02em; } /* 2026-12-02: 1.8 → 1.5, 대표 업무 사례(.nlm-bullets)와 같은 행간 */

.nlm-cases { display: flex; flex-direction: column; gap: 40px; }
.nlm-cases__group { display: flex; flex-direction: column; gap: 16px; }
.nlm-cases__title { color: var(--nlm-accent); font-size: 24px; font-weight: 600; line-height: normal; letter-spacing: -0.02em; }
.nlm-bullets { display: flex; flex-direction: column; gap: 8px; font-size: 18px; line-height: 1.5; letter-spacing: -0.02em; }
.nlm-bullets li { position: relative; padding-left: 16px; }
.nlm-bullets li::before { content: ""; position: absolute; left: 0; top: 11.5px; width: 4px; height: 4px; border-radius: 50%; background: #7D878E; } /* 2026-12-02: 점 색 var(--nlm-ink) → #7D878E */

/* 최신 성공 사례 */
.nlm-latest { padding: 100px var(--nlm-gutter) 300px; background: #fff; }
.nlm-latest__inner { display: flex; flex-direction: column; gap: 36px; max-width: var(--nlm-max); margin: 0 auto; }
.nlm-latest__head { display: flex; align-items: center; gap: 8px; }
.nlm-latest__title { font-size: 32px; font-weight: 600; line-height: normal; letter-spacing: -0.02em; }
/* 제목 옆 좌우 버튼(작은 원형 chevron, 시안 그대로). 모바일은 터치 영역만 44×44 로 넓힘(아래 모바일 구간) */
.nlm-latest__btn {
  position: relative; flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--nlm-ink); cursor: pointer; transition: background-color .2s, opacity .2s;
}
.nlm-latest__btn:not(:disabled) { background-color: var(--nlm-tag-bg); } /* background 단축형을 쓰면 모바일 background-clip 이 풀려 44px 전체가 칠해짐 */
.nlm-latest__btn:disabled { cursor: default; opacity: .45; }
.nlm-latest__btn svg { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.nlm-latest__btn--prev svg { transform: scaleX(-1); }
.nlm-latest__btn:focus-visible { outline: 2px solid var(--nlm-accent); outline-offset: 2px; }

.nlm-latest__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.nlm-latest__track::-webkit-scrollbar { display: none; }
.nlm-case { display: flex; flex-direction: column; scroll-snap-align: start; min-height: 590px; background: var(--nlm-case-bg); color: var(--nlm-case-ink); }
.nlm-case__thumb { aspect-ratio: 390 / 258; overflow: hidden; background: #ddd; }
.nlm-case__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
@media (hover: hover) { .nlm-case:hover .nlm-case__thumb img { transform: scale(1.04); } }
.nlm-case__body { display: flex; flex-direction: column; align-items: flex-start; padding: 35px 40px 36px; flex: 1; }
.nlm-case__badge { padding: 5px 15px; border-radius: 5px; background: var(--nlm-case-badge); color: #fff; font-size: 17px; font-weight: 500; line-height: normal; }
.nlm-case__title {
  margin-top: 20px; font-size: 24px; font-weight: 600; line-height: 1.21;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 58px;
}
.nlm-case__excerpt {
  margin-top: 27px; font-size: 17px; line-height: 25px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nlm-case__date { margin-top: auto; padding-top: 21px; font-family: var(--nlm-font-num); font-size: 17px; }
.nlm-case:focus-visible { outline: 2px solid var(--nlm-accent); outline-offset: 3px; }

/* 성공사례 전체보기(2026-12-01): 카드 목록 아래 가운데 사각 버튼 → 성공사례 게시판(/31)
   직각·그림자 없음, 흰 바탕 + 남색(배지색) 1px 테두리. 화살표는 CSS 로 그린 가는 선(──→)
   default.css 의 a:link·a:visited(#555) 보다 우선하도록 .nlm-latest a.… (0,2,1) */
.nlm-latest__foot { display: flex; justify-content: center; margin-top: 12px; } /* 카드와 간격 = .nlm-latest__inner gap 36 + 12 = 48 */
.nlm-latest a.nlm-latest__viewall {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: 260px; height: 56px; padding: 0 20px;
  border: 1px solid var(--nlm-case-badge); border-radius: 0; background: #fff; box-shadow: none;
  color: var(--nlm-case-badge); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s;
}
.nlm-latest__arrow { position: relative; flex: none; width: 22px; height: 1px; background: currentColor; transition: transform .2s; }
.nlm-latest__arrow::after {
  /* 7px 사각형의 위·오른쪽 테두리를 가운데 기준 45° 회전 → 꼭짓점이 선 높이 가운데(top -3 = 0.5 - 3.5), 오른쪽으로 약 1.5px 튀어나와 right 1.5 로 맞춤 */
  content: ""; position: absolute; right: 1.5px; top: -3px; width: 7px; height: 7px; box-sizing: border-box;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
@media (hover: hover) {
  .nlm-latest a.nlm-latest__viewall:hover { background: var(--nlm-case-badge); color: #fff; }
  .nlm-latest a.nlm-latest__viewall:hover .nlm-latest__arrow { transform: translateX(4px); }
}
.nlm-latest a.nlm-latest__viewall:focus-visible { outline: 2px solid var(--nlm-accent); outline-offset: 3px; }

/* ==========================================================================
   태블릿 (768~1023)
   ========================================================================== */
@media (max-width: 1023px) {
  .nlm { --nlm-gutter: 24px; }
  .nlm-hero { height: 320px; padding-top: 40px; }
  .nlm-hero__title { font-size: 36px; }
  .nlm-hero__desc { font-size: 18px; margin-top: 10px; }
  .nlm-list { gap: 80px; padding-top: 72px; padding-bottom: 160px; }
  .nlm-tabs__link { font-size: 20px; }
  .nlm-grid { row-gap: 60px; }
  .nlm-card__name strong { font-size: 20px; }
  .nlm-card__name span { font-size: 16px; }
  .nlm-meta__main { font-size: 14px; }
  .nlm-meta__sub { font-size: 12px; }
  .nlm-meta__row::before { width: 15px; height: 15px; }
  .nlm-tag { font-size: 13px; padding: 5px 8px; }
  .nlm-org__name { font-size: 18px; }
  .nlm-org__type { font-size: 15px; }
  .nlm-org__text { gap: 6px; }

  .nlm-intro__slogan { font-size: 36px; }
  .nlm-intro__name { font-size: 26px; }
  .nlm-intro__avatar { width: 120px; height: 120px; }
  .nlm-intro__inner { gap: 32px; }
  .nlm-detail__inner { grid-template-columns: 1fr; row-gap: 60px; }
  .nlm-latest { padding-bottom: 160px; }
  .nlm-latest__track { grid-auto-columns: calc((100% - 16px) / 2); }
}

/* ==========================================================================
   모바일 (~767, 기준 390px)
   ========================================================================== */
@media (max-width: 767px) {
  .nlm { --nlm-gutter: 16px; }

  .nlm-hero { height: auto; aspect-ratio: 389 / 133; padding-top: 0; }
  .nlm-hero__title { font-size: 18px; }
  .nlm-hero__desc { margin-top: 8px; font-size: 12px; line-height: 1.4; }

  .nlm-list { gap: 60px; padding: 40px var(--nlm-gutter) 100px; }
  .nlm-tabs__link { padding: 10px 12px; font-size: 16px; }

  .nlm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 50px; }
  .nlm-grid--org { row-gap: 20px; }

  .nlm-card__plus { display: none; }
  .nlm-card__body { gap: 12px; padding: 20px 4px 16px; }
  .nlm-card__name { gap: 4px; padding: 0 4px; }
  .nlm-card__name strong { font-size: 18px; }
  .nlm-card__name span { font-size: 14px; }
  .nlm-meta { gap: 6px; padding: 0 4px; }
  .nlm-meta__row { gap: 3.5px; }
  .nlm-meta__row::before { margin-top: 2.5px; }
  .nlm-meta__row::before { width: 12px; height: 12px; }
  .nlm-meta__main { font-size: 14px; }
  .nlm-meta__sub { display: none; }
  .nlm-card .nlm-tags { flex-wrap: nowrap; align-items: center; gap: 4px; padding: 0 4px; }
  .nlm-card .nlm-tags { overflow: hidden; }
  .nlm-card .nlm-tag { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 2.5px 4.5px; border-radius: 2px; font-size: 12px; line-height: 1.5; white-space: nowrap; }
  .nlm-card .nlm-tags__more { flex: none; }
  .nlm-card .nlm-tag:nth-child(n+3) { display: none; }
  .nlm-card .nlm-tags__more { display: inline; }

  .nlm-org { gap: 14px; }
  .nlm-org__logo { aspect-ratio: 174 / 80; }
  .nlm-org__text { flex-direction: column; align-items: flex-start; gap: 4px; padding: 0 4px; }
  .nlm-org__name { font-size: 16px; }
  .nlm-org__type { font-size: 14px; }

  /* 개인 페이지 — Figma 230:2636 (2026-12-02). PC·태블릿은 이 구간 밖 규칙 그대로 */
  /* 사진 3장: 화면 끝까지, 1200:780, 흐린 배경 숨김 */
  .nlm-gallery { padding: 0; }
  .nlm-gallery__blur { display: none; }
  .nlm-gallery__inner { aspect-ratio: 1200 / 780; }
  /* 소개: 슬로건 → [사진+이름] → 소개 글. HTML 순서는 그대로 두고 grid + display:contents 로 자리만 바꿈 */
  .nlm-intro { padding: 80px var(--nlm-gutter) 48px; }
  .nlm-intro__inner { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; column-gap: 12px; row-gap: 32px; }
  .nlm-intro__text { display: contents; }
  .nlm-intro__slogan { order: -1; grid-column: 1 / -1; text-align: center; font-size: 30px; line-height: 45px; text-wrap: balance; overflow-wrap: anywhere; }
  .nlm-intro__avatar { grid-column: 2; width: 50px; height: 50px; }
  .nlm-intro__name { grid-column: 3; min-width: 0; margin: 0; font-size: 28px; line-height: 43px; }
  .nlm-intro__name span { font-size: 17px; }
  .nlm-intro__bio, .nlm-intro__name + .nlm-intro__bio { order: 1; grid-column: 1 / -1; margin-top: 0; font-size: 15px; line-height: 25px; }
  .nlm-notfound { padding: 60px var(--nlm-gutter) 100px; font-size: 15px; }
  /* 본문: 위 60, 묶음 사이 42, 제목 18 → 내용 16, 태그 높이 33 */
  .nlm-detail { padding: 60px var(--nlm-gutter) 48px; }
  .nlm-detail__inner { row-gap: 42px; }
  .nlm-detail__col { gap: 42px; }
  .nlm-block { gap: 16px; }
  .nlm-block__title { font-size: 18px; }
  .nlm-block .nlm-tag { font-size: 14px; padding: 6px 10px; }
  .nlm-lines, .nlm-bullets { font-size: 15px; }
  .nlm-bullets li::before { top: 9.5px; }
  .nlm-cases { gap: 42px; }
  .nlm-cases__title { font-size: 18px; }
  /* 대표 성공 사례: 2열 격자에 앞 4장, ‹ › 대신 제목 옆 › 링크(/31). 카드가 넘치지 않으므로 member.js 자동 넘김은 스스로 멈춤(canAuto) */
  .nlm-latest { padding: 60px var(--nlm-gutter); }
  .nlm-latest__inner { gap: 20px; }
  .nlm-latest__title { font-size: 22px; }
  .nlm-latest__head { gap: 2px; }
  .nlm-latest__btn { display: none; }
  /* › 링크는 PHP 에서 hidden 으로 넣어 PC·태블릿에선 보이지 않음. 보이는 아이콘 20×20, 누르는 영역 44×44.
     바깥 여백 -12px 로 차지하는 자리는 20×20 이라 제목 줄 높이·카드와 간격(20)이 늘지 않음 */
  .nlm-latest a.nlm-latest__more { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -12px; color: var(--nlm-ink); }
  .nlm-latest__more svg { width: 20px; height: 20px; }
  .nlm-latest a.nlm-latest__more:focus-visible { outline: 2px solid var(--nlm-accent); outline-offset: -10px; }
  .nlm-latest__track { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; gap: 8px; overflow: visible; scroll-snap-type: none; }
  .nlm-case:nth-child(n+5) { display: none; }
  .nlm-case { min-height: 0; }
  .nlm-case__body { padding: 14px 12px 16px; }
  .nlm-case__badge { padding: 3px 8px; font-size: 11px; }
  .nlm-case__title { margin-top: 10px; font-size: 15px; min-height: 0; }
  .nlm-case__excerpt { margin-top: 8px; font-size: 13px; line-height: 19px; }
  .nlm-case__date { padding-top: 12px; font-size: 12px; }
  .nlm-latest__foot { margin-top: 12px; } /* 카드와 간격 = gap 20 + 12 = 32 */
  .nlm-latest a.nlm-latest__viewall { width: 100%; height: 52px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .nlm *, .nlm *::before, .nlm *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   사이트 적용 보정 (2026-11-23)
   - 이 파일은 구성원 목록 3개 화면(/page/21, 21_partner, 21_client)에서만 불러온다.
   - 상단 비주얼은 기존 서브 비주얼(sh.php)을 쓰므로 .nlm-hero 는 사용하지 않는다.
   - sh.php 의 .content_desc 위아래 여백(110/105px, 768↓ 60/80px)이 .nlm-list 여백과 겹치지 않게 없앤다.
   ========================================================================== */
#wrap_sub .content_desc { padding: 0; min-height: 0; }
