/*
 * 첫 화면을 뺀 나머지 화면의 모양(2026-11-04 사용자 지시 「다른 페이지까지 비슷한 느낌으로」).
 * css/daese/ 는 본 홈페이지 복사본이라 고치지 않고 여기서 덮는다. 각 JSP 에서 dosan.css 다음, 맨 마지막에 읽는다.
 * 변수는 dosan-theme.css. 전부 body.dh-sub 아래에만 적용된다.
 */
.dh-sub, .dh-sub * { font-family: var(--dh-sans); }

/* ---------- 화면 제목: 사무실 사진을 흐리게, 글은 어둡게 ---------- */
.dh-sub .wrap > .txt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-height: 260px;
  margin: 0;
  padding: 80px max(32px, calc((100% - 1176px) / 2)) 48px;
  background: transparent;
}
.dh-sub .wrap > .txt::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(251, 247, 239, .96) 0%, rgba(251, 247, 239, .9) 50%, rgba(251, 247, 239, .55) 100%),
    url(/img/thumbnail.webp) center 40% / cover no-repeat;
  filter: blur(2px) saturate(.95);
}
.dh-sub .wrap > .txt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 90px;
  background: linear-gradient(to bottom, rgba(251, 248, 242, 0), #fbf8f2);
}
.dh-sub .wrap > .txt h1,
.dh-sub .wrap > .txt span {
  display: block;
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--dh-ink);
}

