/* 김재영행정사 — 사이트 전용 스타일
   main.css / nav.css 는 손대지 않고 여기서만 확장한다. */

:root {
  --navy: #0d255f;   /* 히어로 카피와 동일 — 사이트 네이비를 이 하나로 통일(2026-09-10) */
  --navy-d: #081a45;
  --navy-l: #16386f;
  --accent: #8C2F39;     /* 포인트색 — 버건디 (2026-09-10 금색에서 변경) */
  --accent-l: #D9838C;   /* 어두운 배경(패널·푸터)용 밝은 버건디 */
  --ink: #1a1f2e;
  --sub: #56607a;
  --soft: #f4f6fb;
  --line: #e6e8ee;
  --panel: #0d255f;   /* 어두운 패널 배경 — 문의폼·오시는 길. --navy 와 같은 값이지만 역할이 달라 이름은 유지 */
}

/* ───────── 헤더 브랜드 락업 ─────────
   로고는 심볼+영문+상호가 한 장으로 들어간 이미지(800×268, 비율 2.985:1).
   높이만 지정하고 폭은 auto 로 둔다. 어두운 배경에는 logo-white.png 를 쓴다. */
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { height: 58px; width: auto; display: block; }

.header-tel {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--navy); color: #fff !important;
  font-size: 14px; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap;
}
.header-tel:hover { background: var(--navy-d); text-decoration: none; }
/* ───────── 홈 히어로 (밝은 톤) ─────────
   네이비 오버레이를 걷어내고 사진 본래의 밝기를 살린다.
   대신 사진 위 글자가 안 읽히므로 흰 글씨 → 진한 남색으로 바꾸고,
   글자가 놓이는 쪽에만 옅은 흰 베일을 깔아 가독성을 확보한다. */
.home-hero {
  position: relative; min-height: 800px;
  display: flex; align-items: center;
  background: #fff;
  overflow: hidden;
}
/* 사진 하단만 흰색으로 페이드아웃 (PC 전용).
   좌우 베일이 아니라 아래쪽 그라디언트라서 사진 밝기는 그대로 살아 있고,
   히어로에 걸쳐 올라온 업무영역 카드와 자연스럽게 이어진다.
   z-index 1 — .hero-slides 위, .container(2)·.hero-dots(3) 아래 */
@media (min-width: 901px) {
  .home-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 55%; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom,
                rgba(255,255,255,0)    0%,
                rgba(255,255,255,.35) 34%,
                rgba(255,255,255,.78) 64%,
                rgba(255,255,255,.96) 86%,
                #fff                 100%);
  }
}

/* 모바일 — 세로 화면에서는 사진이 크게 잘려 인물·정장이 카피와 정면으로 겹친다.
   실측 결과 카피 영역의 64%가 어두운 픽셀(L<0.4)이라 PC 식 하단 페이드로는 부족하다.
   카피가 놓이는 가운데 띠를 가장 진하게 덮고 위아래는 열어둬 사진이 살아 있게 한다. */
@media (max-width: 900px) {
  .home-hero::after {
    content: ""; position: absolute; inset: 0;
    z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom,
                rgba(255,255,255,.30)   0%,
                rgba(255,255,255,.74)  18%,
                rgba(255,255,255,.82)  52%,
                rgba(255,255,255,.74)  82%,
                rgba(255,255,255,.42) 100%);
  }
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s ease;
  transform: scale(1.06);
}
.hero-slide.on { opacity: 1; transform: scale(1); transition: opacity 1.1s ease, transform 7s linear; }

.home-hero .container {
  position: relative; z-index: 2; width: 100%;   /* flex 안에서 줄어들지 않게 — 카피가 좌측 정렬된다 */
  padding-top: 40px; padding-bottom: 40px;
}

/* 좌측 정렬 슬라이드만 카피를 조금 안쪽으로 — 가운데 정렬 슬라이드(align-center)는 그대로 둔다.
   .container 기본 좌우 여백이 20px 이므로 +60px 만큼 들어간다. 모바일은 화면이 좁아 적용하지 않는다. */
