@charset "UTF-8";
/* =========================================================================
   geo.css — GEO 사이트 다중 페이지용 추가 규칙
   기반: 디자인 시스템 사본(tokens.css · fonts.css · styles.css, 그대로 사용)
   규칙: 색·크기·간격·곡률은 tokens.css 토큰만 사용 (직접 값은 기하·분기점만)
   분기점은 원본과 동일: 1080px(메뉴), 860px(히어로), 760px(그리드)
   ========================================================================= */

/* ---------- 공통 ---------- */
.wrap { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.small { font-size: var(--type-small); }
.muted { color: var(--text-muted); }
main.geo-main { background: var(--surface-page); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.button span[aria-hidden="true"] { line-height: 1; }
/* 금색 버튼 hover: 밝아지지 않고 한 단계 진해짐 (원본 --action-primary-hover 는 gold-light) */
:root { --action-primary-hover: color-mix(in srgb, var(--gold) 84%, var(--teal-black)); }

/* ---------- 헤더: 하위 메뉴(정적 HTML, CSS로 표시만) ---------- */
.geo-nav > ul { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
/* 헤더 글자 크기: 브랜드·메뉴 모두 17px (--type-body 16 ~ --type-lead 18 사이, 토큰 없음) */
.geo-nav, .brand-copy strong { font-size: 1.0625rem; }
.geo-nav li { margin: 0; }

/* 작은 라벨(.eyebrow) 글자 크기 16px — 14px 는 가독성 부족 */
.eyebrow, .hero .eyebrow, .hero-content .eyebrow { font-size: var(--type-body); }
.geo-nav .has-sub > a { position: relative; }
.geo-nav .has-sub > a::before { content: "\25BE"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); font-size: .7em; color: var(--text-muted); }
.geo-nav .has-sub { margin-right: var(--space-4); }
/* li 는 static → .sub 의 기준이 sticky .nav-shell 이 되어 헤더 바(border) 바로 아래로 떨어진다 */
.geo-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--space-6); }
.geo-nav .sub { position: absolute; top: 100%; min-width: 260px; margin: var(--space-2) 0 0; padding: var(--space-3);
  list-style: none; background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 120; }
.geo-nav .has-sub:hover > .sub, .geo-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.geo-nav .sub a { display: block; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; white-space: nowrap; }
.geo-nav .sub a::after { display: none; }
.geo-nav .sub a:hover { background: var(--surface-subtle); color: var(--text-accent); }

/* 모바일 메뉴: <details> 기반(링크 전부 HTML에 존재) — 원본 .mobile-nav 시각 규격 재사용 */
.geo-mnav { margin-left: auto; }
.geo-mnav > summary { list-style: none; cursor: pointer; }
.geo-mnav > summary::-webkit-details-marker { display: none; }
.geo-mnav[open] > .mobile-nav { opacity: 1; visibility: visible; transform: none; max-height: calc(100vh - 120px); overflow-y: auto; }
.geo-mnav-panel ul { list-style: none; margin: 0; padding: 0; }
.geo-mnav-panel > ul > li > a { display: block; padding: var(--space-4); border-bottom: 1px solid var(--line); font-weight: 800; }
.geo-mnav-panel ul ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-4); padding: var(--space-3) 0 var(--space-4) var(--space-4); }
.geo-mnav-panel ul ul a { display: block; padding: var(--space-2) 0; color: var(--text-muted); font-size: var(--type-small); font-weight: 600; border: 0; }
.geo-mnav-panel .button { margin-top: var(--space-5); width: 100%; }
@media (min-width: 1081px) { .geo-mnav { display: none; } }
@media (max-width: 1080px) { .geo-nav { display: none; } }
@media (max-width: 480px) { .geo-mnav-panel ul ul { grid-template-columns: 1fr; } }

/* ---------- 푸터 (원본 .site-footer 규격, 열 구성만 메뉴 그룹) ---------- */
.geo-footer-grid { display: flex; align-items: center; justify-content: space-between; gap: var(--space-7); grid-template-columns: none; padding-bottom: var(--space-5); }
.footer-nav { display: flex; flex: 1; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-3) var(--space-5); font-size: var(--type-small); }
.footer-nav a { color: var(--overlay-white-72); }
.footer-nav a:hover { color: var(--gold-light); }
.legal-notice p:first-child { font-weight: 700; }
/* 푸터 링크 행 — 화면에는 표시하지 않되 정적 HTML에 유지 (GEO 02 내부링크 삼중 구조, GEO 05 display:none 허용) */
.geo-footer-sitemap { display: none; }
@media (max-width: 1080px) { .geo-footer-grid { flex-direction: column; align-items: flex-start; gap: var(--space-6); } .footer-nav { justify-content: flex-start; } }

/* ---------- 공통 상담 CTA (원본 .final-cta) ---------- */
/* 하단 CTA — 푸터와 같은 진한 바탕 위의 흰 카드 (푸터의 첫 블록처럼 이어짐) */
.geo-final-cta { background: var(--teal-deep); color: var(--text-primary); padding: var(--space-8) 0 0; }
.geo-final-cta .final-cta-inner { align-items: center; padding: var(--space-6) var(--space-9); background: var(--surface-card); border: 1px solid var(--line); border-bottom: 3px solid var(--gold); border-radius: var(--radius-lg); box-shadow: 0 12px 35px var(--overlay-teal-deep-4); }
.geo-final-cta h2 { font-family: var(--serif); color: var(--teal-deep); font-size: var(--type-title-xl); letter-spacing: -.04em; margin: 0 0 var(--space-4); line-height: 1.4; }
.geo-final-cta p, .geo-final-cta p:not(.eyebrow) { max-inline-size: 40em; margin: 0; color: var(--text-muted); }
.geo-final-cta .button-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.geo-final-cta .button-ghost:hover { background: var(--surface-subtle); }
.geo-final-cta + .site-footer, main + .site-footer { padding-top: var(--space-9); }
.final-actions { display: flex; flex-direction: column; gap: var(--space-4); min-width: 240px; }
@media (max-width: 760px) { .geo-final-cta .final-cta-inner { padding: var(--space-6) var(--space-5); gap: var(--space-6); } .final-actions { min-width: 0; } }

/* =========================================================================
   HOME
   ========================================================================= */
.geo-hero-sub { max-width: 34em; line-height: 1.6; }
.hero-attorney a { color: var(--gold-light); }
.hero-attorney a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero .hero-actions { margin-top: var(--space-6); }

/* 히어로 (design3 D안): 제목 → 변호사 경력 줄 → 핵심 수치 3칸 → 버튼. 제목은 --type-display, 칩 배경 없음 */
.hero h1 { font-size: var(--type-display); letter-spacing: -.03em; }
.hero h1 em { background: none; color: var(--gold-light); }
.hero-attorney { padding: var(--space-4) var(--space-5); border-left: 3px solid var(--gold); background: var(--overlay-teal-black-72); font-size: var(--type-small); line-height: 1.7; max-width: 46em; }
.geo-hero-facts { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: 0; }
.geo-hero-facts > div { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4) var(--space-5); min-width: 200px; background: var(--overlay-teal-black-72); border: 1px solid var(--overlay-white-24); border-radius: var(--radius-md); color: var(--text-inverse); }
.geo-hero-facts b { font: 700 var(--type-lead)/1.4 var(--serif); color: var(--text-inverse); }
.geo-hero-facts span { font-size: var(--type-small); color: var(--text-inverse-muted); }
.geo-hero-facts span a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { .geo-hero-facts > div { flex: 1 1 100%; } }

/* 히어로 세로 여백 — 사장님 선택안: 1단계 (variants-hero 기준, 1440x900 에서 위 92px · 아래 130px)
   문구를 위로 올리고(상단 정렬) 영역 사이를 벌린다. 화면 높이(vh)에 비례해 낮은 노트북에서도 버튼이 첫 화면 안에 들어오게 한다.
   묶음: [라벨+제목] · [경력 줄+수치 3칸] · [버튼]. 제목 줄간격 1.45 */
