/* 도어웹 법률2 — 메인 화면(C / H5-S3-P3-C2-T1). 수정 라운드 2(10-27): 배열 · 타이포 재구성.
   - 그리드: 컨테이너 1280(안쪽 여백 40 → 내용 1200), 12칸, 칸 사이 32. 모든 섹션 왼쪽 끝이 같은 선.
   - 여백: 대 160 / 소 96 (휴대폰 96 / 64). S3 대 · P3 소 · C2 대(위)+소(아래) · T1 소(위)+대(아래).
   - 바탕: 히어로 · S3 아이보리 → P3 남색 → C2 · T1 흰색(가는 선으로 나눔) → 푸터 남색. 급전환 연속 없음.
   - 글꼴: 본문 · 탭 · 버튼 · 폼 · 라벨 = Pretendard(코어 --dw-font). 명조(--l2-serif)는 h1~h3 · 히어로 카피 · 큰 숫자만.
   - 제목 블록(모든 섹션 같은 위치 · 위계): 라벨 12px 자간 .24em → h2 30~46px → 리드 18px.
   블록 메인 · 예전 방식 화면 · 편집 화면이 같은 class 를 쓴다. 클래식 테마는 그룹 사이에 inner-container(display:contents)가 끼므로 자식 선택자(>)를 쓰지 않는다. 색은 토큰만(--dw-* · --l2-*), hex 없음. */

body.dwl2, .editor-styles-wrapper {
	--l2-serif: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
	--l2-sans: var(--dw-font, "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif);
	--l2-pad-l: 104px; /* 라운드 5: 160 → 104(섹션마다 같은 큰 공백 반복 → 밀도 변화) */
	--l2-pad-s: 80px;
	--l2-gap: 32px;
	--l2-h2: clamp(30px, 2.8vw, 40px); /* 라운드 5: 히어로 h1 56 / 섹션 h2 40 위계 분리 */
	--l2-h1: clamp(36px, 3.9vw, 56px);
	--l2-lead: 18px;
	--l2-hero-h: clamp(560px, calc(100vh - var(--dw-header-h, 74px) - 120px), 720px);
}
@media (max-width: 860px) {
	body.dwl2, .editor-styles-wrapper { --l2-pad-l: 64px; --l2-pad-s: 64px; --l2-gap: 16px; --l2-lead: 16px; --l2-h2: clamp(26px, 7vw, 30px); }
}

/* ================================================================ 섹션 공통: 여백 · 바탕 · 제목 블록 */
.dwl2 .dwa-home .dwa-sec { background: none; }
.dwl2 .dwa-sec.l2-s3 { padding: var(--l2-pad-l) 0; background: var(--dw-bg); }
.dwl2 .dwa-sec.l2-p3 { padding: var(--l2-pad-s) 0; background: var(--dw-navy); }
.dwl2 .dwa-sec.l2-c2 { padding: var(--l2-pad-l) 0 var(--l2-pad-s); background: var(--l2-white) !important; color: var(--dw-text); }
.dwl2 .dwa-sec.l2-t1 { padding: 0 0 var(--l2-pad-l); background: var(--l2-white); }
.dwl2 .dwa-sec.l2-t1 .dw-container { position: relative; padding-top: var(--l2-pad-s); }
.dwl2 .dwa-sec.l2-t1 .dw-container::before { content: ""; position: absolute; top: 0; left: var(--l2-cpad, 40px); right: var(--l2-cpad, 40px); height: 1px; background: var(--dw-line); }

.dwl2 .dwa-sec .dwa-head, .editor-styles-wrapper .dwa-sec .dwa-head {
	display: block; max-width: 760px; margin: 0 0 40px; text-align: left;
}
@media (max-width: 860px) { .dwl2 .dwa-sec .dwa-head, .editor-styles-wrapper .dwa-sec .dwa-head { margin-bottom: 36px; } }
.dwl2 .dwa-sec .dwa-eyebrow, .editor-styles-wrapper .dwa-sec .dwa-eyebrow {
	display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
	font-family: var(--l2-sans); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .24em; text-transform: uppercase; color: var(--dw-text);
}
.dwl2 .dwa-sec .dwa-eyebrow::before, .editor-styles-wrapper .dwa-sec .dwa-eyebrow::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; opacity: .45; }
.dwl2 .dwa-sec .dwa-title, .editor-styles-wrapper .dwa-sec .dwa-title {
	margin: 0; font-family: var(--l2-serif); font-size: var(--l2-h2); font-weight: 600; line-height: 1.28; letter-spacing: -.02em; color: var(--dw-ink); word-break: keep-all; overflow-wrap: anywhere;
}
/* 금색 단어 강조는 히어로에만(섹션마다 같은 공식 반복 방지) — 섹션 제목의 em 은 제목색 그대로 */
.dwl2 .dwa-sec .dwa-title em, .editor-styles-wrapper .dwa-sec .dwa-title em { font-style: normal; color: inherit; }
.dwl2 .dwa-sec .dwa-desc, .editor-styles-wrapper .dwa-sec .dwa-desc {
	max-width: 600px; margin: 24px 0 0; font-family: var(--l2-sans); font-size: var(--l2-lead); line-height: 1.75; color: var(--dw-text); word-break: keep-all;
}
/* 남색 띠 위 제목 블록 */
.dwl2 .l2-p3 .dwa-eyebrow, .editor-styles-wrapper .l2-p3 .dwa-eyebrow { color: color-mix(in srgb, var(--l2-white) 74%, transparent); }
.dwl2 .l2-p3 .dwa-title, .editor-styles-wrapper .l2-p3 .dwa-title { color: var(--l2-white); }
.dwl2 .l2-p3 .dwa-desc, .editor-styles-wrapper .l2-p3 .dwa-desc { color: color-mix(in srgb, var(--l2-white) 76%, transparent); }

/* ================================================================ H5 메인 — 사진 한 장 + 겹친 글 상자 하나 + 작은 인디케이터 */
body.dwl2.dw-front .dw-hero { background: var(--dw-bg); color: var(--dw-ink); }
body.dwl2.dw-front .dw-hero .dw-hero-slider { position: relative; }
body.dwl2.dw-front .dw-hero .dw-hero-slide { background: var(--dw-bg); }
body.dwl2.dw-front .dw-hero .dw-hero-slide::before, body.dwl2.dw-front .dw-hero .dw-hero-slide::after { content: none; display: none; }
body.dwl2.dw-front .dw-hero .dw-hero-content { position: relative; box-sizing: border-box; min-width: 0; max-width: none; transform: none; background: var(--dw-primary); border-top: 2px solid var(--l2-gold); box-shadow: none; }
body.dwl2.dw-front .dw-hero .dw-hero-kicker {
	display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 0; border: 0; border-radius: 0; background: none;
	font-family: var(--l2-sans); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--l2-white) 78%, transparent); /* 라운드 6: 한글 라벨 12px · .24em 은 h1 56 위에서 읽히지 않았음 */
}
body.dwl2.dw-front .dw-hero .dw-hero-kicker::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }
body.dwl2.dw-front .dw-hero .dw-hero-content > h1, body.dwl2.dw-front .dw-hero .dw-hero-content > h2.dw-hero-title {
	max-width: none; margin: 0 0 22px; font-family: var(--l2-serif); font-size: var(--l2-h1); font-weight: 600; line-height: 1.26; letter-spacing: -.025em; color: var(--l2-white);
	word-break: keep-all; overflow-wrap: anywhere;
}
/* 금색 줄(1.4.12, doorweb 10-30): 사진의 밝은 면(흰 서류 · 손)에 걸려도 읽히게 — 어두운 면용 금색(--l2-gold-dark, 프리셋에서 한 단계 밝힘)
   + 굵기 한 단계(에디토리얼 400 → 500, 클래식 600 → 700) + 그림자. 작업표준 3 「포인트색 밝은 면 / 어두운 면 두 갈래」: 여기는 어두운 면 쪽. */
body.dwl2.dw-front .dw-hero h1 .dw-accent, body.dwl2.dw-front .dw-hero h2.dw-hero-title .dw-accent { color: var(--l2-gold-dark); font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
body.dwl2.l2-ed.dw-front .dw-hero h1 .dw-accent, body.dwl2.l2-ed.dw-front .dw-hero h2.dw-hero-title .dw-accent { font-weight: 500; }
/* 부제(1.4.12): 16px 흰 82% → 18px 흰 95% · 행간 1.6 · 최대 34em(나무 바탕에 묻힘) */
body.dwl2.dw-front .dw-hero .dw-hero-content > .dw-hero-sub {
	max-width: 34em; margin: 0 0 32px; font-family: var(--l2-sans); font-size: 18px; line-height: 1.6; color: color-mix(in srgb, var(--l2-white) 95%, transparent); word-break: keep-all; overflow-wrap: anywhere;
}
body.dwl2.dw-front .dw-hero .dw-hero-content > .dw-hero-actions { max-width: none; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
body.dwl2.dw-front .dw-hero .dw-hero-actions .dw-btn { min-height: 50px; padding: 0 26px; border-radius: 0; font-family: var(--l2-sans); font-size: 15px; font-weight: 600; letter-spacing: 0; white-space: nowrap; box-shadow: none; }
body.dwl2.dw-front .dw-hero .dw-hero-actions .dw-btn-primary { background: var(--l2-gold-dark); border: 1px solid var(--l2-gold-dark); color: var(--dw-ink); }
body.dwl2.dw-front .dw-hero .dw-hero-actions .dw-btn-primary:hover { background: var(--l2-white); border-color: var(--l2-white); color: var(--dw-ink); }
body.dwl2.dw-front .dw-hero .dw-hero-actions .dw-btn-primary .dw-arrow svg { stroke: currentColor; }
body.dwl2.dw-front .dw-hero .dw-hero-actions .dw-btn-ghost-light {
	min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--l2-white) 55%, transparent); background: none; color: var(--l2-white);
}
body.dwl2.dw-front .dw-hero .dw-hero-actions .dw-btn-ghost-light:hover { border-bottom-color: var(--l2-gold-dark); color: var(--l2-gold-dark); }

/* 1.4.19 전환 때 글자 튐 고침(doorweb 10-30 14:14): 코어는 나가는 장 글자를 즉시 translateY(22px) 로 내리고 들어오는 장은 22px 아래에서 올라옴
   → 나가는 장 글자는 제자리에서 투명도만 빠르게 빼고, 들어오는 장은 투명도 + 6px 이동만. 글 상자 높이는 law2-home.js heroEqualize 가 가장 긴 장에 맞춤 */
