
/* ==========================================================================
   lk2-clean.css — C878b 한 벌 스타일 (UD-973)
   C877 이혼 허브·하위 샘플의 46겹 덧칠(c684~c877)을 걷어 내고, C877 화면을 한 번만 정의한다.
   원칙
   - 화면은 C877 그대로(U19 요청 밖 변화 0). C877 과 다른 곳은 검수표·대표님 결정이 요구한 곳뿐(보고서 차이 표).
   - 휴대폰 먼저. 폭 분기점은 481px·821px 두 개뿐.
   - 중요 표시(important) 0. 부품마다 한 곳에서 정의. 회차 번호 클래스는 DOM 에 그것밖에 없을 때만 쓴다.
   - 하위 쪽만 C877 에서 달랐던 값은 body[data-c782-kind="sub"] 한 곳에서 정의한다.
   - 휴대폰 히어로 순서는 판 B(라이브 순서: 글머리 → 버튼)로 확정(UD-1003). 판 A 묶음은 지웠다.
   C879 고침(11-05, UD-1004~1011): 기준을 C877 이 아니라 라이브 https://www.lkpartner.co.kr/divorce/ 계산 스타일(390·1366 측정)로 바꿈
   - 상담 박스(허브·하위·#cta·팝업) = 라이브 토스 디자인 값(6절) · 검토 변호사 박스 너비 = 섹션 카드(18절)
   - 하위 범위·최종 업데이트·근거 칸 = 검토 변호사 박스와 같은 모양(17절) · 언론 4개 2×2(11절)
   - 휴대폰 첫 화면(UD-1007): 고정 바 위에 온라인 상담·카톡 상담 버튼까지 — 라이브보다 히어로 위아래 여백·줄 간격을 줄인 값(5절)
   ========================================================================== */

/* ---------- 0. 디자인 값(토큰) ---------- */
:root {
  --page: #f2f4f6;          /* 쪽 바탕 */
  --surface: #ffffff;       /* 섹션 카드 */
  --card: #f3f5f7;          /* 섹션 안 카드(본문) */
  --card-soft: #f5f7fa;     /* 변호사·업무사례·언론 카드 */
  --card-gray: #f5f6f8;     /* 진행 단계·연락처 줄·확인 칸 */
  --line: #e5e8eb;
  --ink: #191f28;           /* 제목 글자 */
  --ink-2: #333d4b;         /* 본문 글자 */
  --ink-3: #4e5968;         /* 보조 글자(가장 옅은 글자) */
  --ink-4: #6b7684;         /* 흰 바탕 위 작은 보조 글자(대비 4.6) */
  --brand: #8b3579;         /* 이혼센터 보라 */
  --brand-dark: #65345e;
  --navy: #263e63;
  --navy-tint: #e9ecf0;
  --burgundy: #8b1a2e;
  --kakao: #fee500;
  --footer: #2c2c2c;
  --footer-ink: #f1f3f5;
  --gutter: 16px;           /* 휴대폰 좌우 여백 */
  --col: 1320px;            /* PC 섹션 칸 */
  --inner: 1080px;          /* PC 섹션 안 글 칸 */
  --gap: 24px;              /* 섹션 사이 간격 U1 */
  --pad: 24px;              /* 섹션 안쪽 여백 U2 */
  --card-gap: 12px;         /* 카드 사이 간격 U3 */
  --bar-h: 79px;            /* 아래 고정 상담 바 높이(C877 값) */
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 12h16M12 4v16'/%3E%3C/svg%3E");
  --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  /* 히어로 사진 위 흰 덮개(C877 값) */
  --hero-veil: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  --hero-h1: min(4.65vw, 64px);   /* PC 히어로 제목 크기(라이브 63.5px@1366·64px@1536~) */
}
@media (min-width: 821px) {
  :root {
    --gap: 40px; --pad: 40px; --gutter: 23px;
    /* PC 흰 덮개: 라이브(0.98→0.94@27%→0.8@43%→0.22@72%)보다 글 칸(카드 왼쪽 ~64%) 아래를 진하게 — 사진 위에 글자가 놓이지 않게 */
    --hero-veil: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 45%, rgba(255, 255, 255, 0.92) 62%, rgba(255, 255, 255, 0.6) 72%, rgba(255, 255, 255, 0.15) 86%, rgba(255, 255, 255, 0) 100%);
  }
}

/* ---------- 1. 바탕 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  padding-bottom: calc(var(--bar-h) + 8px);   /* 아래 고정 바에 글이 가리지 않게(바닥글이 있으면 20절에서 바닥글이 대신 늘어남) */
  background: var(--page);
  color: var(--ink);
  font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.7; letter-spacing: -0.4px;
  word-break: keep-all; overflow-wrap: anywhere;
}
@media (min-width: 821px) { body { padding-bottom: 0; } }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address) { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
b, strong { font-weight: 700; }
em { font-style: normal; }
h2 { font-size: 24px; line-height: 1.4; font-weight: 800; letter-spacing: -0.045em; color: var(--ink); text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
/* C877 에서도 화면에 안 보이던 영문 꼬리표·눈썹 글(CASE CHECK·KEY POINTS·PRACTICE AREAS·선택 이유) — 그대로 숨김 */
.c768-code-label, .c795-hidden { display: none; }
/* 화면 읽기 프로그램용 숨김 글자(30초 진단 머리 제목) */
.c793-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 2. 검토용 띠(샘플 전용, 허브·하위 같게) ---------- */
#c716-review-banner, .c773-review-banner {
  display: block; margin: 0; padding: 0 8px;
  background: var(--ink); color: #fff;
  font-size: 11px; line-height: 16px; font-weight: 500; text-align: center;
}

/* ---------- 3. 머리글 ---------- */
/* 흰 띠는 안쪽 div 가 화면 끝까지 칠한다(판정기 U5 가 화면 끝 띠를 카드로 세지 않게, 화면은 C877 과 같음) */
.lk-header { position: sticky; top: 0; z-index: 50; color: #252b35; }
.lk-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 57px; padding: 0 16px;
  border-bottom: 1px solid #e8eaf0; background: var(--surface);
}
.lk-header-logo { display: flex; align-items: center; flex: none; }
.lk-header-logo img { width: 160px; height: 32px; object-fit: contain; }
.lk-header-center { display: none; }
.lk-header-actions { display: flex; align-items: center; gap: 8px; }
.lk-header-consult { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; line-height: 18.2px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lk-header-consult svg { width: 13px; height: 13px; }
.lk-header-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: none; }
.lk-header-toggle span { display: block; width: 22px; height: 2px; border-radius: 1px; background: #252b35; }
@media (min-width: 821px) {
  .lk-header-inner { gap: 12px; height: 65px; padding: 0 max(24px, calc((100% - 1200px) / 2 + 24px)); }
  .lk-header-logo img { width: 180px; height: 36px; }
  .lk-header-center { display: block; margin-right: auto; padding-left: 12px; border-left: 1px solid var(--line); color: var(--ink-3); font-size: 15px; font-weight: 600; line-height: 1.4; }
}
/* 메뉴 서랍(햄버거) */
.lk-header-overlay, .mobile-nav-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.4); }
:is(.mobile-nav-overlay, .mobile-nav-drawer):not(.open) { display: none; }   /* 옛 하위 서랍: open 일 때만 */
.lk-header-drawer, .mobile-nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; display: flex; flex-direction: column; gap: 16px; width: min(320px, 86vw); padding: 20px; background: var(--surface); overflow-y: auto; }
.lk-header-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lk-header-menu-title { font-size: 16px; font-weight: 800; }
.lk-header-close, .mobile-nav-close { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; line-height: 1; }
.lk-header-links { display: flex; flex-direction: column; }
.lk-header-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.lk-header-drawer .lk-header-consult { justify-content: center; }