.hero-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
.hero-content > * { margin: 0; }
.hero h1 { line-height: 1.45; }
.hero-content > .eyebrow { margin-bottom: clamp(var(--space-5), 3.9vh, var(--space-7)); }
.hero-content > h1 { margin-bottom: clamp(var(--space-8), 9vh, var(--space-11)); }
.hero-content > .hero-attorney { margin-bottom: var(--space-5); }
.hero-content > .geo-hero-facts { margin-bottom: clamp(var(--space-7), 7vh, var(--space-10)); }
.hero-content > .hero-actions { margin-top: var(--space-3); }
.hero-grid { padding-block: clamp(var(--space-8), 8vh, var(--space-11)); }
/* 데스크톱: 내용을 영역 가운데가 아니라 위쪽부터 시작 (원본 .hero-grid 의 align-items:center 해제) */
@media (min-width: 861px) { .hero { align-items: flex-start; } .hero-grid { align-items: start; padding-top: clamp(var(--space-7), 9.8vh, var(--space-11)); } }
/* 모바일(사장님 선택: 모바일 시안 1) — 390×844 첫 화면 안에 맨 아래 버튼까지.
   얼굴은 위에 그대로 두고 문구는 얼굴 아래(약 218px)에서 시작, 하단 고정 상담 바(.quick-contact, 높이 61px) 위에 버튼이 오도록 간격을 조임, 수치 3칸은 한 줄 3열, 라벨 앞 가로선 제거 */
@media (max-width: 760px) {
  .hero { min-height: 0; align-items: flex-start; }
  .hero-grid { padding-block: calc(var(--layout-offset-250) - var(--space-7)) var(--space-6); }
  .hero .eyebrow > span { display: none; }
  .hero .eyebrow { font-size: var(--type-small); }
  .hero h1 { font-size: 1.75rem; line-height: 1.4; }
  .hero-content > .eyebrow { margin-bottom: var(--space-3); }
  .hero-content > h1 { margin-bottom: var(--space-5); }
  .hero-content > .hero-attorney { font-size: var(--type-small); line-height: 1.6; padding: var(--space-2) var(--space-4); margin-bottom: var(--space-3); }
  .hero-content > .geo-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); width: 100%; margin-bottom: var(--space-5); }
  .geo-hero-facts > div { flex: none; min-width: 0; padding: var(--space-3); gap: var(--space-2); border-radius: var(--radius-md); }
  .geo-hero-facts b { font-size: var(--type-small); line-height: 1.35; }
  .geo-hero-facts span { font-size: var(--type-small); line-height: 1.4; }
  .hero-content > .hero-actions { margin-top: 0; display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); width: 100%; }
  .hero-actions .button { min-height: var(--control-min); justify-content: center; text-align: center; padding-block: var(--space-3); }
}

/* 버튼 라운드: 알약형(999px) → 완만한 모서리 */
.button { border-radius: var(--radius-sm); }
/* 버튼 글자 크기 17px 통일 (헤더 글자 크기와 동일, 토큰 없음) */
.button, .hero-actions .button, .location-actions .button, .diagnosis-live .button, .office-guide-actions .button, form.contact button { font-size: 1.0625rem; }

/* 30초 요약 — 원본 .attorney-philosophy(크림 박스) */
.geo-summary-section { padding-top: var(--space-9); padding-bottom: var(--space-9); }
.geo-summary { display: block; margin-top: 0; padding: var(--space-8) var(--space-9); }
.geo-summary .eyebrow { margin-bottom: var(--space-4); }
.geo-summary-text { margin: 0; font: 600 var(--type-title-sm)/1.8 var(--serif); color: var(--teal-deep); letter-spacing: -.02em; }
.geo-summary-meta { margin: var(--space-5) 0 0; color: var(--text-muted); font-size: var(--type-small); }
@media (max-width: 760px) { .geo-summary { padding: var(--space-6) var(--space-5); } .geo-summary-text { font-size: var(--type-lead); } }

/* 자주 묻는 질문 — 원본 .risks-section · .risk-accordion 규격을 링크 목록으로 */
.geo-faq .risk-intro { margin-bottom: var(--space-7); }
.geo-qlist { list-style: none; margin: 0 auto; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-9); }
.geo-qlist li { margin: 0; border-top: 1px solid var(--overlay-white-16); }
.geo-qlist li:nth-last-child(-n+2) { border-bottom: 1px solid var(--overlay-white-16); }
@media (max-width: 860px) { .geo-qlist { grid-template-columns: 1fr; } .geo-qlist li:last-child { border-bottom: 1px solid var(--overlay-white-16); } }
.geo-q { display: grid; grid-template-columns: 48px minmax(0, 1fr) 34px; column-gap: var(--space-5); align-items: center; padding: var(--space-6) 0; color: var(--paper); }
.geo-q .risk-index { padding-top: 0; align-self: start; padding-top: var(--space-2); }
.geo-q h3 { margin: 0; color: var(--paper); font: 700 var(--type-title-md)/1.5 var(--serif); letter-spacing: -.035em; transition: color .24s ease, text-shadow .24s ease; }
.geo-q-desc { color: var(--overlay-white-72); font-size: var(--type-body); }
.geo-q-arrow { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--overlay-white-24); border-radius: var(--radius-circle); color: var(--overlay-white-72); transition: border-color .25s, color .25s, transform .25s; }
.geo-q:hover h3, .geo-q:focus-visible h3 { color: var(--gold-light); text-shadow: 0 0 18px var(--overlay-gold-light-24); }
.geo-q:hover .geo-q-arrow { border-color: var(--overlay-gold-60); color: var(--gold-light); transform: translateX(3px); }
.geo-q:focus-visible { outline: 3px solid var(--overlay-gold-32); outline-offset: 5px; border-radius: var(--radius-sm); }
@media (max-width: 760px) {
  .geo-q { grid-template-columns: 44px minmax(0, 1fr) 34px; column-gap: var(--space-4); padding: var(--space-5) 0; }
  .geo-q .risk-index { font-size: var(--type-title-sm); }
  .geo-q h3 { font-size: var(--type-lead); }
  .geo-q-desc { font-size: var(--type-small); }
}

/* 제목 크기 체계: h1 히어로 52px(가변) > 섹션 h2 40px > h3 24px, 푸터 열 제목 16px */
.section:not(.geo-final-cta) h2, .section-heading h2 { font-size: clamp(var(--type-title-lg), 5vw, 2.5rem); }

/* 다른 점 — 원본 .attorney-perspective / .attorney-reasons */
.geo-diff .attorney-perspective { margin-top: 0; padding-top: 0; }
.geo-diff h2 { margin-bottom: var(--space-7); }
.attorney-reasons h3 { font: 650 var(--type-title-md)/1.4 var(--serif); color: var(--gold-light); margin: var(--space-4) 0; letter-spacing: normal; }
.geo-diff-links { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-7) 0 0; }
@media (max-width: 760px) { .attorney-reasons { grid-template-columns: 1fr; } .geo-diff-links .button { flex: 1 1 100%; } }

/* 성공사례 — 원본 .case-card */
.geo-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.geo-case-grid .case-card { min-height: 220px; padding: var(--space-7); color: var(--text-primary); transition: transform .2s, box-shadow .2s; }
.geo-case-grid .case-card small { margin: 0; }
.geo-case-grid .case-card h3 { font-size: var(--type-title-md); margin: var(--space-4) 0 var(--space-6); }
.geo-case-grid .case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.geo-case-all { background: var(--surface-page); }
.geo-card-arrow { margin-top: auto; align-self: flex-end; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--overlay-gold-40); border-radius: var(--radius-circle); color: var(--text-accent); background: var(--surface-subtle); }
@media (max-width: 760px) { .geo-case-grid { grid-template-columns: 1fr; } .geo-case-grid .case-card { min-height: 0; padding: var(--space-6); } }

/* =========================================================================
   내부 페이지 (법률정보·프로필·사례·뉴스레터·상담)
   긴 본문은 마케팅 섹션보다 촘촘하게 — design.md(Bankruptcy) 4.3.2 읽기 규칙
   ========================================================================= */
.geo-page { padding: var(--space-9) 0 var(--space-11); }
/* 본문 영역은 .wrap(--container) 전체 폭 사용 — 개별 max-width 제한 없음 */
.geo-page a:not(.button):not(.card):not(.geo-q) { color: var(--teal); text-decoration: underline; text-decoration-color: var(--overlay-gold-50); text-underline-offset: 3px; }
.geo-page a:not(.button):not(.card):hover { color: var(--text-accent); }
.crumb { font-size: var(--type-body); color: var(--text-muted); margin-bottom: var(--space-5); }
.geo-page .crumb a { color: var(--text-muted); text-decoration: none; }
.geo-page .crumb [aria-current="page"] { color: var(--text-primary); font-weight: 800; }
.geo-page .crumb a:hover { color: var(--text-accent); text-decoration: underline; }
.geo-page h1 { margin: 0 0 var(--space-5); font: 650 var(--type-title-xl)/1.4 var(--serif); letter-spacing: -.04em; color: var(--teal-deep); text-wrap: balance; }
.geo-page h2 { margin: var(--space-9) 0 var(--space-5); padding-top: var(--space-6); border-top: 1px solid var(--line); font: 650 var(--type-title-md)/1.45 var(--serif); letter-spacing: -.03em; color: var(--teal-deep); }
.geo-page h3 { margin: var(--space-6) 0 var(--space-3); font: 650 var(--type-title-sm)/1.45 var(--serif); color: var(--teal-deep); }
.geo-page p, .geo-page li { line-height: 1.75; }
.geo-page ul, .geo-page ol { padding-left: var(--space-6); }
.geo-page li { margin-bottom: var(--space-3); }