body.dwl2.dw-front .dw-hero .dw-hero-slide:not(.is-active) .dw-hero-content > h1,
body.dwl2.dw-front .dw-hero .dw-hero-slide:not(.is-active) .dw-hero-content > h2.dw-hero-title,
body.dwl2.dw-front .dw-hero .dw-hero-slide:not(.is-active) .dw-hero-sub,
body.dwl2.dw-front .dw-hero .dw-hero-slide:not(.is-active) .dw-hero-actions .dw-btn { opacity: 0; transform: none; animation: none; transition: opacity .25s ease; }
body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active .dw-hero-content > h1,
body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active .dw-hero-content > h2.dw-hero-title,
body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active .dw-hero-sub,
body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active .dw-hero-actions .dw-btn { animation-name: l2-hero-in; animation-duration: .5s; }
@keyframes l2-hero-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active .dw-hero-content > h1,
	body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active .dw-hero-content > h2.dw-hero-title,
	body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active .dw-hero-sub,
	body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active .dw-hero-actions .dw-btn { animation: none; }
}

/* 인디케이터: 현재 번호 · 슬라이드 막대(누르면 이동) · 전체 수 · 일시정지. 코어 화살표 · 점은 이것이 대신한다 */
body.dwl2 .l2-has-ind .dw-hero-nav, body.dwl2 .l2-has-ind .dw-hero-dots { display: none; }
body.dwl2 .l2-hind { display: flex; align-items: center; gap: 4px; z-index: 6; font-family: var(--l2-sans); color: var(--dw-ink); }
body.dwl2 .l2-hind-n { min-width: 22px; font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
body.dwl2 .l2-hind-n.is-tot { color: var(--dw-muted); text-align: right; }
body.dwl2 .l2-hind-bars { display: flex; align-items: center; margin: 0 6px; }
body.dwl2 .l2-hind-b { position: relative; width: 30px; height: 44px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }
body.dwl2 .l2-hind-b::before { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: var(--dw-line); transition: background-color .25s ease; }
body.dwl2 .l2-hind-b:hover::before { background: var(--dw-muted); }
body.dwl2 .l2-hind-b.is-on::before { background: var(--dw-ink); }
body.dwl2 .l2-hind-b:focus-visible, body.dwl2 .l2-hind .dw-hero-pause:focus-visible { outline: 2px solid var(--dw-primary); outline-offset: 0; }
body.dwl2 .l2-hind .dw-hero-pause {
	position: relative; /* 코어 ::after(inset -6px, 누름 영역 확장)의 기준을 버튼 자신으로 — static 이면 인디케이터 전체를 덮어 막대 버튼이 눌리지 않았음 */ display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 0 0 4px; padding: 0;
	border: 0; border-radius: 0; background: none; color: var(--dw-ink); box-shadow: none; backdrop-filter: none; transform: none;
}
body.dwl2 .l2-hind .dw-hero-pause:hover { background: color-mix(in srgb, var(--dw-ink) 6%, transparent); }
body.dwl2 .l2-hind .dw-hero-pause svg { width: 12px; height: 12px; }

@media (min-width: 861px) {
	/* 사진: 왼쪽 76% · 위아래 꽉. 글 상자: 컨테이너 오른쪽 끝 · 아래 72px 위, 폭 38vw 이내(최대 540) — 사진 오른쪽 끝과 겹침 */
	body.dwl2.dw-front .dw-hero .dw-hero-slide.is-active { min-height: var(--l2-hero-h); }
	body.dwl2.dw-front .dw-hero .dw-hero-slide > .dw-hero-bg { position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: 76%; height: 100%; object-fit: cover; }
	body.dwl2.dw-front .dw-hero .dw-hero-slide > picture.dw-hero-bg .dw-hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
	body.dwl2.dw-front .dw-hero .dw-hero-inner {
		position: relative; display: flex; flex-direction: row; justify-content: flex-end; align-items: flex-end; gap: 0; /* 라운드 6: 상자를 아래 기준으로 — 인디케이터가 상자 바로 아래 같은 오른쪽 선에 붙음 */
		width: 100%; max-width: var(--dw-container); min-height: var(--l2-hero-h); margin: 0 auto; padding: 56px var(--l2-cpad, 40px) 72px; box-sizing: border-box;
	}
	/* 글 상자 치수는 변수 하나로 — 인디케이터가 같은 값으로 상자 안 글 정렬선에 맞춘다 */
	body.dwl2.dw-front .dw-hero { --l2-hbox-w: min(680px, 48vw); --l2-hbox-px: clamp(32px, 3.6vw, 52px); --l2-hbox-pb: clamp(32px, 3.2vw, 48px); --l2-hbox-r: max(var(--l2-cpad, 40px), calc((100% - var(--dw-container)) / 2 + var(--l2-cpad, 40px))); }
	body.dwl2.dw-front .dw-hero .dw-hero-content { flex: none; width: var(--l2-hbox-w); /* 라운드 5: 620 → 680, 56px 제목이 두 줄에 들어가게 */ margin: 0; padding: clamp(36px, 3.6vw, 52px) var(--l2-hbox-px) var(--l2-hbox-pb); }
	/* 라운드 7: 인디케이터를 상자 밖 아이보리 띠 오른쪽 끝(글 정렬선과 어긋나 따로 노는 위치) → 상자 안 아래, 글과 같은 왼쪽 선. JS 가 인디케이터를 만든 경우에만 상자 아래 여백을 늘린다 */
	body.dwl2.dw-front .dw-hero .l2-has-ind .dw-hero-content { padding-bottom: calc(var(--l2-hbox-pb) + 64px); }
	body.dwl2 .l2-hind { position: absolute; right: auto; left: calc(100% - var(--l2-hbox-r) - var(--l2-hbox-w) + var(--l2-hbox-px)); bottom: calc(72px + var(--l2-hbox-pb) - 14px); color: var(--l2-white); }
	body.dwl2 .l2-hind-n.is-tot { color: color-mix(in srgb, var(--l2-white) 66%, transparent); }
	body.dwl2 .l2-hind-b::before { background: color-mix(in srgb, var(--l2-white) 30%, transparent); }
	body.dwl2 .l2-hind-b:hover::before { background: color-mix(in srgb, var(--l2-white) 66%, transparent); }
	body.dwl2 .l2-hind-b.is-on::before { background: var(--l2-white); }
	body.dwl2 .l2-hind .dw-hero-pause { color: var(--l2-white); }
	body.dwl2 .l2-hind .dw-hero-pause:hover { background: color-mix(in srgb, var(--l2-white) 12%, transparent); }
	body.dwl2 .l2-hind-b:focus-visible, body.dwl2 .l2-hind .dw-hero-pause:focus-visible { outline-color: var(--l2-white); }
}
@media (max-width: 860px) {
	/* 휴대폰: 사진(첫 화면 약 2/3) → 글 상자가 사진 아래쪽에 겹쳐 올라옴 → 인디케이터. 폭은 모두 자동(고정 폭 · min-width · transform 없음) */
	/* 1.5.1: .is-active 만이 아니라 모든 슬라이드 — 넘어갈 때 나가는 슬라이드가 코어 배치(데스크톱 꼴)로 돌아가 페이드 중 제목이 378→86px 튀었음(관문 G1 390 292px) */
	body.dwl2.dw-front .dw-hero .dw-hero-slide { display: block; min-height: 0; }
	body.dwl2.dw-front .dw-hero .dw-hero-slide > .dw-hero-bg { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 52svh; max-width: none; object-fit: cover; }
	body.dwl2.dw-front .dw-hero .dw-hero-slide > picture.dw-hero-bg .dw-hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
	/* 코어 main.css 가 620px 이하 65px · 480px 이하 15px 안쪽 여백을 !important 로 걸어 폭이 구간마다 달라졌음(상자 폭 · 왼쪽 선 어긋남의 원인) → 같은 힘으로 한 값(헤더와 같은 --l2-cpad)만 쓴다 */
	body.dwl2.dw-front .dw-hero .dw-hero-inner { position: relative; display: block; width: auto; max-width: none; min-height: 0; margin: -48px 0 0; padding: 0 var(--l2-cpad, 20px) !important; gap: 0; }
	body.dwl2.dw-front .dw-hero .dw-hero-content { width: auto; margin: 0; padding: 30px 24px 28px; }
	body.dwl2.dw-front .dw-hero .dw-hero-content > h1, body.dwl2.dw-front .dw-hero .dw-hero-content > h2.dw-hero-title { font-size: clamp(28px, 8.2vw, 36px); margin-bottom: 14px; }
	body.dwl2.dw-front .dw-hero .dw-hero-content > .dw-hero-sub { font-size: 16px; margin-bottom: 22px; } /* 1.4.12: 15 → 16(휴대폰 글 상자 폭 300 안에서 18 은 4줄) */
	body.dwl2.dw-front .dw-hero .dw-hero-actions .dw-btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
	body.dwl2.dw-front .dw-hero .dw-hero-actions .dw-btn-ghost-light { padding: 0; }
	body.dwl2 .l2-hind { position: static; margin: 8px var(--l2-cpad, 20px) 0; }
}

/* ================================================================ S3 업무분야 — 탭(4칸) | 사진 패널(8칸) */
.l2-tabs { display: grid; gap: 48px; }
.l2-tabs .l2-panel[hidden] { display: none; }
.l2-panel { position: relative; min-width: 0; }
.l2-panel .wp-block-image.l2-panel-media, .l2-panel figure.l2-panel-media { margin: 0; }
.l2-panel .l2-panel-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.l2-panel-text { min-width: 0; font-family: var(--l2-sans); }
.l2-panel .l2-panel-en { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: color-mix(in srgb, var(--l2-white) 74%, transparent); }
.l2-panel .l2-panel-title { margin: 0 0 16px; font-family: var(--l2-serif); font-size: clamp(24px, 2.1vw, 30px); /* 섹션 h2 40 과 위계 분리 */ font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--l2-white); }
.l2-panel .l2-panel-desc { max-width: 620px; margin: 0 0 28px; font-size: 16px; line-height: 1.8; color: color-mix(in srgb, var(--l2-white) 90%, transparent); word-break: keep-all; }
.l2-panel .wp-block-list.l2-panel-points, .l2-panel ul.l2-panel-points {
	list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--l2-gap); margin: 0 0 32px; padding: 0;
	border-top: 1px solid color-mix(in srgb, var(--l2-white) 24%, transparent);
}
.l2-panel .l2-panel-points li { position: relative; margin: 0; padding: 12px 0 12px 18px; border-bottom: 1px solid color-mix(in srgb, var(--l2-white) 14%, transparent); font-size: 15px; line-height: 1.5; color: var(--l2-white); }
.l2-panel .l2-panel-points li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: color-mix(in srgb, var(--l2-white) 55%, transparent); }
.l2-panel .l2-panel-btns { margin: 0; }
.l2-btn-line .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
	background: none; color: var(--l2-white); font-family: var(--l2-sans); font-size: 15px; font-weight: 600; text-decoration: none;
}
.l2-btn-line .wp-block-button__link::after { content: "→"; font-weight: 400; transition: transform .25s ease; }
.l2-btn-line .wp-block-button__link:hover { color: var(--l2-gold-dark); }
.l2-btn-line .wp-block-button__link:hover::after { transform: translateX(4px); }