/* ---------- 상담 단 ---------- */
.dh-sub .cta-wrap { padding: 64px 32px 80px; }
.dh-sub .cta {
  max-width: 1176px;
  padding: 20px;
  border: 0;
  border-radius: 28px;
  background: var(--dh-white);
  box-shadow: var(--dh-shadow);
}
.dh-sub .cta-intro { border-radius: 20px; background: rgba(247, 239, 226, .55); text-align: left; }
.dh-sub .cta-intro h2 { font-size: 28px; font-weight: 700; letter-spacing: -.015em; color: var(--dh-ink); }
.dh-sub .cta-intro .desc { font-size: 16px; color: var(--dh-body); }
.dh-sub .cta-intro .desc.strong { color: var(--dh-ink); }
.dh-sub .cta-offices { border-top: 1px solid var(--dh-line); }
.dh-sub .card { border: 0; border-radius: 20px; box-shadow: 0 8px 26px rgba(92, 70, 40, .07); color: var(--dh-ink); }
.dh-sub .card-call { background: #f8ecdd; }
.dh-sub .card-online { background: #fff; border: 0; }
.dh-sub .card-kakao { background: #fdf3cd; }
.dh-sub .box-title { margin-bottom: 10px; font-size: 22px; font-weight: 700; }
.dh-sub .card-sub { font-size: 15px; color: var(--dh-body); }

/* ---------- 변호사 소개 ---------- */
.dh-sub #main { overflow-x: clip; }
.dh-sub .main { position: relative; isolation: isolate; min-height: 600px; padding-top: 64px; padding-bottom: 0; }
.dh-sub .main::before {
  content: "";
  position: absolute;
  top: -8px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -2;
  transform: translateX(-50%);
  background:
    linear-gradient(100deg, rgba(251, 247, 239, .97) 0%, rgba(251, 247, 239, .94) 54%, rgba(251, 247, 239, .45) 76%, rgba(251, 247, 239, .3) 100%),
    url(/img/thumbnail.webp) center 40% / cover no-repeat;
  filter: blur(2px) saturate(.95);
}
.dh-sub .main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 130px;
  z-index: -1;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(251, 248, 242, 0), #fbf8f2);
}
.dh-sub .main > .txt { align-self: center; padding-bottom: 64px; }
.dh-quote {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--dh-ink);
}
.dh-quote em { font-style: normal; color: var(--dh-accent); }
.dh-sub .info { color: var(--dh-ink); }
.dh-sub .info h1 { font-size: 34px; font-weight: 700; color: var(--dh-ink); }
.dh-sub .info h1 span { margin-top: 4px; font-size: 20px; color: var(--dh-body); }
.dh-sub .info p { margin-top: 8px; font-size: 17px; color: var(--dh-body); }
.dh-sub .info p strong { font-size: 17px; color: var(--dh-ink); }
.dh-sub .info p.dosan-expert { font-size: 17px; color: var(--dh-deep); }
.dh-sub .tags span { padding: 6px 13px; border: 0; background: var(--dh-white); color: var(--dh-deep); font-size: 14px; font-weight: 700; }
.dh-sub .img img {
  margin-bottom: 0;
  max-height: 600px;
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  filter: drop-shadow(0 14px 34px rgba(60, 44, 24, .18));
}
.dh-sub .profile_txt { max-width: 1176px; margin: 16px auto 0; padding: 0 32px; background: transparent; box-sizing: content-box; }
/* 글 작성자·담당 변호사(법률정보·성공사례 상세) */
.dh-sub .view-head .meta a.dosan-author { color: var(--dh-deep); font-weight: 700; text-decoration: none; }
.dh-sub .view-head .meta a.dosan-author:hover { text-decoration: underline; text-underline-offset: 3px; }
.dh-sub .dosan-case-author { margin: 8px 0 0; font-size: 15px; color: var(--dh-muted); }
.dh-sub .dosan-case-author a { color: var(--dh-deep); font-weight: 700; text-decoration: none; }
.dh-sub .dosan-case-author a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 법률정보 목록(legal/list.jsp, legal/cards.jspf) — 본 홈페이지 법률정보 구조(2026-11-13). 색은 도산 테마 */
/* 검색창 */
.dh-sub .dosan-legal-search { display: flex; gap: 8px; max-width: 560px; margin: 0 0 24px; }
.dh-sub .dosan-legal-search-center { margin: 0 auto 44px; }
.dh-sub .dosan-legal-search input { flex: 1; min-width: 0; height: 52px; padding: 0 22px; border: 1px solid rgba(23, 64, 79, .25); border-radius: 999px; background: #fff; color: var(--dh-ink); font-size: 16px; outline: 0; box-sizing: border-box; }
.dh-sub .dosan-legal-search input:focus { border-color: var(--dh-deep); }
.dh-sub .dosan-legal-search button { height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--dh-deep); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.dh-sub .dosan-legal-search button:hover { background: #0f2c3c; }
/* 분야 묶음 */
.dh-sub .dosan-legal-panel[hidden] { display: none; }
.dh-sub .dosan-legal-panel:not([hidden]) ~ .dosan-legal-panel:not([hidden]) { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--dh-line); }
.dh-sub .dosan-legal-head { margin-bottom: 22px; }
.dh-sub .dosan-legal-head h2 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -.02em; color: var(--dh-ink); }
.dh-sub .dosan-legal-head p { margin: 8px 0 0; font-size: 17px; color: var(--dh-muted); word-break: keep-all; }
/* 가장 먼저 읽을 글 */
.dh-sub .dosan-legal-banner { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: end; margin-bottom: 20px; padding: 40px 44px; border-radius: 24px; background: var(--dh-deep); color: #fff; text-decoration: none; transition: background .2s; }
.dh-sub .dosan-legal-banner:hover { background: #0f2c3c; }
.dh-sub .dosan-legal-banner-tag { grid-column: 1 / -1; margin-bottom: 12px; font-size: 15px; font-weight: 700; color: #e9b48f; }
.dh-sub .dosan-legal-banner-title { grid-column: 1; font-size: 28px; font-weight: 700; line-height: 1.42; word-break: keep-all; }
.dh-sub .dosan-legal-banner-desc { grid-column: 1; display: -webkit-box; margin-top: 14px; overflow: hidden; font-size: 16px; line-height: 1.7; color: #c6d3db; word-break: keep-all; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dh-sub .dosan-legal-banner-go { grid-column: 2; grid-row: 2 / 4; padding: 13px 26px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font-size: 16px; font-weight: 700; white-space: nowrap; }
/* 카드 */
.dh-sub .dosan-legal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dh-sub .dosan-legal-card { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 26px 28px; border-radius: 24px; background: var(--dh-white); box-shadow: var(--dh-shadow); box-sizing: border-box; transition: transform .15s; }
.dh-sub .dosan-legal-card:hover { transform: translateY(-3px); }
.dh-sub .dosan-legal-card-title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.dh-sub .dosan-legal-card-title a { color: var(--dh-ink); text-decoration: none; }
.dh-sub .dosan-legal-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.dh-sub .dosan-legal-card-title a:focus-visible { outline: none; }
.dh-sub .dosan-legal-card-title a:focus-visible::after { outline: 2px solid var(--dh-accent); outline-offset: 2px; }
.dh-sub .dosan-legal-card:hover .dosan-legal-card-title a { color: var(--dh-accent); }
.dh-sub .dosan-legal-card-desc { display: -webkit-box; margin: 12px 0 0; overflow: hidden; font-size: 15px; line-height: 1.65; color: var(--dh-body); word-break: keep-all; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.dh-sub .dosan-legal-card-area { align-self: flex-start; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: #fbeee4; color: var(--dh-accent-dark); font-size: 13px; font-weight: 700; }
.dh-sub .dosan-legal-card time { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--dh-muted); }
/* 전체 보기 */
.dh-sub .dosan-legal-field-all { margin: 24px 0 0; text-align: right; }
.dh-sub .dosan-legal-field-all a { color: var(--dh-accent); font-size: 16px; font-weight: 700; text-decoration: none; }
.dh-sub .dosan-legal-field-all a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dh-sub .dosan-legal-all { margin: 56px 0 8px; text-align: center; }
.dh-sub .dosan-legal-all a { display: inline-block; padding: 18px 40px; border-radius: 999px; background: var(--dh-deep); color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; transition: background .15s; }
.dh-sub .dosan-legal-all a:hover { background: #0f2c3c; }
/* 전체·분야 목록(박스 9개씩) */
.dh-sub .dosan-legal-back { margin: 0 0 16px; }
.dh-sub .dosan-legal-back a { color: var(--dh-deep); font-size: 16px; font-weight: 700; text-decoration: none; }
.dh-sub .dosan-legal-back a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dh-sub .dosan-legal-result { margin: -8px 0 16px; font-size: 16px; color: var(--dh-body); }
.dh-sub .dosan-legal-table .dosan-empty { margin: 16px 0 48px; }
.dh-sub .column-section > .pagination { margin-top: 32px; }
@media (max-width: 1024px) {
  .dh-sub .dosan-legal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .dh-sub .dosan-legal-search-center { margin-bottom: 28px; }
  .dh-sub .dosan-legal-search input, .dh-sub .dosan-legal-search button { height: 48px; }
  .dh-sub .dosan-legal-search button { padding: 0 20px; }
  .dh-sub .dosan-legal-head h2 { font-size: 25px; }
  .dh-sub .dosan-legal-head p { font-size: 16px; }
  .dh-sub .dosan-legal-banner { display: block; padding: 26px 22px; }
  .dh-sub .dosan-legal-banner-tag, .dh-sub .dosan-legal-banner-title { display: block; }
  .dh-sub .dosan-legal-banner-title { font-size: 21px; }
  .dh-sub .dosan-legal-banner-go { display: inline-block; margin-top: 18px; padding: 10px 20px; }
  .dh-sub .dosan-legal-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dh-sub .dosan-legal-card { min-height: 0; padding: 22px; }
  .dh-sub .dosan-legal-card-title { font-size: 18px; }
  .dh-sub .dosan-legal-card-desc { -webkit-line-clamp: 2; }
  .dh-sub .dosan-legal-all a { display: block; padding: 16px; border-radius: 16px; font-size: 17px; }
}

/* 변호사 소개 인사말 */
.dh-sub .dh-greeting { margin: 0 0 20px; padding: 36px 40px; border-radius: 24px; background: var(--dh-white); box-shadow: var(--dh-shadow); }
.dh-sub .dh-greeting h2 { margin: 0 0 16px; font-size: 22px; font-weight: 700; color: var(--dh-accent); }
.dh-sub .dh-greeting p { max-width: 860px; margin: 0 0 14px; font-size: 17px; line-height: 1.85; color: var(--dh-body); word-break: keep-all; }
.dh-sub .dh-greeting .dh-greeting-lead { font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--dh-ink); }
.dh-sub .dh-greeting .dh-greeting-sign { margin: 22px 0 0; font-weight: 700; color: var(--dh-ink); }
.dh-sub .dh-greeting ul { max-width: 860px; margin: 0 0 16px; padding-left: 20px; list-style: disc; font-size: 16px; line-height: 1.8; color: var(--dh-body); word-break: keep-all; }
.dh-sub .dh-greeting h3 { margin: 28px 0 10px; padding-top: 24px; border-top: 1px solid var(--dh-line); font-size: 19px; font-weight: 700; color: var(--dh-ink); }
.dh-sub .dh-greeting ul:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .dh-sub .dh-greeting { padding: 24px 20px; }
  .dh-sub .dh-greeting p { font-size: 16px; }
  .dh-sub .dh-greeting .dh-greeting-lead { font-size: 19px; }
}
.dh-sub .career,
.dh-sub .education,
.dh-sub .cases,
.dh-sub .credentials {
  margin: 0 0 20px;
  padding: 32px 36px;
  border: 0;
  border-radius: 24px;
  background: var(--dh-white);
  box-shadow: var(--dh-shadow);
}
.dh-sub .career-inner,
.dh-sub .education-inner,
.dh-sub .cases-inner,
.dh-sub .credentials-inner { max-width: none; margin: 0; padding: 0; border: 0; }
.dh-sub .career-title h3,
.dh-sub .education-title h3,
.dh-sub .cases-title h3,
.dh-sub .credentials-title h3 { font-size: 24px; font-weight: 700; color: var(--dh-ink); }
.dh-sub .career-content p,
.dh-sub .education-content p,
.dh-sub .cases-content p { font-size: 16px; line-height: 1.85; color: var(--dh-body); }
.dh-sub .cases-content p.case-type { font-weight: 700; color: var(--dh-deep); }

/* ---------- 성공사례 목록 ---------- */
/* 카드 묶음 폭·간격은 본 홈페이지(style12.css .success-cards: 최대 1500·간격 30)를 그대로 쓴다 — 2026-11-26 사용자 요청(도산 카드가 더 작아 보임) */
/* 카드 모양은 본 홈페이지(style12.css)를 그대로 쓴다 — 2026-11-26 사용자 요청으로 따뜻한 색 덮어쓰기(흰 카드·살구색 꼬리표·결과 줄)를 뺐다 */

/* 쪽 번호 */
.dh-sub .pagination .page-num,
.dh-sub .pagination a { border: 0; border-radius: 999px; background: transparent; color: var(--dh-body); }
.dh-sub .pagination .page-num.active,
.dh-sub .pagination a.active { background: var(--dh-deep); color: #fff; }

/* 글이 없을 때 */
.dh-sub .dosan-empty { max-width: 1176px; margin: 32px auto 96px; padding: 56px 32px; box-sizing: border-box; border-radius: 24px; background: var(--dh-white); color: var(--dh-body); font-size: 17px; }

/* ---------- 성공사례 상세 ----------
   2026-11-26 사용자 요청: 상세 화면 모양도 본 홈페이지(success_sb.css)를 그대로 쓴다 — 따뜻한 색 덮어쓰기(흰 둥근 카드·제목 색·절 제목 밑줄 숨김 등)를 뺐다.
   폭(1176)과 왼쪽 끝 맞추기는 아래 「왼쪽 끝 맞추기」 규칙이 맡는다. */

/* ---------- 법률정보 목록 ---------- */
.dh-sub .column-section { max-width: 1176px; margin: 24px auto 72px; padding: 0 32px; box-sizing: content-box; }
.dh-sub .dosan-hubs-title { color: var(--dh-ink); }
.dh-sub .dosan-hub-grid a { border: 0; border-radius: 20px; background: var(--dh-white); box-shadow: 0 8px 26px rgba(92, 70, 40, .07); }
.dh-sub .dosan-hub-grid a:hover { box-shadow: var(--dh-shadow); }
.dh-sub .column-table { border-collapse: separate; border-spacing: 0; overflow: hidden; border: 0; border-radius: 24px; background: var(--dh-white); box-shadow: var(--dh-shadow); }
.dh-sub .column-table th { border: 0; border-bottom: 1px solid var(--dh-line); background: transparent; color: var(--dh-muted); font-weight: 500; }
.dh-sub .column-table td { border: 0; border-bottom: 1px solid var(--dh-line); background: transparent; color: var(--dh-body); }
.dh-sub .column-table tr:last-child td { border-bottom: 0; }
.dh-sub .column-table td a { color: var(--dh-ink); }
.dh-sub .column-table tbody tr:hover td { background: rgba(247, 239, 226, .4); }

/* ---------- 법률정보 상세 ---------- */
.dh-sub .wrap-inner { max-width: 1176px; margin: 0 auto; padding: 16px 32px 0; box-sizing: content-box; }
.dh-sub .view-head { border: 0; }
.dh-sub .view-head .title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.35; color: var(--dh-ink); }
.dh-sub .view-head .badge { border: 0; border-radius: 999px; background: #f6e4d3; color: var(--dh-accent); }
.dh-sub .view-head .meta { color: var(--dh-muted); }
.dh-sub .toc-wide, .dh-sub .side-box { border: 0; border-radius: 20px; background: var(--dh-white); box-shadow: 0 8px 26px rgba(92, 70, 40, .07); }
.dh-sub .toc-head { border: 0; background: transparent; color: var(--dh-deep); }
.dh-sub .toc-head #tocHeadTxt { color: var(--dh-deep); }
.dh-sub .side-title { color: var(--dh-ink); }
.dh-sub .article { color: var(--dh-body); }
.dh-sub .article h2 { display: block; padding: 0; border-radius: 0; background: transparent; color: var(--dh-ink); font-size: 25px; font-weight: 700; line-height: 1.4; }
.dh-sub .article h2::before { color: var(--dh-accent); font-weight: 700; }
.dh-sub .article h3 { padding: 10px 0; color: var(--dh-deep); font-weight: 700; }
.dh-sub .article h3::before { display: none; }
/* 본문 속 다른 글 링크 — 본 홈페이지와 같이 파란 글씨·밑줄(2026-11-13). 전역 a 리셋 때문에 일반 글자와 구분되지 않았다 */
.dh-sub #article a[href] { color: #1a6dc4; text-decoration: underline; text-underline-offset: 3px; }
.dh-sub #article a[href]:hover { color: #0e384a; }
.dh-sub .rc-wide { border: 0; border-radius: 24px; background: var(--dh-white); box-shadow: var(--dh-shadow); }
.dh-sub .rc-wide hr { border: 0; border-top: 1px solid var(--dh-line); }
.dh-sub .wrap-inner .cta-wrap { padding-left: 0; padding-right: 0; }
.dh-sub .circle-button { border: 0; background: var(--dh-deep); color: #fff; }

/* ---------- 오시는 길 ---------- */
.dh-sub .dosan-page { padding-top: 24px; }
.dh-sub .dosan-page-title { font-size: 26px; font-weight: 700; text-align: left; color: var(--dh-ink); }
.dh-sub .dosan-location-map { border: 0; border-radius: 24px; box-shadow: var(--dh-shadow); }
.dh-sub .dosan-location-info > div { border-bottom: 1px solid var(--dh-line); }
.dh-sub .dosan-location-info dt { color: var(--dh-deep); font-weight: 700; }
.dh-sub .dosan-location-info strong { color: var(--dh-accent); font-weight: 700; }
.dh-sub .dosan-location-links { justify-content: flex-start; }
.dh-sub .dosan-location-links a { border: 1px solid var(--dh-ink); border-radius: 999px; background: transparent; color: var(--dh-ink); }
.dh-sub .dosan-location-links a:hover { background: var(--dh-ink); color: #fff; }
.dh-sub .dosan-location-links a.primary { border-color: var(--dh-accent); background: var(--dh-accent); color: #fff; }
.dh-sub .dosan-location-links a.primary:hover { background: var(--dh-accent-dark); }

/* ---------- 상담 신청서 ---------- */
.dh-sub .dosan-page-lead { max-width: 1176px; margin: 0 auto 24px; color: var(--dh-body); text-align: left; }
.dh-sub .dosan-consult-form { max-width: 1176px; padding: 36px; border: 0; border-radius: 28px; background: var(--dh-white); box-shadow: var(--dh-shadow); }
.dh-sub .dosan-consult-form h2 { font-size: 24px; font-weight: 700; color: var(--dh-ink); }
.dh-sub .dosan-form-field input,
.dh-sub .dosan-form-field select,
.dh-sub .dosan-form-field textarea { border: 1px solid rgba(70, 60, 45, .2); border-radius: 12px; background: rgba(255, 255, 255, .9); }
.dh-sub .dosan-form-field input:focus,
.dh-sub .dosan-form-field select:focus,
.dh-sub .dosan-form-field textarea:focus { outline-color: var(--dh-accent); }
.dh-sub .dosan-form-field label { color: var(--dh-ink); }
.dh-sub .dosan-form-agree { color: var(--dh-body); }
.dh-sub .dosan-form-agree a { color: var(--dh-accent); }
.dh-sub .dosan-form-submit { min-height: 56px; border-radius: 999px; background: var(--dh-accent); }
.dh-sub .dosan-form-submit:hover { background: var(--dh-accent-dark); }

/* ---------- 개인정보처리방침 ---------- */
.dh-sub .dh-policy { padding-bottom: 96px; font-size: 16px; line-height: 1.8; color: var(--dh-body); }
.dh-sub .dh-policy > * { max-width: 860px; }
.dh-sub .dh-policy-date { margin: 0 0 24px; color: var(--dh-muted); font-size: 15px; }
.dh-sub .dh-policy p { margin: 0 0 10px; }
.dh-sub .dh-policy h2 { margin: 40px 0 12px; font-size: 21px; font-weight: 700; line-height: 1.4; color: var(--dh-ink); }
.dh-sub .dh-policy ul { margin: 0 0 10px; padding-left: 20px; list-style: disc; }
.dh-sub .dh-policy li { margin-bottom: 6px; }
.dh-sub .dh-policy a { color: var(--dh-accent); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }

/* ---------- 신청 결과 ---------- */
.dh-sub .dosan-result { color: var(--dh-body); }
.dh-sub .dosan-result h1 { font-weight: 700; color: var(--dh-ink); }
.dh-sub .dosan-result-tel a { color: var(--dh-accent); }
.dh-sub .dosan-result-actions a { border-radius: 999px; background: var(--dh-accent); }
.dh-sub .dosan-result-actions a:hover { background: var(--dh-accent-dark); }

/* 오시는 길: 두 번째 사무소 */
.dh-sub .dosan-page.dh-office-second { margin-top: 40px; padding-top: 48px; }

/* ---------- 업무분야 상세 ---------- */
.dh-sub .dh-practice-summary { max-width: 860px; margin: 0 0 32px; font-size: 20px; font-weight: 500; line-height: 1.6; color: var(--dh-deep); }
.dh-sub .dh-practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.dh-sub .dh-practice-body { font-size: 17px; line-height: 1.85; color: var(--dh-body); }
.dh-sub .dh-practice-body h2 { margin: 40px 0 12px; font-size: 25px; font-weight: 700; line-height: 1.4; color: var(--dh-ink); }
.dh-sub .dh-practice-body h2:first-child { margin-top: 0; }
.dh-sub .dh-practice-body h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 700; line-height: 1.45; color: var(--dh-deep); }
.dh-sub .dh-practice-body p { margin: 0 0 14px; }
.dh-sub .dh-practice-body ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.dh-sub .dh-practice-body ol { margin: 0 0 14px; padding-left: 22px; list-style: decimal; }
.dh-sub .dh-practice-body li { margin-bottom: 6px; }
.dh-sub .dh-practice-body a { color: var(--dh-accent); text-decoration: underline; text-underline-offset: 3px; }
.dh-sub .dh-practice-body img { max-width: 100%; height: auto; }
.dh-sub .dh-practice-body table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: 15px; }
.dh-sub .dh-practice-body th, .dh-sub .dh-practice-body td { padding: 10px 12px; border: 1px solid var(--dh-line); text-align: left; }
/* 2026-11-16 업무분야 v.2 원고: 표 가로 넘침, 체크 목록, 강조 문단, 자주 묻는 질문, 안내 문구 */
.dh-sub .dh-practice-body .dh-table-wrap { overflow-x: auto; margin: 0 0 18px; }
.dh-sub .dh-practice-body .dh-table-wrap table { margin: 0; min-width: 520px; }
.dh-sub .dh-practice-body thead th { background: var(--dh-ink); color: #fff; font-weight: 700; }
.dh-sub .dh-practice-body tbody th { background: #f6efe3; color: var(--dh-ink); font-weight: 700; white-space: nowrap; }
.dh-sub .dh-practice-body ul.dh-checklist { padding-left: 0; list-style: none; }
.dh-sub .dh-practice-body ul.dh-checklist li { position: relative; padding-left: 30px; }
.dh-sub .dh-practice-body ul.dh-checklist li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border: 2px solid var(--dh-accent); border-radius: 4px; }
.dh-sub .dh-practice-body blockquote { margin: 18px 0; padding: 18px 22px; border-left: 4px solid var(--dh-accent); border-radius: 0 16px 16px 0; background: #f6efe3; color: var(--dh-ink); font-weight: 600; }
.dh-sub .dh-practice-body blockquote p { margin: 0; }
.dh-sub .dh-practice-body h3.dh-faq-q { font-size: 18px; color: var(--dh-ink); }
.dh-sub .dh-practice-body .dh-note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--dh-line); font-size: 14px; color: var(--dh-body); }
.dh-sub .dh-practice-side { position: sticky; top: 104px; }
.dh-sub .dh-practice-lawyer { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--dh-white); box-shadow: var(--dh-shadow); color: inherit; text-decoration: none; }
.dh-sub .dh-practice-lawyer img { display: block; width: 100%; height: 260px; object-fit: contain; object-position: center bottom; background: #f6efe3; }
.dh-sub .dh-practice-lawyer span { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px 20px; }
.dh-sub .dh-practice-lawyer small { font-size: 13px; color: var(--dh-accent); font-weight: 700; }
.dh-sub .dh-practice-lawyer strong { font-size: 19px; color: var(--dh-ink); }
.dh-sub .dh-practice-lawyer em { font-style: normal; font-size: 14px; line-height: 1.5; color: var(--dh-body); }
.dh-sub .dh-practice-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.dh-sub .dh-practice-related section { padding: 26px 28px; border-radius: 24px; background: var(--dh-white); box-shadow: var(--dh-shadow); }
.dh-sub .dh-practice-related h2 { margin: 0 0 10px; font-size: 21px; font-weight: 700; color: var(--dh-ink); }
.dh-sub .dh-practice-related ul { margin: 0; padding: 0; list-style: none; }
.dh-sub .dh-practice-related li + li { border-top: 1px solid var(--dh-line); }
.dh-sub .dh-practice-related a { display: block; padding: 11px 0; color: var(--dh-ink); font-size: 16px; line-height: 1.5; text-decoration: none; }
.dh-sub .dh-practice-related a:hover { color: var(--dh-accent); }
.dh-sub .dh-practice-others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.dh-sub .dh-practice-others a { padding: 10px 22px; border: 1px solid var(--dh-ink); border-radius: 999px; color: var(--dh-ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.dh-sub .dh-practice-others a:hover { background: var(--dh-ink); color: #fff; }
@media (max-width: 900px) {
  .dh-sub .dh-practice-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dh-sub .dh-practice-side { position: static; }
  .dh-sub .dh-practice-lawyer { flex-direction: row; align-items: center; }
  .dh-sub .dh-practice-lawyer img { width: 96px; height: 120px; flex: none; }
  .dh-sub .dh-practice-summary { font-size: 18px; }
}

/* ---------- 오류 화면 ---------- */
.dh-sub .dh-error-code { margin: 0 0 6px; font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--dh-accent); }
.dh-sub .dh-error .dosan-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dh-sub .dh-error .dosan-result-actions a.dh-error-sub { border: 1px solid var(--dh-ink); background: transparent; color: var(--dh-ink); }
.dh-sub .dh-error .dosan-result-actions a.dh-error-sub:hover { background: var(--dh-ink); color: #fff; }

/* ---------- 왼쪽 끝 맞추기: 모든 단의 글이 같은 선에서 시작한다(폭 1240 - 좌우 32) ----------
   업무사례 목록 카드·상세(.success-cards·.success-layout)는 2026-11-26 본 홈페이지 폭(1500)을 따르도록 이 묶음에서 뺐다. */
.dh-sub .main,
.dh-sub .dosan-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---------- 선: 어두운 밑줄을 옅게 ---------- */
.dh-sub .career-title h3,
.dh-sub .education-title h3,
.dh-sub .cases-title h3,
.dh-sub .credentials-title h3 { border-color: var(--dh-line); }
.dh-sub .career-title,
.dh-sub .education-title,
.dh-sub .cases-title,
.dh-sub .credentials-title { border-color: var(--dh-line); }

/* ---------- 태블릿·휴대폰 ---------- */
@media (max-width: 1024px) {
  /* 머리가 화면 위에 떠 있어(60px) 그만큼 내린다 */
  .dh-sub .wrap > .txt { margin-top: 60px; min-height: 180px; padding-top: 48px; padding-bottom: 32px; }
  .dh-sub .main { margin-top: 60px; }
}
@media (max-width: 767px) {
  .dh-sub .wrap > .txt { padding-left: 16px; padding-right: 16px; }
  .dh-sub .wrap > .txt::before { background:
    linear-gradient(180deg, rgba(251, 247, 239, .94), rgba(251, 247, 239, .9)),
    url(/img/thumbnail_portrait.jpg) center / cover no-repeat; }
  .dh-sub .main::before { background:
    linear-gradient(180deg, rgba(251, 247, 239, .96) 0%, rgba(251, 247, 239, .94) 62%, rgba(251, 247, 239, .6) 100%),
    url(/img/thumbnail_portrait.jpg) center / cover no-repeat; }
  .dh-sub .profile_txt { padding: 0 16px; }
  .dh-sub .career, .dh-sub .education, .dh-sub .cases, .dh-sub .credentials { padding: 24px 20px; }
  .dh-sub .main, .dh-sub .dosan-page, .dh-sub .success-cards, .dh-sub .success-layout, .dh-sub .column-section, .dh-sub .wrap-inner { padding-left: 16px; padding-right: 16px; }
  .dh-sub .success-cards { grid-template-columns: minmax(0, 1fr); }
  .dh-sub .cta-wrap { padding: 48px 16px 64px; }
  .dh-sub .cta { padding: 12px; border-radius: 22px; }
  .dh-sub .dosan-page-lead { font-size: 16px; }
  .dh-sub .dosan-consult-form { padding: 22px 16px; border-radius: 22px; }
  .dh-sub .dosan-location-map { border-radius: 20px; }
}