/* 핵심 답변 — 원본 .risk-guidance(왼쪽 금색 선) 밝은 면 변형 */
.answer { margin: var(--space-6) 0 var(--space-5); padding: var(--space-6) var(--space-7); background: var(--surface-subtle); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: var(--type-lead); line-height: 1.8; color: var(--text-primary); }
.answer strong { display: block; margin-bottom: var(--space-3); color: var(--text-accent); font-size: var(--type-small); font-weight: 800; letter-spacing: .1em; }
.byline { margin: 0 0 var(--space-7); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); color: var(--text-muted); font-size: var(--type-small); }
@media (max-width: 760px) { .answer { padding: var(--space-5); font-size: var(--type-body); } .geo-page h1 { font-size: var(--type-title-lg); } }

/* 표 — 원본 .fee-table 구조를 밝은 면에 */
.tbl { margin: var(--space-5) 0 var(--space-6); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; border-collapse: collapse; font-size: var(--type-small); line-height: 1.65; }
.tbl table:has(th:nth-child(3), td:nth-child(3)) { min-width: 560px; }
.tbl th, .tbl td { padding: var(--space-4) var(--space-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--teal); color: var(--color-white); font-weight: 700; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { min-width: 6.5em; font-weight: 600; }
.tbl tbody tr:nth-child(even) td { background: var(--overlay-teal-deep-4); }

.law { margin: var(--space-3) 0 var(--space-6); padding: var(--space-3) var(--space-5); border-left: 2px solid var(--overlay-gold-50); background: var(--surface-subtle); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-muted); font-size: var(--type-small); }
.toc { margin: var(--space-5) 0 var(--space-6); padding: var(--space-5) var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); font-size: var(--type-small); }
.toc strong { display: block; margin-bottom: var(--space-3); color: var(--text-accent); letter-spacing: .1em; }
.toc ol { margin: 0; columns: 2; column-gap: var(--space-8); }
@media (max-width: 760px) { .toc ol { columns: 1; } }

/* FAQ — 원본 .risk-accordion 규격의 밝은 면 변형 */
.geo-page details { border-top: 1px solid var(--line); }
.geo-page details:last-of-type { border-bottom: 1px solid var(--line); }
.geo-page summary { position: relative; display: block; padding: var(--space-5) 0 var(--space-5) 36px; list-style: none; cursor: pointer; font: 650 var(--type-lead)/1.55 var(--serif); color: var(--teal-deep); }
.geo-page summary::-webkit-details-marker { display: none; }
.geo-page summary::before { content: "\25B6"; position: absolute; left: 0; top: var(--space-5); width: 24px; line-height: 1.55; font: 400 var(--type-small)/2.2 var(--sans); color: var(--text-muted); }
.geo-page details[open] > summary::before { content: "\25BC"; color: var(--text-accent); }
.geo-page summary:hover { color: var(--text-accent); }
.geo-page details > p { margin: 0 0 var(--space-6); padding-left: 36px; color: var(--text-primary); }

/* 저자 카드 — 원본 .attorney-photo-card 축소형 */
.author { display: grid; grid-template-columns: 112px 1fr; gap: var(--space-6); align-items: start; margin: var(--space-10) 0 var(--space-7); padding: var(--space-6);
  background: var(--surface-card); border: 1px solid var(--line); border-bottom: 3px solid var(--gold); border-radius: var(--radius-lg); box-shadow: 0 12px 35px var(--overlay-teal-deep-4); }
.author .photo { width: 112px; height: 140px; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius-md); background: var(--teal); }
.author .name { font: 700 var(--type-title-sm)/1.4 var(--serif); color: var(--teal-deep); }
.author ul { margin: var(--space-3) 0 0; padding-left: var(--space-5); font-size: var(--type-small); color: var(--text-muted); }
.author li { margin-bottom: var(--space-2); }
.author .rv { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--type-small); }
@media (max-width: 760px) { .author { grid-template-columns: 80px 1fr; gap: var(--space-5); padding: var(--space-5); } .author .photo { width: 80px; height: 100px; } }
.related { margin-top: var(--space-8); }

/* 허브·목록 카드 — 원본 .case-card */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: var(--space-5) 0 var(--space-6); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.card { display: flex; flex-direction: column; padding: var(--space-6); background: var(--surface-card); border: 1px solid var(--line); border-bottom: 3px solid var(--gold);
  border-radius: var(--radius-lg); box-shadow: 0 12px 35px var(--overlay-teal-deep-4); color: var(--text-primary); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.geo-page .card { text-decoration: none; color: var(--text-primary); }
.card h3 { margin: 0 0 var(--space-3); font: 650 var(--type-title-sm)/1.45 var(--serif); color: var(--teal-deep); }
.card p { margin: 0; color: var(--text-muted); font-size: var(--type-small); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid, .grid2 { grid-template-columns: 1fr; } }
.list-card { margin: 0 0 var(--space-4); padding: var(--space-6); background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.list-card .meta { margin-bottom: var(--space-3); color: var(--text-accent); font-size: var(--type-small); font-weight: 700; }
.list-card h3 { margin: 0 0 var(--space-3); }
.list-card p { margin: 0; color: var(--text-muted); font-size: var(--type-small); }
.geo-page .list-card h3 a { color: var(--teal-deep); text-decoration: none; }
.geo-page .list-card h3 a:hover { color: var(--text-accent); text-decoration: underline; }

/* 프로필 수치 — 원본 .trust-grid 밝은 면 변형 */
.stat { display: grid; grid-template-columns: repeat(4, 1fr); margin: var(--space-6) 0; background: var(--teal); border-radius: var(--radius-lg); overflow: hidden; }
.stat div { padding: var(--space-6); border-right: 1px solid var(--overlay-white-12); }
.stat div:last-child { border-right: 0; }
.stat b { display: block; font: 650 var(--type-title-md)/1.3 var(--serif); color: var(--gold-light); }
.stat span { display: block; margin-top: var(--space-3); color: var(--text-inverse-subtle); font-size: var(--type-small); line-height: 1.6; }
@media (max-width: 760px) { .stat { grid-template-columns: 1fr 1fr; } .stat div:nth-child(2) { border-right: 0; } .stat div:nth-child(-n+2) { border-bottom: 1px solid var(--overlay-white-12); } }

/* 파산진단 — 원본 .diagnosis-choice 규격 */
.check { display: grid; gap: var(--space-3); margin: var(--space-5) 0; }
.check label { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); cursor: pointer; line-height: 1.6; transition: border-color .2s, background .2s; }
.check label:hover { border-color: var(--border-selected); }
.check label:has(input:checked) { background: color-mix(in srgb, var(--gold) 16%, var(--white)); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); } /* 선택 상태가 한눈에 보이도록 (이전 8% 는 흰색과 구분이 안 됨) */
.check label:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold-dark, var(--color-gold-dark)); }
.score { margin: var(--space-6) 0; padding: var(--space-7); color: var(--color-white); background: var(--teal); border-radius: var(--radius-lg); --focus-ring: var(--focus-ring-inverse); }
.score .small { color: var(--text-inverse-subtle); }
.score b { margin-left: var(--space-3); font: 650 var(--type-title-lg) var(--serif); color: var(--gold-light); }
.score p { margin: var(--space-4) 0 var(--space-6); color: var(--text-inverse-muted); max-width: 40em; }

/* 폼 — 원본 상담 폼 입력 규격 */
form.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin: var(--space-6) 0; max-width: 820px; }
/* 상담 페이지: 폼(820px)과 같은 폭으로 모든 영역을 맞춘다 */
.geo-page:has(> form.contact) > * { max-width: 820px; }
.fld { display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--type-small); font-weight: 700; color: var(--text-primary); }
.fld.full { grid-column: 1 / -1; }
form.contact input, form.contact select, form.contact textarea { width: 100%; min-height: var(--control-height); padding: var(--space-4) var(--space-5); border: 1px solid var(--border-default); border-radius: var(--radius-md);
  background: var(--surface-card); color: var(--text-primary); font-size: var(--type-body); font-weight: 400; }