/* 탭 목록(스크립트가 패널 제목으로 만듦). 모두 Pretendard */
.l2-tablist { display: flex; flex-direction: column; border-top: 1px solid var(--dw-ink); font-family: var(--l2-sans); }
.l2-tab {
	position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; row-gap: 4px; width: 100%; min-height: 76px; margin: 0;
	padding: 18px 20px 18px 20px; border: 0; border-bottom: 1px solid var(--dw-line); background: none; text-align: left; cursor: pointer; color: var(--dw-muted);
	font-family: var(--l2-sans); font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; transition: color .2s ease, background-color .2s ease;
}
.l2-tab-no { grid-row: 1 / span 2; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--dw-muted); }
.l2-tab.is-on .l2-tab-no { color: var(--dw-ink); }
.l2-tab-en { grid-column: 2; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dw-muted); }
.l2-tab-en:empty { display: none; }
.l2-tab:hover { color: var(--dw-ink); background: color-mix(in srgb, var(--l2-white) 60%, transparent); }
/* 활성 = 금색 선 + 굵기(흰 상자 · 남색 보더 = 관리자 화면 인상 제거). 선은 글자용 금색(--l2-gold-ink, 아이보리 위 3:1↑) */
.l2-tab.is-on { color: var(--dw-ink); font-weight: 700; background: none; box-shadow: inset 2px 0 0 var(--l2-gold-ink); }
.l2-tab:focus-visible { outline: 2px solid var(--dw-primary); outline-offset: -2px; }
.l2-panel[role="tabpanel"]:focus-visible { outline: 2px solid var(--dw-primary); outline-offset: 4px; }

/* 화면(PC, 라운드 7): 12칸 — 제목 블록 + 탭 = 1~5칸(위아래), 패널 = 6~12칸(제목과 같은 높이에서 시작).
   전에는 제목 블록 아래에서 탭 | 패널이 시작해 제목 오른쪽이 통째로 비었음. 탭 묶음(l2-tabs)을 display:contents 로 풀어
   탭 목록 · 패널을 컨테이너 격자에 바로 놓는다. 스크립트가 없으면(is-tabbed 없음) 예전처럼 제목 아래 패널이 차례로. */
@media (min-width: 961px) {
	body.dwl2 .dwa-sec.l2-s3 .dw-container:has(.l2-tabs.is-tabbed) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--l2-gap); row-gap: 0; align-items: start; }
	body.dwl2 .dwa-sec.l2-s3 .dw-container:has(.l2-tabs.is-tabbed) > .wp-block-group__inner-container { display: contents; }
	body.dwl2 .dwa-sec.l2-s3 .dw-container:has(.l2-tabs.is-tabbed) .dwa-head { grid-column: 1 / span 5; grid-row: 1; max-width: none; }
	body.dwl2 .l2-tabs.is-tabbed { display: contents; }
	body.dwl2 .l2-tabs.is-tabbed .l2-tablist { grid-column: 1 / span 5; grid-row: 2; }
	body.dwl2 .l2-tabs.is-tabbed .l2-panel { grid-column: 6 / span 7; grid-row: 1 / span 2; }
	body.dwl2 .l2-tab { min-height: 68px; padding-top: 14px; padding-bottom: 14px; padding-left: 16px; padding-right: 12px; grid-template-columns: 34px minmax(0, 1fr); }
}
/* 패널(라운드 7): 사진 위 어두운 막 + 글 → 사진(막 없음) 위 · 남색 글 아래로 분리. 모든 폭에서 같은 구조, 최소 높이 없음(520 → 내용 높이) */
body.dwl2 .l2-panel { display: flex; flex-direction: column; background: var(--dw-navy); overflow: hidden; }
body.dwl2 .l2-panel .l2-panel-media { position: relative; order: -1; aspect-ratio: 5 / 2; min-height: 0; overflow: hidden; } /* min-height 0 = aspect-ratio 자동 최소 높이(사진 원래 비율)가 상자를 늘리지 않게 */
body.dwl2 .l2-panel .l2-panel-text { position: relative; padding: clamp(32px, 3.4vw, 48px); }
body.dwl2 .l2-panel .l2-panel-desc { margin-bottom: 24px; }
/* 스크립트 없음(탭 없이 패널이 차례로, 전체 폭): 5:2 사진이 480px 로 커지므로 PC 에선 글 | 사진(40%) 가로 배치 */
@media (min-width: 961px) {
	body.dwl2 .l2-tabs:not(.is-tabbed) .l2-panel { flex-direction: row; }
	body.dwl2 .l2-tabs:not(.is-tabbed) .l2-panel .l2-panel-text { flex: 1 1 60%; }
	body.dwl2 .l2-tabs:not(.is-tabbed) .l2-panel .l2-panel-media { order: 1; flex: 0 0 40%; aspect-ratio: auto; }
}
@media (min-width: 961px) and (max-width: 1180px) {
	body.dwl2 .l2-panel .wp-block-list.l2-panel-points, body.dwl2 .l2-panel ul.l2-panel-points { grid-template-columns: 1fr; }
}
body.dwl2 .l2-tabs:not(.is-tabbed) .l2-panel + .l2-panel { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
	body.dwl2 .l2-tabs.is-tabbed .l2-panel:not([hidden]) .l2-panel-text { animation: l2-fade .45s ease both; }
	@keyframes l2-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
/* 태블릿 · 휴대폰: 위 가로 탭(밀어서 넘김) + 패널 1열(사진 → 남색 글) */
@media (max-width: 960px) {
	body.dwl2 .l2-tabs.is-tabbed { display: block; }
	body.dwl2 .l2-tablist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 24px; padding: 0; border-top: 1px solid var(--dw-ink); }
	body.dwl2 .l2-tab { display: flex; align-items: center; width: auto; min-width: 0; min-height: 52px; padding: 12px 14px; border-bottom: 1px solid var(--dw-line); font-size: 15px; line-height: 1.35; white-space: normal; background: none; box-shadow: none; }
	body.dwl2 .l2-tab:nth-child(odd) { border-right: 1px solid var(--dw-line); }
	body.dwl2 .l2-tab-no, body.dwl2 .l2-tab-en { display: none; }
	body.dwl2 .l2-tab.is-on { background: none; box-shadow: inset 0 -2px 0 var(--l2-gold-ink); }
	/* 라운드 7: 사진 2:1 → 5:2, 글 여백 · 목록 줄 높이 줄여 남색 면이 길게 이어지지 않게 */
	body.dwl2 .l2-panel .l2-panel-text { padding: 24px 20px 26px; }
	body.dwl2 .l2-panel .l2-panel-en { margin-bottom: 10px; }
	body.dwl2 .l2-panel .l2-panel-title { margin-bottom: 12px; }
	body.dwl2 .l2-panel .l2-panel-desc { margin-bottom: 18px; font-size: 15px; line-height: 1.75; }
	body.dwl2 .l2-panel .wp-block-list.l2-panel-points, body.dwl2 .l2-panel ul.l2-panel-points { grid-template-columns: 1fr; margin-bottom: 18px; }
	body.dwl2 .l2-panel .l2-panel-points li { padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
	body.dwl2 .l2-tabs:not(.is-tabbed) .l2-panel + .l2-panel { margin-top: 24px; }
}

@media (min-width: 600px) and (max-width: 960px) {
	body.dwl2 .l2-tablist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.dwl2 .l2-tab:nth-child(odd) { border-right: 0; }
	body.dwl2 .l2-tab:not(:nth-child(3n)) { border-right: 1px solid var(--dw-line); }
}

/* 스크롤 등장(뼈대 home-a): 기본 상태가 투명(opacity 0)이면 감지가 안 될 때(전체 캡처 · 앵커 이동 · 인쇄) 절차가 통째로 빈 띠로 보였음 → 법률2 는 처음부터 보이고 움직임(18px)만 */
.dwa-js body.dwl2 .dwa-reveal { opacity: 1; }

/* ================================================================ P3 상담 절차 — 큰 번호 한 줄 목록(남색 띠, 12칸: 번호 2 · 제목 4 · 설명 6) */
.l2-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--l2-white) 28%, transparent); }
.l2-step, body.dwl2 .l2-step {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--l2-gap); align-items: baseline;
	margin: 0; padding: 36px 0; border-bottom: 1px solid color-mix(in srgb, var(--l2-white) 14%, transparent);
}
.l2-step .l2-step-no { grid-column: 1 / span 2; margin: 0; font-family: var(--l2-serif); font-size: clamp(48px, 4.6vw, 68px); font-weight: 500; line-height: .9; letter-spacing: -.02em; color: var(--l2-gold-dark); font-variant-numeric: lining-nums; }
.l2-step .l2-step-head { grid-column: 3 / span 3; min-width: 0; }
.l2-step .l2-step-title { margin: 0; font-family: var(--l2-serif); font-size: clamp(21px, 1.8vw, 26px); font-weight: 600; line-height: 1.35; color: var(--l2-white); }
.l2-step .l2-step-meta { margin: 10px 0 0; font-family: var(--l2-sans); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: color-mix(in srgb, var(--l2-white) 72%, transparent); }
.l2-step .l2-step-desc { grid-column: 6 / span 6; /* 라운드 6: 7 → 6칸, 제목과 설명 사이 빈 칸 줄임 */ margin: 0; font-family: var(--l2-sans); font-size: 16px; line-height: 1.75; color: color-mix(in srgb, var(--l2-white) 80%, transparent); word-break: keep-all; }
.editor-styles-wrapper .l2-p3 { background: var(--dw-navy); }
@media (max-width: 860px) {
	.l2-step, body.dwl2 .l2-step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; row-gap: 10px; padding: 26px 0; }
	.l2-step .l2-step-no { grid-column: 1; grid-row: 1 / span 2; font-size: 36px; }
	.l2-step .l2-step-head, .l2-step .l2-step-desc { grid-column: 2; }
	.l2-step .l2-step-desc { font-size: 15px; }
}