@media (min-width: 901px) {
  .home-hero:not(.align-center) .container { padding-left: 80px; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; margin-bottom: 22px;
  border: 1px solid rgba(140,47,57,.40); background: rgba(255,255,255,.7);
  border-radius: 999px;
  color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.home-hero h1 {
  color: var(--panel); font-size: clamp(32px, 5vw, 60px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.28; margin-bottom: 20px;
}
.home-hero h1 .hl { color: var(--accent); }
.home-hero p.lead {
  color: #000; font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.75; max-width: 660px; margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn-gold,
.hero-actions .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; transition: background .18s, color .18s, transform .12s;
}
.hero-actions .btn-gold { background: var(--accent); color: #fff; }
.hero-actions .btn-gold:hover { background: #71252d; text-decoration: none; transform: translateY(-2px); }
.hero-actions .btn-outline {
  border: 1px solid var(--panel); background: rgba(255,255,255,.75); color: var(--panel);
}
.hero-actions .btn-outline:hover { background: var(--panel); color: #fff; text-decoration: none; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3;
  display: flex; justify-content: center; gap: 9px;
}
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(13,37,95,.28); cursor: pointer; transition: background .2s, width .2s;
}
.hero-dots button.on { background: var(--accent); width: 26px; border-radius: 5px; }


/* 스크린리더·크롤러에만 보이는 제목. 화면에는 아무 영향이 없다(면적 0, 클립). */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* ───────── 섹션 공통 ───────── */
.sec { padding: 88px 0; }
.sec.alt { background: var(--soft); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .eyebrow {
  display: block; font-size: 14px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 12px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800;
  letter-spacing: -.035em; color: var(--ink); margin: 0 0 14px;
}
.sec-head p { color: var(--sub); font-size: 16px; line-height: 1.75; margin: 0; }

/* ───────── 업무영역 카드 (5장 1열) ─────────
   폭이 좁아지므로 설명·태그 영역에 고정 높이를 줘서 5장의 내부 구조를 똑같이 맞춘다.
   색은 네이비 단색 하나로 통일(그라디언트 제거). */
.svc-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.svc-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 22px 24px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc-card:hover {
  transform: translateY(-5px); border-color: var(--navy);
  box-shadow: 0 20px 44px rgba(8, 26, 69,.14); text-decoration: none;
}
/* 아이콘 — 네모 배지 대신 카드 우상단을 채우는 워터마크.
   PNG 원본이 검정이라 그대로 opacity 를 주면 회색이 된다. mask 로 실루엣만 따서
   background-color 로 네이비를 입힌다(색·농도를 CSS 에서 자유롭게 조절 가능).
   경로는 landing.php 가 --ico 커스텀 프로퍼티로 카드마다 넣어준다. */
.svc-ico {
  position: absolute; top: -16px; right: -20px; z-index: 0;
  width: 146px; height: 146px; margin: 0;
  display: block; border-radius: 0;
  background-color: rgba(13, 37, 95, .07);
  -webkit-mask: var(--ico) no-repeat center / contain;
          mask: var(--ico) no-repeat center / contain;
  pointer-events: none; transition: background-color .2s;
}
.svc-card:hover .svc-ico { background-color: rgba(140, 47, 57, .13); }
/* mask 를 못 쓰는 브라우저에서 네이비 사각형이 남지 않도록 */
@supports not ((-webkit-mask-image: url("#a")) or (mask-image: url("#a"))) {
  .svc-ico { display: none; }
}
.svc-card h3 {
  position: relative; z-index: 1;
  font-size: 21px; font-weight: 800; letter-spacing: -.035em;
  color: var(--ink); margin: 16px 0 12px; white-space: nowrap;
}
/* 설명 — 문장마다 줄바꿈. 5장 중 가장 긴 것(3줄)에 맞춰 높이를 고정한다 */
.svc-card > p {
  position: relative; z-index: 1;
  color: var(--sub); font-size: 15px; font-weight: 300; line-height: 1.72;
  margin: 0 0 16px; min-height: 5.9em; word-break: keep-all;   /* 가장 긴 카드 실측 87px = 5.8em */
}
/* 태그 — 3개 고정, 세로 나열로 폭 차이를 없앤다 */
.svc-tags {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  margin: 0 0 18px; padding: 0; list-style: none;
}
.svc-tags li {
  padding: 5px 11px; border-radius: 999px; background: var(--soft);
  color: var(--sub); font-size: 12.5px; font-weight: 600;
  letter-spacing: -.02em; white-space: nowrap;
}
.svc-more {
  margin-top: auto; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); font-size: 13.5px; font-weight: 700;
}
.svc-card:hover .svc-more { color: var(--accent); }
.svc-more svg { width: 15px; height: 15px; transition: transform .2s; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

/* ───────── 업무영역 카드를 히어로 위로 올리기 ─────────
   섹션 타이틀(sec-head)을 없애고 카드가 히어로 사진 하단에 걸치게 한다.
   겹치는 만큼 카드 그림자를 강하게 줘야 사진 위에서 카드로 읽힌다. */
.sec-svc {
  position: relative; z-index: 5;
  padding-top: 0; margin-top: -80px;
}
.sec-svc .svc-card { box-shadow: 0 18px 40px rgba(13,37,95,.13); }
.sec-svc .svc-card:hover { box-shadow: 0 26px 54px rgba(8, 26, 69,.20); }
/* 카드가 히어로 하단을 덮으므로 도트를 카드 위쪽으로 올린다 */
.home-hero .hero-dots { bottom: 98px; }

/* ═══════════ 강점 — 좌측 타이틀 + 우측 카드 (블로그 섹션과 동일 비율) ═══════════ */
.why-layout { display: grid; grid-template-columns: 1fr 4fr; gap: 48px; align-items: center; }
.why-aside { text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 14px; padding: 28px 24px 26px;
  border: 1px solid var(--line); text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.why-item:hover {
  transform: translateY(-4px); border-color: var(--panel);
  box-shadow: 0 18px 40px rgba(8, 26, 69, .10);
}
/* 번호 — 카드 우상단 워터마크. 흐름에서 빠지므로 제목에 위 여백을 따로 준다 */
.why-num {
  position: absolute; top: 2px; right: 14px; z-index: 0;
  font-family: "Poppins", sans-serif; font-size: 76px; font-weight: 800;
  line-height: 1; letter-spacing: -.045em;
  color: rgba(13, 37, 95, .07);
  -webkit-user-select: none; user-select: none; pointer-events: none;
  transition: color .2s;
}
.why-item:hover .why-num { color: rgba(140, 47, 57, .14); }
.why-item h3 {
  position: relative; z-index: 1;
  font-size: 21px; font-weight: 800; letter-spacing: -.035em;
  line-height: 1.35; margin: 40px 0 12px; color: var(--ink);
}
.why-item p { position: relative; z-index: 1; color: var(--sub); font-size: 15.5px; font-weight: 300; line-height: 1.72; margin: 0; }

/* ───────── CTA 배너 ───────── */
.cta-band {
  position: relative; padding: 76px 0;
  background: linear-gradient(105deg, var(--navy-d) 0%, var(--navy) 100%);
  color: #fff; text-align: center; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -80px; right: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(140,47,57,.14);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 {
  font-size: clamp(23px, 3vw, 33px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.4; margin: 0 0 16px;
}
.cta-band p { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.75; margin: 0 0 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ───────── 공지/문의 2단 ───────── */
.board-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.board-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 28px 22px; }
.board-box-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.board-box-head h3 { font-size: 19px; font-weight: 800; letter-spacing: -.03em; margin: 0; color: var(--ink); }
.board-box-head a { font-size: 13px; font-weight: 600; color: var(--sub); }
.board-box-head a:hover { color: var(--navy); }
.board-box ul { list-style: none; margin: 0; padding: 0; }
.board-box li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid #f2f4f8;
}
.board-box li:last-child { border-bottom: 0; }
.board-box li a {
  color: var(--ink); font-size: 15px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.board-box li a:hover { color: var(--navy); }
.board-box li time { color: #9aa1b1; font-size: 13px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.board-box .empty { color: #9aa1b1; font-size: 14px; padding: 22px 0; text-align: center; }

/* ───────── 오시는 길 ───────── */
.contact-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; justify-content: center; }
.contact-info h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; letter-spacing: -.035em; margin: 0 0 16px; }
.contact-info > p { color: var(--sub); line-height: 1.8; margin: 0 0 28px; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list b {
  flex: 0 0 88px; color: var(--navy); font-size: 14px; font-weight: 700;
}
.contact-list span { color: var(--sub); font-size: 15px; line-height: 1.6; }
.map-frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  min-height: 380px; background: var(--soft);
  display: flex; align-items: center; justify-content: center;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* 지도 빨간 핀 위의 사무소명. 구글 임베드는 검색 결과 마커를 프레임 정중앙에 놓으므로
   가운데에서 위로 밀어 올리면 핀 머리 위에 정확히 붙는다.
   iframe 위에 떠 있지만 pointer-events:none 이라 지도 조작을 막지 않는다. */
.map-frame { position: relative; }
.map-pin-label {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateY(-50px);   /* 핀 머리를 가리지 않게 — 핀 끝이 프레임 정중앙이다 */
  z-index: 2; pointer-events: none; white-space: nowrap;
  padding: 6px 15px; border-radius: 999px;
  background: #fff; color: var(--navy);
  font-size: 15px; font-weight: 300; letter-spacing: -.01em;
  box-shadow: 0 3px 10px rgba(13,14,17,.26);
}
/* 지도를 흑백으로 깔아둔 홈 변형에서도 라벨만은 또렷하게 */
.map-frame:not(.is-wide) .map-pin-label { box-shadow: 0 3px 12px rgba(13,14,17,.34); }
.map-placeholder { color: #9aa1b1; font-size: 14px; text-align: center; padding: 30px; }

/* ───────── 서브페이지 헤더 ─────────
   그라디언트 띠 + 제목만 있던 CMS 기본형에서, 브레드크럼 · 큰 제목 · 영문 부제 ·
   로고 마크 워터마크를 넣어 홈과 톤을 맞춘다. */
.page-hero {
  position: relative; overflow: hidden;
  padding: 66px 0 58px;
  background: linear-gradient(105deg, var(--navy-d) 0%, var(--navy) 100%);
  color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; opacity: .07; pointer-events: none;
  background: url("/assets/images/logo-mark.png") center / contain no-repeat;
}
.page-hero .container { position: relative; z-index: 1; }
.crumb { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; font-size: 12px; letter-spacing: .1em; }
.crumb a { color: rgba(255,255,255,.62); font-weight: 600; }
.crumb a:hover { color: #fff; text-decoration: none; }
.crumb i { font-style: normal; color: rgba(255,255,255,.28); }
.crumb b { color: #fff; font-weight: 700; }
.page-hero h1 {
  font-size: clamp(30px, 3.8vw, 46px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.2; margin: 0;
}
.page-hero-en {
  margin: 14px 0 0; padding-top: 14px; position: relative;
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-l);
}
.page-hero-en::before {
  content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 2px; background: var(--accent-l);
}

/* 대분류별 배너 사진. 보내주신 배너는 모두 왼쪽이 비어 있는 구도라,
   네이비를 덮지 않고 사진을 그대로 두되 글자 쪽에만 흰 베일을 깔아 가독성을 확보한다. */
.page-hero.has-bg {
  background:
    linear-gradient(100deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.88) 36%,
      rgba(255,255,255,.52) 62%,
      rgba(255,255,255,0) 84%),
    var(--hero-bg) var(--hero-pos, center)/cover no-repeat;   /* 인물 배너는 page_head 에서 --hero-pos 로 기준점을 바꾼다 */
  color: var(--ink);
}
/* 사진이 있으면 로고 워터마크는 뺀다 — 둘이 겹치면 지저분하다 */
.page-hero.has-bg::after { display: none; }
/* 배너가 밝아지면서 아래 탭·본문과 경계가 사라진다 — 밑선을 하나 긋는다.
   사진 어느 색 위에 놓여도 같은 굵기로 보이도록 반투명 네이비를 쓴다. */
.page-hero.has-bg { border-bottom: 1px solid rgba(13,37,95,.16); }

/* 밝은 배경이므로 글자를 네이비로 뒤집는다 */
.page-hero.has-bg .crumb a { color: var(--sub); }
.page-hero.has-bg .crumb a:hover { color: var(--navy); }
.page-hero.has-bg .crumb i { color: rgba(13,37,95,.28); }
.page-hero.has-bg .crumb b { color: var(--navy); }
.page-hero.has-bg h1 { color: var(--navy); }
.page-hero.has-bg .page-hero-en { color: var(--accent); }
.page-hero.has-bg .page-hero-en::before { background: var(--accent); }

@media (max-width: 768px) {
  /* 모바일은 글자가 화면 폭을 다 쓰므로 전체를 고르게 덮는다 */
  .page-hero.has-bg {
    background:
      linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.80) 100%),
      var(--hero-bg) var(--hero-pos, center)/cover no-repeat;
  }
}
/* 이전 마크업 잔재 — 다른 템플릿에서 아직 쓰고 있으면 그대로 보이게 둔다 */
.page-hero .eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent-l); text-transform: uppercase; margin-bottom: 12px;
}
.page-tabs { background: #fff; border-bottom: 1px solid var(--line); }
.page-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.page-tabs .container::-webkit-scrollbar { display: none; }
.page-tabs a {
  padding: 17px 20px; white-space: nowrap;
  color: var(--sub); font-size: 15px; font-weight: 600; letter-spacing: -.02em;
  border-bottom: 3px solid transparent;
}
.page-tabs a:hover { color: var(--navy); text-decoration: none; }
.page-tabs a.on { color: var(--navy); border-bottom-color: var(--navy); }

/* 모바일 하위메뉴 — 가로 탭이 화면 밖으로 잘리므로 아코디언으로 바꾼다.
   닫힌 줄은 "홈 아이콘 / 대메뉴 / 현재 페이지" 브레드크럼이고, 누르면 형제 페이지가 펼쳐진다.
   details 라 JS 가 필요 없고, 닫혀 있어도 링크가 DOM 에 남는다. */
.page-acc { display: none; }
@media (max-width: 860px) {
  .page-tabs { display: none; }
  .page-acc { display: block; background: #fff; border-bottom: 1px solid var(--line); }

  /* 같은 내용이 히어로 안에도 있으면 중복이다 — 대화형인 이쪽만 남긴다 */
  .page-hero:has(~ .page-acc) .crumb { display: none; }

  .page-acc summary {
    position: relative; list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    padding: 13px 44px 13px 16px; min-height: 50px;
  }
  .page-acc summary::-webkit-details-marker { display: none; }
  .page-acc summary::marker { content: ''; }

  .page-acc-home { flex: 0 0 auto; display: flex; align-items: center; color: var(--sub); }
  .page-acc-home svg { width: 17px; height: 17px; display: block; }
  .page-acc-home:hover { color: var(--navy); }

  .page-acc summary i {
    flex: 0 0 auto; font-style: normal; font-size: 12px; color: var(--line);
  }
  .page-acc-grp {
    flex: 0 0 auto; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 13.5px; font-weight: 600; letter-spacing: -.02em; color: var(--sub);
  }
  .page-acc summary b {
    flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 15.5px; font-weight: 700; letter-spacing: -.03em; color: var(--navy);
  }

  /* 셰브론 */
  .page-acc summary::after {
    content: ""; position: absolute; right: 20px; top: 50%;
    width: 9px; height: 9px; margin-top: -6px;
    border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub);
    transform: rotate(45deg); transform-origin: center;
    transition: transform .25s ease, border-color .25s ease;
  }
  .page-acc[open] summary::after {
    margin-top: -2px; transform: rotate(-135deg); border-color: var(--accent);
  }

  .page-acc-list { border-top: 1px solid var(--line); padding: 4px 0 8px; }
  .page-acc-list a {
    position: relative; display: block; padding: 12px 16px 12px 31px;
    font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; color: var(--sub);
  }
  .page-acc-list a:hover { text-decoration: none; }
  .page-acc-list a.on { color: var(--navy); font-weight: 700; background: var(--soft); }
  /* 표시 막대는 화면 끝이 아니라 본문과 같은 16px 그리드에서 시작한다 */
  .page-acc-list a.on::before {
    content: ""; position: absolute; left: 16px; top: 11px; bottom: 11px;
    width: 3px; border-radius: 2px; background: var(--accent);
  }
}

/* ───────── 우측 퀵메뉴 (엔릴 패턴) ─────────
   평소에는 원형, 호버하면 버튼 자체가 알약으로 늘어나며 라벨이 안에서 펼쳐진다.
   컨테이너를 flex-end 로 두어 늘어나는 방향이 왼쪽이 되게 한다.
   주소(office_info)가 비어 있으면 색은 유지한 채 흐리게 처리하고 클릭만 막는다. */
.quick-bar {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.quick-btn {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  width: 76px; height: 76px; min-width: 76px; padding: 0 5px; overflow: hidden;
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; color: #fff; text-decoration: none; text-align: center;
  box-shadow: 0 6px 18px rgba(13,14,17,.16);
  transition: box-shadow .18s, transform .14s;
}
/* 호버에서 알약처럼 늘어나지 않는다 — 이름을 항상 보여주므로 펼칠 게 없다 */
.quick-btn:hover { box-shadow: 0 10px 24px rgba(13,14,17,.26); transform: translateY(-2px); text-decoration: none; }
.quick-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.quick-btn svg {
  display: block; width: 24px; height: 24px; flex: 0 0 auto; margin: 0;
}
.quick-btn > span {
  display: block; max-width: 66px; color: inherit;
  font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: -.04em;
  word-break: keep-all;   /* '네이버 블로그' 가 '네이/버 블로그' 로 끊기지 않게 */
}

.q-blog  { background: #03C75A; }                    /* 네이버 그린 */
.q-youtube { background: #FF0000; }
.q-talk  { background: #fff; color: #03C75A; box-shadow: 0 6px 18px rgba(13,14,17,.16), inset 0 0 0 1px var(--line); }
.q-kakao { background: #FEE500; color: #3C1E1E; }
.q-kakao:hover { color: #3C1E1E; }
.q-tel   { background: var(--navy); }   /* 퀵메뉴 유튜브(빨강)와 색이 겹치지 않게 네이비 */
.q-top   { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(13,14,17,.16), inset 0 0 0 1px var(--line); }
.q-top:hover { color: var(--ink); }
.q-blog svg  { width: 22px; height: 22px; }
.q-youtube svg { width: 26px; height: 26px; }
.q-kakao svg { width: 25px; height: 25px; }

/* 주소 미설정 — 브랜드 색은 두고 클릭만 막는다 */
.quick-btn.is-off { cursor: default; opacity: .5; box-shadow: none; }
.quick-btn.is-off:hover { opacity: .72; }

/* ───────── 푸터 ───────── */
/* main.css 의 .site-footer 는 text-align:center 다. 그대로 두면 li 박스는 좌측인데 글자만 가운데로
   몰려서 폭이 넓은 항목(주소·상담시간)만 중앙 정렬처럼 보인다 — 여기서 좌측으로 되돌린다 */
.site-footer { background: #12152e; color: rgba(255,255,255,.62); padding: 54px 0 0; margin-top: 0; text-align: left; }
.footer-grid { display: grid; grid-template-columns: 325px 1fr 330px; gap: 40px; padding-bottom: 34px; }
/* 상담시간 — 오른쪽 칸에 크게. 왼쪽에 실선을 세워 푸터 정보와 구분한다 */
.footer-hours { border-left: 1px solid rgba(255,255,255,.14); padding-left: 34px; }
.fh-title {
  margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-l);
}
.fh-main { margin: 0 0 10px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.3; }
.fh-note { margin: 0; font-size: 14.5px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.55); }
.footer-brand { display: flex; align-items: center; }
.footer-brand img { height: 78px; width: auto; display: block; opacity: .95; }
.footer-info ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.footer-info li { font-size: 16px; line-height: 1.75; }
.footer-info li.full { flex-basis: 100%; }
.footer-info b { color: rgba(255,255,255,.9); font-weight: 700; margin-right: 8px; }
.footer-info a { color: rgba(255,255,255,.72); }
.footer-info a:hover { color: #fff; text-decoration: none; }   /* main.css 의 a:hover 밑줄 해제 */
.footer-note { font-size: 14px; color: rgba(255,255,255,.42); line-height: 1.7; margin: 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 18px 20px; border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { margin: 0; font-size: 14px; }
.footer-bottom a { color: rgba(255,255,255,.62); }
.footer-bottom a:hover { color: #fff; }

/* ───────── 반응형 ───────── */
/* 로고가 커진 만큼 중간 폭에서는 GNB 간격을 좁혀 우측 언어버튼이 잘리지 않게 한다 */
/* 전화번호까지 들어가면 1100px 이하에서 언어버튼이 잘린다 → 아이콘만 남긴다 */
@media (max-width: 1100px) {
  .header-tel span { display: none; }
  .header-tel { padding: 9px 11px; }
}
@media (max-width: 1240px) {
  .gnb-link { padding-left: 11px; padding-right: 11px; font-size: 15px; }
  .gnb-link::after { left: 11px; right: 11px; }
}
@media (max-width: 1100px) {
  /* 3단이 좁아지면 상담시간을 아래 한 줄로 내린다 */
  .footer-grid { grid-template-columns: 325px 1fr; }
  .footer-hours { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-left: 0; padding-top: 22px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  /* 햄버거 메뉴 안에 언어 선택(.gnb-extra-langs)이 들어 있고 퀵메뉴에 전화 버튼이 있으므로
     헤더의 전화·언어 버튼은 중복이다 — 로고와 햄버거만 남긴다 */
  .header-tel, .lang-switcher { display: none; }
  /* 좁은 화면에서는 카드가 5장·2열이라 히어로를 덮어버린다 — 겹침 해제 */
  .sec-svc { margin-top: 0; padding-top: 58px; }
  .home-hero .hero-dots { bottom: 26px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --header-h: 72px; }   /* 모바일에서는 헤더가 과하게 높아지지 않도록 */
  .brand img { height: 46px; }
  .contact-split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sec { padding: 58px 0; }
  .home-hero { min-height: 520px; }
  .svc-grid, .why-grid, .board-cols { grid-template-columns: 1fr; }
  .svc-card > p { min-height: 0; }
  .svc-tags { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  /* 3단이 무너지면 세로 실선이 어색하다 — 위쪽 실선으로 바꾼다 */
  .footer-hours { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-left: 0; padding-top: 22px; }
  .footer-info ul { gap: 4px; }
  .footer-info li { flex-basis: 100%; }
  .footer-bottom { justify-content: flex-start; }
  /* 퀵메뉴 — 화면 우측에 세워두면 본문을 가리므로 하단 가로 배치로 바꾼다 */
  .quick-bar {
    right: 12px; bottom: 14px; top: auto; transform: none;
    flex-direction: row; align-items: center; gap: 7px;
  }
  .quick-btn { min-width: 46px; width: 46px; height: 46px; box-shadow: 0 4px 12px rgba(13,14,17,.18); }
  .quick-btn svg { margin-left: 0; margin-right: 0; }
  .quick-btn svg { width: 22px; height: 22px; }
  .q-blog svg { width: 20px; height: 20px; }
  .q-youtube svg { width: 24px; height: 24px; }
  .q-kakao svg { width: 23px; height: 23px; }
  .quick-btn > span { display: none; }
  /* 퀵메뉴에 가리지 않도록 푸터 하단 여유 */
  .site-footer { padding-bottom: 62px; }
}

/* ───────── 서브페이지 본문 ───────── */
.page-body-wrap { padding: 62px 20px 84px; max-width: 1400px; }
/* 컨테이너가 1400px 이라 흐르는 텍스트는 한 줄이 60자를 넘어 읽기 어렵다 — 본문만 폭을 제한한다.
   표·인사말 전용 블록은 제외해서 넓은 폭을 그대로 쓴다 */
.page-body-wrap .post-body > p,
.page-body-wrap .post-body > ul,
.page-body-wrap .post-body > ol,
.page-body-wrap .post-body > h2,
.page-body-wrap .post-body > h3,
.page-body-wrap .post-body > .lead-box { max-width: 900px; }
.page-body-wrap .post-body { padding: 0; }
.post-body > *:first-child { margin-top: 0; }
.post-body h2 {
  position: relative; margin: 52px 0 20px; padding-left: 16px;
  font-size: 24px; font-weight: 800; letter-spacing: -.035em; color: var(--ink);
}
.post-body h2::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px; background: var(--accent);
}
.post-body h3 { margin: 32px 0 12px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.post-body p { color: var(--sub); line-height: 1.85; margin: 0 0 16px; }
.post-body strong { color: var(--ink); font-weight: 700; }

/* 리드 문단 */
.post-body .lead-box {
  padding: 28px 30px; margin: 0 0 40px;
  background: var(--soft); border-left: 4px solid var(--navy); border-radius: 0 12px 12px 0;
}
.post-body .lead-box p { color: var(--ink); font-size: 17px; line-height: 1.8; margin: 0; font-weight: 500; }

/* 체크 목록 */
.post-body ul.check { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.post-body ul.check li {
  position: relative; padding: 14px 18px 14px 46px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  color: var(--sub); font-size: 15px; line-height: 1.6;
}
.post-body ul.check li::before {
  content: ""; position: absolute; left: 18px; top: 19px;
  width: 15px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* 절차 스텝 */
.post-body ol.steps { list-style: none; counter-reset: st; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.post-body ol.steps li {
  position: relative; counter-increment: st;
  padding: 18px 22px 18px 66px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  color: var(--sub); font-size: 15px; line-height: 1.65;
}
.post-body ol.steps li::before {
  content: "0" counter(st);
  position: absolute; left: 20px; top: 17px;
  font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 700; color: var(--accent);
}
.post-body ol.steps li b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 3px; }

/* 일반 목록 */
/* 일반 본문 목록. 전용 컴포넌트 목록(doc-list·case-list)은 자체 패딩을 쓰므로 제외한다 — 빼면 padding-left:20px 가 먹어 좌측 정렬이 어긋난다 */
.post-body ul:not(.check):not(.svc-tags):not(.doc-list):not(.case-list):not(.prof-list) { margin: 0 0 20px; padding-left: 20px; color: var(--sub); line-height: 1.85; }
.post-body ul:not(.check):not(.svc-tags):not(.doc-list):not(.case-list):not(.prof-list) li { margin-bottom: 6px; }

/* 표 */
.post-body .table-wrap { overflow-x: auto; margin: 0 0 24px; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-body th, .post-body td { padding: 13px 16px; border: 1px solid var(--line); text-align: left; }
.post-body th { background: var(--soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
.post-body td { color: var(--sub); line-height: 1.65; }

/* 기한 경고 — 노란 계열이라 그냥 참고사항처럼 읽혔다. 버건디 톤 + 좌측 굵은 선으로 경고임을 분명히 한다 */
.post-body .note {
  padding: 24px 28px 24px 30px; margin: 0 0 24px;
  background: #fdf5f6; border: 1px solid #f1dade; border-left: 5px solid var(--accent);
  border-radius: 0 10px 10px 0;
}
.post-body .note p { color: #7a3d45; font-size: 16.5px; line-height: 1.8; margin: 0; word-break: keep-all; }
.post-body .note b { color: var(--accent); font-weight: 700; }

/* 하단 상담 유도 */
.post-cta {
  margin-top: 56px; padding: 38px 34px; border-radius: 14px;
  background: linear-gradient(105deg, var(--navy-d) 0%, var(--navy) 100%);
  color: #fff; text-align: center;
}
.post-cta h3 { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 10px; }
.post-cta p { color: rgba(255,255,255,.78); font-size: 15px; margin: 0 0 22px; }
.post-cta .hero-actions { justify-content: center; }

@media (max-width: 768px) {
  .page-body-wrap { padding: 40px 20px 60px; }
  .post-body h2 { font-size: 20px; margin: 38px 0 16px; }
  .post-body .lead-box { padding: 22px 22px; }
  .post-cta { padding: 30px 22px; }
}


/* ═══════════ 좌측 타이틀 + 우측 캐러셀 (블로그) ═══════════ */
/* 컨테이너는 main.css 의 --max-w(1600px) 로 통일 — 개별 max-width 는 두지 않는다 */
.car-layout { display: grid; grid-template-columns: 1fr 4fr; gap: 48px; align-items: center; }

.car-aside { text-align: center; }
.sec-kicker {
  font-size: 14px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent); text-transform: uppercase; margin: 0 0 12px;
}
.sec-title {
  font-size: clamp(30px, 3vw, 46px); font-weight: 800;
  letter-spacing: -.035em; color: var(--ink); margin: 0 0 12px;
}
.sec-sub { color: var(--sub); font-size: 14.5px; line-height: 1.7; margin: 0 0 26px; }
.car-aside .sec-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border: 1.5px solid var(--navy); border-radius: 999px;
  font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: none;
  transition: background .2s, color .2s;
}
.car-aside .sec-more:hover { background: var(--navy); color: #fff; text-decoration: none; }
.car-aside .sec-more span { font-size: 21px; line-height: 1; }
.car-nav { display: flex; align-items: center; justify-content: center; margin-top: 32px; }
.car-count { font-variant-numeric: tabular-nums; color: var(--sub); font-size: 14px; letter-spacing: .05em; }
.car-count b { color: var(--ink); font-size: 24px; font-weight: 800; }
.car-count i { margin: 0 7px; opacity: .4; font-style: normal; }

.car-main { min-width: 0; position: relative; }
.car-viewport { overflow: hidden; padding: 12px 0; }
.car-track {
  display: flex; gap: 20px;
  transition: transform .5s cubic-bezier(.5, 0, .2, 1); will-change: transform;
}
.car-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.car-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.car-arrow.is-off { opacity: .3; pointer-events: none; }
.car-main > .car-arrow {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 6;
  box-shadow: 0 6px 18px rgba(8, 20, 42, .18);
}
.car-main > .car-arrow.prev { left: -18px; }   /* 컨테이너 좌우 여백이 20px — 그보다 더 나가면 가로 스크롤이 생긴다 */
.car-main > .car-arrow.next { right: -18px; }

.pc-card {
  flex: 0 0 auto; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pc-card:hover {
  transform: translateY(-6px); border-color: var(--navy);
  box-shadow: 0 20px 44px rgba(8, 26, 69, .14); text-decoration: none;
}
.pc-thumb {
  position: relative; display: block; aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-l) 100%) center / cover no-repeat;
}
.pc-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(8, 20, 42, .3));
}
.pc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--panel); color: #fff; font-style: normal;   /* 히어로 카피와 같은 네이비 */
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.pc-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pc-title {
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.9em; word-break: keep-all;
}
.pc-date { font-size: 12px; color: #9aa1b1; font-variant-numeric: tabular-nums; }

.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.carousel-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(13, 37, 95, .25); cursor: pointer; transition: background .2s, width .2s;
}
.carousel-dots button:hover { background: rgba(13, 37, 95, .5); }
.carousel-dots button.on { background: var(--navy); width: 28px; border-radius: 999px; }

/* ═══════════ 온라인 상담신청현황 + 간편 문의 ═══════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cs-title {
  font-size: clamp(28px, 2.8vw, 42px); font-weight: 800; letter-spacing: -.035em;
  color: var(--ink); margin: 0 0 18px; padding-bottom: 20px; border-bottom: 2px solid var(--line);
}
.cs-list { list-style: none; padding: 0; margin: 0 0 26px; }
.cs-list li { display: flex; align-items: center; gap: 16px; padding: 15px 4px; border-bottom: 1px dashed var(--line); }
.cs-badge {
  flex: 0 0 auto; background: var(--panel); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 15px; border-radius: 999px;
}
.cs-text {
  flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--sub);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cs-text b { color: var(--ink); font-weight: 700; }
.cs-date { flex: 0 0 auto; font-size: 13px; color: #9aa1b1; font-variant-numeric: tabular-nums; }

.cs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* 섹션 배경(--soft #f4f6fb)과 타일 배경이 거의 같은 색이라 경계가 안 보였다.
   흰 배경 + 실선 테두리 + 옅은 그림자로 카드로 떠 보이게 한다. */
.cs-tile {
  display: flex; align-items: center; gap: 12px; padding: 18px 16px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(8, 26, 69, .05); text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cs-tile:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: var(--panel); text-decoration: none;
}
.cs-tile.is-on { background: var(--panel); border-color: var(--panel); }
.cs-tile-ic {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(13, 37, 95, .08); display: grid; place-items: center; color: var(--panel);
}
.cs-tile-ic svg { width: 22px; height: 22px; }
.cs-tile.is-on .cs-tile-ic { background: rgba(255, 255, 255, .14); color: #fff; }
.cs-tile-tx { display: flex; flex-direction: column; line-height: 1.35; font-size: 15px; font-weight: 700; color: var(--ink); }
.cs-tile-tx em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--accent); margin-bottom: 1px; }
.cs-tile.is-on .cs-tile-tx { color: #fff; }
.cs-tile.is-on .cs-tile-tx em { color: var(--accent-l); }

/* 배경은 오시는 길 패널(.map-card)과 같은 브랜드 네이비로 통일 */
.contact-form.dark-form {
  position: relative; background: var(--panel); border: 0; border-radius: 8px;
  padding: 40px; box-shadow: 0 24px 60px rgba(3, 15, 40, .28); color: #fff;
}
.dark-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.cf-head strong { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.cf-head span { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .45); }
.dark-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.dark-form input, .dark-form textarea {
  width: 100%; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px;
  padding: 15px 16px; font-size: 15px; font-family: inherit; color: #fff;
  transition: border-color .2s, background .2s;
}
.dark-form input::placeholder, .dark-form textarea::placeholder { color: rgba(255, 255, 255, .5); }
.dark-form input:focus, .dark-form textarea:focus {
  outline: none; border-color: var(--accent-l); background: rgba(255, 255, 255, .1);
}
.dark-form input[name="email"] { margin-bottom: 14px; }
.dark-form textarea { resize: vertical; min-height: 118px; margin-bottom: 16px; }
.dark-form .btn-submit {
  width: 100%; background: #eef1f6; color: var(--panel); border: 0; border-radius: 6px;
  padding: 17px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .2s;
}
.dark-form .btn-submit:hover { background: #fff; }
.dark-form .btn-submit:disabled { opacity: .6; cursor: default; }
.dark-form .cf-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 14px; }
.cf-agree { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .72); cursor: pointer; }
.cf-agree input { width: 16px; height: 16px; accent-color: var(--accent-l); flex: 0 0 auto; }
.dark-form .form-msg { margin: 0; font-size: 13px; font-weight: 500; }
.dark-form .form-msg.ok { color: #6ee7b7; }
.dark-form .form-msg.err { color: #fca5a5; }

/* ═══════════ 오시는 길 (좌 지도 / 우 네이비 패널) ═══════════ */
.map-sec { padding-bottom: 96px; }
.map-wide { position: relative; z-index: 1; }
.map-layout { display: grid; grid-template-columns: 1fr 1.7fr; align-items: stretch; }   /* 좌 정보패널 / 우 지도 */
/* 지도 — 평소엔 흑백, 마우스를 올리면 컬러로 살아난다.
   iframe 은 기본적으로 pointer-events 를 꺼둔다. 켜두면 페이지 스크롤이 지도에 먹혀
   구글이 "Ctrl 을 누른 채 스크롤하세요" 안내를 띄운다. 클릭하면 그때 조작 가능(is-live). */
.map-frame {
  border-radius: 0 16px 16px 0; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28); min-height: 480px;
}
.map-frame iframe {
  display: block; width: 100%; height: 100%; min-height: 480px; border: 0;
  filter: grayscale(1); transition: filter .4s ease;
  pointer-events: none;
}
.map-frame:hover iframe,
.map-frame.is-live iframe { filter: none; }
.map-frame.is-live iframe { pointer-events: auto; }
.map-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px 0 0 16px; padding: 46px 42px; color: #fff;
}
.map-kicker { letter-spacing: .3em; font-size: 12px; font-weight: 700; color: var(--accent-l); margin: 0 0 12px; }
.map-name { font-size: clamp(25px, 2.3vw, 34px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 30px; }
.map-info { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; }
.map-info li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.map-info li:first-child { padding-top: 0; }
.map-info li:last-child { border-bottom: 0; padding-bottom: 0; }
.mi-ic {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; color: var(--accent-l);
}
.mi-ic svg { width: 21px; height: 21px; }
.mi-tx { min-width: 0; }
.mi-tx b { display: block; font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--accent-l); margin-bottom: 6px; }
.mi-tx p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.mi-tx a { color: inherit; }
.mi-tx a:hover { color: #fff; text-decoration: underline; }
.map-btn {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; color: var(--panel); font-size: 15px; font-weight: 700;
  padding: 17px; border-radius: 8px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.map-btn span { transition: margin .2s; }
.map-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); color: var(--panel); }
.map-btn:hover span { margin-left: 5px; }

/* ── 반응형 ── */
@media (max-width: 1100px) {
  /* 카드 4장이 좁은 우측 칸에 다 들어가지 않는다 — 타이틀을 위로 올리고 2열로 */
  .why-layout { grid-template-columns: 1fr; gap: 26px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .car-layout { grid-template-columns: 1fr; gap: 26px; }
  .car-nav { margin-top: 18px; }
}
@media (max-width: 980px) {
  .map-layout { grid-template-columns: 1fr; gap: 18px; }
  .map-frame, .map-frame iframe { min-height: 360px; }
  .map-frame { border-radius: 16px; }
  .map-card { padding: 34px 26px; border-radius: 16px; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  /* 위 1100px 블록이 뒤에 있어 768px 의 1열 규칙을 덮는다 — 여기서 다시 1열로 */
  .why-grid { grid-template-columns: 1fr; }
  .car-main > .car-arrow.prev { left: 2px; }
  .car-main > .car-arrow.next { right: 2px; }
  .map-sec { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .contact-form.dark-form { padding: 32px 20px; }
  .dark-form .cf-row { grid-template-columns: 1fr; }
  .dark-form .cf-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cs-tiles { gap: 8px; }
  .cs-tile { flex-direction: column; text-align: center; gap: 8px; padding: 16px 8px; }
  .cs-list li { gap: 12px; }
  .cs-text { white-space: normal; }
  .cs-date { display: none; }
}

/* 상담신청현황 상단 리드 — 기존 CTA 배너를 이 자리로 옮긴 것 */
.cs-lead { margin: 0 0 24px; }
.cs-lead strong {
  display: block; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800;
  letter-spacing: -.035em; color: var(--ink); margin-bottom: 8px;
}
.cs-lead p { color: var(--sub); font-size: 15px; line-height: 1.7; margin: 0 0 18px; }

/* 대표 상담전화 — 상담신청 섹션의 주 CTA */
.cs-tel {
  display: inline-flex; align-items: center; gap: 16px;
  margin: 18px 0 46px; text-decoration: none;   /* 위아래로 여백을 벌려 CTA 가 숨 쉬게 한다 */
}
.cs-tel:hover { text-decoration: none; }
.cs-tel-ic {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  transition: transform .2s;
}
.cs-tel-ic svg { width: 25px; height: 25px; }
.cs-tel:hover .cs-tel-ic { transform: translateY(-2px); }
.cs-tel-tx { display: flex; flex-direction: column; line-height: 1.2; }
.cs-tel-tx em {
  font-style: normal; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; color: var(--accent); margin-bottom: 5px;
}
.cs-tel-tx b {
  font-size: clamp(28px, 2.6vw, 38px); font-weight: 800;
  letter-spacing: -.02em; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.cs-tel:hover .cs-tel-tx b { color: var(--accent); }
@media (max-width: 560px) {
  .cs-tel { gap: 12px; }
  .cs-tel-ic { width: 46px; height: 46px; }
  .cs-tel-ic svg { width: 21px; height: 21px; }
}

/* 히어로 — 슬라이드별 정렬 (landing.php 의 slides[].align) */
.home-hero.align-center .container { text-align: center; }
.home-hero.align-center p.lead { margin-left: auto; margin-right: auto; }
.home-hero.align-center .hero-actions { justify-content: center; }

/* ═══════════ 인사말 페이지 ═══════════
   카드·그림자 대신 헤어라인과 여백으로 짜인 편집형 레이아웃.
   DB 본문 안(.post-body)에 들어가므로, 기본 h2·p 규칙을 눌러야 하는 곳은 .post-body 로 한정한다. */
.post-body .gr-intro {
  display: grid; grid-template-columns: 400px minmax(0, 880px); gap: 80px; align-items: start;
  margin: 0 0 76px;
}
/* 대표 사진 — /assets/images/ceo.jpg. 파일이 없으면 onerror 로 is-empty 가 붙어 로고 마크가 대신 들어간다 */
.gr-portrait { margin: 0; }
.gr-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: 3px; }
.gr-portrait.is-empty::before {
  content: ""; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 3px;
  background: var(--soft) url("/assets/images/logo-mark.png") center / 120px no-repeat;
  border: 1px dashed var(--line);
}
.gr-portrait figcaption {
  margin-top: 18px; padding-top: 15px; border-top: 2px solid var(--panel);
  display: flex; flex-direction: column; gap: 5px;
}
.gr-portrait figcaption b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.gr-portrait figcaption span { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; color: var(--sub); }

.gr-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; color: var(--accent); margin: 0 0 16px !important; }
.post-body .gr-head {
  margin: 0 0 28px; padding: 0;
  font-size: clamp(26px, 2.6vw, 36px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.36; color: var(--panel);
}
.post-body .gr-head::before { display: none; }
.post-body .gr-lead { font-size: 21px; font-weight: 500; line-height: 1.8; color: var(--ink); margin: 0 0 24px; }
.post-body .gr-message p { font-size: 18px; font-weight: 300; line-height: 1.9; color: #38405a; }   /* 기본 본문색(--sub #56607a)보다 한 단계 진하게 */
.post-body .gr-sign {
  margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--sub);
}
.gr-sign b { font-size: 21px; font-weight: 800; letter-spacing: .14em; color: var(--ink); margin-left: 12px; }

/* 섹션 — 좌측 제목 / 우측 내용 (홈의 블로그·Why Us 섹션과 같은 구성).
   .gr-sec 의 자식이 [제목, 내용] 두 개뿐이라 래퍼 없이 그리드 배치만으로 나뉜다. */
.gr-sec {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start;
  margin: 0; padding: 0 0 92px;
}
/* 섹션 사이에 가는 구분선. 여백만으로는 어디서 끊기는지 눈에 안 들어온다.
   위쪽 여백을 margin 에서 padding 으로 옮겨야 선이 두 섹션 한가운데 놓인다. */
.post-body .gr-sec + .gr-sec,
.post-body .pg-intro + .gr-sec {
  border-top: 1px solid var(--line); padding-top: 92px;
}
/* 제목 — 밑줄 대신 영문 라벨을 위에 얹고 여백으로 위계를 준다.
   마크업이 '교통 안내 <em>DIRECTIONS</em>' 순서라 column-reverse 로 em 을 위로 올린다. */
.post-body .gr-h2 {
  display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 10px;
  margin: 0; padding: 0; border-bottom: 0;
  font-size: 38px; font-weight: 300; letter-spacing: -.04em; line-height: 1.26; color: #000;
}
.post-body .gr-h2::before { display: none; }
.gr-h2 em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; color: var(--accent); }

/* 인용문 — 본문에 묻혀 있던 핵심 문장을 끌어내 시선이 머물 지점을 만든다 */
.post-body .gr-quote {
  margin: 34px 0; padding: 0 0 0 26px;
  border-left: 3px solid var(--accent);
  font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.6;
  letter-spacing: -.03em; color: var(--panel);
}

/* 일하는 원칙 — 1열 세로 흐름. 큰 번호가 리듬을 만든다 */
.gr-principles { list-style: none; margin: 0; padding: 0; display: block; }
.gr-principles li {
  display: grid; grid-template-columns: 112px minmax(0, 760px); gap: 6px 0;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.gr-principles li:last-child { border-bottom: 0; padding-bottom: 0; }
.gr-principles .n {
  grid-row: 1 / span 2; padding-top: 2px;
  font-family: "Poppins", sans-serif; font-size: 40px; font-weight: 800;
  letter-spacing: -.04em; line-height: 1; color: rgba(13, 37, 95, .16);
}
.gr-principles b { font-size: 21px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.gr-principles span { font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--sub); }

/* 다루는 업무 — 표 대신 클릭 가능한 정의형 목록.
   2026-09-10 요청으로 인사말 본문에서 섹션을 뺐다(스타일은 되살릴 수 있게 남겨둠) */
.gr-field {
  display: grid; grid-template-columns: 230px 1fr 26px; gap: 30px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; transition: background .18s;
}
.gr-field:first-of-type { border-top: 1px solid var(--line); }
.gr-field:hover { background: var(--soft); text-decoration: none; }
.gr-field b { font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: var(--panel); }
.gr-field span { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--sub); }
.gr-field i { font-style: normal; font-size: 19px; color: var(--panel); opacity: .3; text-align: right; transition: transform .2s, opacity .2s; }
.gr-field:hover i { opacity: 1; transform: translateX(4px); }

.post-body .gr-closing { margin: 40px 0 0; font-size: 16px; line-height: 1.9; color: var(--ink); }

@media (max-width: 860px) {
  .post-body .gr-intro { grid-template-columns: 1fr; gap: 30px; margin-bottom: 54px; }
  /* 한 단으로 접히면 사진이 280px 로 고정돼 오른쪽에 빈 공간이 크게 남는다(768px 에서 441px).
     좁은 폰에서는 칼럼을 꽉 채워 본문 왼쪽선과 맞추고, 칼럼이 넓어지면 420px 로 묶어 가운데 놓는다. */
  .gr-portrait { max-width: min(100%, 420px); margin-inline: auto; }
  .gr-sec { grid-template-columns: 1fr; gap: 22px; padding-bottom: 60px; }
  .post-body .gr-sec + .gr-sec,
  .post-body .pg-intro + .gr-sec { padding-top: 60px; }
  .post-body .pg-intro { padding-bottom: 54px; }   /* 기본 규칙이 뒤에 있어 특이도를 올려야 먹는다 */
  .post-body .gr-h2 { font-size: 28px; }
  .gr-principles { grid-template-columns: 1fr; }
  .gr-principles li { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .gr-principles li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .gr-principles li:last-child { border-bottom: 0; padding-bottom: 0; }
  .gr-field { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .gr-field i { display: none; }
}

/* 상담 안내 — 홈의 어두운 문의 폼과 겹치지 않게, 밝은 바탕에 좌측 굵은 선으로 구분한다 */
.gr-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  margin: 64px 0 0; padding: 38px 42px;
  background: var(--soft); border-left: 5px solid var(--panel); border-radius: 0 12px 12px 0;
}
.gr-cta-k { margin: 0 0 12px !important; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; color: var(--accent); }
.post-body .gr-cta h3 { margin: 0 0 10px; font-size: 30px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.post-body .gr-cta p { margin: 0; font-size: 17.5px; font-weight: 300; line-height: 1.75; color: #38405a; }
.gr-cta-act { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.gr-cta-tel {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--panel);
  font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
}
.gr-cta-tel em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.gr-cta-tel:hover { color: var(--accent); text-decoration: none; }
.gr-cta-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 6px; white-space: nowrap;
  background: var(--panel); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background .18s, transform .12s;
}
.gr-cta-btn:hover { background: var(--accent); color: #fff; text-decoration: none; transform: translateY(-2px); }

@media (max-width: 860px) {
  .post-body .gr-quote { margin: 26px 0; padding-left: 18px; }
  .gr-principles li { grid-template-columns: 70px 1fr; padding: 26px 0; }
  .gr-principles .n { font-size: 30px; }
  .gr-principles b { font-size: 19px; }
  .gr-cta { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; }
  .gr-cta-act { align-items: stretch; }
  .gr-cta-btn { justify-content: center; }
}

/* ═══════════ 자주 묻는 질문 게시판 (faq 스킨) ═══════════
   글 하나가 질문 하나 — 제목이 Q, 본문이 A, 태그 첫 항목이 분류다.
   관리자가 게시판에서 글을 쓰면 그대로 아코디언 항목이 된다. */
.page-hero ~ .faq-board { padding-top: 46px; max-width: 1400px; }
.faq-head { display: block; margin-bottom: 30px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.faq-cats button {
  height: 42px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--sub);
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -.02em;
  transition: background .18s, color .18s, border-color .18s;
}
.faq-cats button:hover { background: var(--soft); color: var(--panel); }
.faq-cats button.is-on { background: var(--panel); border-color: var(--panel); color: #fff; }

.faq-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item[hidden] { display: none; }

.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 24px 4px; border: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink);
}
.faq-mark {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--panel);
  font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 800;
  transition: background .2s, color .2s;
}
.faq-item.is-open .faq-mark { background: var(--accent); color: #fff; }
.faq-subj {
  flex: 1 1 auto; font-size: 19.5px; font-weight: 700; letter-spacing: -.03em;
  line-height: 1.55; word-break: keep-all; transition: color .2s;
}
.faq-item.is-open .faq-subj { color: var(--accent); }
.faq-cat {
  flex: 0 0 auto; font-style: normal; font-size: 13px; font-weight: 600; color: var(--sub);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.faq-caret { flex: 0 0 auto; color: var(--sub); transition: transform .22s ease, color .22s; }
.faq-item.is-open .faq-caret { transform: rotate(180deg); color: var(--accent); }

.faq-a { display: flex; gap: 16px; padding: 0 4px 28px; align-items: flex-start; }
.faq-a[hidden] { display: none; }
.faq-mark-a { background: var(--panel); color: #fff; }
.faq-body {
  flex: 1 1 auto; font-size: 18px; font-weight: 300; line-height: 1.85;
  color: #38405a; word-break: keep-all;
}
.faq-body p { margin: 0 0 12px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body strong { font-weight: 700; color: var(--panel); }
.faq-body a { color: var(--accent); font-weight: 500; }
.faq-body ul, .faq-body ol { margin: 4px 0 12px; padding-left: 20px; }
.faq-body li { margin-bottom: 4px; }
.faq-body img { max-width: 100%; height: auto; border-radius: 8px; }
.faq-admin { margin: 14px 0 0; font-size: 13.5px; }
.faq-admin a { color: var(--sub); }
.faq-empty { text-align: center; padding: 70px 0; color: var(--sub); font-weight: 300; }

/* 하단 — 답을 못 찾은 사람을 상담으로 */
.faq-ask {
  margin: 56px 0 0; padding: 36px 40px; border-radius: 0 12px 12px 0;
  background: var(--soft); border-left: 5px solid var(--panel);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.faq-ask p { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.faq-ask-act { display: flex; align-items: center; gap: 22px; }
.faq-ask-tel {
  font-size: 26px; font-weight: 800; color: var(--panel); font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.faq-ask-tel:hover { text-decoration: none; color: var(--accent); }
.faq-ask-btn {
  padding: 14px 26px; border-radius: 6px; background: var(--panel); color: #fff;
  font-size: 16px; font-weight: 700; white-space: nowrap; transition: background .2s, transform .2s;
}
.faq-ask-btn:hover { background: var(--accent); color: #fff; text-decoration: none; transform: translateY(-2px); }

@media (max-width: 680px) {
  .faq-cats button { height: 38px; padding: 0 16px; font-size: 14px; }
  .faq-q { padding: 19px 2px; gap: 12px; }
  .faq-mark { width: 30px; height: 30px; font-size: 14px; }
  .faq-subj { font-size: 16.5px; }
  .faq-cat { display: none; }
  .faq-a { padding: 0 2px 24px; gap: 12px; }
  .faq-body { font-size: 16px; }
  .faq-ask { margin-top: 40px; padding: 26px 22px; flex-direction: column; align-items: stretch; gap: 18px; }
  .faq-ask-act { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  .faq-ask-btn { text-align: center; }
}

/* ═══════════ 게시판 · 오시는 길 서브페이지 ═══════════ */
/* 서브 헤더가 제목을 이미 보여주므로 본문 안 제목은 감춘다 (page-hero 와 형제 관계) */
.page-hero ~ .board-page .board-title { display: none; }
.page-hero ~ .post-write .board-head { display: none; }
.page-hero ~ .board-page,
.page-hero ~ .post-view,
.page-hero ~ .post-write { padding-top: 46px; }
/* 1600px 컨테이너 그대로면 우측 글쓰기 버튼이 고정 퀵메뉴에 가린다 — 게시판은 폭을 좁힌다 */
.page-hero ~ .board-page,
.page-hero ~ .post-view,
.page-hero ~ .post-write { max-width: 1400px; }   /* 정적 페이지(.page-body-wrap)와 같은 폭 — 안쪽 1360px (2026-09-15) */
/* 제목이 빠지면 설명·도구만 남는다 — 설명이 없는 게시판에서 도구가 가운데로 몰리지 않게 */
.page-hero ~ .board-page .board-head { justify-content: flex-end; }
.page-hero ~ .board-page .board-desc { margin-right: auto; }

/* 오시는 길 — 본문 위 지도 블록. 아래에 본문이 이어지므로 하단 여백은 두지 않는다 */
.page-map.map-sec { padding: 54px 0 0; }
.page-map .container { max-width: 1400px; }

/* 오시는 길 본문 — 헤어라인 정의형 목록 (지도 패널과 중복되지 않는 항목만) */
.lc-rows { border-top: 1px solid var(--line); }   /* 제목 밑줄이 없어졌으므로 목록 자체의 윗선은 남긴다 */
.lc-row {
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.lc-row b { font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--panel); }
.post-body .lc-row span { font-size: 18px; font-weight: 300; line-height: 1.8; color: #38405a; }
.post-body .lc-row strong { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) {
  .lc-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px; }
}

/* 오시는 길 서브페이지 — 지도를 크게 먼저 보여주고, 정보는 아래 밝은 띠에 넣는다.
   서브 헤더가 이미 네이비라 홈처럼 네이비 패널을 또 세우면 화면이 무거워진다. */
.map-frame.is-wide {
  border-radius: 16px; min-height: 520px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(8, 26, 69, .12);
}
.map-frame.is-wide iframe { min-height: 520px; }
.lc-facts {
  /* 주소 · 전화 · 이메일 · 상담시간 · 지도버튼 — 주소가 가장 길어 폭을 넉넉히 준다 */
  display: grid; grid-template-columns: 1.9fr 1fr 1.35fr 1.5fr auto; gap: 28px; align-items: center;
  margin-top: 22px; padding: 26px 32px; background: var(--soft); border-radius: 12px;
}
.lc-facts b {
  display: block; margin-bottom: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em; color: var(--accent);
}
.lc-facts p { margin: 0; font-size: 17.5px; font-weight: 500; line-height: 1.65; color: #38405a; word-break: keep-all; }
.lc-facts a { color: inherit; }
.lc-facts a:hover { color: var(--accent); text-decoration: none; }
.lc-open {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 14px 24px; border-radius: 6px; background: var(--panel);
  color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background .18s, transform .12s;
}
.lc-open:hover { background: var(--accent); color: #fff !important; text-decoration: none; transform: translateY(-2px); }
@media (max-width: 980px) {
  .map-frame.is-wide, .map-frame.is-wide iframe { min-height: 380px; }
  .lc-facts { grid-template-columns: 1fr 1fr; gap: 22px; padding: 24px; }
  .lc-open { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 560px) {
  .lc-facts { grid-template-columns: 1fr; }
}

/* 오시는 길 지도는 처음부터 컬러 — 지도가 페이지의 본체라 흑백으로 둘 이유가 없다.
   클릭해야 조작되는 동작(pointer-events)은 그대로 둔다 */
.map-frame.is-wide iframe { filter: none; }
/* 준비 자료 — 회색 카드. 항목별 아이콘 + 굵은 소제목 + 설명 */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc-list li {
  position: relative; overflow: hidden; display: block;
  padding: 26px 28px; background: var(--soft); border-radius: 12px;
}
/* 항목별 아이콘 — 카드 우측을 채우는 워터마크. 흐름에서 빠지므로 글자가 카드 폭 전체를 쓴다.
   원본 SVG 의 stroke-width 는 1.7 인데 5배 이상 확대하면 선이 뭉개져 CSS 로 1 로 낮춘다. */
.doc-ic {
  position: absolute; top: 8px; right: 10px; z-index: 0;
  width: 82px; height: 82px; margin: 0;
  display: block; background: none; border-radius: 0;
  color: rgba(13, 37, 95, .085);
  pointer-events: none;
}
.doc-ic svg { width: 100%; height: 100%; stroke-width: 1; }
/* PNG 아이콘 — 비어 있는 span 에 mask 로 찍는다. SVG 를 품은 span 과 규칙이 섞이지 않게 :empty 로 가른다.
   --ico 가 없으면 mask 가 무효가 되어 네이비 사각형이 남으므로 반드시 style 로 경로를 넘겨야 한다 */
.doc-ic:empty {
  background-color: rgba(13, 37, 95, .085);
  -webkit-mask: var(--ico) no-repeat center / contain;
          mask: var(--ico) no-repeat center / contain;
}
@supports not ((-webkit-mask-image: url("#a")) or (mask-image: url("#a"))) {
  .doc-ic:empty { display: none; }
}
.post-body .doc-list b { position: relative; z-index: 1; display: block; margin-bottom: 7px; font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.post-body .doc-list .d { position: relative; z-index: 1; display: block; font-size: 16.5px; font-weight: 300; line-height: 1.8; color: #38405a; word-break: keep-all; }
@media (max-width: 860px) {
  .doc-list { grid-template-columns: 1fr; gap: 10px; }
  .doc-list li { padding: 22px 22px; }
  .doc-ic { width: 68px; height: 68px; top: 8px; right: 8px; }
}

/* 서브 헤더 — 모바일에서는 화면이 좁아 워터마크가 제목 뒤를 거의 다 덮는다. 크기와 농도를 줄인다 */
@media (max-width: 768px) {
  .page-hero { padding: 40px 0 36px; }
  .page-hero::after { width: 180px; height: 180px; right: -50px; opacity: .05; }
  .crumb { margin-bottom: 14px; font-size: 11.5px; gap: 7px; }
}

/* ═══════════ 업무 상세 페이지 공통 ═══════════ */
/* 도입부 — 리드 문장 + 핵심 인용문. 본문 폭 제한과 같은 900px */
.pg-intro { max-width: 900px; margin: 0; padding: 0 0 80px; }
.post-body .pg-intro .gr-lead { margin: 0; }
.post-body .pg-intro .gr-quote { margin: 26px 0 0; }

/* 이런 경우 도와드립니다 — 방문자가 '내 상황'을 빠르게 찾는 목록이라 가볍고 촘촘해야 한다.
   회색 막대 5줄은 폭이 1044px 인데 문장이 짧아 우측이 비고, 아래 CHECKLIST 카드와도 톤이 겹쳤다.
   → 배경 없는 2열 헤어라인 + 버건디 체크. 홀수(5번째)는 한 줄 전체를 쓴다. */
.case-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 52px; }
.case-list li {
  position: relative; padding: 20px 0 20px 36px;
  border-bottom: 1px solid var(--line);
  font-size: 17.5px; line-height: 1.75; color: #38405a; word-break: keep-all;
}
.case-list li:last-child { grid-column: 1 / -1; border-bottom: 0; }
.case-list li::before {
  content: ""; position: absolute; left: 6px; top: 27px;
  width: 15px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.post-body .case-list strong { color: var(--ink); font-weight: 700; }

/* 진행 절차 — 번호 원 + 세로 연결선. 원 배경은 네이비 계열 3단 그라디언트.
   연결선이 순서를 이어주므로 행 구분선은 쓰지 않는다. */
.proc-list { list-style: none; margin: 0; padding: 0; }
.proc-list li {
  position: relative; display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 40px;
  padding: 0 0 36px;
}
.proc-list li:last-child { padding-bottom: 0; }
.proc-list li::before {
  content: ""; position: absolute; left: 32.5px; top: 74px; bottom: 0; width: 1px;   /* 원 중심(66/2=33)에 맞춘다 */
  background: rgba(13, 37, 95, .14);   /* 기본값 — 아래에서 단계별로 진해진다 */
}
.proc-list li:last-child::before { display: none; }
/* 연결선도 원과 같이 아래로 갈수록 진해진다(선은 1~4번에만 있다) */
.proc-list li:nth-child(1)::before { background: rgba(13, 37, 95, .14); }
.proc-list li:nth-child(2)::before { background: rgba(13, 37, 95, .21); }
.proc-list li:nth-child(3)::before { background: rgba(13, 37, 95, .28); }
.proc-list li:nth-child(4)::before { background: rgba(13, 37, 95, .35); }
.proc-n {
  position: relative; z-index: 1;
  width: 66px; height: 66px; border-radius: 50%;
  /* 네이비 3단은 명도 차가 작아 52px 원에서는 단색처럼 보였다 — 밝은 쪽을 같은 색상(219°)의 밝은 톤으로 벌린다 */
  background: linear-gradient(135deg, #3566b0 0%, var(--panel) 55%, var(--navy-d) 100%);
  color: #fff; display: grid; place-items: center;
  font-family: "Poppins", sans-serif; font-size: 19px; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 8px 20px rgba(8, 26, 69, .24);
}
/* 단계가 진행될수록 원이 진해진다. 1단계를 기준(#7bb3ff → #2a5798)으로 잡고
   시작색·끝색을 각각 5단계에 걸쳐 선형 보간했다. 끝색의 마지막은 팔레트의 --navy-d(#081a45). */
.proc-list li:nth-child(1) .proc-n { background: linear-gradient(135deg, #7bb3ff 0%, #2a5798 100%); }
.proc-list li:nth-child(2) .proc-n { background: linear-gradient(135deg, #699ce5 0%, #224883 100%); }
.proc-list li:nth-child(3) .proc-n { background: linear-gradient(135deg, #5885cb 0%, #19396f 100%); }
.proc-list li:nth-child(4) .proc-n { background: linear-gradient(135deg, #466db0 0%, #11295a 100%); }
.proc-list li:nth-child(5) .proc-n { background: linear-gradient(135deg, #345696 0%, var(--navy-d) 100%); }
.post-body .proc-list b { display: block; margin: 6px 0 9px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.post-body .proc-list .d { display: block; font-size: 18px; font-weight: 300; line-height: 1.85; color: #38405a; word-break: keep-all; }
@media (max-width: 860px) {
  .pg-intro { margin-bottom: 60px; }
  .case-list { grid-template-columns: 1fr; column-gap: 0; }
  .case-list li { padding: 16px 0 16px 32px; font-size: 15.5px; }
  .case-list li::before { left: 4px; top: 23px; }
  .proc-list li { grid-template-columns: 54px minmax(0, 1fr); gap: 24px; padding: 0 0 28px; }
  .proc-list li::before { left: 26.5px; top: 62px; }
  .proc-n { width: 54px; height: 54px; font-size: 16px; }
  .post-body .proc-list b { font-size: 19px; }
  .post-body .proc-list .d { font-size: 16.5px; }
}

/* 비교표 — 항목이 2개 이상 대응되는 진짜 표 데이터(사단법인 vs 재단법인 등)는
   정의형 목록으로 못 바꾼다. 표를 유지하되 테두리를 걷고 헤어라인만 남긴다 */
.cmp {
  width: 100%; border-collapse: collapse;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cmp th, .cmp td {
  background: none;   /* .post-body th 의 회색 배경 상속 차단 */
  padding: 20px 20px 20px 0; border: 0; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top;
}
.cmp thead th {
  padding-bottom: 14px; border-bottom: 2px solid var(--panel);
  font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--panel);
}
.cmp tbody th {
  width: 210px; padding: 20px 22px; background: var(--soft);
  font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: var(--panel);
}
.post-body .cmp td { padding-left: 26px; font-size: 17px; font-weight: 300; line-height: 1.75; color: #38405a; }
.cmp thead th:not(:first-child) { padding-left: 26px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
/* 세로 구분선 — 마지막 열 오른쪽에는 넣지 않는다(표 바깥 테두리는 위·아래만).
   위쪽 .cmp th,.cmp td 의 border:0 뒤에 와야 지워지지 않는다 */
.cmp th:not(:last-child), .cmp td:not(:last-child) { border-right: 1px solid var(--line); }
@media (max-width: 860px) {
  .cmp, .cmp thead, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp { border-top: 0; border-bottom: 0; }
  .cmp th, .cmp td { border-right: 0; }
  .cmp thead { display: none; }                      /* 세로로 풀리면 머리글이 의미를 잃는다 */
  .cmp tbody tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { padding: 4px 0; border-bottom: 0; }
  .cmp tbody th { width: auto; background: none; padding: 0 0 4px; font-size: 18px; }
  /* 머리글을 숨기면 어느 쪽 값인지 알 수 없다 — 셀마다 라벨을 붙인다 */
  .cmp td::before {
    content: attr(data-l); display: block; margin-bottom: 2px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--accent);
  }
  .cmp td { padding: 8px 0 0; }
}

/* 섹션 안 보충 설명 — 목록 아래 붙는 한 문단 */
.post-body .sec-note {
  margin: 20px 0 0; padding-left: 36px;
  font-size: 16.5px; font-weight: 300; line-height: 1.8; color: #56607a; word-break: keep-all;
}
.post-body .sec-note strong { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) {
  .post-body .sec-note { padding-left: 32px; font-size: 15.5px; }
}

/* ───────── 일본어·중국어 줄바꿈 ─────────
   word-break: keep-all 은 한국어(어절 단위)용이다. 일·중은 단어 사이에 공백이 없어
   keep-all 을 주면 문장 전체가 끊을 수 없는 한 덩어리가 되어 화면 밖으로 넘친다.
   main.css 가 body 에 normal 을 주지만, 컴포넌트마다 걸어둔 keep-all
   (.case-list li · .note p · .proc-list .d 등)이 더 구체적이라 그쪽이 이긴다.
   언어 단위로 한 번에 되돌린다 — 이 용도로는 !important 가 가장 단순하고 확실하다.
   금칙처리(line-break: strict)는 body 에서 상속되므로 여기서 다시 줄 필요가 없다. */
.lang-jp *, .lang-cn * { word-break: normal !important; }

/* ───────── 게시판 목록 — 좁은 화면 ─────────
   6열 표를 375px 에 그대로 넣으면 제목 칸이 4~5글자로 줄어 세로로 쪼개진다.
   행을 카드처럼 쌓고, 번호·작성자·작성일·조회는 제목 아래 한 줄 메타로 내린다. */
@media (max-width: 700px) {
  .board-table, .board-table tbody, .board-table tr, .board-table td { display: block; width: auto; }
  .board-table thead { display: none; }
  /* 제목을 한 줄 통째로 쓰고 메타를 그 아래에 두려면 flex + order 가 필요하다.
     번호 칸이 DOM 상 제목보다 앞이라, 그냥 두면 제목 위에 혼자 떠버린다. */
  .board-table tr {
    position: relative; padding: 15px 0; border-bottom: 1px solid var(--line);
    display: flex; flex-wrap: wrap; align-items: baseline;
  }
  .board-table td.subj { order: 0; flex: 0 0 100%; }
  .board-table td.num  { order: 1; }
  .board-table td.au   { order: 2; }
  .board-table td.dt   { order: 3; }
  .board-table td.hit  { order: 4; }
  .board-table td { border: 0; padding: 0; white-space: normal; }
  /* main.css 가 뒤쪽 3칸에 좌우 16px 를 넣는다(특이도가 더 높다) — 메타가 두 줄로 밀리는 원인 */
  .board-table td:nth-last-child(-n+3) { padding-left: 0; padding-right: 0; }

  .board-table td.subj { margin: 0 0 7px; font-size: 16px; line-height: 1.5; word-break: keep-all; }
  .board-table td.subj a { font-weight: 600; }

  /* 메타 한 줄 — 가운뎃점으로 잇는다 */
  .board-table td.num,
  .board-table td.au,
  .board-table td.dt,
  .board-table td.hit { display: inline; font-size: 12.5px; color: var(--sub); }
  .board-table td.au::before,
  .board-table td.dt::before,
  .board-table td.hit::before { content: "·"; margin: 0 7px; color: var(--line); }
  /* 숫자만 있으면 무슨 값인지 모른다 — thead 라벨을 앞에 붙인다(언어별) */
  .board-table td.hit::after { content: " " attr(data-l); }

  /* 관리자 선택 체크박스는 오른쪽 위로 빼 제목 자리를 비운다 */
  .board-table td.chk { position: absolute; right: 2px; top: 16px; }
  .board-table .empty { flex: 0 0 100%; padding: 44px 0; text-align: center; }
}

/* 상담시간의 "평일 … | 점심 …" 구분선. 밝은 카드(오시는 길)와 어두운 카드(홈) 양쪽에서
   같은 농도로 보이도록 고정색 대신 현재 글자색의 투명도로 낸다. */
.mi-tx .hsep,
.lc-facts .hsep { font-style: normal; font-weight: 400; opacity: .35; margin: 0 2px; }

/* ───────── 약력 — 직함 목록 ─────────
   현/전 배지 + 기관명 + 역할. 인사말 페이지의 신뢰 근거라 표보다 목록이 읽기 좋다. */
.prof-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prof-list li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; align-items: start;
  padding: 19px 0; border-bottom: 1px solid var(--line);
}
.prof-list em {
  font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  text-align: center; padding: 5px 0; border-radius: 4px;
  background: var(--panel); color: #fff;
}
.prof-list li.past em { background: none; color: var(--sub); border: 1px solid var(--line); padding: 4px 0; }
.post-body .prof-list b {
  display: block; font-size: 18.5px; font-weight: 700; letter-spacing: -.03em; color: var(--panel);
}
.post-body .prof-list .role {
  display: block; margin-top: 5px; font-size: 16.5px; font-weight: 300; line-height: 1.7;
  color: #38405a; word-break: keep-all;
}
.post-body .prof-list .sub {
  display: block; margin-top: 8px; padding-left: 13px; position: relative;
  font-size: 15.5px; font-weight: 300; line-height: 1.7; color: var(--sub); word-break: keep-all;
}
.post-body .prof-list .sub::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 1px; background: var(--sub);
}
@media (max-width: 860px) {
  .prof-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .prof-list em { font-size: 11.5px; }
  .post-body .prof-list b { font-size: 17px; }
  .post-body .prof-list .role { font-size: 15.5px; }
}

/* 새 로고는 987×268 로 이전(800×268)보다 23% 넓다. 헤더가 가장 빡빡한
   1081~1240px 구간(메뉴 7개 + 로고 + 전화·언어 버튼)에서 로고만 조금 줄인다. */
@media (min-width: 1221px) and (max-width: 1500px) {
  .brand img { height: 50px; }
}

/* 메뉴가 8개(블로그 포함)로 늘어 좁은 데스크톱에서 헤더가 빡빡하다.
   전화 버튼은 우측 고정 퀵메뉴와 푸터에도 있으므로 이 구간에서만 감춘다 —
   메뉴를 햄버거로 접는 것보다 잃는 것이 적다. */
@media (min-width: 1221px) and (max-width: 1500px) {
  .header-tel { display: none; }
}

/* 약력 — 자격·경력 표와 위촉 목록을 한 섹션에 세로로 이어 붙일 때의 간격 */
.lc-rows + .prof-list { margin-top: 42px; }
@media (max-width: 860px) { .lc-rows + .prof-list { margin-top: 30px; } }

/* ───────── 카드 스킨 (수행사례/BLOG) ─────────
   썸네일 + 제목 + 발췌를 격자로. a 태그 하나가 카드 전체라 안쪽은 전부 인라인 요소를
   block 으로 돌려 쓴다(<a> 안에 <div> 를 넣으면 안 되는 건 아니지만 마크업을 납작하게 둔다). */
.cd-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px;
  margin: 0 0 46px;
}
.cd-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fff; transition: box-shadow .18s, transform .14s, border-color .18s;
}
.cd-card:hover {
  text-decoration: none; transform: translateY(-3px);
  border-color: rgba(13,37,95,.22); box-shadow: 0 14px 30px rgba(13,14,17,.10);
}
.cd-thumb { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.cd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.cd-card:hover .cd-thumb img { transform: scale(1.04); }
/* 사진이 없는 글 — 빈 회색 칸 대신 제목 머리글자를 크게 깐다 */
.cd-thumb.is-blank { display: grid; place-items: center; background: linear-gradient(135deg, #f4f6fb 0%, #e9edf6 100%); }
.cd-thumb.is-blank em {
  font-style: normal; font-size: 46px; font-weight: 800; letter-spacing: -.04em;
  color: rgba(13,37,95,.22);
}
.cd-body { display: block; padding: 20px 20px 22px; }
.cd-tags { display: block; margin-bottom: 9px; }
.cd-tags i {
  font-style: normal; display: inline-block; margin: 0 6px 0 0; padding: 3px 9px;
  border-radius: 999px; background: rgba(13,37,95,.06); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: -.01em;
}
.cd-title {
  display: block; font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--ink);
  letter-spacing: -.03em; margin-bottom: 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cd-text {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--sub);
}
.cd-date { display: block; margin-top: 14px; font-size: 12px; color: #9aa1b1; letter-spacing: .02em; }
.cd-empty {
  margin: 0 0 46px; padding: 70px 20px; text-align: center;
  border: 1px dashed var(--line); border-radius: 10px;
  color: var(--sub); font-size: 15px; background: var(--soft);
}
@media (max-width: 1240px) { .cd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .cd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; } }
@media (max-width: 640px)  {
  .cd-grid { grid-template-columns: 1fr; gap: 20px; }
  .cd-body { padding: 17px 17px 19px; }
  .cd-title { font-size: 16px; }
}

/* ───────── 답변형 게시판 (질문과 답변) ─────────
   질문 바로 아래 한 칸 들여쓴 답변 줄. 모바일에서 표가 카드로 접히므로
   들여쓰기는 padding 이 아니라 배경·아이콘으로 구분한다. */
.board-table tr.answer-row > td { background: rgba(13,37,95,.028); }
.board-table tr.answer-row .num { color: rgba(13,37,95,.35); font-weight: 700; }
.ans-arrow { font-style: normal; }
.ans-tag {
  display: inline-block; margin-right: 7px; padding: 2px 8px;
  border-radius: 999px; background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: -.01em; vertical-align: 1px;
}
.board-table tr.answer-row .subj a { color: var(--sub); }
.board-table tr.answer-row .subj a:hover { color: var(--navy); }
/* 글쓰기 화면 — 어느 질문에 다는 답변인지 */
.answer-to {
  margin: 0 0 14px; padding: 11px 14px; border-radius: 8px;
  background: var(--soft); border: 1px solid var(--line);
  font-size: 14px; color: var(--sub);
}
.answer-to b { color: var(--ink); font-weight: 700; }

/* 게시판 상단 인트로 — 정적 페이지의 .pg-intro 를 그대로 쓰되 아래 여백만 줄인다.
   .post-body 로 감싸는 이유는 .gr-lead·.gr-quote 규칙이 .post-body 아래에만 걸려 있어서다. */
.board-intro { margin: 0 0 30px; }
/* 리드 문장이 PC 에서 한 줄로 떨어지게 — 정적 페이지의 900px 제한을 풀고 컨테이너 폭을 다 쓴다 */
.board-intro .pg-intro { padding-bottom: 0; max-width: none; }
.post-body.board-intro .gr-lead { font-size: 19px; }
@media (max-width: 768px) {
  .board-intro { margin-bottom: 22px; }
  .post-body.board-intro .gr-lead { font-size: 17px; }
}

/* 게시판 글자 크기 — 표·카드가 본문보다 작아 보여 한 단계 올린다(2026-09-15 요청). */
.board-page .board-table th,
.board-page .board-table td { font-size: 15.5px; padding-top: 14px; padding-bottom: 14px; }
.board-page .board-table th { font-size: 13.5px; }
.board-page .board-table .subj a { font-size: 15.5px; }
.cd-title { font-size: 18.5px; }
.cd-text  { font-size: 15px; }
.cd-date  { font-size: 12.5px; }
.post-body.board-intro .gr-lead { font-size: 20px; }
@media (max-width: 768px) {
  .board-page .board-table th,
  .board-page .board-table td { font-size: 14.5px; }
  .cd-title { font-size: 17px; }
  .cd-text  { font-size: 14.5px; }
}

/* ───────── 글쓰기 — 태그 고르기 ───────── */
.write-form .tag-field { margin-bottom: 8px; }
.tag-pick { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 6px; }
.tag-pick button {
  padding: 6px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--sub);
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: -.02em;
  transition: background .15s, color .15s, border-color .15s;
}
.tag-pick button:hover { border-color: rgba(13,37,95,.3); color: var(--navy); }
.tag-pick button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag-hint { margin: 0 0 18px; font-size: 12.5px; color: #9aa1b1; }

/* ───────── 게시판 검색 — 필드와 버튼을 한 덩어리 알약으로 (2026-09-21) ─────────
   FAQ 분류 탭(42px 알약)과 같은 높이·같은 곡률. 질문과 답변·수행사례·FAQ 세 게시판 공통.
   main.css 의 36px 네모 규칙(.board-tools .search …)보다 특이도를 한 단계 올려 덮는다. */
.board-page .board-tools .search {
  display: flex; align-items: center; gap: 0;
  height: 42px; padding: 4px; box-sizing: border-box;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .18s, box-shadow .18s;
}
.board-page .board-tools .search:focus-within {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,37,95,.10);
}
.board-page .board-tools .search input {
  -webkit-appearance: none; appearance: none;
  flex: 1 1 auto; width: 230px; min-width: 0; height: 100%;
  padding: 0 12px 0 36px; border: 0; border-radius: 999px; outline: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1b1' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px 50% / 16px no-repeat;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
}
.board-page .board-tools .search input::placeholder { color: #9aa1b1; }
.board-page .board-tools .search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.board-page .board-tools .search button {
  flex: 0 0 auto; height: 100%; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--navy); color: #fff; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: -.01em;
  transition: background .18s;
}
.board-page .board-tools .search button:hover { background: var(--accent); }
/* 관리자 글쓰기 버튼도 같은 높이·곡률 */
.board-page .board-tools .btn-primary { height: 42px; padding: 0 20px; border-radius: 999px; }

/* FAQ — 분류 탭 오른쪽에 검색을 한 줄로. 탭이 많아 넘치면 검색이 다음 줄 오른쪽으로 내려간다 */
.faq-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.faq-head .faq-cats { margin: 0; }
.faq-head .board-tools { margin-left: auto; }

@media (max-width: 768px) {
  .board-page .board-tools { width: 100%; }
  .board-page .board-tools .search { flex: 1 1 auto; }
  .board-page .board-tools .search input { width: auto; }
  .faq-head .board-tools { margin-left: 0; }
}