form.contact textarea { min-height: 120px; resize: vertical; }
form.contact input:focus-visible, form.contact select:focus-visible, form.contact textarea:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-color: var(--border-selected); }
form.contact button { grid-column: 1 / -1; min-height: 52px; }
@media (max-width: 760px) { form.contact { grid-template-columns: 1fr; } }

.geo-map-ph { min-height: 240px; display: grid; place-items: center; margin: var(--space-6) 0; padding: var(--space-6); text-align: center; color: var(--text-muted);
  background: var(--surface-subtle); border: 1px dashed var(--border-default); border-radius: var(--radius-lg); }

/* 모션 줄이기 */
@media (prefers-reduced-motion: reduce) {
  .geo-nav .sub, .geo-q h3, .geo-q-arrow, .card, .geo-case-grid .case-card { transition: none; }
}

/* =========================================================================
   변호사 프로필 — 홈처럼 섹션 단위(여백·배경 교차)로 구분
   ========================================================================= */
.geo-prof.geo-page { padding: var(--space-10) 0; }
.geo-prof h2 { margin: 0 0 var(--space-7); padding-top: 0; border-top: 0; }
.geo-prof-alt { background: var(--surface-subtle); }
.geo-prof-intro { background: linear-gradient(135deg, var(--color-cream), var(--color-paper)); }
.geo-prof-intro-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--space-10); align-items: center; }
.geo-prof-photo { margin: 0; }
.geo-prof-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border-bottom: 3px solid var(--gold); box-shadow: 0 20px 50px var(--overlay-teal-deep-4); }
.geo-prof-intro-text .byline { margin-bottom: 0; }
.geo-prof-stat { background: var(--teal); padding: var(--space-8) 0; }
.geo-prof-stat .stat { margin: 0; border-radius: 0; background: transparent; }
.geo-prof .attorney-reasons h3 { margin: var(--space-4) 0; font: 650 var(--type-title-md)/1.4 var(--serif); color: var(--gold-light); }
.geo-prof .attorney-reasons .reason-number { color: var(--gold-light); }
.geo-prof .attorney-reasons p { color: var(--cream); }
@media (max-width: 860px) { .geo-prof-intro-grid { grid-template-columns: 1fr; gap: var(--space-7); } .geo-prof-photo { max-width: 280px; } .geo-prof.geo-page { padding: var(--space-9) 0; } }

/* 프로필 h1 — 대구 줄바꿈: 이름 / 앞 구절(옅게) / 뒤 구절(진하게 + 금색 형광). 글자는 그대로, span 으로 줄만 나눈다 */
.geo-prof-note { margin: calc(var(--space-4) * -1) 0 0; color: var(--text-muted); font-size: var(--type-small); }
/* 프로필 경로(crumb) 위치를 다른 내부 페이지와 동일하게: 상단 여백 48px */
.geo-prof-intro.geo-page { padding-top: var(--space-9); }
.geo-prof-intro .crumb { margin-bottom: var(--space-7); }

/* 우측 하단 빠른 상담: 카카오톡 상담 + 맨 위로 (원본 .quick-contact 규격 재사용, 위치 안내는 제거) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.quick-contact .quick-kakao { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-circle); background: var(--gold); color: var(--teal-deep); box-shadow: 0 8px 22px var(--overlay-black-24); transition: background .2s, transform .2s; }
.quick-contact .quick-kakao svg { width: 24px; height: 24px; }
.quick-contact .quick-kakao:hover { background: var(--action-primary-hover); transform: translateY(-2px); }
@media (max-width: 760px) { .quick-contact { right: 12px; bottom: 14px; } }
/* 맨 위로: JS 가 켜졌을 때만 첫 화면(스크롤 400px 전)에서 숨기고, JS 가 없으면 항상 보이며 #top 앵커로 동작 */
.js-btt .quick-contact .back-to-top { display: none; }
.js-btt .quick-contact .back-to-top.is-visible { display: grid; }

/* 상담 신청: 제출 후 카카오톡으로 이어지는 안내 (내용은 클립보드 복사 + 채팅창 열기) */
.geo-kakao-status { margin: calc(var(--space-4) * -1) 0 var(--space-6); padding: var(--space-5); background: var(--surface-subtle); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-md); }
.geo-kakao-status[hidden] { display: none; }
.geo-kakao-status .geo-kakao-msg { margin: 0; font-weight: 700; color: var(--teal-deep); }
.geo-kakao-status p:last-child { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0 0; }

/* 항목이 많은 하위 메뉴(법률정보 17개)는 2열 */
.geo-nav .sub.sub-wide { min-width: 540px; columns: 2; column-gap: var(--space-3); }
.geo-nav .sub.sub-wide li { break-inside: avoid; }

/* =========================================================================
   디자인 점검 반영 (PDF 3주차 체크리스트: 타이포·정렬·여백·장식) — 전 페이지 공통
   ========================================================================= */
/* 타이포: 제목 자간 -3%(원본 -5~-6% 는 한글 제목이 답답함) */
.section h2, .section-heading h2, .final-cta h2 { letter-spacing: -.03em; }
/* 타이포: 긴 본문 줄 길이 820px 이하 (design.md 4.3.2 읽기 규칙 — 그동안 CSS 에 없었음) */
.geo-page :where(p, li, .answer, .law, .byline) { max-width: 820px; }
/* 문서형 페이지(.geo-article)는 제목 아래 모든 블록(표·목차·소제목 구분선·FAQ·저자·관련 글)을 본문과 같은 820px 줄에 맞춘다 */
.geo-page.geo-article > * { max-width: 820px; }
.geo-summary-text { max-width: 46em; }
/* 정렬: 홈 FAQ 섹션 제목만 가운데였음 → 다른 섹션과 같이 왼쪽 시작선 */
.geo-faq .section-heading.centered { margin-inline: 0; text-align: left; max-width: none; }
.geo-faq .section-heading.centered .eyebrow { justify-content: flex-start; }
.geo-faq .section-heading.centered .eyebrow > span:last-child { display: none; }
/* 여백: 섹션 사이 간격을 키워 묶음을 구분 (44~48px → 64~88px) */
.section:not(.geo-final-cta):not(.geo-summary-section) { padding-block: clamp(var(--space-10), 7vw, var(--space-11)); }
.geo-summary-section { padding-block: clamp(var(--space-9), 5vw, var(--space-10)); }
/* 장식: 카드 그림자는 호버 때만, 평소엔 테두리와 아래 선으로 충분 */
.case-card { box-shadow: none; }
.nav-cta, .nav-cta.button { box-shadow: none; }

/* 상담 폼: 개인정보 동의 · 허니팟(봇 방지, 사람 눈에는 보이지 않음) */
.geo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.geo-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--type-small); line-height: 1.6; color: var(--text-primary); cursor: pointer; }
/* form.contact input(전폭·높이 48px) 규칙보다 우선하도록 선택자를 맞춘다 */
form.contact .geo-consent input[type="checkbox"] { flex: none; width: 20px; min-width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--teal); cursor: pointer; }
.geo-kakao-msg { white-space: pre-line; }
.geo-kakao-status.is-error { border-left-color: var(--danger); }
.geo-kakao-status.is-error .geo-kakao-msg { color: var(--danger); font-weight: 700; }

/* 파산진단 → 상담 신청: 이전 진단 결과 표시 */
.geo-diag-prev { color: var(--text-accent); font-weight: 700; margin: 0 0 var(--space-3); }
.geo-diag { margin: var(--space-5) 0; padding: var(--space-5) var(--space-6); background: var(--surface-subtle); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: var(--type-small); }
.geo-diag[hidden] { display: none; }
.geo-diag strong { color: var(--teal-deep); font-size: var(--type-body); }
.geo-diag-n { margin-left: var(--space-3); color: var(--text-accent); font-weight: 800; }
.geo-diag-list { list-style: none; margin: var(--space-3) 0; padding: 0; line-height: 1.7; }
.geo-diag-list li { display: flex; align-items: flex-start; gap: var(--space-3); margin: var(--space-2) 0; }
/* 상담 페이지에서는 번호가 글보다 튀지 않게: 작고 옅은 배지(흰 바탕 + 얇은 선 + 청록 글자) */
.geo-diag-list .chk-no { width: 20px; height: 20px; margin-top: 3px; background: var(--surface-card); border: 1px solid var(--overlay-teal-24); color: var(--teal); font-size: var(--type-caption); font-weight: 700; }
.geo-diag-use { display: inline-flex; align-items: center; gap: var(--space-2); margin-right: var(--space-5); font-weight: 700; cursor: pointer; }
.geo-diag-use input { width: 20px; height: 20px; accent-color: var(--teal); }