/* ================================================================ C2 문의 — 제목 블록(위) · 폼 6칸 | 지도 6칸 */
.l2-c2-grid, body.dwl2 .l2-c2-grid { display: grid; flex-direction: initial; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--l2-gap); align-items: stretch; }
.l2-c2-grid .l2-c2-form { grid-column: 1 / span 6; min-width: 0; padding: clamp(32px, 3.4vw, 48px); background: var(--dw-bg); font-family: var(--l2-sans); }
.l2-c2-grid .l2-c2-media { grid-column: 7 / span 6; min-width: 0; margin: 0; }
.l2-c2-grid .l2-c2-media img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 0; }
.l2-c2-grid.is-solo .l2-c2-form { grid-column: 1 / span 12; }
.l2-c2-grid .l2-c2-map { grid-column: 7 / span 6; min-width: 0; display: flex; flex-direction: column; font-family: var(--l2-sans); }
.l2-c2 .wpcf7-form p { margin: 0 0 18px; }
.l2-c2 .wpcf7-form label.dw-fl, .l2-c2 .wpcf7-form .dw-fl { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--dw-ink); }
.l2-c2 .wpcf7-form .req { color: var(--dw-primary); }
.l2-c2 .l2-f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.l2-c2 .wpcf7-form input[type="text"], .l2-c2 .wpcf7-form input[type="tel"], .l2-c2 .wpcf7-form input[type="email"], .l2-c2 .wpcf7-form textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--dw-line); border-radius: 0; background: var(--l2-white); color: var(--dw-ink); font-family: var(--l2-sans); font-size: 16px; box-shadow: none; box-sizing: border-box;
}
.l2-c2 .wpcf7-form textarea { min-height: 120px; height: 132px; resize: vertical; line-height: 1.6; }
.l2-c2 .wpcf7-form input:focus, .l2-c2 .wpcf7-form textarea:focus { outline: 2px solid var(--dw-primary); outline-offset: 0; border-color: var(--dw-primary); }
.l2-c2 .wpcf7-acceptance { font-size: 14px; color: var(--dw-text); }
.l2-c2 .wpcf7-acceptance label { display: inline-flex; align-items: flex-start; gap: 8px; min-height: 44px; cursor: pointer; }
.l2-c2 .wpcf7-acceptance input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--dw-primary); }
.l2-c2 .wpcf7-form input[type="submit"], .l2-c2 .wpcf7-submit {
	min-width: 200px; min-height: 54px; padding: 0 32px; border: 0; border-radius: 0; background: var(--dw-primary); color: var(--l2-white); font-family: var(--l2-sans); font-size: 16px; font-weight: 600; cursor: pointer;
}
.l2-c2 .wpcf7-form input[type="submit"]:hover { background: var(--dw-ink); }
.l2-c2 .dwa-rsv-privacy { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--dw-muted); }
.l2-c2 .l2-c2-map .dwa-map-inner { display: flex; flex-direction: column; height: 100%; gap: 0; }
.l2-c2 .l2-c2-map .dwa-map-frame { flex: 1 1 auto; min-height: 380px; border: 0; border-radius: 0; background: var(--dw-bg); }
.l2-c2 .l2-c2-map .dwa-map-frame > *, .l2-c2 .l2-c2-map .dwa-map-frame iframe { width: 100%; height: 100% !important; min-height: 380px; border: 0; border-radius: 0; display: block; }
.l2-c2 .l2-c2-map .dwa-map-info { padding: 28px 0 0; gap: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.l2-c2 .dwa-map-addr { display: flex; gap: 10px; margin: 0 0 16px; font-family: var(--l2-sans); font-size: 17px; font-weight: 600; color: var(--dw-ink); line-height: 1.5; }
.l2-c2 .dwa-map-addr svg { width: 20px; height: 20px; color: var(--l2-gold-ink); flex: none; margin-top: 2px; }
.l2-c2 .dwa-map-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--dw-line); }
.l2-c2 .dwa-map-list > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dw-line); }
.l2-c2 .dwa-map-list dt { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--dw-ink); }
.l2-c2 .dwa-map-list dt svg { width: 16px; height: 16px; color: var(--l2-gold-ink); }
.l2-c2 .dwa-map-list dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--dw-text); }
.l2-c2 .dwa-map-links { display: flex; gap: 24px; margin: 14px 0 0; }
.l2-c2 .dwa-map-links a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--dw-ink); border-radius: 0; background: none; font-size: 14px; font-weight: 600; color: var(--dw-ink); text-decoration: none; }
.l2-c2 .dwa-map-links a:hover { color: var(--dw-primary); border-bottom-color: var(--l2-gold); }
@media (max-width: 960px) {
	.l2-c2-grid, body.dwl2 .l2-c2-grid { display: block; }
	.l2-c2-grid .l2-c2-map { margin-top: 40px; }
	.l2-c2-grid .l2-c2-media { margin-top: 24px; }
	.l2-c2-grid .l2-c2-media img { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
	.l2-c2 .l2-c2-map .dwa-map-frame, .l2-c2 .l2-c2-map .dwa-map-frame > *, .l2-c2 .l2-c2-map .dwa-map-frame iframe { min-height: 280px; }
}
@media (max-width: 520px) {
	.l2-c2 .l2-f-row { grid-template-columns: 1fr; }
	.l2-c2-grid .l2-c2-form { padding: 28px 20px; }
	.l2-c2 .wpcf7-form input[type="submit"] { width: 100%; }
}

/* ================================================================ T1 숫자 4개 — 12칸에 3칸씩 */
.l2-stats, body.dwl2 .l2-stats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--l2-gap); border-top: 1px solid var(--dw-ink); }
.l2-stat { grid-column: span 3; min-width: 0; padding: 36px 0 0; font-family: var(--l2-sans); }
.l2-stats.dwa-n3 .l2-stat { grid-column: span 4; }
.l2-stats.dwa-n2 .l2-stat { grid-column: span 6; }
.l2-stat .l2-stat-fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.l2-stat .l2-stat-num { margin: 0; font-family: var(--l2-serif); font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--dw-primary); font-variant-numeric: tabular-nums lining-nums; }
.l2-stat .l2-stat-unit { margin: 0; font-size: 16px; font-weight: 600; color: var(--dw-ink); }
.l2-stat .l2-stat-label { margin: 20px 0 6px; font-size: 16px; font-weight: 600; color: var(--dw-ink); }
.l2-stat .l2-stat-desc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--dw-muted); }
.l2-t1 .l2-stats-note { margin: 40px 0 0; font-family: var(--l2-sans); font-size: 13px; color: var(--dw-muted); }
@media (max-width: 860px) {
	.l2-stats { row-gap: 0; }
	.l2-stat, .l2-stats.dwa-n3 .l2-stat { grid-column: span 6; padding: 24px 0 24px; border-bottom: 1px solid var(--dw-line); }
	.l2-stats.dwa-n2 .l2-stat { grid-column: span 6; }
	.l2-stat .l2-stat-num { font-size: 40px; }
	.l2-stat .l2-stat-label { margin-top: 14px; }
}

/* ================================================================ 편집 화면: 탭은 화면에서만 만들어지므로 패널이 차례로(사진 → 글) */
.editor-styles-wrapper .l2-panel { background: var(--dw-navy); margin-bottom: 24px; }
.editor-styles-wrapper .l2-panel .l2-panel-media img { aspect-ratio: 16 / 9; height: auto; }
.editor-styles-wrapper .l2-panel .l2-panel-text { padding: 28px; }
.editor-styles-wrapper .l2-c2-grid * { grid-column: auto / span 6; }

/* 편집 화면 슬라이드 미리보기: 화면의 H5 글 상자와 같은 색(작은 제목 · 강조 = 금색, 제목 = 흰 명조, 나머지 Pretendard) */
.editor-styles-wrapper .dwa-slide-ed-copy h1, .editor-styles-wrapper .dwa-slide-ed-copy h2 { color: var(--l2-white); font-family: var(--l2-serif); font-weight: 600; }
.editor-styles-wrapper .dwa-slide-ed-copy .dw-hero-kicker, .editor-styles-wrapper .dwa-slide-ed-copy .dw-accent { color: var(--l2-gold-dark); }
.editor-styles-wrapper .dwa-slide-ed-copy p { color: color-mix(in srgb, var(--l2-white) 86%, transparent); font-family: var(--l2-sans); }
.editor-styles-wrapper .dwa-slide-ed-copy .wp-block-button__link { border-radius: 0; background: var(--l2-gold-dark); color: var(--dw-ink); font-family: var(--l2-sans); }
.editor-styles-wrapper .dwa-slide-ed-copy .wp-block-button + .wp-block-button .wp-block-button__link { border-radius: 0; background: transparent; color: var(--l2-white); border: 1px solid color-mix(in srgb, var(--l2-white) 60%, transparent); }
.editor-styles-wrapper .dwa-slide-ed { border-radius: 0; }

/* ================================================================ 1.1.0 메인 확장 — M 구성원 · R 성공사례 · B 이미지 띠 · L 오시는 길 · N 소식
   바탕 리듬: H5 · S3 아이보리 → M 흰색 → R 아이보리 → B 사진(아이보리 글 상자) → P3 남색 → C2 흰색 → L 아이보리 → T1 흰색 → N 아이보리 → 푸터 남색.
   짙은 띠는 P3 · 푸터 둘만(B 는 사진 위 밝은 상자 — P3 남색과 짙은 면이 이어지지 않게). */
.dwl2 .dwa-sec.l2-m { padding: var(--l2-pad-l) 0; background: var(--l2-white); }
.dwl2 .dwa-sec.l2-r { padding: var(--l2-pad-l) 0; background: var(--dw-bg); }
.dwl2 .dwa-sec.l2-l { padding: var(--l2-pad-l) 0; background: var(--dw-bg); }
.dwl2 .dwa-sec.l2-n { padding: var(--l2-pad-l) 0; background: var(--dw-bg); }
/* C2 다음이 아이보리(L)이므로 C2 아래 여백 = 대, T1 은 위 선 없이 대 여백 */
.dwl2 .dwa-sec.l2-c2 { padding-bottom: var(--l2-pad-l); }
.dwl2 .dwa-sec.l2-t1 { padding: var(--l2-pad-l) 0; }
.dwl2 .dwa-sec.l2-t1 .dw-container { padding-top: 0; }
.dwl2 .dwa-sec.l2-t1 .dw-container::before { content: none; }
/* N 이 T1 다음(아이보리)이면 T1 흰색 그대로, N 을 끄면 T1 → 푸터 */