/* ---------- 4. 쪽 뼈대: 섹션 카드와 간격(U1·U2) ---------- */
main { display: block; }
main > article, .lk-notice { width: min(var(--col), calc(100% - 2 * var(--gutter))); margin-left: auto; margin-right: auto; }
main > article { display: flex; flex-direction: column; gap: var(--gap); padding-top: calc(var(--gap) / 2); }   /* 머리글 ↔ 히어로 카드 = 라이브 값(휴대폰 12·PC 20, 대표님 「PC 히어로 상단 여백」) */
/* 휴대폰 위 상담 폼 자리: 섹션 카드를 따로 칠하지 않고 폼 자체가 카드(6절) — 다른 섹션과 같은 폭 */
main > article > section.c770-form-section { padding: 0; border-radius: 0; background: none; }
main > article > section:not(.hero), .lk-strengths {
  padding: var(--pad); border-radius: 20px; background: var(--surface);
}
.c768-section { color: var(--ink-2); }
/* PC 에서 스크립트가 상담 폼을 히어로로 옮기면 빈 섹션은 감춘다. PC(821~)에서는 이 휴대폰용 폼 자리를 늘 감춘다(C877 과 같음) */
.c770-form-section:not(:has(.lk-hero-form)) { display: none; }
@media (min-width: 821px) {
  .c770-form-section { display: none; }
  /* PC 섹션 안 글 칸 1080(C877) */
  main > article > section:not(.hero) > :is(.c768-content, .lk-content, .c762-fragment-preview, .c787-align-group, h2, h3, div, p, ul, ol, article, details) { max-width: var(--inner); margin-left: auto; margin-right: auto; }   /* article·details = 본문 감싼 article.c772-card·FAQ details.c786-faq-card(C890, U21) */
  /* 장점·진행 단계는 C877 처럼 안쪽 여백 40 만(글 칸 1240) */
  main > article > section:is(.why, .proc) > .lk-content { max-width: none; }
}
/* 섹션 제목과 문단(C877 간격: 제목 아래 24, 문단 위 8·아래 16, 묶음 위 16) */
.c768-section h2, .why h2, .lk-casefeed-static > h2 { margin-bottom: 24px; font-weight: 700; }
.why h2, .lk-casefeed-static > h2 { font-weight: 800; }
.c768-section p { margin: 8px 0 16px; font-size: 15px; line-height: 1.7; }
.c768-content > h3 { margin: 24px 0 12px; }
.c768-content > div:not([class]) > h3, .c768-content > div:not([class]) > div > h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.5; }
/* 제목 위 작은 머리말(CASE STUDIES·OUR ATTORNEYS·관할 기관 등) */
.c768-content > p:first-child:has(+ h2) { margin: 0 0 16px; font-size: 15px; line-height: 1.75; font-weight: 400; color: inherit; }
body[data-c782-kind="sub"] .c768-section:not(#team) .c768-content > p:first-child:has(+ h2) { font-weight: 700; }
/* 상담 안내·FAQ 머리말: C877 남색 글자, 앞 색 막대는 빼고(규칙 3) */
.stag { display: inline-block; margin: 0 0 20px; color: var(--navy); font-size: 15px; line-height: 1.5; font-weight: 700; letter-spacing: 0.45px; }
@media (min-width: 821px) { .stag { font-size: 17px; } }
/* 하위 쪽 본문 글(C877 하위 값): 문단 줄 간격 1.75, 소제목 19px, 섹션 제목 아래 22 */
body[data-c782-kind="sub"] .c768-section p { line-height: 1.75; }
body[data-c782-kind="sub"] .c768-section h2 { margin-bottom: 22px; }
body[data-c782-kind="sub"] .c768-section h3:not(.lk-person-name) { font-size: 19px; }
body[data-c782-kind="sub"] .why h2 { margin-bottom: 18px; }
body[data-c782-kind="sub"] .c698-why-card h3 { margin-bottom: 12px; }
body[data-c782-kind="sub"] .c698-why-card p + p { margin-top: 16px; }
/* 섹션 안 카드 묶음 */
.c768-grid, .c793-agencies, .lk-people, .lkx-pr-list, .lk-casefeed-grid, .c698-why-grid, .fql, .ptrack, .c768-step-list, .c822-copy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--card-gap); }
div.c768-grid, .c793-agencies { margin-top: 16px; }
.c768-grid:has(> a.c768-card) { grid-auto-rows: 1fr; }   /* 상황 고르기 링크 카드 = 같은 높이 */
.c768-card, .c768-grid > div:not([class]) { min-width: 0; padding: 20px; border-radius: 16px; background: var(--card); }
li.c768-card, .c778-fold-card { background: var(--page); }
:not(.c768-grid, .c822-copy-grid, .c698-why-grid) > article.c772-card + article.c772-card { margin-top: var(--card-gap); }   /* 묶음 없이 이어진 글 카드 사이 12 */
body[data-c782-kind="sub"] :is(.c768-card, .c778-fold-card) { background: #f7f8fa; }
.c768-card > .c768-card-heading { margin-bottom: 12px; }
.c768-card p { margin: 8px 0 16px; }
#choose-lawfirm .c768-card p { margin: 0; }   /* C877: 로펌 고르기 카드 문단은 감싼 div 가 간격을 준다 */
/* 묶음(grid) 밖에서 카드가 이어질 때 사이 12 (U3) */
:not(.c768-grid) > .c768-card + .c768-card, .c768-link-list + .c768-link-list { margin-top: var(--card-gap); }
@media (min-width: 821px) {
  .c768-grid, .c793-agencies, .lk-people, .c698-why-grid, .lkx-pr-list, .c822-copy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c793-agencies, .lkx-pr-list { column-gap: 16px; }
  .lk-people { gap: 16px; }
  .lk-casefeed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 5. 히어로(라이브 형사 히어로 기준 · 첫 화면 UD-934) ---------- */
/* 값은 라이브 https://www.lkpartner.co.kr/criminal/ 히어로 계산값(390·1366·1536·1920 실측). 문구는 이혼 원고, 색만 센터 색. */
.hero { margin: 0; padding: 0 0 8px; background: none; }
.hero-g { display: flex; flex-direction: column; }
.hero > img.hero-bg { display: none; }   /* 옛 하위 히어로 배경 그림(사진은 .hero-copy 배경) */
/* 카드: 휴대폰은 흰 카드 + 아래쪽 사진 띠(위로 흐려짐), PC 는 사진 전체 배경 + 왼쪽 흰 덮개 */
.hero-copy {
  position: relative; display: flex; flex-direction: column;
  padding: 20px 20px 246px; border-radius: 24px;   /* 휴대폰 위 20(라이브 38) — 첫 화면 UD-1007 */
  background-color: var(--surface);
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0.45) 24px, rgba(255, 255, 255, 0) 72px), var(--lk2-hero-photo-m, var(--lk2-hero-photo));
  background-size: 100% 234px, auto 234px; background-position: 50% 100%, 50% 100%; background-repeat: no-repeat;
}
/* 센터 이름(꼬리표 자리): 작은 굵은 센터 색 글(라이브 형사=남색, 이혼=보라) */
.c685-label { align-self: flex-start; margin: 0 0 8px; padding: 0; background: none; color: var(--brand); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: normal; }
/* 하위 쪽 「비밀 유지」 줄 = 라이브의 작은 회색 한 줄(센터 이름과 제목 사이) */
body[data-c782-kind="sub"] .hero-copy > .c685-label { order: -2; }
body[data-c782-kind="sub"] .hero-copy > p.c692-text:not(h1 + p) { order: -1; margin: 0 0 10px; color: #6b7280; font-size: 13px; line-height: 1.45; font-weight: 600; }
/* 제목: 휴대폰 30px/40.5/800/자간 -1.8, 둘째 줄 남색 */
.hero-copy > h1 { margin: 0 0 8px; color: var(--ink); font-size: 30px; line-height: 1.3; font-weight: 800; letter-spacing: -0.06em; }
.hero-copy > h1 br { display: none; }   /* 이혼 제목 줄이 형사보다 길어 휴대폰은 폭에 맞춰 줄바꿈 */
.hero-copy > h1 :is(em, span) { color: var(--brand); }   /* 라이브 둘째 줄 = 센터 색(형사 남색 → 이혼 보라) */
/* 부제(제목 바로 뒤 문단): 휴대폰 15.9px/650 센터 색 */
.hero-copy > h1 + p { margin: 0 0 12px; color: var(--brand); font-size: 15.9px; line-height: 1.55; font-weight: 650; letter-spacing: -0.04em; }
.hero-copy > h1 + p strong { font-weight: 800; }
/* 글머리 카드: 흰 반투명, 안쪽 여백 16(PC 16·20), 줄 간격 12, 아이콘↔글 12, 제목 줄 + 설명 줄 (U12·UD-943) */
/* 휴대폰: 흰 카드 위 흰 글머리 카드는 보이지 않으므로 안쪽 여백 0(첫 화면 UD-1007). 줄 간격 12 는 U12 그대로 */
.c768-hero-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 12px; padding: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.88); }
.c768-hero-row { display: flex; align-items: flex-start; gap: 12px; }
.c768-hero-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 0; border-radius: 8px; background: var(--brand); color: #fff; }
.c768-hero-icon svg { width: 16px; height: 16px; }
.c768-hero-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.c768-hero-key { display: block; color: var(--brand); font-size: 14px; line-height: 20px; font-weight: 700; }
.c768-hero-sentence { display: block; color: var(--ink-2); font-size: 14px; line-height: 20px; font-weight: 400; }
/* 상담 버튼 3개: 820px 까지 같은 크기 세로 3개, 821px 부터 한 줄 3개(같은 크기·한 줄, U11)
   휴대폰 순서 = 온라인 상담 → 카카오 상담 → 전화(대표님 「온라인상담 카톡상담 까지는 1면에」 UD-1007). DOM 순서는 그대로(CSS order), PC 는 원래 순서 */