/* 상담 폼 점검 반영 (3주차 체크리스트) ------------------------------------------ */
/* 1) 정렬: 같은 줄의 입력·선택 칸 높이를 48px 로 통일(입력 53px / 선택 48px 불일치 해소) */
form.contact input:not([type="checkbox"]), form.contact select { height: var(--control-height); min-height: var(--control-height); padding-block: 0; }
/* 2) 아직 고르지 않은 선택 칸은 안내 글자처럼 연하게 */
form.contact select:has(option[value=""]:checked) { color: var(--text-muted); }
/* 3) 타이포: 한글 단어 중간 줄바꿈 방지(예: "연대보/증", "담당자/가") — 전 페이지 본문 공통 */
.geo-page :where(p, li, dd, td, th, h1, h2, h3, .answer, .law, .byline) { word-break: keep-all; overflow-wrap: break-word; }

/* =========================================================================
   상담 페이지 레이아웃 — 왼쪽 단계형 카드 폼 + 오른쪽 안내 패널 (시안 A+B 혼합, 2주차 "문의 판단 흐름")
   ========================================================================= */
.geo-page.geo-contact { max-width: var(--container); }
.geo-contact-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-8); align-items: start; margin-top: var(--space-5); }
.geo-contact-main { min-width: 0; max-width: 820px; }
.geo-contact-main .answer { margin-top: 0; }
.geo-contact-side { position: sticky; top: calc(var(--header-height) + var(--space-4)); display: grid; gap: var(--space-4); }
.aside-box { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); font-size: var(--type-small); }
.aside-box h2 { margin: 0 0 var(--space-3); padding: 0; border: 0; font: 700 var(--type-lead)/1.4 var(--serif); letter-spacing: -.03em; color: var(--teal-deep); }
.aside-box ul { margin: 0; padding-left: var(--space-5); } .aside-box li { margin: var(--space-2) 0; }
.aside-box p { margin: var(--space-2) 0; }
.aside-box .tel { font: 700 var(--type-lead)/1.4 var(--sans); }

form.contact { display: grid; grid-template-columns: 1fr; gap: var(--space-5); max-width: none; margin: var(--space-5) 0; }
.grp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); min-width: 0; padding: var(--space-6); background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.grp .gt { grid-column: 1 / -1; display: flex; align-items: center; margin: 0; padding: 0; border: 0; font: 700 var(--type-lead)/1.4 var(--serif); letter-spacing: -.03em; color: var(--teal-deep); }
.grp .gt small { margin-left: var(--space-3); font: 700 var(--type-small) var(--sans); color: var(--text-muted); }
.stepno { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: var(--space-3); border-radius: var(--radius-circle); background: var(--teal); color: var(--text-inverse); font: 800 var(--type-small) var(--sans); }
.fld .lt { display: flex; align-items: center; gap: var(--space-2); }
.req, .opt { display: inline-block; padding: 0 var(--space-3); border-radius: var(--radius-sm); font-size: var(--type-small); font-weight: 800; line-height: 1.5; }
.req { background: var(--overlay-danger-12); color: var(--danger); } .opt { background: var(--surface-subtle); color: var(--text-muted); }
.geo-submit { display: grid; gap: var(--space-4); }
.geo-hint { margin: 0; font-size: var(--type-small); color: var(--text-muted); }
form.contact .geo-consent { align-items: center; }
form.contact button[type="submit"] { box-shadow: none; }
.geo-contact-main .geo-kakao-status { margin-top: 0; }

@media (max-width: 980px) {
  .geo-contact-cols { grid-template-columns: 1fr; gap: var(--space-6); }
  .geo-contact-side { position: static; }
  .geo-contact-main { max-width: none; }
  .grp { grid-template-columns: 1fr; padding: var(--space-5); }
  .geo-contact-main .answer { padding: var(--space-4) var(--space-5); font-size: var(--type-small); line-height: 1.7; }
}

/* 상담 접수 결과 팝업 */
.geo-dlg { width: min(92vw, 440px); padding: var(--space-7) var(--space-7) var(--space-6); border: 0; border-top: 4px solid var(--gold); border-radius: var(--radius-lg); background: var(--surface-card); color: var(--text-primary); box-shadow: var(--shadow); }
.geo-dlg::backdrop { background: var(--overlay-teal-black-72); }
.geo-dlg h2 { margin: 0 0 var(--space-4); padding: 0; border: 0; font: 700 var(--type-title-md)/1.4 var(--serif); letter-spacing: -.03em; color: var(--teal-deep); }
.geo-dlg-msg { margin: 0 0 var(--space-6); white-space: pre-line; line-height: 1.7; }
.geo-dlg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.geo-dlg-actions .geo-dlg-close { grid-column: 1 / -1; }
.geo-dlg.is-error { border-top-color: var(--danger); }
.geo-dlg.is-error h2 { color: var(--danger); }

/* 파산진단: 항목 번호 · 결과 버튼 묶음 */
.chk-no { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: var(--radius-circle); background: var(--surface-subtle); color: var(--teal); font: 800 var(--type-small) var(--sans); }
.check label:has(input:checked) .chk-no { background: var(--teal); color: var(--text-inverse); }
.chk-t { min-width: 0; }
.score-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* =========================================================================
   파산진단 — PC: 오른쪽 고정 결과 패널(시안 A) / 모바일: 위쪽에 붙는 얇은 결과 띠(시안 B)
   ========================================================================= */