/* 제목 블록 + 오른쪽 「전체 보기」 한 줄 */
/* 뼈대 dwa-blocks.css 의 .dwa-sec .wp-block-group:not(…) { margin:0 } 보다 강하게 */
body.dwl2 .dwa-sec .wp-block-group.l2-headrow, .editor-styles-wrapper .l2-headrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin: 0 0 40px; }
body.dwl2 .l2-headrow .dwa-head, .editor-styles-wrapper .l2-headrow .dwa-head { margin: 0; flex: 1 1 520px; }
.l2-more { margin: 0; flex: none; }
.l2-btn-more .wp-block-button__link, body.dwl2 .l2-btn-more .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0; border: 0; border-bottom: 1px solid var(--dw-ink); border-radius: 0;
	background: none; color: var(--dw-ink); font-family: var(--l2-sans); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.l2-btn-more .wp-block-button__link::after { content: "→"; font-weight: 400; transition: transform .2s ease; }
.l2-btn-more .wp-block-button__link:hover { color: var(--dw-primary); border-bottom-color: var(--l2-gold); }
.l2-btn-more .wp-block-button__link:hover::after { transform: translateX(4px); }
@media (max-width: 860px) { body.dwl2 .dwa-sec .wp-block-group.l2-headrow { margin-bottom: 32px; } }

/* 칩(담당 분야 등) — 각진 가는 선 */
.l2-chips, body.dwl2 .l2-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.l2-chips li { margin: 0; padding: 4px 9px; border: 1px solid var(--dw-line); border-radius: 0; font-family: var(--l2-sans); font-size: 13px; line-height: 1.4; color: var(--dw-text); white-space: nowrap; }

/* M 구성원 제목 블록(라운드 7): PC 에서 라벨 한 줄 → 제목(왼쪽) | 설명(오른쪽, 아래 맞춤). 블록 메인(l2-headrow 안, 오른쪽 「구성원 전체」) · 예전 방식 둘 다 */
@media (min-width: 961px) {
	body.dwl2 .dwa-sec.dwa-doc .dwa-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: calc(var(--l2-gap) * 2); align-items: end; max-width: none; }
	body.dwl2 .dwa-sec.dwa-doc .dwa-head .dwa-eyebrow { grid-column: 1 / -1; }
	body.dwl2 .dwa-sec.dwa-doc .dwa-head .dwa-title { grid-column: 1; margin: 0; }
	body.dwl2 .dwa-sec.dwa-doc .dwa-head .dwa-desc { grid-column: 2; max-width: 560px; margin: 0; }
}

/* ---------------- M 구성원: 12칸에 3칸씩 사진 카드 */
.l2-m-grid, body.dwl2 .l2-m-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--l2-gap); }
.l2-m-card, body.dwl2 .l2-m-card { grid-column: span 3; position: relative; min-width: 0; display: flex; flex-direction: column; font-family: var(--l2-sans); }
.l2-m-grid.dwa-n3 .l2-m-card { grid-column: span 4; }
.l2-m-grid.dwa-n2 .l2-m-card { grid-column: span 6; }
.l2-m-card .l2-m-photo { margin: 0 0 22px; overflow: hidden; background: var(--dw-bg); }
.l2-m-card .l2-m-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 0; transition: transform .5s ease; }
.l2-m-card:hover .l2-m-photo img { transform: scale(1.03); }
/* 1.4.2: 사진 없이 등록한 변호사 — 다른 카드와 같은 4:5 틀 + 이름 첫 글자(명조, 옅게). 줄 높이가 어긋나지 않게 */
.l2-m-card .l2-m-photo.is-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border: 1px solid var(--dw-line); }
.l2-m-card .l2-m-noimg { font-family: var(--l2-serif, serif); font-size: clamp(40px, 5vw, 72px); line-height: 1; color: var(--dw-line); }
.l2-m-card .l2-m-badge { position: absolute; top: 0; left: 0; z-index: 2; margin: 0; padding: 7px 12px; background: var(--dw-primary); border-bottom: 2px solid var(--l2-gold-dark); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .01em; color: var(--l2-white); }
.l2-m-card .l2-m-role { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--dw-muted); }
.l2-m-card .l2-m-name { margin: 0 0 16px; font-family: var(--l2-serif); font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--dw-ink); }
.l2-m-card .l2-m-name a { color: inherit; text-decoration: none; }
.l2-m-card .l2-m-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* 카드 전체 누름(링크 하나) */
.l2-m-card .l2-m-link { margin: 18px 0 0; }
.l2-m-card .l2-m-link a { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; font-size: 14px; font-weight: 600; color: var(--dw-ink); text-decoration: none; border-bottom: 1px solid var(--dw-line); }
.l2-m-card .l2-m-link a::after { content: "→"; font-weight: 400; }
.l2-m-card:hover .l2-m-link a { border-bottom-color: var(--l2-gold); }
.l2-m-card .l2-m-name a:focus-visible { outline: 2px solid var(--dw-primary); outline-offset: 4px; }
@media (max-width: 1080px) { .l2-m-card, body.dwl2 .l2-m-card { grid-column: span 6; } }
/* 1.4.4: 5명 이상이면 마지막 줄을 가운데로(4 + 1 이 왼쪽에 혼자 떨어지지 않게). 줄 너비는 4열 격자와 같음. */
.l2-m-grid:not(.dwa-n1):not(.dwa-n2):not(.dwa-n3), body.dwl2 .l2-m-grid:not(.dwa-n1):not(.dwa-n2):not(.dwa-n3) { --l2-mcg: var(--l2-gap); display: flex; flex-wrap: wrap; justify-content: center; column-gap: var(--l2-mcg); }
.l2-m-grid:not(.dwa-n1):not(.dwa-n2):not(.dwa-n3) .l2-m-card { flex: 0 0 calc((100% - 3 * var(--l2-mcg)) / 4); max-width: calc((100% - 3 * var(--l2-mcg)) / 4); }
@media (max-width: 1080px) { .l2-m-grid:not(.dwa-n1):not(.dwa-n2):not(.dwa-n3) .l2-m-card { flex-basis: calc((100% - var(--l2-mcg)) / 2); max-width: calc((100% - var(--l2-mcg)) / 2); } }
@media (max-width: 600px) { .l2-m-grid:not(.dwa-n1):not(.dwa-n2):not(.dwa-n3), body.dwl2 .l2-m-grid:not(.dwa-n1):not(.dwa-n2):not(.dwa-n3) { --l2-mcg: 14px; } }
@media (max-width: 600px) {
	.l2-m-grid, body.dwl2 .l2-m-grid { row-gap: 36px; column-gap: 14px; }
	.l2-m-card .l2-m-photo { margin-bottom: 14px; }
	.l2-m-card .l2-m-badge { padding: 5px 8px; font-size: 12px; }
	.l2-m-card .l2-m-name { margin-bottom: 10px; font-size: 21px; }
	.l2-m-card .l2-m-role { font-size: 13px; }
	.l2-chips li { padding: 3px 7px; font-size: 12px; }
	.l2-m-card .l2-m-link { margin-top: 8px; }
}

/* ---------------- R 성공사례: 분야 탭 + 12칸에 4칸씩 카드 */
.l2-cases { font-family: var(--l2-sans); }
.l2-ctabs { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0 0 32px; border-bottom: 1px solid var(--dw-line); }
.l2-ctab { position: relative; min-height: 48px; margin: 0 0 -1px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: none; font-family: var(--l2-sans); font-size: 16px; font-weight: 500; color: var(--dw-muted); cursor: pointer; white-space: nowrap; }
.l2-ctab:hover { color: var(--dw-ink); }
.l2-ctab.is-on { color: var(--dw-ink); font-weight: 700; border-bottom-color: var(--l2-gold-ink); }
.l2-ctab:focus-visible { outline: 2px solid var(--dw-primary); outline-offset: 2px; }
.l2-case-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--l2-gap); margin: 0; padding: 0; }
.l2-case { min-width: 0; margin: 0; }
.l2-case.is-extra, .l2-case.is-hide { display: none; }
.l2-case a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.l2-case-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dw-primary-light); }
.l2-case-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s ease; }
.l2-case a:hover .l2-case-media img { transform: scale(1.03); }
.l2-case-body { display: flex; flex-direction: column; flex: 1; padding: 22px 0 0; }
.l2-case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.l2-case-area, .l2-case-res { display: inline-flex; align-items: center; padding: 4px 9px; font-size: 13px; font-weight: 600; line-height: 1.4; border-radius: 0; }
.l2-case-area { border: 1px solid var(--dw-line); color: var(--dw-text); background: var(--l2-white); }
.l2-case-res { background: var(--dw-primary); color: var(--l2-white); }
.l2-case-title { display: block; font-size: 19px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; color: var(--dw-ink); word-break: keep-all; overflow-wrap: anywhere; }
.l2-case a:hover .l2-case-title { color: var(--dw-primary); }
.l2-case-who { margin-top: 10px; font-size: 14px; color: var(--dw-muted); }
.l2-case a:focus-visible { outline: 2px solid var(--dw-primary); outline-offset: 4px; }
.l2-r .l2-r-note { margin: 40px 0 0; font-family: var(--l2-sans); font-size: 13px; line-height: 1.6; color: var(--dw-muted); }
.l2-r .l2-r-empty { padding: 24px; border: 1px dashed var(--dw-line); font-size: 14px; color: var(--dw-muted); }
@media (max-width: 960px) { .l2-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.l2-ctabs { flex-wrap: nowrap; gap: 0 20px; margin-right: calc(-1 * var(--l2-cpad, 20px)); padding-right: var(--l2-cpad, 20px); overflow-x: auto; scrollbar-width: none; }
	.l2-ctabs::-webkit-scrollbar { display: none; }
	.l2-ctab { flex: none; font-size: 15px; }
	/* 휴대폰: 사진 왼쪽 작은 칸 + 글 오른쪽 한 줄 목록 */
	.l2-case-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--dw-line); }
	.l2-case a { flex-direction: row; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--dw-line); }
	.l2-case-media { flex: none; width: 112px; aspect-ratio: 1 / 1; }
	.l2-case-body { padding: 0; }
	.l2-case-tags { margin-bottom: 8px; gap: 4px; }
	.l2-case-area, .l2-case-res { padding: 2px 7px; font-size: 12px; }
	.l2-case-title { font-size: 16px; }
	.l2-case-who { margin-top: 6px; font-size: 13px; }
}