.lk-hero-buttons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lk-hero-buttons > a[href*="kakao"] { order: 1; }
.lk-hero-buttons > a[href^="tel:"] { order: 2; }
.lk-hero-buttons > :is(a, button) {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 48px; margin: 0; padding: 0 16px;
  border: 1px solid transparent; border-radius: 16px;
  font-size: 16px; line-height: 24px; font-weight: 650; letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.lk-hero-buttons svg { display: block; flex: none; width: 16px; height: 16px; stroke: currentColor; }
.lk-hero-buttons > .lk-online { border-color: var(--brand); background: var(--brand); color: #fff; }
.lk-hero-buttons > a[href^="tel:"] { border: 2px solid var(--ink-2); background: var(--surface); color: var(--ink-2); }
.lk-hero-buttons > a[href*="kakao"] { border-color: var(--kakao); background: var(--kakao); color: #191919; }
/* 히어로 끝 짧은 안내(법률 정보 안내 — 휴대폰에서 스크립트가 히어로 끝으로 옮겨 옴) */
.hero-copy > .c787-hero-notice { margin: 12px 0 0; color: var(--ink-3); font-size: 11px; line-height: 1.75; }
body[data-c782-kind="sub"] .hero { padding: 0 0 24px; }
@media (min-width: 821px) {
  .hero { padding-bottom: 12px; }
  .lk-hero-buttons > :is(a[href*="kakao"], a[href^="tel:"]) { order: 0; }
  .c685-label { line-height: 24px; }
  .hero-copy > h1 { margin-bottom: 12px; }
  .hero-copy > h1 + p { line-height: 1.65; }
  .c768-hero-list { gap: 12px; padding: 16px 20px; }
  .hero-copy {
    padding: 78px clamp(40px, 5.3vw, 72px) 62px; border-radius: 28px;   /* UD-1035: 좌우 1366~ 72, 821~ 40~72 */
    background-image: var(--hero-veil), var(--lk2-hero-photo);
    background-size: 100% 100%, auto 100%; background-position: 50% 50%, 100% 50%;
  }
  .c685-label { margin-bottom: 16px; font-size: 15px; line-height: 24px; }
  body[data-c782-kind="sub"] .hero-copy > p.c692-text:not(h1 + p) { font-size: 15px; }
  /* 제목 64px 대(라이브 4.65vw, 최대 64) · 글 칸 64% — 사진 쪽으로 넘어가지 않게 */
  .hero-copy > h1 { max-width: 64%; margin-bottom: 12px; font-size: var(--hero-h1); line-height: 1.3; letter-spacing: -0.065em; }
  .hero-copy > h1 br { display: inline; }
  /* 하위 제목은 br 로 3줄이라 라이브 크기(64px대)면 1366×657 첫 화면을 66px 넘음 → 하위만 0.72배(46px대) */
  body[data-c782-kind="sub"] { --hero-h1: min(3.35vw, 46px); }
  .hero-copy > h1 + p { max-width: 64%; margin-bottom: 24px; font-size: calc(var(--hero-h1) * 0.53); line-height: 1.65; }
  .c768-hero-list { max-width: 580px; margin-bottom: 22px; }
  .c768-hero-key, .c768-hero-sentence { font-size: 16px; line-height: 27.2px; }
  .c768-hero-sentence { color: var(--ink); font-weight: 500; }
  .lk-hero-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); width: max-content; min-width: 61%; max-width: 100%; gap: 10px; }   /* UD-1035: 가장 긴 버튼 글자 기준 같은 폭 3칸, 1366~ 은 61% 그대로 */
  .lk-hero-buttons > :is(a, button) { height: 57px; padding: 0 20px; font-size: min(14px, 1.58vw); line-height: 21px; }   /* UD-1035: 886px~ 14px */
  .lk-hero-buttons svg { width: 18px; height: 18px; }
  /* 스크립트가 PC 에서 히어로 아래로 옮긴 위 상담 폼 = 다른 섹션 카드와 같은 폭(U5·UD-1006 너비 통일), 안쪽 입력칸은 섹션 글 칸 1080 에 맞춤.
     라이브는 가운데 960 카드 — 너비 통일 결정이 우선(라이브 대조 예외) */
  .hero-g > .lk-hero-form { width: 100%; max-width: none; margin: 40px 0 0; padding-left: max(40px, calc((100% - var(--inner)) / 2)); padding-right: max(40px, calc((100% - var(--inner)) / 2)); }
}

/* ---------- 6. 상담 폼 = 라이브 이혼 쪽 토스 디자인(UD-1004·1008) ---------- */
/* 값 출처: https://www.lkpartner.co.kr/divorce/ .lk-hero-form 계산 스타일(11-05 메인 측정, 390×712·1366×657).
   허브·하위의 위 폼(.lk-hero-form)·아래 #cta 폼(.ctform / 하위 .lk-cta-layout > .lk-card)·팝업(.modal-card) 모두 같은 규칙.
   라이브와 다른 값(UD 예외): 작은 회색 글 #8b95a1 → #6b7684(흰 바탕 대비 4.5 넘게, 검수표 U15). */
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; align-content: start;
  padding: 27px 22px; border: 1px solid #edf0f3; border-radius: 24px; background: var(--surface);
  box-shadow: 0 14px 50px rgba(25, 31, 40, 0.02);
}
.modal-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; align-content: start; }
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) > * { min-width: 0; margin: 0; }
.lk-cta-layout > .lk-card > div:empty { display: none; }
/* 제목·안내 한 줄 */
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) > :is(h2, h3) { color: var(--ink); font-size: 24px; line-height: 1.5; font-weight: 750; letter-spacing: -0.045em; }
.modal-card > h3 { padding-right: 40px; color: var(--ink); font-size: 20px; line-height: 1.5; font-weight: 800; letter-spacing: -0.045em; }
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) > :is(h2, h3) + p { color: var(--ink-4); font-size: 13px; line-height: 1.75; }
/* 입력칸: 회색 채움, 테두리 없음 */
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(input[type="text"], input[type="tel"], select, textarea) {
  display: block; width: 100%; height: auto; min-height: 0; padding: 13px 15px;
  border: 1px solid transparent; border-radius: 12px; background: var(--page);
  color: var(--ink-2); font-size: 16px; line-height: 1.6; outline: none;
}
/* textarea[id]: 위 입력칸 규칙(input[type])과 같은 세기로 맞춰 뒤에서 이기게 */
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(textarea[id], textarea.ff) { height: 86px; padding: 15px 18px; border-radius: 14px; resize: none; }
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(input, textarea)::placeholder { color: var(--ink-4); }
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(input[type="text"], input[type="tel"], textarea):focus { border-color: var(--brand); background: var(--surface); }
/* 칸 이름이 붙은 입력칸(옛 폼: 칸 이름 위·입력칸 아래 한 덩어리) */
.ffld { display: grid; gap: 8px; min-width: 0; }
.ffld > .sl { margin: 0; }
/* 선택 칸 머리(사건 유형·현재 상황) */
:is(.sg, .lk-cta-layout > .lk-card > div:has(> .c792-chip-grid)) { margin: 0; }
:is(.sl, .lk-cta-layout > .lk-card > div > div:first-child:has(+ .c792-chip-grid)) { margin: 0 0 8px; color: var(--ink-4); font-size: 11px; line-height: 1.7; font-weight: 700; letter-spacing: 0.03em; }
/* 선택 칩: 글자 폭만큼, 한 줄에 여러 개 흐름(간격 6) */
:is(.chips, .c792-chip-grid) { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; min-width: 0; min-height: 44px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  color: var(--ink-4); font-size: 12px; line-height: 1.5; font-weight: 400; text-align: left; cursor: pointer; user-select: none;
}
.chip.on, .chip[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, white); color: var(--brand); }
/* 개인정보 동의 */
:is(.privacy-check, .lk-cta-layout > .lk-card > label) { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
:is(.privacy-check, .lk-cta-layout > .lk-card > label), :is(.privacy-check, .lk-cta-layout > .lk-card > label) :is(label, span) { color: var(--ink-4); font-size: 11px; line-height: 1.5; font-weight: 400; }
:is(.privacy-check, .lk-cta-layout > .lk-card > label) input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--brand); }
:is(.privacy-check, .lk-cta-layout > .lk-card > label) a { color: inherit; text-decoration: underline; }
/* 신청 버튼: 보라 전체 폭 */
.bsub, .lk-cta-layout > .lk-card > button {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; height: 56px; margin: 0; padding: 13px; border: 0; border-radius: 14px;
  background: var(--brand); color: #fff; font-size: 17px; line-height: 1.5; font-weight: 700; white-space: nowrap; cursor: pointer;
}
/* 폼 안 전화·카카오 버튼(라이브 폼에는 없음 — 대표님 확인 대기, 같은 모양으로 둠) */
.c718-consult-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.c718-phone, .c718-kakao {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; height: 56px; margin: 0; padding: 0 14px; border: 0; border-radius: 14px;   /* 신청 버튼과 같은 높이(U11) */
  font-size: 16px; line-height: 1.5; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.c718-phone { background: var(--page); color: var(--ink-2); }
.c718-phone svg { width: 16px; height: 16px; margin-right: 4px; }
.c718-kakao { background: var(--kakao); color: #191919; }
/* 아래 비밀 유지 한 줄: 가운데 작은 회색 */
:is(.fnote, .lk-hero-form > p:last-child, .lk-cta-layout > .lk-card > button + p) { color: var(--ink-4); font-size: 13px; line-height: 1.75; text-align: center; }
@media (min-width: 821px) {
  /* PC: 두 칸 격자 — 성함·연락처만 나란히, 나머지는 한 줄 전체(라이브 878 = 429 + 20 + 429) */
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; padding: 36px 40px; border-radius: 28px; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) > * { grid-column: 1 / -1; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) > :is(input[type="text"], input[type="tel"], .ffld:has(> input[type="tel"]), .ffld:has(+ .ffld > input[type="tel"])) { grid-column: auto; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) > :is(h2, h3) { font-size: 29px; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(input[type="text"], input[type="tel"], select) { font-size: 14px; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(textarea[id], textarea.ff) { font-size: 15px; }
  .chip { min-height: 0; padding: 10px 13px; font-size: 13px; }
  .c718-consult-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c718-consult-actions > .bsub { grid-column: 1 / -1; }
}

/* ---------- 7. 30초 상황 진단(C877 카드 모양) ---------- */
.c698-diagnosis { background: var(--card-gray); }
main > article > section.c698-diagnosis { background: var(--card-gray); }
.lk-diag-card { max-width: 636px; margin: 0 auto; padding: 22px; border: 1px solid #e9edf4; border-radius: 28px; background: var(--surface); box-shadow: 0 24px 60px -28px rgba(20, 30, 60, 0.3); }
.lk-diag-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--brand); font-size: 15px; line-height: 1.7; font-weight: 800; }
.lk-diag-top span { font-size: 14px; }
.lk-diag-progress { height: 8px; margin-bottom: 24px; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.lk-diag-progress > div { height: 100%; border-radius: inherit; background: var(--brand); transition: width .2s; }
.lk-diag-intro { text-align: center; }
.lk-diag-intro .lk-card-badge { display: grid; place-items: center; width: 48px; height: 48px; margin: 4px auto 18px; border-radius: 8px; background: var(--navy); color: #fff; }
.lk-diag-intro .lk-card-badge svg { width: 26px; height: 26px; }
.lk-diag-intro h2 { margin: 8px 0 12px; color: #172b3a; font-size: 23px; line-height: 1.4; text-align: left; }
.lk-diag-intro > p { margin: 0 0 20px; color: #4b586b; font-size: 16px; line-height: 1.7; text-align: left; }
.lk-diag-primary { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; margin: 0; padding: 16px; border: 0; border-radius: 16px; background: var(--brand); color: #fff; font-size: 17px; line-height: 1.7; font-weight: 700; cursor: pointer; }
.lk-diag-primary svg { width: 17px; height: 17px; }
.lk-diag-intro > p.lk-diag-note, .lk-diag-note { margin: 16px 0 0; color: #536174; font-size: 13px; line-height: 1.7; }
[data-slot="screen"] { text-align: left; }
[data-slot="screen"] [data-slot="count"] { display: block; color: var(--brand); font-size: 14px; font-weight: 700; }
[data-slot="screen"] [data-slot="title"] { margin-top: 4px; font-size: 20px; font-weight: 800; }
[data-slot="screen"] [data-slot="sub"] { margin-top: 4px; color: var(--ink-3); font-size: 15px; }
[data-slot="opts"] { display: grid; gap: 8px; margin-top: 16px; }
.lk-diag-option { display: block; width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 15px; line-height: 1.5; font-weight: 500; text-align: left; }
.lk-diag-back { margin-top: 16px; padding: 8px 0; border: 0; background: none; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.lk-diag-result { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.lk-diag-result-cta { display: grid; gap: 8px; margin-top: 16px; }
.lk-diag-phone { display: block; padding: 8px 0; color: var(--navy); font-weight: 700; text-align: center; }
@media (min-width: 821px) {
  .lk-diag-card { padding: 40px; }
  .lk-diag-intro h2 { font-size: 30px; }
}

/* ---------- 8. Since 2012 (첫 내용 블록 바로 뒤, 이웃 카드와 같은 폭, 정본 구분선) ---------- */
.lk-strengths { background: var(--navy); color: #fff; border-radius: 24px; }
.lk-strengths-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
/* (하위 쪽 Since 상자에도 .c768-section 이 붙어 있어 .lk-strengths 아래로 한정) */
.lk-strengths .lk-strength-year { display: block; margin: 0 0 8px; padding: 0 0 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); font-size: 16px; line-height: 1.7; }
.lk-strengths .lk-strength-year b { display: block; font-size: 28px; line-height: 1.4; font-weight: 800; letter-spacing: -1.12px; }
.lk-strengths .lk-strength-year span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.7; }
.lk-strength { display: flex; align-items: flex-start; gap: 12px; }
.lk-strength-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 36px; margin-top: 2px; border: 1px solid rgba(255, 255, 255, 0.19); border-radius: 50%; background: #fff; color: var(--navy); }
.lk-strength-icon svg { width: 22px; height: 22px; }
.lk-strength > div { min-width: 0; }
.lk-strength > div b { display: block; margin-bottom: 5px; font-size: 15px; line-height: 1.5; font-weight: 750; }
.lk-strength > div span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; }
@media (min-width: 821px) {
  .lk-strengths-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lk-strengths .lk-strength-year { grid-column: 1 / -1; }
}

/* ---------- 9. 담당 변호사 카드(사진 자르지 않음) ---------- */
.team .sh { margin: 0; }
.team h2 { margin-bottom: 20px; color: #2c2c2c; }
.lk-person { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 16px; background: var(--card-soft); color: var(--ink); text-decoration: none; }
.lk-person-photo { overflow: hidden; border-radius: 12px; }
.lk-person-photo img { width: 100%; height: auto; border-radius: 8px; }
.lk-person-body { min-width: 0; }
.lk-person-role { margin-bottom: 8px; color: var(--navy); font-size: 13px; line-height: 1.7; font-weight: 700; letter-spacing: 0.26px; }
.lk-person-name { margin-bottom: 12px; font-size: 22px; line-height: 1.5; font-weight: 700; }
.c789-expert-list { display: grid; gap: 5px; padding-left: 18px; border-top: 1px solid var(--line); }
.c789-expert-list li { position: relative; padding-left: 12px; color: var(--ink-3); font-size: 14px; line-height: 1.65; }
.c789-expert-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 4px; height: 4px; border-radius: 50%; background: #b0b8c1; }
.lk-person-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 0; color: var(--navy); font-size: 14px; line-height: 1.7; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lk-person-link svg { width: 14px; height: 14px; }
body[data-c782-kind="sub"] .lk-person-role, body[data-c782-kind="sub"] .lk-person-link { font-weight: 400; }
@media (min-width: 821px) {
  .lk-person { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; align-items: start; gap: 12px 20px; }
  .lk-person-photo { grid-row: 1 / span 2; }
  .lk-person-link { grid-column: 2; align-self: end; margin-top: 0; }
}

/* ---------- 10. 최근 업무사례(사진 16:9, 썸네일 아래 빈칸 없앰) ---------- */
.lk-casefeed-static { color: var(--ink-2); }
.lk-casefeed-static > h2 { color: var(--ink-2); }
.lk-casefeed-grid { margin-top: 20px; }
.lk-casefeed-card { padding: 20px; border-radius: 14px; background: var(--card-soft); }
.lk-casefeed-card article { display: flex; flex-direction: column; gap: 12px; }
.lk-casefeed-card a { display: block; color: var(--ink-2); text-decoration: none; }
.lk-casefeed-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.lk-casefeed-card h3 { font-size: 20px; line-height: 1.5; font-weight: 800; color: var(--ink-2); letter-spacing: -0.7px; }
/* 전체 보기 링크(업무사례·언론·하위 「선택 이유 자세히 보기」 — 같은 회색 둥근 줄, 대표님 「선택이유 자세히 토스 디자인 안됨」) */
.lk-casefeed-all, .lkx-pr-all, a.c793-related-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 12px; padding: 12px 16px; border-radius: 10px; background: #f2f5f9;
  color: var(--ink-2); font-size: 16px; line-height: 1.75; font-weight: 700; text-decoration: none;
}
.lkx-pr-all, a.c793-related-link { display: flex; }
a.c793-related-link { margin-top: 16px; }
.c792-related-intro { margin-bottom: 16px; }
.lk-casefeed-all svg, .lkx-pr-all svg { width: 16px; height: 16px; }
@media (min-width: 821px) {
  .lk-casefeed-grid { margin-top: 24px; }
  .lk-casefeed-all, .lkx-pr-all { margin-top: 16px; }
}

/* ---------- 11. 언론 기고·보도(최소 4건 — UD-1005·1011, PC 2×2 빈칸 0) ---------- */
.lkx-press { color: var(--ink-2); }
.lkx-pr-h { margin: 0 0 18px; color: var(--ink-2); font-weight: 750; }
.lkx-pr-it { padding: 16px; border-radius: 12px; background: var(--card-soft); }
.lkx-pr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.lkx-pr-badge { padding: 2px 7px; border-radius: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; font-weight: 700; }
.lkx-pr-media { color: var(--ink-2); font-size: 14px; line-height: 1.4; font-weight: 700; }
.lkx-pr-date { color: var(--ink-3); font-size: 14px; line-height: 1.4; }
.lkx-pr-t { display: block; color: var(--ink-2); font-size: 16px; line-height: 1.55; font-weight: 700; text-decoration: none; }
@media (min-width: 821px) { .lkx-pr-it { padding: 20px 16px 16px; } }

/* ---------- 12. 본문 카드 부품(c768: 번호 카드·체크 목록·링크 목록) ---------- */
.c768-card-heading { display: flex; align-items: flex-start; gap: 10px; }
.c768-number { display: flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1; font-weight: 750; letter-spacing: 0; }
.c768-card-heading h3 { flex: 1 1 auto; min-width: 0; font-size: 18px; line-height: 1.5; }
.c768-numbered-title { flex: 1 1 auto; min-width: 0; font-size: 17px; line-height: 1.4; }
.c768-card h3 { font-size: 18px; line-height: 1.5; }
.c768-card img { width: 100%; height: auto; }
.c768-card > div:has(> img) { margin-bottom: 16px; }
.c768-card h3 + div { margin-top: 8px; }
.c877-related-subtitle { margin-bottom: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
/* 핵심 확인 카드(클래스 없는 div): 위 꼬리표+요약 두 줄, 아래 근거 줄+제목+설명 */
.c768-grid > div:not([class]) > div + div { margin-top: 16px; }
.c768-grid > div:not([class]) > div:first-child > span:first-child { display: block; margin-bottom: 6px; color: var(--brand-dark); font-size: 13px; line-height: 1.7; font-weight: 700; }
.c768-grid > div:not([class]) > div:first-child > div { color: var(--ink); font-size: 16px; line-height: 1.7; }
.c768-grid > div:not([class]) > div:last-child > div:first-child { color: var(--ink-3); font-size: 16px; line-height: 1.7; }
.c768-grid > div:not([class]) h3 { margin: 0 0 8px; }
/* 체크 목록 */
.c768-check-list { display: block; border-radius: 18px; }
.c768-check-list > li { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; padding: 6px 0; font-size: 15px; line-height: 1.7; border-bottom: 1px solid var(--line); }
.c768-check-list > li:first-child { padding-top: 0; }
.c768-check-list > li + li { margin-top: 12px; }
.c768-check-list > li:last-child { border-bottom: 0; }
.c778-check-icon { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--burgundy); color: #fff; }
.c778-check-icon svg { width: 16px; height: 16px; }
.c768-check-body { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
/* 링크 목록: 회색 상자 안에 선으로 나눈 줄(선은 링크에 — li 를 카드로 만들지 않음, U3) */
.c768-link-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; overflow: hidden; border-radius: 16px; background: var(--card); }
.c768-link-list > li:not(:last-child) { border-bottom: 1px solid #dce1e6; }   /* 아래 선만(판정기 카드 판단은 위 선 기준) */
.c768-link-list .c786-check-icon { display: none; }   /* 링크 글자와 겹치던 체크 아이콘(C877 화면에도 안 보임, U13) */
.c768-link-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 10px;
  padding: 14px 16px; color: var(--brand); font-size: 16px; line-height: 1.6; font-weight: 600; text-decoration: none;
}
.c768-link-card::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--icon-arrow) center / contain no-repeat; mask: var(--icon-arrow) center / contain no-repeat; }
.c768-grid > .c768-link-card { padding: 16px; border-radius: 16px; background: var(--page); }
.c768-link-card svg { display: none; }
.c768-prose-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.c795-source-line { margin-top: 12px; color: #596579; font-size: 12px; line-height: 1.6; }
.c768-section p.c795-source-line { margin: 12px 0 0; font-size: 12px; }
.c768-link:not(.c768-link-card) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.c793-agency .c768-link { color: #596579; font-size: 12px; }
.c768-link svg { display: inline-block; width: 1em; height: 1em; vertical-align: -2px; }
#c767-related > div { margin-top: 20px; }
#c767-related > div + div { margin-top: 12px; }
@media (min-width: 821px) {
  .c768-link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
}
/* 접힘 상자(더 보기) */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.c863-link-group > details > summary, .c768-content details > summary, .c800-more-controls button, .c799-more {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 0;
  border: 0; background: none; color: #334155; font-size: 16px; line-height: 1.7; font-weight: 400;
}
.c863-link-group > details { margin-top: 12px; }
.c863-link-group > details > summary::before, .c768-content details > summary::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--icon-chevron) center / contain no-repeat; mask: var(--icon-chevron) center / contain no-repeat; transform: rotate(-90deg); }
.c863-link-group > details[open] > summary::before { transform: none; }
.c863-link-group > details > ul { margin-top: 8px; }
* + .c863-link-group { margin-top: var(--card-gap); }
.c864-flat-detail > summary, details.c796-unfolded > summary { display: none; }
.c864-flat-detail { margin-top: 12px; }
.c792-fold-preview { margin: 8px 0; }
.c799-intro-lead { display: block; margin-bottom: 12px; font-size: 17px; line-height: 1.65; font-weight: 600; }
.c799-name { color: var(--navy); }
#about-lk .c768-card { padding: 16px; }
@media (min-width: 821px) {
  #about-lk .c768-card { padding: 24px 20px; }
  .c799-intro-lead { font-size: 19px; }
  .c768-content > h3 { margin-top: 32px; }
}
/* 하위 쪽 체크 목록(C877 하위: 선 없는 가는 체크 표시, 항목 사이 24) */
body[data-c782-kind="sub"] .c768-check-list { display: grid; gap: 24px; }
body[data-c782-kind="sub"] .c768-check-list > li + li { margin-top: 0; }
body[data-c782-kind="sub"] .c768-check-body { line-height: 1.8; }
body[data-c782-kind="sub"] .c768-check-list > li { grid-template-columns: 15px minmax(0, 1fr); gap: 9px; padding: 0; border: 0; line-height: 1.8; }
body[data-c782-kind="sub"] .c768-check-list > li::before { content: ""; width: 15px; height: 15px; margin-top: 4px; background: var(--ink-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat; }
/* 하위 쪽 FAQ(질문·답이 펼쳐진 카드, C877 하위 값) */
div.c786-faq-card { margin-top: 12px; padding: 16px; border-radius: 16px; background: var(--card); }
body .c768-section div.c786-faq-card h3 { margin-bottom: 8px; font-size: 16px; line-height: 1.6; font-weight: 500; }
div.c786-faq-card p { margin: 0; padding: 0 2px 19px; font-size: 16px; line-height: 1.8; }

/* ---------- 13. 왜 엘케이파트너스인가(장점 카드) ---------- */
.c698-why-card { min-width: 0; padding: 20px; border-radius: 16px; background: var(--card); color: #141b2b; }
.c698-why-card .lk-card-badge { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; background: rgba(0, 0, 0, 0.1); color: var(--navy); }
.c698-why-card .lk-card-badge svg { width: 24px; height: 24px; }
.widx { margin-bottom: 6px; color: var(--brand-dark); font-size: 13px; line-height: 1.4; font-weight: 750; letter-spacing: 1.32px; }
.c698-why-card h3 { color: #141b2b; font-size: 21px; line-height: 1.5; font-weight: 800; letter-spacing: -0.84px; }
.c698-why-card p { color: #141b2b; font-size: 15px; line-height: 1.65; }
/* 강조 카드(버건디): 글자 모두 흰색 — 스크립트 없이도 흰색(C877 은 첫 상태에서 흐렸음) */
.c698-why-card.c772-highlight { background: var(--burgundy); color: #fff; }
.c698-why-card.c772-highlight :is(h3, p, .widx, strong, b) { color: #fff; }
.c698-why-card.c772-highlight .lk-card-badge { background: rgba(255, 255, 255, 0.16); color: #fff; }
@media (min-width: 821px) {
  .c698-why-card { padding: 24px; }
  .c698-why-card h3 { margin-bottom: 12px; }
  .c698-why-card p + p { margin-top: 16px; }
}

/* ---------- 14. 진행 단계 ---------- */
.proc .sh { margin: 0; }
.proc h2 { margin-bottom: 20px; }
.ptrack { padding-bottom: 28px; }
.pi { display: flex; align-items: flex-start; gap: 20px; padding: 16px; border-radius: 16px; background: var(--card-gray); }
.pcirc { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--burgundy); color: #fff; font-size: 20px; line-height: 1; font-weight: 600; }
.pi > div:not(.pcirc) { min-width: 0; }
.pi h3 { margin-bottom: 4px; font-size: 20px; line-height: 1.5; font-weight: 800; letter-spacing: -0.8px; }
.pi p { color: var(--ink-3); font-size: 16px; line-height: 1.85; }
@media (min-width: 821px) { .ptrack { gap: 16px; } .pi h3 { margin-bottom: 8px; } }

/* ---------- 15. 자주 묻는 질문(카드 사이 12) ---------- */
.faqs .sh { margin: 0 0 34px; }
.faqs .sh > div { margin: 0; }
.faqs .sh h2 { margin-bottom: 20px; color: #2c2c2c; }
.faqs .sh > p { color: var(--ink-4); font-size: 16px; line-height: 1.9; }
.fqi { min-width: 0; padding: 16px; border-radius: 16px; background: var(--card); }
:not(.fql) > .fqi + .fqi { margin-top: var(--card-gap); }   /* 묶음 없이 이어진 질문 카드 사이 12 */
.fqi > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #2c2c2c; font-size: 16px; line-height: 1.6; font-weight: 500; }
.fqi > summary::after { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; background: currentColor; -webkit-mask: var(--icon-plus) center / contain no-repeat; mask: var(--icon-plus) center / contain no-repeat; }
.fqi[open] > summary::after { -webkit-mask-image: var(--icon-minus); mask-image: var(--icon-minus); }
.fqi > summary svg { display: none; }
.fqa { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.fqa p + p { margin-top: 8px; }
@media (min-width: 821px) { .fqi { padding: 20px; } }

/* ---------- 16. 상담 안내(#cta) ---------- */
.ctwrap, .lk-cta-layout { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
.lk-cta-layout { gap: 14px; }
.ctcopy > div:first-child:has(> .stag) { margin: 0; }
.lkx-cta-h2 { margin: 0 0 14px; color: #2c2c2c; }
.lkx-cta-l { display: block; }
.ctcopy > p { margin: 0 0 36px; color: var(--ink); font-size: 16px; line-height: 1.85; }
/* 연락처 줄 */
.crow, .lk-cta-layout > div:first-child > div > div { display: flex; align-items: baseline; gap: 10px; padding: 16px; border-radius: 16px; background: var(--card-gray); }
.crow { margin-bottom: 16px; }
.cbadge, .lk-cta-layout > div:first-child > div > div > span:first-child { flex: 0 0 72px; color: var(--ink-3); font-size: 16px; line-height: 1.7; font-weight: 500; }
.cval, .lk-cta-layout > div:first-child > div > div > span + span { min-width: 0; color: var(--ink); font-size: 16px; line-height: 1.7; font-weight: 600; }
.cval a { text-decoration: none; }
/* 옛 form-band #cta(토지보상·관세·지주택 하위)의 배경 사진·덮개: 허브 #cta 에 없는 장식이라 숨김 */
.form-band > :is(.bgimg, .ov) { display: none; }
/* 폼 카드 모양은 6절(라이브 토스 디자인) 한 곳에서 정의 */
/* 하위 쪽 #cta 왼쪽 안내 글(인라인을 걷어 낸 옛 틀): C877 하위 값 */
.lk-cta-layout > div:first-child > p { margin: 0 0 30px; color: var(--ink-3); font-size: 15px; line-height: 1.85; }
.lk-cta-layout > div:first-child > p:first-child { display: inline-block; margin-bottom: 13px; color: var(--brand); font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: 0.2em; }
.lk-cta-layout > div:first-child > div { display: grid; gap: 12px; margin-bottom: 0; }
.lk-cta-layout > div:first-child > div + p { margin-top: 26px; }
.lk-cta-layout > div:first-child > div > div { padding: 0; background: none; gap: 14px; }
.lk-cta-layout > div:first-child > div > div > span:first-child { font-size: 14px; }
@media (min-width: 821px) {
  .ctwrap { gap: 40px; }
  .crow { gap: 14px; padding: 20px; }
}

/* ---------- 17. 하위 쪽 전용 블록(관할 기관·지역·진행·최종 업데이트) ---------- */
.c793-agency { min-width: 0; padding: 20px; border-radius: 14px; background: var(--card-soft); }
.c793-agency > div:first-child { margin-bottom: 8px; font-size: 17px; line-height: 1.7; font-weight: 750; color: var(--ink); }
.c793-agency > div { font-size: 15px; line-height: 1.7; }
.c768-content > div:not([class]) > p { margin: 8px 0 16px; }
/* 하위 범위 안내·최종 업데이트·근거 칸 = 허브의 검토 변호사 박스(18절)와 같은 모양(UD-1008): 안쪽 회색 카드 없이 글 줄만, 사이 구분선 */
#c773-section-3 .c787-align-group { display: flex; flex-direction: column; gap: 6px; }
#c773-section-3 .c768-card { padding: 0; border-radius: 0; background: none; color: var(--ink-3); font-size: 16px; line-height: 1.85; }
#c773-section-3 .c768-card + .c768-card { padding-top: 8px; border-top: 1px solid #e8e4df; }
#c773-section-3 .c768-card p { margin: 0 0 6px; font-size: 16px; line-height: 1.85; }
#c773-section-3 .c768-card p.c877-updated { color: var(--ink-3); }
#c773-section-3 .c768-card details p { font-size: 14px; }
#c773-section-3 > p { margin-top: 8px; margin-bottom: 0; padding-top: 8px; color: var(--ink-4); font-size: 16px; line-height: 1.85; }   /* UD-1054: 좌우 여백은 4절(PC 글 칸 1080 가운데)을 따름 — 근거·출처 줄 시작선 = 글 칸 시작선 */
.c877-updated { white-space: nowrap; }
.c877-updated strong { color: var(--ink-3); font-weight: 400; }

/* ---------- 18. 검토 변호사 카드(본 페이지 검토 변호사 1번) ---------- */
/* 너비 = 다른 섹션 카드(UD-1006): 바깥 카드 칸 1320·안쪽 글 칸 1080, 안쪽 여백 = 섹션 여백 */
.page-byline { width: min(var(--col), calc(100% - 2 * var(--gutter))); margin: var(--gap) auto 0; padding: var(--pad); border-radius: 20px; background: var(--surface); }
.page-byline p { margin: 0 0 6px; color: var(--ink-3); font-size: 16px; line-height: 1.85; }
/* 「검토 변호사」 줄과 「광고책임변호사」 줄 글자 크기·굵기 같게(대표님 「광고책임변호사 텍스트 크기 다른건」) */
.page-byline strong { margin: 0; color: inherit; font-weight: inherit; }
.page-byline .byline-note { margin: 8px 0 6px; padding-top: 8px; border-top: 1px solid #e8e4df; font-size: 14px; }
.page-byline .lkx-cite { margin: 0; padding-top: 8px; color: var(--ink-4); }
@media (min-width: 821px) { .page-byline > :is(p, div, .byline-note, .lkx-cite) { max-width: var(--inner); margin-left: auto; margin-right: auto; } }

/* ---------- 19. 공식 웹사이트·유사 사이트 주의·담당 확인 ---------- */
.lk-notice { margin-top: var(--gap); padding: 24px 0; font-size: 16px; line-height: 1.8; }
.lk-notice-site { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 16px 18px; border-radius: 20px; background: var(--surface); }
.lk-notice-ico { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, white); color: var(--brand); }   /* 센터 색 8%(이혼 = #f6eff4) */
.lk-notice-ico svg { width: 24px; height: 24px; }
.lk-notice-site-txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; min-width: 0; }
.lk-notice-site-k { color: var(--ink-3); font-size: 15px; line-height: 1.5; font-weight: 600; }
.lk-notice-url { color: var(--brand); font-size: 20px; line-height: 1.3; font-weight: 800; }
.lk-notice-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lk-notice-card { padding: 24px 20px; border-radius: 20px; background: var(--surface); }
.lk-notice-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 24px; line-height: 1.45; font-weight: 750; }
.lk-notice-p { color: var(--ink-3); font-size: 15px; line-height: 1.85; }
.lk-notice-p + .lk-notice-p { margin-top: 14px; }
.lk-notice-p strong { color: var(--ink); font-size: 16px; }
.lk-notice-check { margin-top: 24px; }
.lk-notice-check-h { margin-bottom: 12px; font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--ink); }
/* 확인 칸 사이 12(C877 10 에서 바꿈, U3) */
.lk-notice-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lk-notice-list > li { padding: 12px 14px; border-radius: 14px; background: var(--card-gray); }
.lk-notice-k { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.5; font-weight: 600; }
.lk-notice-v { display: block; margin-top: 2px; color: var(--ink); font-size: 15px; line-height: 1.55; font-weight: 700; }
@media (min-width: 821px) {
  .lk-notice { padding: 40px 0; }
  .lk-notice-site { margin-bottom: 20px; gap: 16px; }
  .lk-notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk-notice-check { margin-top: 28px; }
  .lk-notice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk-notice-list > li { padding: 14px 16px; border-radius: 16px; }
  .lk-notice-ico { width: 44px; height: 44px; border-radius: 14px; }
  .lk-notice-p { font-size: 16px; }
}

/* ---------- 20. 바닥글(#2c2c2c, 모든 줄 같은 크기 12px — UD-943) ---------- */
/* 어두운 띠는 안쪽 div 가 화면 끝까지 칠한다(판정기 U5, 화면은 같음) */
footer { margin-top: var(--gap); color: var(--footer-ink); font-size: 12px; line-height: 1.8; font-weight: 400; }
footer > div { padding: 36px max(20px, calc((100% - var(--inner)) / 2)); background: var(--footer); }
footer p, footer div, footer address { font-size: 12px; line-height: 1.8; font-weight: 400; color: var(--footer-ink); }
footer > div > div:first-child > div:first-child:not(.finfo) { color: #fff; font-weight: 700; }  /* 하위 쪽 법인 이름 줄 */
footer a, footer a.c768-link:not(.c768-link-card) { color: inherit; text-decoration: none; }   /* 바닥글 안 본문 링크 이름(.c768-link)도 바닥글 글자색 */
footer a[href="/privacy/"] { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
footer .fin, footer > div > div { display: flex; flex-direction: column; gap: 28px; }
footer .fin > div, footer > div > div > div { display: block; }
footer .fin > .flinks, footer > div > div:last-child:not(.fin) { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; }
footer .fdisc { margin-top: 10px; }
footer .c787-hero-notice { margin-top: 8px; }
/* 휴대폰·태블릿: 아래 고정 바 높이만큼 바닥글 안쪽 아래를 늘려 글이 바에 가리지 않게 */
footer > div { padding-bottom: calc(36px + var(--bar-h)); }
body:has(footer) { padding-bottom: 0; }
@media (min-width: 821px) {
  footer > div { padding-bottom: 36px; }
  footer .fin { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
  footer .fin > div:not(.flinks) { max-width: 505px; }
}

/* ---------- 21. 아래 고정 상담 바(허브·하위 같은 모양, 820px 까지) — C877 값(79px) ---------- */
.mobile-bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid #e8e4df; background: var(--surface); box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}
.mbb-btn {
  display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 0; height: 58px; padding: 8px 4px; border: 0; border-radius: 3px;
  font-size: 10px; line-height: 17px; font-weight: 500; letter-spacing: 0.3px; text-decoration: none; white-space: nowrap;
}
.mbb-btn svg { width: 20px; height: 20px; }
.mbb-btn--call { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.mbb-btn--kakao { background: var(--kakao); color: #191919; }
.mbb-btn--consult { background: var(--brand); color: #fff; }
@media (min-width: 821px) { .mobile-bottom-bar { display: none; } }

/* ---------- 22. PC 오른쪽 떠 있는 상담 메뉴 ---------- */
.float-nav { display: none; }
@media (min-width: 821px) {
  .float-nav { position: fixed; right: 8px; top: 50%; z-index: 40; display: flex; flex-direction: column; gap: 8px; transform: translateY(-50%); }
  .float-nav > :is(a, button) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink-2); font-size: 10px; line-height: 1.3; font-weight: 700; text-decoration: none; }
  .float-nav > :is(a, button) svg { width: 18px; height: 18px; }
  .float-nav > a[href*="kakao"] { border-color: var(--kakao); background: var(--kakao); color: #191919; }
}

/* ---------- 23. 상담 팝업·접수 완료 창 ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.55); }
.modal-overlay.open { display: flex; }
.modal-card { position: relative; width: min(520px, 100%); max-height: 88vh; overflow-y: auto; padding: 24px; border-radius: 20px; background: var(--surface); }
.modal-close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; color: var(--ink-3); font-size: 22px; line-height: 1; }
.modal-close svg { width: 20px; height: 20px; }
.lk-success-overlay { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 34, 43, 0.58); }
.lk-success-card { position: relative; width: min(440px, 100%); padding: 28px 24px 24px; border-radius: 20px; background: var(--surface); text-align: center; }
.lk-success-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 22px; }
.lk-success-icon { display: flex; justify-content: center; margin-bottom: 12px; color: var(--brand); }
.lk-success-icon svg { width: 40px; height: 40px; }
.lk-success-card h2 { font-size: 20px; }
.lk-success-card p { margin-top: 8px; color: var(--ink-3); font-size: 15px; line-height: 1.7; }
.lk-success-notes { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--card); text-align: left; }
.lk-success-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.lk-success-actions a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; }
.lk-success-actions svg { width: 16px; height: 16px; }
.lk-success-call { border: 1px solid #d1d6db; color: var(--navy); }
.lk-success-kakao { background: var(--kakao); color: #191919; }
.lk-success-confirm { width: 100%; height: 48px; margin-top: 12px; border: 0; border-radius: 12px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 700; }
.lk-phone-error { display: block; margin: 4px 0 0; color: #c0392b; font-size: 13px; }
.lk-phone-invalid { border-color: #c0392b; }

/* ---------- 23-2. 첫 화면 넘치는 쪽만 히어로 요약 목록 접기(C885, UD-1049 ②) ----------
   생성기가 넘치는 쪽 히어로에 data-lk-compact 를 붙이고 요약 목록을 <details class="lk-hero-fold"> 로 감쌈. 스크립트 없이 눌러서 펼침.
   휴대폰(820 이하) = 접힌 채 「핵심 요약 보기」 한 줄, PC(821~) = 줄 숨기고 목록 그대로. 이 속성이 없는 쪽(이혼 확정 기준 포함)은 영향 0. */
[data-lk-compact] .lk-hero-fold { margin: 0 0 12px; }
[data-lk-compact] .lk-hero-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.88); color: var(--ink-2); font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; list-style: none; }
[data-lk-compact] .lk-hero-fold > summary::-webkit-details-marker { display: none; }
[data-lk-compact] .lk-hero-fold > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
[data-lk-compact] .lk-hero-fold[open] > summary { margin-bottom: 8px; }
[data-lk-compact] .lk-hero-fold[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
[data-lk-compact] .lk-hero-fold > .c768-hero-list { margin-bottom: 0; }
@media (min-width: 821px) {
  [data-lk-compact] .lk-hero-fold > summary { display: none; }
  [data-lk-compact] .lk-hero-fold::details-content { display: block; content-visibility: visible; }
  [data-lk-compact] .lk-hero-fold > .c768-hero-list { margin-bottom: 22px; }
}

/* ---------- 24. 스크립트가 넣는 아이콘(c854 SVG)·숨김 ---------- */
svg.c854-icon { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.125em; }
/* hidden 속성은 언제나 숨김(파일 끝) */
[hidden] { display: none; }

.c698-justify{text-align:justify;text-align-last:left;}
@media(max-width:767px){p.c698-justify{word-break:break-all;}}
/* 1. 소제목 줄바꿈: 어절 단위로만, 괄호·조문 묶음(.lk-nobr)은 한 줄 */
.lk-content h2, .lk-content h3, .c786-content h2, .c786-content h3 { word-break: keep-all; overflow-wrap: anywhere; }
.lk-nobr { white-space: nowrap; }

/* 2. 본문 표 = 토스 카드 표(테두리선 0, 행 카드) */
.lk-content table, .c786-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 0; font-size: 15px; line-height: 1.6; color: #333d4b; }
.lk-content table thead th, .c786-content table thead th { padding: 10px 12px; font-size: 13px; font-weight: 700; color: #6b7684; background: transparent; border: 0; border-bottom: 1px solid #eef0f3; text-align: left; }
.lk-content table tbody td, .c786-content table tbody td { padding: 14px 12px; border: 0; border-bottom: 1px solid #f2f4f6; vertical-align: top; }
.lk-content table tbody tr:last-child td, .c786-content table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 480px) {
  .lk-content table, .c786-content table { display: block; }
  .lk-content table thead, .c786-content table thead { display: none; }
  .lk-content table tbody, .lk-content table tbody tr, .c786-content table tbody, .c786-content table tbody tr { display: block; }
  .lk-content table tbody tr, .c786-content table tbody tr { margin: 0 0 12px; padding: 14px 16px; border-radius: 16px; background: #f7f8fa; }
  .lk-content table tbody td, .c786-content table tbody td { display: block; padding: 4px 0; border: 0; }
  .lk-content table tbody td[data-th]::before, .c786-content table tbody td[data-th]::before { content: attr(data-th); display: block; margin: 0 0 2px; font-size: 12px; font-weight: 700; color: #8b95a1; }
  .lk-content table tbody td:first-child, .c786-content table tbody td:first-child { font-weight: 700; color: #191f28; }
}

/* 3. 장점 카드 안 간격 — 번호(장점 01) → 제목 → 첫 문단 → 다음 문단 (휴대폰 8/10/12 · PC 10/12/16) · v1.1(11-08 대표님 「제목과 하의 문장 붙어 있음」) */
.c698-why-card .widx, .c698-why-card .c720-number { margin: 0 0 8px; }
.c698-why-card h3 { margin: 0 0 10px; line-height: 1.35; }
.c698-why-card p { margin: 0; }
.c698-why-card p + p { margin-top: 12px; }
@media (min-width: 821px) {
  .c698-why-card .widx, .c698-why-card .c720-number { margin-bottom: 10px; }
  .c698-why-card h3 { margin-bottom: 12px; }
  .c698-why-card p + p { margin-top: 16px; }
}

/* 4. 사건 대화방(#case-room, C861 원문 조각) — 단지 정본 chat.css 를 범위만 바꿔 옮김 */
#case-room .lkx-room, .c794-case-room .lkx-room { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,380px); gap: 32px; align-items: center; background: color-mix(in srgb, var(--brand, #8b1a2e) 7%, #fff); border-radius: 28px; padding: 40px 44px; }
#case-room .lkx-room-eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--brand, #8b1a2e); }
#case-room .lkx-room-title { margin: 0 0 12px; font-size: 27px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; color: #191f28; }
#case-room .lkx-room-lead { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: #333d4b; }
#case-room .lkx-room-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
#case-room .lkx-room-points li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 700; color: #333d4b; }
#case-room .lkx-room-points li::before { content: ""; position: absolute; left: 3px; top: .28em; width: 6px; height: 11px; border: solid var(--brand, #8b1a2e); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
#case-room .lkx-chat { margin: 0; background: #fff; border-radius: 22px; box-shadow: 0 14px 36px rgba(25,31,40,.10); overflow: hidden; }
#case-room .lkx-chat-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #eef0f3; }
#case-room .lkx-chat-head b { font-size: 14px; font-weight: 700; color: #191f28; }
#case-room .lkx-chat-head em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #8b95a1; }
#case-room .lkx-chat-body { display: grid; gap: 10px; padding: 14px 14px 16px; background: #f2f4f7; }
#case-room .lkx-day { justify-self: center; padding: 3px 12px; border-radius: 999px; background: #e5e8eb; font-size: 11.5px; color: #6b7684; }
#case-room .lkx-msg { display: flex; gap: 8px; align-items: flex-start; max-width: 92%; }
#case-room .lkx-msg b { display: block; margin: 0 0 3px; font-size: 11.5px; font-weight: 700; color: #4e5968; }
#case-room .lkx-msg p { margin: 0; padding: 9px 12px; border-radius: 4px 16px 16px 16px; background: #fff; font-size: 13.5px; line-height: 1.55; color: #191f28; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
#case-room .lkx-msg-r { justify-self: end; max-width: 80%; }
#case-room .lkx-msg-r p { border-radius: 16px 4px 16px 16px; background: var(--brand, #8b1a2e); color: #fff; }
#case-room .lkx-av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #d1d6db; color: #fff; font-size: 12px; font-weight: 700; }
#case-room .lkx-av-team { background: var(--brand, #8b1a2e); font-size: 10px; letter-spacing: .02em; }
#case-room .lkx-doc { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 116px; margin: 6px 0 0 auto; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
#case-room .lkx-doc i { display: block; height: 44px; border-radius: 3px; background: repeating-linear-gradient(#f2f4f6 0 5px, #d9dde2 5px 6px); }
#case-room .lkx-file { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; color: #333d4b; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
#case-room .lkx-file::before { content: ""; width: 13px; height: 16px; border-radius: 2px; background: #e5e8eb; box-shadow: inset 0 -4px 0 color-mix(in srgb, var(--brand, #8b1a2e) 55%, #fff); }
#case-room .lkx-chat figcaption { padding: 10px 16px 14px; font-size: 11.5px; line-height: 1.5; color: #8b95a1; background: #f2f4f7; }
@media (max-width: 820px) {
  #case-room .lkx-room, .c794-case-room .lkx-room { grid-template-columns: 1fr; gap: 22px; padding: 28px 20px; border-radius: 24px; }
  #case-room .lkx-room-title { font-size: 21px; }
  #case-room .lkx-room-lead { font-size: 15.5px; }
}
/* ===== /lk2-sub v1 ===== */
/* ===== p2_select_unify v2 (11-14) 상담 폼 선택 상자 한 벌 — 감싸개(.lk2-select) 없는 select 를 기준 모양으로(UD-1723 · UD-973 한 벌 CSS) =====
   값 원문: 허브 lk2-live-patch · 자영업 lk2-v10-patch · 단지 c992/828dae63….css 의 같은 14줄(6·H·M 절) + 그 쪽들 lk2-clean 칸 규칙이 함께 걸린 실측 모양.
   다른 점 하나: select 는 ::after 를 못 가지므로 M 절 화살표(같은 그림 · 16px · 오른쪽 18px · 세로 가운데)를 select 배경으로 그림. */
html body :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) select:not(.lk2-select > select) { display: block; width: 100%; box-sizing: border-box; height: auto; min-height: 0; padding: 13px 15px; border: 1px solid transparent; border-radius: 12px; background-color: var(--page); color: var(--ink-2); font: inherit; font-size: 16px; line-height: 1.6; outline: none; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%238b95a1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 16px 16px; background-origin: border-box; }
html body :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) select:not(.lk2-select > select):has(option[value=""]:checked) { color: var(--ink-4, #6b7684); }
html body :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) select:not(.lk2-select > select):focus-visible { outline: 2px solid var(--brand, #263d63); outline-offset: 1px; }
@media (min-width: 821px) {
  html body :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) select:not(.lk2-select > select) { font-size: 14px; }
}
/* 오른쪽 여백 44 — M 절 원문 「고른 뒤 글이 화살표와 겹치지 않게 오른쪽 여백 44」(11-14 메인 결정: 375 폭 긴 선택지가 화살표 밑으로 = 결함). 칸 규칙(0,3,1)·lk2-hero-tight 의 #hero-status.ff(1,1,1)에 지던 것을 감싼·맨 select 모두에 세기 (1,3,2) 로 */
html body :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(.lk2-select > select.ff, select:not(.lk2-select > select), #hero-status.ff) { padding-right: 44px; }
/* ===== p2_select_unify v2 끝 ===== */