.geo-diag-page { max-width: var(--container); }
.geo-diag-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-8); align-items: start; margin-top: var(--space-5); }
.geo-diag-main { min-width: 0; max-width: 820px; grid-column: 1; grid-row: 1; }
.geo-diag-main .answer { margin-top: 0; }
.geo-diag-side { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--hdr, var(--header-height)) + var(--space-4)); } /* --hdr 는 diagnosis.js 가 고정 헤더(.site-header, 전화 띠 포함) 실제 높이로 채운다 */
.rp { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); box-shadow: none; }
.rp-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.rp .big { font: 650 var(--type-title-lg)/1.2 var(--serif); color: var(--teal-deep); }
.rp .big small { font: 700 var(--type-small) var(--sans); color: var(--text-muted); margin-left: var(--space-2); }
.gauge { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--space-2); margin: var(--space-4) 0 var(--space-3); }
.gauge i { height: 10px; border-radius: var(--radius-pill); background: var(--overlay-teal-24); }
.gauge i.on { background: var(--gold); }
.lvl { display: inline-flex; align-items: center; padding: 0 var(--space-4); border-radius: var(--radius-pill); font-size: var(--type-small); font-weight: 800; line-height: 1.8; }
.lvl.l0 { background: var(--surface-subtle); color: var(--text-muted); }
.lvl.l1 { background: var(--surface-subtle); color: var(--teal); }
.lvl.l2 { background: var(--overlay-warning-16); color: var(--text-accent); }
.lvl.l3 { background: var(--overlay-danger-12); color: var(--danger); }
.rp .m { margin: var(--space-3) 0 var(--space-4); font-size: var(--type-small); line-height: 1.7; }
.rp .acts { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.rp .acts .button { min-height: var(--control-min); padding-inline: var(--space-5); font-size: var(--type-small); }
.rp .acts [hidden] { display: none; }
.button-ghost-dark { background: transparent; border: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.geo-diag-prev { margin: var(--space-3) 0 0; }

@media (max-width: 980px) {
  .geo-diag-cols { grid-template-columns: 1fr; gap: var(--space-4); }
  .geo-diag-main { grid-column: 1; grid-row: 2; max-width: none; }
  .geo-diag-side { grid-column: 1; grid-row: 1; top: var(--hdr, 105px); z-index: 15; margin-inline: calc(var(--space-5) * -1); padding-inline: var(--space-5); background: var(--overlay-paper-96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
  .rp { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-4); align-items: center; padding: var(--space-3) var(--space-4); margin-block: var(--space-2); border-radius: var(--radius-md); }
  .rp .big { font-size: var(--type-title-md); }
  .rp .gauge, .rp .m { display: none; }
  .rp-top { flex-wrap: nowrap; }
  .rp .acts { grid-column: 1 / -1; }
  .rp .acts .button { flex: 1; justify-content: center; }
  .rp .acts .button-outline:not(.lv-low), .rp .acts .button-ghost-dark, .rp .acts #diagReset { display: none; }
}

/* 상담 페이지 "바로 연락하기": 전화·카카오톡·오시는 길을 같은 크기 버튼 3개로 (비중 동일, 높이 48px 이상) */
.reach-btns { display: grid; gap: var(--space-3); }
.reach-btns a { display: flex; align-items: center; gap: var(--space-3); min-height: var(--control-height); padding: 0 var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-card); color: var(--teal-deep); font-size: var(--type-body); font-weight: 700; text-decoration: none; }
.reach-btns a:hover { border-color: var(--gold); background: var(--surface-selected); }
.reach-btns a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.reach-btns svg { flex: none; color: var(--teal); }
.reach-btns a span { flex: 1; }
.geo-reach .cap { margin: var(--space-4) 0 0; color: var(--text-muted); }
.geo-page .reach-btns a:not(.button):not(.card):not(.geo-q) { text-decoration: none; color: var(--teal-deep); } /* 본문 링크 밑줄 규칙(선택자 가중치 높음)을 이긴다 */
.geo-page .reach-btns a:not(.button):not(.card):not(.geo-q):hover { color: var(--teal-deep); }

/* 빠른 상담(카카오톡 + 맨 위로): 모바일에서도 하단 전폭 띠(진한 녹색 배경)를 쓰지 않고, 우측 하단에 동그란 버튼 2개를 세로로 배치 */
.quick-contact { left: auto; width: auto; flex-direction: column; align-items: center; gap: var(--space-3); padding: 0; background: none; border: 0; }
.quick-contact .back-to-top { width: 44px; height: 44px; }
@media (max-width: 760px) { .quick-contact { right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); } }

/* =========================================================================
   변호사 프로필 개선 — 첫 화면 상담 버튼 · 근거 링크 승격 · 상담 원칙/공식 채널 정리
   ========================================================================= */
.geo-prof-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-5) 0 var(--space-4); }
.geo-prof-cta .button { min-height: var(--control-height); }
.geo-prof-evidence { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); margin-top: var(--space-7); padding: var(--space-5) var(--space-6); background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.geo-prof-evidence p { margin: 0; font: 650 var(--type-lead)/1.5 var(--serif); letter-spacing: -.03em; color: var(--teal-deep); }
.geo-prof-evidence-btns { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.geo-prof.geo-page.geo-prof-tight { padding: var(--space-9) 0; }
.geo-prof-tight h2 { margin-bottom: var(--space-6); }
.geo-prof-principles ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); counter-reset: pr; }
.geo-prof-principles li { counter-increment: pr; position: relative; margin: 0; padding: var(--space-6) var(--space-5) var(--space-5); background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); line-height: 1.7; }
.geo-prof-principles li::before { content: counter(pr); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: var(--space-3); border-radius: var(--radius-circle); background: var(--teal); color: var(--text-inverse); font: 800 var(--type-small) var(--sans); }
.geo-prof-channels ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.geo-prof-channels li { margin: 0; padding: var(--space-3) var(--space-5); background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: var(--type-small); }
@media (max-width: 860px) { .geo-prof-principles ul { grid-template-columns: 1fr; } .geo-prof-evidence { padding: var(--space-5); } .geo-prof.geo-page.geo-prof-tight { padding: var(--space-8) 0; } }
@media (max-width: 480px) { .geo-prof-cta .button, .geo-prof-evidence-btns .button { flex: 1 1 100%; justify-content: center; } }

/* 학력·경력: 분류 카드 + 줄 목록 (A-1) */
.cr-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.cr-g { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); }
.cr-g h3 { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-3); font: 700 var(--type-lead)/1.4 var(--serif); letter-spacing: -.03em; color: var(--teal-deep); }
.cr-g h3::before { content: ""; width: 6px; height: 18px; border-radius: var(--radius-pill); background: var(--gold); }
.cr-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.cr-g li { position: relative; margin: 0; padding-left: var(--space-5); line-height: 1.6; }
.cr-g li::before { content: ""; position: absolute; left: var(--space-2); top: .7em; width: 5px; height: 5px; border-radius: var(--radius-circle); background: var(--overlay-teal-72); }
.geo-prof-note { margin-top: var(--space-5); }
@media (max-width: 760px) { .cr-groups { grid-template-columns: 1fr; } }

/* 하단 상담 CTA (안 2): 푸터와 분리된 밝은 청록 밴드 + 변호사 사진 + 큰 버튼, 아래 금색 선으로 마감 */
.geo-final-cta { background: linear-gradient(120deg, var(--teal), var(--teal-deep)); padding: var(--space-10) 0; border-bottom: 4px solid var(--gold); }
.geo-cta-photo { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: var(--space-8); align-items: center; }
.geo-cta-photo img { width: 200px; height: 240px; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius-lg); border: 1px solid var(--overlay-gold-light-40); }
.geo-final-cta h2 { margin: 0 0 var(--space-3); color: var(--text-inverse); font-size: var(--type-title-xl); letter-spacing: -.03em; }
.geo-final-cta p, .geo-final-cta p:not(.eyebrow) { color: var(--text-inverse-muted); max-inline-size: 38em; }
.geo-final-cta .final-actions { min-width: 240px; }
.geo-final-cta .final-actions .button { justify-content: center; min-height: 56px; }
.geo-final-cta .button-outline { background: transparent; color: var(--text-inverse); border-color: var(--overlay-white-40); }
.geo-final-cta .button-outline:hover { background: var(--overlay-white-12); }
.geo-final-cta + .site-footer, main + .site-footer { padding-top: var(--space-9); }
@media (max-width: 900px) { .geo-cta-photo { grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-5); } .geo-cta-photo img { width: 96px; height: 116px; } .geo-cta-photo .final-actions { grid-column: 1 / -1; min-width: 0; } .geo-final-cta { padding: var(--space-9) 0; } }

/* 실적 페이지: 표 첫 열 강조 · 표 아래 연결 · 보조 박스 */
.tbl td:first-child { font-weight: 800; color: var(--teal-deep); white-space: nowrap; }
.geo-keytbl-next { margin: var(--space-5) 0 var(--space-3); color: var(--text-muted); }
.geo-keytbl-btns { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.geo-callout { padding: var(--space-5) var(--space-6); background: var(--surface-subtle); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.geo-callout p { margin: 0; }
@media (max-width: 480px) { .geo-keytbl-btns .button { flex: 1 1 100%; justify-content: center; } .tbl td:first-child { white-space: normal; } }

/* 전 페이지 모바일 점검 반영 (2026-10-08) --------------------------------------- */
/* 목차 링크: 터치 영역 44px 이상 (기존 16px 높이) */
@media (max-width: 760px) {
  .toc ol, .toc ul { padding-left: var(--space-5); }
  .toc li { margin: 0; }
  .toc a { display: inline-block; min-height: var(--control-min); padding-block: var(--space-3); line-height: 1.4; }
}
/* 하단 CTA: 좁은 폰(≤520px)에서 제목이 4줄로 끊기지 않게 사진을 줄이고 제목 크기를 한 단계 낮춤 */
@media (max-width: 520px) {
  .geo-cta-photo { grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-4); }
  .geo-cta-photo img { width: 72px; height: 86px; }
  .geo-final-cta h2 { font-size: var(--type-title-md); line-height: 1.4; }
  .geo-final-cta p { font-size: var(--type-small); }
}

/* 모바일 표 접기(안 C): 3열 이상 표는 핵심 2열만, 행을 누르면 나머지 펼침. PC 는 그대로 */
.tblhint { display: none; }
@media (max-width: 760px) {
  .tbl.fold { overflow: visible; }
  .tbl.fold table, .tbl.fold table:has(th:nth-child(3), td:nth-child(3)) { min-width: 0; width: 100%; }
  .tbl.fold tbody tr.open { display: block; width: 100%; }
  .tbl.fold td:first-child { white-space: normal; }
  .tblhint { display: block; margin: 0 0 var(--space-2); font-size: var(--type-small); color: var(--text-muted); }
  .tbl.fold thead th:nth-child(n+3), .tbl.fold tbody td:nth-child(n+3) { display: none; }
  .tbl.fold tbody tr { cursor: pointer; }
  .tbl.fold tbody tr:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -3px; }
  .tbl.fold tbody tr td:nth-child(2)::after { content: " \25BE"; color: var(--text-accent); }
  .tbl.fold tbody tr.open td:nth-child(2)::after { content: " \25B4"; }
  .tbl.fold tbody tr.open { display: block; background: var(--surface-selected); }
  .tbl.fold tbody tr.open td { display: block; border: 0; padding: var(--space-2) var(--space-4); }
  .tbl.fold tbody tr.open td[data-l]:nth-child(n+3)::before { content: attr(data-l); display: block; font-size: var(--type-small); font-weight: 800; color: var(--text-accent); }
}