/* ---------------- B 이미지 띠: 화면 폭 사진 + 아이보리 글 상자(왼쪽, 금색 윗선) */
.dwl2 .dwa-sec.l2-b, .editor-styles-wrapper .l2-b { position: relative; display: flex; align-items: center; min-height: clamp(380px, 34vw, 500px); padding: 72px 0; overflow: hidden; background: var(--dw-navy); isolation: isolate; }
.dwl2 .dwa-sec.l2-b .dw-container { position: static; width: 100%; }
.l2-b .l2-b-media, body.dwl2 .l2-b .l2-b-media { position: absolute; inset: 0; z-index: -1; margin: 0; }
.l2-b .l2-b-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; border-radius: 0; }
.l2-b .l2-b-text, body.dwl2 .l2-b .l2-b-text { position: relative; max-width: 560px; padding: clamp(32px, 3.4vw, 48px); background: var(--dw-bg); border-top: 2px solid var(--l2-gold); font-family: var(--l2-sans); }
.l2-b .l2-b-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--dw-muted); }
.l2-b .l2-b-title, body.dwl2 .l2-b .l2-b-title { margin: 0 0 28px; font-family: var(--l2-serif); font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1.38; letter-spacing: -.02em; color: var(--dw-ink); word-break: keep-all; }
.l2-b .l2-b-title em { font-style: normal; color: var(--l2-gold-ink); }
.l2-btns { margin: 0; }
.l2-btn-gold .wp-block-button__link, body.dwl2 .l2-btn-gold .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid var(--dw-primary); border-radius: 0;
	background: var(--dw-primary); color: var(--l2-white); font-family: var(--l2-sans); font-size: 15px; font-weight: 600; text-decoration: none;
}
.l2-btn-gold .wp-block-button__link::after { content: "→"; font-weight: 400; }
.l2-btn-gold .wp-block-button__link:hover { background: var(--dw-ink); border-color: var(--dw-ink); color: var(--l2-white); }
@media (max-width: 860px) {
	.dwl2 .dwa-sec.l2-b { display: block; min-height: 0; padding: 0 0 var(--l2-pad-s); background: var(--dw-bg); }
	.l2-b .l2-b-media, body.dwl2 .l2-b .l2-b-media { position: relative; inset: auto; z-index: 0; margin: 0 0 -48px; }
	.l2-b .l2-b-media img { height: auto; aspect-ratio: 16 / 10; }
	.l2-b .l2-b-text, body.dwl2 .l2-b .l2-b-text { max-width: none; padding: 28px 24px 30px; background: var(--l2-white); }
	.l2-b .l2-b-title, body.dwl2 .l2-b .l2-b-title { margin-bottom: 22px; font-size: 24px; }
	.l2-btn-gold .wp-block-button__link { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* ---------------- L 오시는 길 요약: 사진 6칸 | 안내 6칸 */
.l2-l-grid, body.dwl2 .l2-l-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--l2-gap); align-items: stretch; }
.l2-l-grid .l2-l-media { grid-column: 1 / span 6; margin: 0; min-height: 100%; }
.l2-l-grid .l2-l-media img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 0; }
.l2-l-grid .l2-l-mapcol { display: flex; background: var(--dw-line); }
.l2-l-grid .l2-l-mapcol .dw-map-frame { flex: 1 1 auto; width: 100%; min-height: 420px; margin: 0; }
.l2-l-grid .l2-l-mapcol iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.l2-l-grid .l2-visit, .l2-l-grid .dwa-ed-dyn { grid-column: 7 / span 6; min-width: 0; }
.l2-l-grid.is-solo .l2-visit { grid-column: 1 / span 12; }
.l2-visit { display: flex; flex-direction: column; padding: clamp(32px, 3.4vw, 48px); background: var(--l2-white); font-family: var(--l2-sans); }
.l2-visit .l2-v-map { margin: 0 0 24px; }
.l2-visit .l2-v-map iframe { display: block; width: 100%; height: 280px; border: 0; }
.l2-visit .l2-v-addr { margin: 0 0 24px; font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: var(--dw-ink); word-break: keep-all; }
.l2-visit .l2-v-list { margin: 0; border-top: 1px solid var(--dw-ink); }
.l2-visit .l2-v-list > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--dw-line); }
.l2-visit .l2-v-list dt { margin: 0; font-size: 14px; font-weight: 600; color: var(--dw-ink); }
.l2-visit .l2-v-list dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--dw-text); word-break: keep-all; }
.l2-visit .l2-v-list dd a { color: var(--dw-ink); font-weight: 600; text-decoration: none; }
.l2-visit .l2-v-hours span { display: block; }
.l2-visit .l2-v-hours b { display: inline-block; min-width: 64px; font-weight: 500; color: var(--dw-muted); }
.l2-visit .l2-v-hours small { display: block; margin-top: 4px; font-size: 13px; color: var(--dw-muted); }
.l2-visit .l2-v-apps { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 28px; }
.l2-visit .l2-v-app { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--dw-ink); border-radius: 0; font-size: 15px; font-weight: 600; color: var(--dw-ink); text-decoration: none; }
.l2-visit .l2-v-app:hover { background: var(--dw-primary); border-color: var(--dw-primary); color: var(--l2-white); }
.l2-visit .l2-v-app { gap: 8px; white-space: nowrap; }
.l2-visit .l2-v-ico { flex: none; display: block; width: 20px; height: 20px; }
/* 뼈대는 지도 블록이 없는 오시는 길 섹션을 숨김 → 요약 블록이 있으면 보이게(주소까지 비면 그대로 숨김) */
body.dwl2 .dwa-sec.dwa-map.l2-l:has(.l2-visit, .l2-v-empty) { display: block; }
/* L 이 있으면 C2 지도 아래 주소 · 교통 줄은 L 이 대신(같은 내용 두 번 방지) */
.dwa-bhome:has(.l2-l) .l2-c2 .dwa-map-info { display: none; }
@media (max-width: 960px) {
	.l2-l-grid, body.dwl2 .l2-l-grid { display: block; }
	.l2-l-grid .l2-l-media img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
	.l2-l-grid .l2-l-mapcol .dw-map-frame, .l2-l-grid .l2-l-mapcol iframe { min-height: 300px; }
	.l2-visit { padding: 28px 20px; }
	.l2-visit .l2-v-addr { font-size: 18px; }
	.l2-visit .l2-v-list > div { grid-template-columns: 80px minmax(0, 1fr); }
	.l2-visit .l2-v-apps { flex-wrap: nowrap; }
	.l2-visit .l2-v-app { flex: 1 1 0; min-width: 0; padding: 0 10px; gap: 6px; font-size: 14px; }
}

/* ---------------- N 소식: 카드 3 (썸네일 · 분류 · 제목 · 날짜) */
.l2-n .dwa-news-list, body.dwl2 .l2-n .dwa-news-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--l2-gap); margin: 0; padding: 0; border: 0; }
.l2-n .dwa-news-list li { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; opacity: 1; transform: none; }
.l2-n .dwa-news-list a { display: flex; flex-direction: column; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; text-decoration: none; font-family: var(--l2-sans); }
.l2-n .dwa-news-thumb { display: block; overflow: hidden; width: 100%; margin: 0 0 20px; aspect-ratio: 16 / 10; border-radius: 0; background: var(--dw-primary-light); }
.l2-n .dwa-news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s ease; }
.l2-n .dwa-news-list a:hover .dwa-news-thumb img { transform: scale(1.03); }
.l2-n .dwa-news-body { display: flex; flex-direction: column; gap: 0; padding: 0; }
.l2-n .dwa-news-cat { align-self: flex-start; margin: 0 0 12px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--l2-gold-ink); }
.l2-n .dwa-news-body strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: var(--dw-ink); word-break: keep-all; }
.l2-n .dwa-news-list a:hover strong { color: var(--dw-primary); }
.l2-n .dwa-news-body time { margin-top: 12px; font-size: 14px; color: var(--dw-muted); font-variant-numeric: tabular-nums; }
.l2-n .dwa-news-list a:focus-visible { outline: 2px solid var(--dw-primary); outline-offset: 4px; }
@media (max-width: 960px) { .l2-n .dwa-news-list, body.dwl2 .l2-n .dwa-news-list { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--dw-line); } .l2-n .dwa-news-list a { flex-direction: row; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--dw-line); } .l2-n .dwa-news-thumb { flex: none; width: 112px; margin: 0; aspect-ratio: 1 / 1; } .l2-n .dwa-news-cat { margin-bottom: 6px; font-size: 12px; } .l2-n .dwa-news-body strong { font-size: 16px; } .l2-n .dwa-news-body time { margin-top: 6px; font-size: 13px; } }

/* ---------------- 히어로 긴급번호(사진 오른쪽 위 빈 면 · 휴대폰은 인디케이터 아래 한 줄) */
body.dwl2 .dw-hero .l2-emg--hero { z-index: 7; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-decoration: none; font-family: var(--l2-sans); }
body.dwl2 .l2-emg--hero .l2-emg-k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--dw-text); }
body.dwl2 .l2-emg--hero .l2-emg-n { font-size: 22px; font-weight: 700; letter-spacing: .01em; color: var(--dw-ink); font-variant-numeric: tabular-nums; }
body.dwl2 .l2-emg i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--l2-gold-ink); box-shadow: 0 0 0 0 var(--l2-gold); animation: l2pulse 2.4s ease-out infinite; }
@keyframes l2pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--l2-gold) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@media (prefers-reduced-motion: reduce) { body.dwl2 .l2-emg i { animation: none; } }
body.dwl2 .l2-emg--hero:hover .l2-emg-n { color: var(--dw-primary); }
@media (min-width: 861px) {
	/* 글 상자 안 오른쪽 아래(인디케이터와 같은 줄) — 헤더 긴급번호와 떨어뜨림 */
	body.dwl2 .dw-hero .l2-emg--hero { position: absolute; right: calc(var(--l2-hbox-r, 40px) + var(--l2-hbox-px, 48px)); bottom: calc(72px + var(--l2-hbox-pb, 40px) - 14px); flex-direction: row; align-items: center; gap: 12px; min-height: 44px; }
	body.dwl2 .l2-emg--hero .l2-emg-k { color: color-mix(in srgb, var(--l2-white) 78%, transparent); }
	body.dwl2 .l2-emg--hero .l2-emg-n { font-size: 17px; color: var(--l2-white); }
	body.dwl2 .l2-emg--hero i { background: var(--l2-gold-dark); }
	body.dwl2 .l2-emg--hero:hover .l2-emg-n { color: var(--l2-gold-dark); }
}
@media (max-width: 860px) {
	body.dwl2 .dw-hero .l2-emg--hero { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin: 16px var(--l2-cpad, 20px) 24px; padding: 12px 16px; min-height: 48px; border: 1px solid var(--dw-line); background: var(--l2-white); } /* 1.4.3: 아래 여백 24(다음 섹션에 붙지 않게) */
	body.dwl2 .l2-emg--hero .l2-emg-n { font-size: 18px; }
}

/* ================================================================ 1.2.0 법률상담 찾기 — 히어로 바로 다음(흰 바탕 → S3 아이보리)
   스크립트 있음(.is-js): 단계 표시(01 분야 · 02 상황 · 03 연결) + 선택 카드 → 결과(선택 요약 · 안내 · 분야 링크 · 상담 버튼 | 담당 변호사).
   스크립트 없음 · 편집 화면: 분야 카드(이름 · 설명 · 상황 목록 · 분야 링크)가 3열로 보인다. 모서리 0, 그림자 없음, 글자는 모두 Pretendard(h3 질문만 명조). */
.dwl2 .dwa-sec.l2-fd, .editor-styles-wrapper .l2-fd { padding: var(--l2-pad-l) 0; background: var(--l2-white); color: var(--dw-text); font-family: var(--l2-sans); }
.l2-fd .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 스크립트 없음 · 편집 화면: 분야 카드 */
.l2-fd .l2-fd-areas, body.dwl2 .l2-fd .wp-block-group.l2-fd-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--l2-gap); margin: 0; }
.l2-fd .l2-fd-area { min-width: 0; padding: 28px 0 32px; border-top: 1px solid var(--dw-ink); }
.l2-fd .l2-fd-name { margin: 0 0 8px; font-family: var(--l2-serif); font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--dw-ink); }
.l2-fd .l2-fd-sum { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--dw-muted); word-break: keep-all; }
.l2-fd .l2-fd-sits { list-style: none; margin: 0 0 16px; padding: 0; }
.l2-fd .l2-fd-sits li { position: relative; margin: 0; padding: 5px 0 5px 16px; font-size: 15px; line-height: 1.55; color: var(--dw-text); word-break: keep-all; }
.l2-fd .l2-fd-sits li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 1px; background: var(--l2-gold); }
.l2-fd .l2-fd-go { margin: 0; }
.l2-fd .l2-btn-line .wp-block-button__link { color: var(--dw-ink); }
.l2-fd .l2-btn-line .wp-block-button__link:hover { color: var(--dw-primary); border-bottom-color: var(--l2-gold); }
.l2-fd .l2-fd-team { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.l2-fd .l2-fd-law { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; align-items: center; min-width: 0; }
.l2-fd .l2-fd-law .l2-fd-law-photo { grid-row: 1 / span 2; margin: 0; }
.l2-fd .l2-fd-law .l2-fd-law-photo img { display: block; width: 56px; height: 70px; object-fit: cover; object-position: center 20%; border-radius: 0; }
.l2-fd .l2-fd-law-name { margin: 0; font-size: 15px; font-weight: 600; color: var(--dw-ink); }
.l2-fd .l2-fd-law-name a { color: inherit; text-decoration: none; }
.l2-fd .l2-fd-law-role { margin: 0; font-size: 13px; color: var(--dw-muted); }
.l2-fd .l2-fd-lead { margin: 24px 0 0; font-size: 15px; color: var(--dw-muted); }
.dwa-bhome .l2-fd:not(.is-js) .l2-fd-team, .dwa-home .l2-fd:not(.is-js) .l2-fd-team, .dwa-bhome .l2-fd:not(.is-js) .l2-fd-lead, .dwa-home .l2-fd:not(.is-js) .l2-fd-lead { display: none; }
.l2-fd .l2-fd-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; }
.l2-fd .l2-fd-note { margin: 24px 0 0; font-size: 13px; line-height: 1.6; color: var(--dw-muted); word-break: keep-all; }
/* 편집 화면: 꺼짐 표시 */
.editor-styles-wrapper .l2-fd.is-off > .dw-container { opacity: .45; }
.editor-styles-wrapper .l2-fd .l2-fd-offnote { max-width: var(--dw-container, 1280px); margin: 0 auto 16px; padding: 10px 14px; border: 1px dashed var(--dw-muted); font-size: 14px; color: var(--dw-ink); }

/* 상담 버튼(결과 단계 · 스크립트 없음 공통): 상담 신청 = 남색 칠, 전화 · 카카오톡 = 선 */
.l2-fd .l2-fd-acts .wp-block-button__link, .l2-fd .l2-fd-acts-out .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 1px solid var(--dw-ink); border-radius: 0;
	background: var(--l2-white); color: var(--dw-ink); font-family: var(--l2-sans); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap;
}
.l2-fd .l2-fd-acts .wp-block-button__link:hover, .l2-fd .l2-fd-acts-out .wp-block-button__link:hover { background: var(--dw-bg); }
.l2-fd .l2-fd-form .wp-block-button__link { background: var(--dw-primary); border-color: var(--dw-primary); color: var(--l2-white); }
.l2-fd .l2-fd-form .wp-block-button__link::after { content: "→"; font-weight: 400; }
.l2-fd .l2-fd-form .wp-block-button__link:hover { background: var(--dw-ink); border-color: var(--dw-ink); color: var(--l2-white); }
.l2-fd .wp-block-button__link:focus-visible, .l2-fd button:focus-visible, .l2-fd .l2-fd-golink a:focus-visible, .l2-fd .l2-fd-cl:focus-visible { outline: 2px solid var(--dw-primary); outline-offset: 3px; }

/* 스크립트 있음: 원본 블록은 숨기고 단계 화면 */
.l2-fd.is-js .l2-fd-areas, .l2-fd.is-js .l2-fd-acts, .l2-fd.is-js .l2-fd-lead { display: none !important; }
.l2-fd .l2-fd-ui { border: 1px solid var(--dw-line); background: var(--dw-bg); }
.l2-fd .l2-fd-bar { padding: 0; border-bottom: 1px solid var(--dw-line); background: var(--l2-white); }
.l2-fd .l2-fd-of { display: none; }
.l2-fd .l2-fd-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; }
.l2-fd .l2-fd-step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; margin: 0; padding: 22px clamp(24px, 3.4vw, 48px) 20px; color: var(--dw-muted); } /* 10-28: 위 선은 칸 맨 앞(상자 왼쪽 끝)부터, 글자만 안쪽 여백 */
.l2-fd .l2-fd-step::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: transparent; }
.l2-fd .l2-fd-step.is-on::before { background: var(--l2-gold); }
.l2-fd .l2-fd-step.is-done::before { background: var(--dw-ink); }
.l2-fd .l2-fd-sn { grid-row: 1 / span 2; font-size: 13px; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.l2-fd .l2-fd-sl { font-size: 15px; font-weight: 600; }
.l2-fd .l2-fd-sv { grid-column: 2; min-height: 1.4em; margin-top: 2px; overflow: hidden; font-size: 14px; color: var(--dw-ink); text-overflow: ellipsis; white-space: nowrap; }
.l2-fd .l2-fd-step.is-on, .l2-fd .l2-fd-step.is-done { color: var(--dw-ink); }
.l2-fd .l2-fd-stage { padding: clamp(28px, 3.4vw, 48px); }
.l2-fd .l2-fd-qrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 28px; }
.l2-fd .l2-fd-q { order: 1; flex: 1 1 360px; margin: 0; font-family: var(--l2-serif); font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: var(--dw-ink); word-break: keep-all; outline: none; }
.l2-fd .l2-fd-back { order: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 2px; border: 0; border-bottom: 1px solid var(--dw-line); border-radius: 0; background: none; font-family: var(--l2-sans); font-size: 14px; font-weight: 600; color: var(--dw-ink); cursor: pointer; }
.l2-fd .l2-fd-back::before { content: "←"; font-weight: 400; }
.l2-fd .l2-fd-back:hover { border-bottom-color: var(--l2-gold); }
.l2-fd .l2-fd-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.l2-fd .l2-fd-grid.is-sits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l2-fd .l2-fd-grid li { margin: 0; min-width: 0; }
.l2-fd .l2-fd-opt {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; height: 100%; min-height: 64px; margin: 0; padding: 22px 52px 22px 24px; box-sizing: border-box;
	border: 1px solid var(--dw-line); border-radius: 0; background: var(--l2-white); text-align: left; cursor: pointer; font-family: var(--l2-sans); color: var(--dw-ink); transition: border-color .2s ease;
}
.l2-fd .l2-fd-opt::after { content: "→"; position: absolute; right: 22px; top: 50%; margin-top: -.7em; font-size: 18px; line-height: 1.4; color: var(--dw-muted); transition: transform .2s ease, color .2s ease; }
.l2-fd .l2-fd-opt::before { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: transparent; }
.l2-fd .l2-fd-opt:hover, .l2-fd .l2-fd-opt.is-picked { border-color: var(--dw-ink); }
.l2-fd .l2-fd-opt:hover::before, .l2-fd .l2-fd-opt.is-picked::before { background: var(--l2-gold); }
.l2-fd .l2-fd-opt:hover::after { transform: translateX(3px); color: var(--dw-ink); }
.l2-fd .l2-fd-on { font-size: 17px; font-weight: 600; line-height: 1.45; word-break: keep-all; }
.l2-fd .is-areas .l2-fd-on { font-size: 20px; }
.l2-fd .l2-fd-os { font-size: 14px; line-height: 1.55; color: var(--dw-muted); word-break: keep-all; }
.l2-fd .l2-fd-om { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--l2-gold-ink); }
.l2-fd .is-areas .l2-fd-opt { min-height: 148px; padding-top: 24px; }
.l2-fd .is-areas .l2-fd-opt::after { top: auto; bottom: 22px; margin: 0; }