/* 오시는 길: 약도 카드 + 지도 서비스 링크 + 하단 버튼 */
.geo-map-card { margin: var(--space-6) 0; max-width: 980px; }
.geo-loc-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-6) 0 var(--space-5); }
@media (max-width: 480px) { .geo-loc-actions .button { flex: 1 1 100%; justify-content: center; } }

/* 성공사례 상세: 오른쪽 고정 '사례 요약' 패널(수치 + 상담 버튼) — 시안 C */
.geo-page.geo-case { max-width: var(--container); }
.geo-case-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "title side" "main side"; column-gap: var(--space-8); align-items: start; }
.geo-case-cols > h1 { grid-area: title; min-width: 0; }
.geo-case-main { grid-area: main; min-width: 0; max-width: 820px; }
.geo-case-side { grid-area: side; position: sticky; top: calc(var(--header-height) + var(--space-4)); }
.sp { padding: var(--space-5) var(--space-6); background: var(--surface-card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); }
.sp h2 { margin: 0 0 var(--space-3); padding: 0; border: 0; font: 700 var(--type-lead)/1.4 var(--serif); color: var(--teal-deep); }
.sp dl { margin: 0; display: grid; gap: var(--space-3); }
.sp dl div { display: flex; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.sp dt { color: var(--text-muted); font-size: var(--type-small); }
.sp dd { margin: 0; font: 650 var(--type-lead)/1.3 var(--serif); color: var(--teal-deep); }
.sp .btns { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.sp .btns .button { justify-content: center; min-height: var(--control-height); }
@media (max-width: 980px) {
  .geo-case-cols { grid-template-columns: 1fr; grid-template-areas: "title" "side" "main"; row-gap: var(--space-4); }
  .geo-case-side { position: static; }
  .sp dl { grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-5); }
  .sp .btns { grid-template-columns: 1fr 1fr; }
  .geo-case .geo-page h1, .geo-page.geo-case h1 { font-size: 1.5rem; line-height: 1.45; }
}
@media (max-width: 480px) { .sp .btns { grid-template-columns: 1fr; } }

/* =========================================================================
   스크롤 주목도 (design.md §12) — CSS 스크롤 연동 애니메이션
   기본 상태는 "보임". 미지원 브라우저·크롤러·모션 줄임 설정에서는 효과 없이 그대로 표시 (GEO 05)
   JS 없음 · opacity 는 .55 에서 시작(완전 투명 금지) · translate/scale 만 사용 → CLS 0
   ========================================================================= */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes geo-in { from { opacity: .55; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
    @keyframes geo-in-side-l { from { opacity: .55; translate: -28px 0; } to { opacity: 1; translate: 0 0; } }
    @keyframes geo-in-side-r { from { opacity: .55; translate: 28px 0; } to { opacity: 1; translate: 0 0; } }
    @keyframes geo-in-pop { from { opacity: .6; translate: 0 26px; scale: .965; } to { opacity: 1; translate: 0 0; scale: 1; } }

    /* 공통: 카드·관련글·요약·사례 — 화면 진입 구간에서 올라옴 */
    .geo-summary, .related li, .geo-case-grid > a, .geo-qlist > li, .geo-prof-evidence, .cr-groups .cr-g,
    .list-card, .grid > .card, .answer {
      animation: geo-in linear both; animation-timeline: view(); animation-range: entry 0% entry 45%;
    }
    /* 순차 등장: 같은 행 안에서 뒤로 갈수록 범위를 늦춤 */
    .attorney-reasons article { animation: geo-in linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .attorney-reasons article:nth-child(2), .geo-case-grid > a:nth-child(2), .grid > .card:nth-child(2), .related li:nth-child(2) { animation-range: entry 8% entry 53%; }
    .attorney-reasons article:nth-child(3), .grid > .card:nth-child(3), .related li:nth-child(3) { animation-range: entry 16% entry 61%; }
    /* 원본의 .visible 기반 재생(JS 의존)은 이 사이트에서 쓰지 않음 */
    .attorney-perspective.visible .attorney-reasons article { animation: geo-in linear both; animation-timeline: view(); }

    /* 프로필 상단: 사진 ← / 소개 → */
    .geo-prof-photo { animation: geo-in-side-l linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
    .geo-prof-intro-text { animation: geo-in-side-r linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
    /* 통계 블록 4칸 순차 */
    .stat div { animation: geo-in linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
    .stat div:nth-child(2) { animation-range: entry 6% entry 56%; }
    .stat div:nth-child(3) { animation-range: entry 12% entry 62%; }
    .stat div:nth-child(4) { animation-range: entry 18% entry 68%; }

    /* 하단 상담 CTA — 가장 강하게 */
    .geo-final-cta .geo-cta-photo { animation: geo-in-pop linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

/* =========================================================================
   홈 30초 요약 — 3단 카드(B) + 형광펜(C)  (design.md §13)
   문구·순서는 그대로. 한 <p> 안의 문장 3개를 <span>으로 감싸 카드처럼 배치하고,
   카드 라벨은 장식용 ::before. 형광펜은 기본이 "이미 칠해진 상태" (GEO 05)
   ========================================================================= */
.geo-summary-text { max-width: none; font-size: var(--type-body); font-weight: 400; line-height: 1.85; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.geo-sum-part { display: block; padding: var(--space-5); background: var(--surface-card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius-md) var(--radius-md); color: var(--teal-deep); }
.geo-sum-label { display: block; margin-bottom: var(--space-3); font: 700 var(--type-small)/1.4 var(--sans); letter-spacing: .04em; color: var(--text-accent); }
.geo-hl { font-weight: 700; color: var(--teal-deep); background: linear-gradient(transparent 58%, color-mix(in srgb, var(--gold) 45%, transparent) 58%) no-repeat 0 0 / 100% 100%; }
@media (max-width: 900px) { .geo-summary-text { grid-template-columns: minmax(0, 1fr); } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes geo-hl-sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
    .geo-hl { animation: geo-hl-sweep linear both; animation-timeline: view(); animation-range: entry 35% entry 100%; }
    .geo-sum-part { animation: geo-in linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .geo-sum-part:nth-child(2) { animation-range: entry 8% entry 53%; }
    .geo-sum-part:nth-child(3) { animation-range: entry 16% entry 61%; }
    .geo-summary { animation: none; }
  }
}

/* 오시는 길 — 항목별 위치 정보 (dl) */
.geo-facts dl { margin: 0; display: grid; gap: 0; }
.geo-facts dl > div { display: grid; grid-template-columns: 8.5em 1fr; gap: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent); }
.geo-facts dl > div:first-child { border-top: 0; }
.geo-facts dt { margin: 0; font-size: var(--type-small); font-weight: 800; color: var(--text-accent); letter-spacing: .04em; }
.geo-facts dd { margin: 0; font-size: var(--type-body); line-height: 1.6; color: var(--text-primary); }
.geo-facts dd a { color: inherit; font-weight: 700; }
@media (max-width: 560px) { .geo-facts dl > div { grid-template-columns: 1fr; gap: var(--space-1); } }

/* 상담 신청 — 기본 정보 그룹 안의 안내 문구는 두 칸을 모두 차지 */
.grp .geo-hint { grid-column: 1 / -1; margin: 0; }

/* 비밀번호 불일치 등 입력 오류: 입력칸 아래 빨간 안내 + 빨간 테두리 */
.grp .fld-err { grid-column: 1 / -1; margin: 0; color: var(--danger); font-size: var(--type-small); font-weight: 700; }
form.contact input.is-bad { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }

/* 공식 채널 링크 — 푸터. 외부 링크는 새 탭 */
.footer-channels a { text-decoration: underline; text-underline-offset: 3px; }

/* 홈 — 유튜브 쇼츠 카드 줄 (서버 HTML 목록 + shorts.js 로 천천히 자동 이동·정지 버튼) */
.geo-shorts { background: var(--surface-subtle); overflow: hidden; }
.shorts-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-7); }
.shorts-head h2 { margin: 0; line-height: 0; }
.shorts-yt { display: inline-block; }
/* 제목 전체(유튜브 로고 + 글자)가 한 장의 이미지 — 로고와 글자의 밑선이 이미지 안에서 이미 맞춰져 있다 (tools/make_shorts_title.py) */
.shorts-title-img { display: block; width: auto; height: 50px; max-width: 100%; }
@media (max-width: 760px) { .shorts-title-img { height: 36px; } }
.shorts-ctrl { display: none; gap: var(--space-2); flex: none; }
.is-enhanced .shorts-ctrl { display: flex; }
.shorts-ctrl button { min-width: 44px; height: 44px; padding: 0 var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--text-primary); font: inherit; font-weight: 700; cursor: pointer; }
.shorts-ctrl button:hover { border-color: var(--gold); }
.shorts-viewport { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: var(--space-4); scrollbar-width: thin; }
.is-enhanced .shorts-viewport { scroll-snap-type: none; scrollbar-width: none; }
.is-enhanced .shorts-viewport::-webkit-scrollbar { display: none; }
.shorts-track { display: flex; gap: var(--space-4); margin: 0; padding: 0; list-style: none; width: max-content; }
.shorts-card { flex: none; width: 200px; scroll-snap-align: start; }
.shorts-card a { display: block; color: inherit; text-decoration: none; }
.shorts-thumb { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-lg); background: var(--teal-black); }
.shorts-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.shorts-card a:hover .shorts-thumb img, .shorts-card a:focus-visible .shorts-thumb img { transform: scale(1.04); }
.shorts-badge { position: absolute; top: var(--space-3); left: var(--space-3); display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--overlay-teal-black-72); color: var(--color-white); font-size: var(--type-caption); font-weight: 700; }
.shorts-badge i { width: 8px; height: 8px; border-radius: 2px; background: #e5342e; }
.shorts-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--overlay-teal-black-50); }
.shorts-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent var(--color-white); }
.shorts-title { display: block; margin-top: var(--space-3); font-weight: 700; line-height: 1.45; color: var(--text-primary); word-break: keep-all; }
.shorts-title b { color: var(--text-accent); }
.shorts-sub { display: block; margin-top: 2px; font-size: var(--type-small); color: var(--text-muted); word-break: keep-all; }
.shorts-new-tab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) { .shorts-head { flex-direction: column; align-items: flex-start; gap: var(--space-4); } .shorts-card { width: 164px; } }

/* 홈 화면 순서: 히어로 → 쇼츠 → 나머지. HTML 소스 순서는 히어로 → 30초 요약 → … 그대로 둔다 (GEO 03: 답변 문장은 HTML 앞부분) */
.geo-home { display: flex; flex-direction: column; }
.geo-home > * { order: 3; }
.geo-home > .hero { order: 1; }
.geo-home > .geo-shorts { order: 2; }

/* 30초 요약 배경 — 옅은 쿨 뉴트럴 밴드 (Codex 자문 1안). 위 쇼츠(크림)와 아래 FAQ(짙은 청록) 사이의 전환층.
   크림 박스를 없애고 섹션 자체를 밴드로 쓴다. 카드의 금색 상단선은 유지 */
.geo-summary-section { background: var(--surface-subtle); }
.geo-summary.attorney-philosophy { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
.geo-summary .eyebrow { color: var(--text-accent); }
.geo-sum-part { min-width: 0; border-color: color-mix(in srgb, var(--teal) 18%, transparent); border-top-color: var(--gold); }

/* 유튜브 로고(이미지, alt 텍스트가 링크 이름) — 헤더 메뉴·쇼츠 섹션 라벨 */
.geo-nav .yt-link { display: inline-flex; align-items: center; }
.geo-nav .yt-link img { display: block; width: auto; height: 18px; }

/* 쇼츠와 30초 요약은 같은 크림 배경으로 이어진다 — 둘 사이 여백만 좁힌다 (각 섹션의 바깥쪽 여백은 그대로) */
.geo-home .section.geo-shorts { padding-bottom: var(--space-6); }
.geo-home .section.geo-summary-section { padding-top: var(--space-6); }
@media (max-width: 760px) { .geo-home .section.geo-shorts { padding-bottom: var(--space-5); } .geo-home .section.geo-summary-section { padding-top: var(--space-5); } }


/* 홈 히어로를 낮춰 첫 화면 아래쪽에 쇼츠 섹션이 보이게 한다 (데스크톱). 높이는 내용이 정하고, 화면 높이만큼 늘리지 않는다 */
@media (min-width: 761px) {
  .hero { min-height: 0; }
  .hero-grid { padding-block: clamp(var(--space-8), 7vh, var(--space-10)) clamp(var(--space-7), 5vh, var(--space-9)); }
  .hero-content > h1 { margin-bottom: var(--space-7); }
  .hero-content > .geo-hero-facts { margin-bottom: var(--space-7); }
  .hero-content > .hero-attorney { margin-bottom: var(--space-5); }
  .geo-home .section.geo-shorts { padding-top: var(--space-8); }
}

/* 히어로가 낮아져 사진이 가로로 더 넓게 잘리므로, 머리가 잘리지 않게 위쪽을 기준으로 맞춘다 (아래쪽 정장 부분만 잘림) */
@media (min-width: 761px) { .hero-slide img { object-position: center top; } }

/* 페이지 제목(H1) 규칙 — 제목은 메뉴 이름 그대로 굵게, 설명은 한 문장으로 가늘고 연하게 (대시 없음). 설명이 없는 질문형 H1은 한 줄 */
.geo-page h1.h1-split { display: block; }
.h1-split .h1-t { display: block; font-weight: 800; letter-spacing: -.03em; }
.h1-split .h1-s { display: block; margin-top: var(--space-3); font: 400 var(--type-lead)/1.6 var(--sans); letter-spacing: 0; color: var(--text-muted); text-wrap: pretty; }
@media (max-width: 760px) { .h1-split .h1-s { font-size: var(--type-body); } }

/* 모바일 메뉴의 유튜브 로고 링크 (데스크톱 헤더와 같은 로고) */
.mobile-nav .yt-link { display: flex; align-items: center; }
.mobile-nav .yt-link img { display: block; width: auto; height: 18px; }

/* 모바일 쇼츠 컨트롤: 제목 바로 아래에 카드, 정지/재생 버튼은 카드 줄 아래 오른쪽에 작게. 이전·다음 화살표는 숨김(손가락으로 밀어서 넘김) */
@media (max-width: 760px) {
  .geo-shorts .container { display: flex; flex-direction: column; }
  .shorts-head { display: contents; }
  .shorts-head h2 { order: 1; margin-bottom: var(--space-5); }
  .geo-shorts .shorts-viewport { order: 2; padding-bottom: 0; }
  .shorts-ctrl { order: 3; align-self: flex-end; margin-top: var(--space-3); }
  .shorts-ctrl .shorts-prev, .shorts-ctrl .shorts-next { display: none; }
  .shorts-ctrl .shorts-toggle { min-width: 0; height: 36px; padding: 0 var(--space-4); font-size: var(--type-small); }
}

/* 히어로 사진: 높이에 맞춰 사진 전체(가슴·허리 아래까지)가 보이게 하고 오른쪽에 붙인다. 폭이 모자라는 왼쪽은 어두운 배경으로 부드럽게 이어진다 (데스크톱) */
@media (min-width: 1100px) {
  .hero-slide { display: flex; justify-content: flex-end; overflow: hidden; }
  .hero-slide img { flex: none; width: auto; max-width: none; height: 100%; object-fit: initial; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }
}

/* 저자 줄 — 네이버 블로그처럼 동그란 사진 + 이름 칩(프로필 링크), 작성·검수·등록연도·최종 검토일은 옆에 작게 */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.author-chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: 3px var(--space-4) 3px 3px; border-radius: var(--radius-pill); background: var(--surface-subtle); color: var(--text-primary); font-size: var(--type-body); font-weight: 700; text-decoration: none; }
.author-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--teal); }
.author-chip:hover, .author-chip:focus-visible { background: var(--overlay-gold-12); }
.byline-label, .byline-meta { color: var(--text-muted); font-size: var(--type-small); }
.byline-label { margin-right: calc(var(--space-2) * -1); }
.geo-page .byline a.author-chip:not(.button):not(.card):not(.geo-q) { color: var(--text-primary); text-decoration: none; }
.geo-page .byline a.author-chip:not(.button):not(.card):not(.geo-q):hover { color: var(--text-accent); }