/* 결과: 선택 요약 · 안내 · 링크 · 버튼(7칸) | 담당 변호사(5칸) */
.l2-fd .l2-fd-res { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--l2-gap); align-items: start; }
.l2-fd .l2-fd-res-main { grid-column: span 7; min-width: 0; }
.l2-fd .l2-fd-res-team { grid-column: 8 / span 5; min-width: 0; }
.l2-fd .l2-fd-res-main:only-child { grid-column: 1 / -1; }
.l2-fd .l2-fd-picked { display: grid; gap: 0; margin: 0 0 22px; border-top: 1px solid var(--dw-line); }
.l2-fd .l2-fd-picked div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dw-line); }
.l2-fd .l2-fd-picked dt { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--dw-muted); }
.l2-fd .l2-fd-picked dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--dw-ink); word-break: keep-all; }
.l2-fd .l2-fd-lead-out { margin: 0 0 18px; font-size: 16px; line-height: 1.75; color: var(--dw-text); word-break: keep-all; }
.l2-fd .l2-fd-golink { margin: 0 0 26px; }
.l2-fd .l2-fd-golink a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--dw-ink); font-size: 15px; font-weight: 600; color: var(--dw-ink); text-decoration: none; }
.l2-fd .l2-fd-golink a::after { content: "→"; font-weight: 400; }
.l2-fd .l2-fd-golink a:hover { color: var(--dw-primary); border-bottom-color: var(--l2-gold); }
.l2-fd .l2-fd-acts-out { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.l2-fd .l2-fd-acts-out .wp-block-button { margin: 0; }
.l2-fd .l2-fd-restart { display: inline-flex; align-items: center; min-height: 44px; margin: 24px 0 0; padding: 0; border: 0; background: none; font-family: var(--l2-sans); font-size: 14px; font-weight: 500; color: var(--dw-muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.l2-fd .l2-fd-restart:hover, .l2-fd .l2-fd-restart:focus { text-decoration: none; }
.l2-fd .l2-fd-restart:hover { color: var(--dw-ink); }
.l2-fd .l2-fd-team-h { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--dw-muted); }
.l2-fd .l2-fd-cards { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.l2-fd .l2-fd-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; margin: 0; padding: 14px; border: 1px solid var(--dw-line); background: var(--l2-white); }
.l2-fd .l2-fd-cp { display: block; overflow: hidden; background: var(--dw-bg); }
.l2-fd .l2-fd-cp img { display: block; width: 96px; height: 120px; object-fit: cover; object-position: center 20%; border-radius: 0; }
.l2-fd .l2-fd-cb { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.l2-fd .l2-fd-cn { font-family: var(--l2-serif); font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--dw-ink); }
.l2-fd .l2-fd-cr { font-size: 14px; line-height: 1.5; color: var(--dw-muted); word-break: keep-all; }
.l2-fd .l2-fd-cl { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--dw-ink); text-decoration: none; }
.l2-fd .l2-fd-cl::after { content: "→"; font-weight: 400; }
.l2-fd .l2-fd-cl:hover { color: var(--dw-primary); }

@media (max-width: 1080px) {
	.l2-fd .l2-fd-areas, body.dwl2 .l2-fd .wp-block-group.l2-fd-areas, .l2-fd .l2-fd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.l2-fd .l2-fd-res-main, .l2-fd .l2-fd-res-team { grid-column: 1 / -1; }
	.l2-fd .l2-fd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	/* 휴대폰: 카드 1열 · 위에 「1 / 3 단계 · 분야 선택」 + 막대 3개 · 뒤로 가기는 질문 위 */
	.l2-fd .l2-fd-areas, body.dwl2 .l2-fd .wp-block-group.l2-fd-areas, .l2-fd .l2-fd-grid, .l2-fd .l2-fd-grid.is-sits, .l2-fd .l2-fd-cards { grid-template-columns: 1fr; }
	.l2-fd .l2-fd-ui { margin: 0 calc(var(--l2-cpad, 20px) * -1); border-left: 0; border-right: 0; }
	.l2-fd .l2-fd-bar { padding: 14px 0 0; } /* 10-29 doorweb: 단계 막대는 휴대폰에서도 화면 끝에서 끝까지(PC 처럼). 글자만 안쪽 여백 */
	.l2-fd .l2-fd-of { padding: 0 var(--l2-cpad, 20px); display: block; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--dw-ink); }
	.l2-fd .l2-fd-steps { gap: 0 2px; }
	.l2-fd .l2-fd-step { display: block; height: 3px; padding: 0; margin-bottom: -1px; background: var(--dw-line); }
	.l2-fd .l2-fd-step::before { top: 0; height: 3px; }
	.l2-fd .l2-fd-sn, .l2-fd .l2-fd-sl, .l2-fd .l2-fd-sv { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.l2-fd .l2-fd-stage { padding: 24px var(--l2-cpad, 20px) 28px; }
	.l2-fd .l2-fd-qrow { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
	.l2-fd .l2-fd-q { order: 2; flex: none; font-size: 22px; }
	.l2-fd .l2-fd-back { order: 1; }
	.l2-fd .l2-fd-opt { min-height: 56px; padding: 16px 48px 16px 18px; }
	.l2-fd .is-areas .l2-fd-opt { min-height: 0; padding: 18px 48px 18px 18px; }
	.l2-fd .is-areas .l2-fd-opt::after { top: 50%; bottom: auto; margin-top: -.7em; }
	.l2-fd .is-areas .l2-fd-on { font-size: 18px; }
	.l2-fd .l2-fd-om { margin-top: 2px; }
	.l2-fd .l2-fd-on { font-size: 16px; }
	.l2-fd .l2-fd-acts-out, .l2-fd .l2-fd-acts { flex-direction: column; }
	.l2-fd .l2-fd-acts-out .wp-block-button, .l2-fd .l2-fd-acts-out .wp-block-button__link, .l2-fd .l2-fd-acts .wp-block-button, .l2-fd .l2-fd-acts .wp-block-button__link { width: 100%; box-sizing: border-box; }
	.l2-fd .l2-fd-card { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 12px; }
	.l2-fd .l2-fd-cp img { width: 72px; height: 90px; }
	.l2-fd .l2-fd-cn { font-size: 19px; }
	.l2-fd .l2-fd-area { padding: 22px 0 24px; }
}

/* 1.3.0: 성공사례 분야 탭 터치 영역 44×44 이상(글자가 짧은 「전체」 · 「형사」도) */
.l2-ctab { min-width: 44px; padding: 0 4px; text-align: center; }
/* 1.3.0: 구성원 카드(동적 블록) 사진 아래 틈 없애기 */
.l2-m .l2-m-photo a, .l2-m .l2-m-photo img { display: block; }

/* ================================================================ 1.4.13 히어로 배경 영상(동영상 파일 · 유튜브, law2-r16.php · law2-hv.js)
   슬라이더 맨 앞에 영상 한 겹(.l2-hv, z-index 0) → 그 뒤 슬라이드(투명) · 1.4.12 오버레이(::after) · 글자 · 버튼 · 인디케이터가 위에 그려짐.
   슬라이드 사진 자리는 .l2-hv-ph(크기만, 안 보임) — 휴대폰 「사진 → 글 상자」 배치 높이를 그대로 지킨다. 영상 영역 = 사진이 있던 영역(에디토리얼 PC 100% · 클래식 PC 76% · 휴대폰 4:3 · 52svh 이하). */
body.dwl2.dw-front .dw-hero.l2-hv-on .dw-hero-slider { background: var(--dw-bg); }
body.dwl2.dw-front .dw-hero.l2-hv-on .dw-hero-slide { background: transparent; }
body.dwl2.dw-front .dw-hero.l2-hv-on .dw-hero-slide > .l2-hv-ph { visibility: hidden; }
body.dwl2.dw-front .dw-hero .l2-hv { position: absolute; top: 0; left: 0; bottom: 0; width: 76%; z-index: 0; overflow: hidden; background: var(--dw-navy); pointer-events: none; container-type: size; }
body.dwl2.l2-ed.dw-front .dw-hero .l2-hv { width: 100%; }
body.dwl2.dw-front .dw-hero .l2-hv-poster, body.dwl2.dw-front .dw-hero .l2-hv video.l2-hv-media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
body.dwl2.dw-front .dw-hero .l2-hv .l2-hv-media { opacity: 0; transition: opacity .8s ease; }
body.dwl2.dw-front .dw-hero .l2-hv.is-playing .l2-hv-media { opacity: 1; }
/* 유튜브 16:9 를 영역에 꽉(cover): 폭 = 높이 × 16/9 · 높이 = 폭 × 9/16 중 큰 쪽, 가운데. 컨테이너 단위가 없으면 화면 단위(vh · vw) */
body.dwl2.dw-front .dw-hero .l2-hv-frame { position: absolute; inset: 0; }
body.dwl2.dw-front .dw-hero .l2-hv iframe.l2-hv-media { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); max-width: none; border: 0; transform: translate(-50%, -50%) scale(1.2); } /* 1.2배: 유튜브 위 제목 줄 · 아래 로고가 영역 밖으로 */
@supports (width: 1cqh) {
	body.dwl2.dw-front .dw-hero .l2-hv iframe.l2-hv-media { width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); }
}
/* 영상 위 투명 층: 유튜브 화면을 눌러 재생 · 링크로 빠지지 않게(글자 · 버튼은 이 층보다 위) */
body.dwl2.dw-front .dw-hero .l2-hv-shield { position: absolute; inset: 0; z-index: 1; pointer-events: auto; }
/* 영상은 장면마다 밝기가 바뀌므로 작은 글자(라벨 · 부제)에 옅은 그림자를 더함 — 대비 측정은 그림자 없이 잼 */
body.dwl2.dw-front .dw-hero.l2-hv-on .dw-hero-kicker, body.dwl2.dw-front .dw-hero.l2-hv-on .dw-hero-sub { text-shadow: 0 1px 10px rgb(0 0 0 / .45); }
@media (max-width: 860px) {
	body.dwl2.dw-front .dw-hero.l2-hv-on .dw-hero-kicker, body.dwl2.dw-front .dw-hero.l2-hv-on .dw-hero-sub { text-shadow: none; }
	body.dwl2.dw-front .dw-hero .l2-hv, body.dwl2.l2-ed.dw-front .dw-hero .l2-hv { bottom: auto; right: 0; width: 100%; aspect-ratio: 4 / 3; max-height: 52svh; }
}
@media (prefers-reduced-motion: reduce) {
	body.dwl2.dw-front .dw-hero .l2-hv .l2-hv-media { transition: none; }
}

/* 1.5.0 메인 화면 블록 — 편집 화면 글자 = 실제 화면(구조 필수 7): 명조 제목 · 작은 제목 앞 가는 줄 · 흰 78%. 금색 강조는 그대로. */
.editor-styles-wrapper .dwa-slide-ed-copy h1, .editor-styles-wrapper .dwa-slide-ed-copy h2 { font-family: var(--l2-serif, "Noto Serif KR", serif); font-weight: 400; line-height: 1.22; letter-spacing: -.03em; }
.editor-styles-wrapper .dwa-slide-ed-copy .dw-hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .78); }
.editor-styles-wrapper .dwa-slide-ed-copy .dw-hero-kicker::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }
