/* 이관 정적 페이지 콘텐츠 — 구 부트스트랩 마크업을 새 디자인 언어로 대체
   전부 .post-body 하위로 스코프하여 사이트 나머지에 영향을 주지 않는다. */

.post-body { --pg-gap: 28px; }

/* ---------- 그리드 ---------- */
.post-body .pg-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--pg-gap);
  align-items: start;
  margin: 0 0 var(--pg-gap);
}
.post-body .pg-col { grid-column: span 12; min-width: 0; }
.post-body .pg-col[data-span="1"]  { grid-column: span 1; }
.post-body .pg-col[data-span="2"]  { grid-column: span 2; }
.post-body .pg-col[data-span="3"]  { grid-column: span 3; }
.post-body .pg-col[data-span="4"]  { grid-column: span 4; }
.post-body .pg-col[data-span="5"]  { grid-column: span 5; }
.post-body .pg-col[data-span="6"]  { grid-column: span 6; }
.post-body .pg-col[data-span="7"]  { grid-column: span 7; }
.post-body .pg-col[data-span="8"]  { grid-column: span 8; }
.post-body .pg-col[data-span="9"]  { grid-column: span 9; }
.post-body .pg-col[data-span="10"] { grid-column: span 10; }
.post-body .pg-col[data-span="11"] { grid-column: span 11; }
.post-body .pg-col[data-span="12"] { grid-column: span 12; }

/* ---------- 여백 유틸 ---------- */
.post-body .pg-mt-10 { margin-top: 10px; }
.post-body .pg-mt-20 { margin-top: 20px; }
.post-body .pg-mt-30 { margin-top: 28px; }
.post-body .pg-mt-40 { margin-top: 36px; }
.post-body .pg-mt-50 { margin-top: 44px; }
.post-body .pg-mt-60 { margin-top: 52px; }

/* ---------- 카드(구 .well / .well2) ---------- */
.post-body .pg-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.post-body .pg-card + .pg-card { margin-top: 18px; }

/* ---------- 타이포 ---------- */
.post-body .pg-h { font-size: 20px; font-weight: 700; color: var(--c-primary); margin: 0 0 6px; }
.post-body .pg-h-sub { font-size: 14px; font-weight: 600; color: var(--c-muted); margin: 0 0 14px; }
.post-body .pg-center { text-align: center; }
.post-body .pg-accent { color: var(--c-primary); font-weight: 600; }
.post-body p { margin: 0 0 12px; }
.post-body ul, .post-body ol { padding-left: 0; }

/* ---------- 이미지 ---------- */
.post-body img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
.post-body .pg-logo {
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  background: #fff; padding: 8px; object-fit: contain; width: 100%; aspect-ratio: 3 / 2;
}

/* ---------- 탭(구 부트스트랩 tabs) ---------- */
.post-body .pg-tabs { margin: 0 0 var(--pg-gap); }
/* 밑줄을 1px 로 얇게 가는 대신 색을 진하게 — 얇으면서 흐리면 선이 사라져 보인다 */
.post-body .pg-tablist {
  display: flex; flex-wrap: wrap; gap: 6px;
  border-bottom: 1px solid #9aa5b4; padding-bottom: 0; margin: 0 0 24px;
  list-style: none;
}
.post-body .pg-tab {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  font-weight: 600; font-family: inherit;
  border-bottom: 6px solid transparent; margin-bottom: -1px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.post-body .pg-tab:hover { color: var(--c-fg); }
.post-body .pg-tab[aria-selected="true"] { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.post-body .pg-panel[hidden] { display: none; }

/* ---------- 표 ---------- */
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; }
.post-body th { background: var(--c-line-2); font-weight: 600; }

/* ---------- 지도 임베드 ---------- */
.post-body .pg-embed { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; }
.post-body .pg-embed iframe { width: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .post-body .pg-col[data-span="2"] { grid-column: span 3; }
  .post-body .pg-col[data-span="3"] { grid-column: span 4; }
  .post-body .pg-col[data-span="4"],
  .post-body .pg-col[data-span="5"] { grid-column: span 6; }
}
@media (max-width: 768px) {
  .post-body { --pg-gap: 18px; }
  /* 속성 선택자(0,3,0)가 .pg-col(0,2,0) 을 이기므로, 모바일 1단 전환은
     같은 속성 선택자로 명시해야 실제로 먹는다. 2·3 칸짜리 작은 그리드만 남긴다. */
  .post-body .pg-col,
  .post-body .pg-col[data-span="4"],
  .post-body .pg-col[data-span="5"],
  .post-body .pg-col[data-span="6"],
  .post-body .pg-col[data-span="7"],
  .post-body .pg-col[data-span="8"],
  .post-body .pg-col[data-span="9"],
  .post-body .pg-col[data-span="10"],
  .post-body .pg-col[data-span="11"] { grid-column: span 12; }
  .post-body .pg-col[data-span="2"] { grid-column: span 4; }
  .post-body .pg-col[data-span="3"] { grid-column: span 6; }
  .post-body .pg-card { padding: 18px; }
  .post-body .pg-tablist { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .post-body .pg-tablist::-webkit-scrollbar { display: none; }
  .post-body .pg-tab { white-space: nowrap; padding: 8px 12px 10px; font-size: 13px; }
  .post-body .pg-embed iframe { min-height: 280px; }
}

/* ---------- 게시판 글 본문 이미지 중앙 정렬 ----------
   본문 이미지는 display:block 이라 기본이 좌측 정렬이다.
   구 사이트 에디터가 넣은 <p align="center"> 도 block 요소에는 먹지 않으므로
   여백을 auto 로 줘서 실제로 가운데 오도록 한다. (게시판 상세에만 적용) */
.post-view .post-body img {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 넓은 본문 (기본 720px 대신) ----------
   page.php 는 콘텐츠에 pg-wide 가 있으면 .narrow 를 빼고 렌더한다. */
.post-body .pg-wide { max-width: 1250px; margin-left: auto; margin-right: auto; }

/* ---------- 연혁: 그룹 리스트 ---------- */
.post-body .hs-group + .hs-group { margin-top: 34px; }
/* 인트로 제목과 같은 언어 — 좌측 브론즈 세로선으로 블록을 묶는다.
   마크업이 <b>제목</b><span>영문</span> 순이라 column-reverse 로 영문을 위에 올린다. */
.post-body .hs-group-h {
  display: flex; flex-direction: column-reverse; align-items: flex-start;
  margin: 20px 0 50px; padding: 0 0 0 18px;
  border-left: 8px solid #8a6725;
}
/* 크기·굵기·자간을 .pg-intro-title 과 동일하게 맞춘다 */
.post-body .hs-group-h b {
  /* 인트로 제목과 짝을 이루는 제목 — 같은 딥네이비를 쓴다 */
  font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #10233f;
  letter-spacing: -.03em; line-height: 1.2;
}
/* .pg-intro-kicker 와 같은 스타일 — 연혁 하단 History, CEO 프로필 Profile 등 */
.post-body .hs-group-h span {
  font-size: 13px; font-weight: 300; letter-spacing: .18em;
  color: #8a6725;                      /* 밝은 배경 위 브론즈는 AA 미달 → 한 단계 어둡게 */
  text-transform: uppercase; margin-bottom: 5px;
}

.post-body .hs-list { list-style: none; margin: 0; padding: 0; }
.post-body .hs-list li {
  position: relative; padding: 10px 0 10px 19px;
  font-size: 15.5px; line-height: 1.65; word-break: keep-all;
  border-bottom: 1px solid var(--c-line-2);
}
.post-body .hs-list li:last-child { border-bottom: 0; }
.post-body .hs-list li::before {
  content: ""; position: absolute; left: 2px; top: 18px;
  width: 5px; height: 5px; border-radius: 50%; background: #8a6725;
}

/* ---------- 연혁: 이미지 좌 · 탭 우 (4:6) ---------- */
.post-body .hs-top {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 60px; align-items: start; margin-bottom: 52px;
}
/* 우측 칸 아래 빈 자리에 로고 워터마크.
   패널이 아니라 그리드(.hs-top)에 붙여서 어떤 탭을 눌러도 그대로 남는다.
   bottom:0 은 더 긴 칸(이미지) 기준이라 카드 아래 여백에 정확히 들어간다. */
/* 가로 중심: 그리드 폭 W, gap 60, 4fr:6fr 이면 우측 칸 중심 = 0.7W + 18px */
.post-body .hs-top::after {
  content: ""; position: absolute; z-index: 0;
  left: calc(70% + 18px); transform: translateX(-50%);
  bottom: 96px;
  width: 500px; height: 105px;
  background: url("/assets/pages/home/logo-fg.png") no-repeat center center / contain;
  opacity: .16; pointer-events: none; user-select: none;
}
.post-body .hs-fig { margin: 0; }
.post-body .hs-fig img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.post-body .hs-tabs { margin: 0; }
.post-body .hs-tabs .pg-tablist { margin-bottom: 40px; }
/* 탭이 4개뿐이라 크게 써도 한 줄에 들어간다.
   주요실적 페이지는 연도 탭이 21개라 기본 크기를 유지해야 하므로 여기만 키운다. */
.post-body .hs-tabs .pg-tab { font-size: 16.5px; padding: 11px 18px 13px; }

/* 탭 안의 항목 하나하나를 카드로 — 문장이 짧아 목록보다 카드가 읽기 편하다 */
.post-body .hs-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.post-body .hs-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 15px 18px;
  font-size: 15px; line-height: 1.6; color: var(--c-fg); word-break: keep-all;
}

/* ---------- 연혁: 수상·표창 좌우 교차 타임라인 ---------- */
/* 위쪽 인증·협약 블록과 갈라 보이게 가는 구분선 */
.post-body .hs-awards {
  margin-top: 8px; padding-top: 52px;
  border-top: 1px solid var(--c-line);
}
.post-body .hs-zig {
  position: relative; list-style: none; margin: 26px 0 0; padding: 0;
}
.post-body .hs-zig::before {              /* 가운데 축 */
  content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px;
  width: 1px; margin-left: 2.5px; background: #1b2d49;
}
.post-body .hs-zig > li {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; gap: 0;
  margin-bottom: 5px;
}
.post-body .hs-zig > li:last-child { margin-bottom: 0; }
.post-body .hs-zig > li::before {         /* 축 위의 점 */
  content: ""; position: absolute; left: 50%; top: 15px; z-index: 1;   /* 17px 박스 → 중심 23.5 = 연결선 */
  /* 전역 리셋 * {box-sizing} 은 의사요소에 안 걸린다 → 실제 박스는 11+3+3=17px.
     중심 = 50% + (-5.5) + 8.5 = 50% + 3 = 축(50% + 2.5 + 0.5) 과 일치 */
  width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: #fff; border: 3px solid #8a6725;
}

/* 축 위의 점에서 퍼지는 펄스 링. 점(::before)과 같은 자리에 겹쳐 두고 확대·페이드.
   12개가 동시에 뛰면 산만하므로 3그룹으로 나눠 시차를 준다. */
.post-body .hs-zig > li::after {
  content: ""; position: absolute; left: 50%; top: 16px; z-index: 0;   /* 15px 박스 → 중심 23.5 */
  width: 11px; height: 11px; margin-left: -4.5px;   /* 11+2+2=15px → 중심 50% + 3 */
  border-radius: 50%; border: 2px solid #8a6725;
  pointer-events: none;
  animation: hs-pulse 2.6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.post-body .hs-zig > li:nth-child(3n+2)::after { animation-delay: .85s; }
.post-body .hs-zig > li:nth-child(3n)::after   { animation-delay: 1.7s; }
@keyframes hs-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  65%  { transform: scale(2.7); opacity: 0; }
  100% { transform: scale(2.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .post-body .hs-zig > li::after { animation: none; opacity: 0; }
}
/* 홀수는 왼쪽, 짝수는 오른쪽 */
.post-body .hs-zig > li > .hs-zc { grid-column: 1; margin-right: 47px; text-align: right; }
.post-body .hs-zig > li:nth-child(even) > .hs-zc { grid-column: 2; margin-right: 0; margin-left: 53px; text-align: left; }

.post-body .hs-zc {
  background: var(--c-card); border: 1px solid var(--c-line);
  border-radius: var(--radius);
  /* 연결선이 top:23px 에 고정이므로, 연도(27px·line-height 1.15 = 31px)의
     세로 중심이 23.5 에 오도록 위 패딩을 8px 로 잡는다. 8 + 15.5 = 23.5 */
  padding: 8px 20px 18px;
  position: relative;
}
/* 축을 향한 연결선. 축 중심은 50% + 3 이므로 카드 여백을 좌 47 / 우 53 으로
   비대칭 배치해야 양쪽 선이 똑같이 50px 로 축에 정확히 닿는다. */
.post-body .hs-zc::after {
  content: ""; position: absolute; top: 23px; width: 50px; height: 1px;
  background: var(--c-line);
}
.post-body .hs-zig > li > .hs-zc::after { right: -50px; }
.post-body .hs-zig > li:nth-child(even) > .hs-zc::after { left: -50px; }

.post-body .hs-zc b {
  display: block; font-size: 27px; font-weight: 800; letter-spacing: -.02em;
  color: #10233f; font-variant-numeric: tabular-nums;
  line-height: 1.15; margin-bottom: 7px;
}
.post-body .hs-zc ul { list-style: none; margin: 0; padding: 0; }
.post-body .hs-zc li { font-size: 15px; line-height: 1.65; word-break: keep-all; color: var(--c-fg); }
.post-body .hs-zc li + li { margin-top: 4px; }

@media (max-width: 900px) {
  .post-body .hs-top { gap: 26px; }
}
@media (max-width: 768px) {
  .post-body .hs-group + .hs-group { margin-top: 26px; }
  .post-body .hs-group-h span { font-size: 11px; font-weight: 300; letter-spacing: .16em; }
  .post-body .hs-list li { font-size: 15px; padding-top: 9px; padding-bottom: 9px; }
  .post-body .hs-tabs .pg-tablist { margin-bottom: 20px; }
  .post-body .hs-tabs .pg-tab { font-size: 14.5px; padding: 9px 13px 11px; }
  .post-body .hs-cards { gap: 8px; }
  .post-body .hs-card { padding: 13px 15px; font-size: 14.5px; }
  .post-body .hs-top { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 34px; }
  /* 1단으로 접히면 아래에 빈 자리가 없어 카드와 겹친다 */
  .post-body .hs-top::after { display: none; }
  .post-body .hs-fig img { max-width: 340px; margin: 0 auto; }

  /* 좁은 화면에선 교차 배치가 불가능하다 → 축을 왼쪽으로 붙이고 한 줄로.
     연도 22px(line-height 1.15 = 25.3) + 패딩 13px → 연도 중심 y = 25.5.
     점(17px 박스)·펄스(15px 박스)·연결선을 모두 그 높이에 맞춘다. */
  .post-body .hs-zig::before { left: 8px; margin-left: 0; }
  .post-body .hs-zig > li { display: block; margin-bottom: 12px; }
  .post-body .hs-zig > li::before { left: 8px; margin-left: -8px; top: 17px; }
  .post-body .hs-zig > li::after  { left: 8px; margin-left: -7px; top: 18px; }
  /* 1단으로 접히면 좌우 구분이 없어지므로 우측 정렬도 해제한다 */
  .post-body .hs-zig > li > .hs-zc,
  .post-body .hs-zig > li:nth-child(even) > .hs-zc { margin: 0 0 0 34px; text-align: left; }
  .post-body .hs-zc { padding: 13px 15px; }
  .post-body .hs-zc::after,
  .post-body .hs-zig > li:nth-child(even) > .hs-zc::after { left: -25px; right: auto; width: 25px; top: 25px; }
  .post-body .hs-zc b { font-size: 22px; margin-bottom: 5px; }
  .post-body .hs-zc li { font-size: 14.5px; }
}

/* ---------- 페이지 본문 인트로 ----------
   배너는 시각적 머리글이고, 이 블록은 본문이 시작하는 지점을 잡아준다. */
/* A안 — 밑줄 룰 대신 좌측 브론즈 세로선으로 kicker+제목을 한 블록으로 묶는다 */
.pg-intro { margin: 20px 0 50px; padding-left: 18px; border-left: 8px solid #8a6725; }
.pg-intro-wide { max-width: 1250px; margin-left: auto; margin-right: auto; }
.pg-intro-kicker {
  margin: 0 0 5px;
  font-size: 13px; font-weight: 300; letter-spacing: .18em;
  color: #8a6725;                      /* 밝은 배경 위 브론즈는 AA 미달 → 한 단계 어둡게 */
  text-transform: uppercase;
}
.pg-intro-title {
  margin: 0; line-height: 1.2;
  font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  /* 인트로 제목은 예전 딥네이비를 유지한다 — 브랜드색(보라)을 따라가지 않는다 */
  letter-spacing: -.03em; color: #10233f; word-break: keep-all;
}

@media (max-width: 768px) {
  .pg-intro { margin: 14px 0 32px; padding-left: 14px; }
  .post-body .hs-group-h { margin: 14px 0 32px; padding-left: 14px; }
  .post-body .hs-awards { padding-top: 34px; }
  .pg-intro-kicker { font-size: 11px; font-weight: 300; letter-spacing: .16em; }
}

/* ---------- CEO 인사말 ---------- */
/* 원본 사진이 311px 폭이라 4fr(424px)에 넣으면 1.36배 확대되어 흐려진다.
   3fr(318px)이면 사실상 원본 크기로 선명하게 들어간다. */
.post-body .ceo-top {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: 60px; align-items: start; margin-bottom: 8px;
}
.post-body .ceo-photo { margin: 0; }
.post-body .ceo-photo img { width: 100%; height: auto; border-radius: var(--radius-sm); }
/* 서명은 인사말 끝에 — 편지를 맺는 자리다 */
.post-body .ceo-body .ceo-sign {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 12px;
  margin: 30px 0 0;
}
.post-body .ceo-sign span { font-size: 15px; color: var(--c-muted); }
.post-body .ceo-sign b {
  font-size: 21px; font-weight: 800; color: var(--c-primary); letter-spacing: -.03em;
}

.post-body .ceo-body .ceo-lead {
  font-size: clamp(17px, 1.9vw, 21px); font-weight: 700; line-height: 1.55;
  color: var(--c-primary); letter-spacing: -.02em; word-break: keep-all;
  margin: 0 0 26px; padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line);
}
.post-body .ceo-body p { font-size: 16px; line-height: 1.85; color: var(--c-fg); word-break: keep-all; margin: 0 0 18px; }
.post-body .ceo-body p:last-child { margin-bottom: 0; }

/* 프로필 — 연혁 페이지와 같은 구분선 + 브론즈 바 헤더 */
.post-body .ceo-profile {
  margin-top: 80px; padding-top: 52px;
  border-top: 1px solid var(--c-line);
}
.post-body .ceo-pgrid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 60px; align-items: start;
}
.post-body .ceo-plabel {
  margin: 0 0 18px; padding-bottom: 10px;
  border-bottom: 1px solid #9aa5b4;
  font-size: 17px; font-weight: 700; color: var(--c-primary); letter-spacing: -.02em;
}
/* 저서는 학력·자격 아래에 이어 붙는다 — 두 덩어리가 붙어 보이지 않게 띄운다 */
.post-body .ceo-book { margin-top: 34px; }

@media (max-width: 900px) {
  .post-body .ceo-top { gap: 34px; }
  .post-body .ceo-pgrid { gap: 20px 34px; }
}
@media (max-width: 768px) {
  .post-body .ceo-top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .post-body .ceo-photo img { max-width: 300px; }
  .post-body .ceo-body .ceo-sign { margin-top: 24px; gap: 9px; }
  .post-body .ceo-sign span { font-size: 14px; }
  .post-body .ceo-sign b { font-size: 18px; }
  .post-body .ceo-body .ceo-lead { font-size: 17px; margin-bottom: 20px; padding-bottom: 18px; }
  .post-body .ceo-body p { font-size: 15px; line-height: 1.8; margin-bottom: 15px; }
  .post-body .ceo-profile { margin-top: 40px; padding-top: 34px; }
  .post-body .ceo-pgrid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .post-body .ceo-plabel { font-size: 16px; margin-bottom: 14px; }
  .post-body .ceo-book { margin-top: 26px; }
}

/* ---------- 현황: 지주 구조 + 계열사 카드 ----------
   퍼스트그룹(모기업) 아래로 선을 뻗어 4개 계열사를 잇는다.
   --g 는 카드 그리드와 연결선 그리드가 공유하는 열 간격. */
.post-body .st-org { --g: 20px; }

/* 모기업 노드 — 배경 없이 로고만. 흰 바탕이므로 컬러판을 쓴다 */
.post-body .st-hub {
  width: 340px; margin: 0 auto; padding: 0;
  /* line-height 0 — 이미지만 든 박스에 줄상자 여백이 위아래 12px 씩 붙는다 */
  display: flex; align-items: center; justify-content: center; line-height: 0;
}
.post-body .st-hub img { width: 100%; max-width: 300px; height: auto; display: block; margin: 0; }

/* 로고 아래 4색 띠 — 아래 계열사 카드 상단선과 같은 색·같은 순서 */
.post-body .st-swatch {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  width: 300px; margin: 10px auto 0;
}
.post-body .st-swatch i { display: block; height: 10px; }
.post-body .st-swatch i:nth-child(1) { background: #8cc63f; }
.post-body .st-swatch i:nth-child(2) { background: #a8afb8; }
.post-body .st-swatch i:nth-child(3) { background: #6b5b5e; }
.post-body .st-swatch i:nth-child(4) { background: #35c0dc; }
.post-body .st-stem {
  display: block; width: 1px; height: 44px; margin: 0 auto;
  background: var(--c-line);
}

/* 가로 레일 + 세로 다리. 카드와 같은 열 구성을 써서 각 다리가 카드 중앙에 온다.
   레일은 각 칸이 '자기 중앙 → 다음 칸 중앙' 구간을 그려 이어 붙인다. */
.post-body .st-legs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g);
}
.post-body .st-legs i { position: relative; display: block; height: 44px; }
.post-body .st-legs i::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; margin-left: -.5px; background: var(--c-line);
}
.post-body .st-legs i:not(:last-child)::before {
  content: ""; position: absolute; top: 0; height: 1px;
  left: 50%; right: calc(-50% - var(--g));
  background: var(--c-line);
}

/* ── 계열사 카드 ── */
.post-body .st-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g);
  align-items: stretch;   /* 항목 수가 달라도 카드 높이를 맞춘다 */
}
.post-body .st-c {
  position: relative; overflow: hidden;
  background: var(--c-card); border: 1px solid var(--c-line);
  border-top: 8px solid #8a6725; border-radius: var(--radius);
  padding: 26px 22px 22px;
}
/* 상단선은 금색 대신 계열사 색 — 로고 아래 띠와 같은 순서 */
.post-body .st-c:nth-child(1) { border-top-color: #8cc63f; }
.post-body .st-c:nth-child(2) { border-top-color: #a8afb8; }
.post-body .st-c:nth-child(3) { border-top-color: #6b5b5e; }
.post-body .st-c:nth-child(4) { border-top-color: #35c0dc; }
.post-body .st-cn {
  position: absolute; top: 4px; right: 14px; z-index: 0;
  font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.05em;
  color: rgba(16, 35, 63, .07);
  pointer-events: none; user-select: none;
}
.post-body .st-cb {
  position: relative; z-index: 1;
  margin: 0 0 14px; padding-bottom: 13px;
  border-bottom: 1px solid var(--c-line);
  font-size: 19px; font-weight: 800; letter-spacing: -.03em;
  color: var(--c-primary); word-break: keep-all; line-height: 1.3;
}
.post-body .st-c ul { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }
.post-body .st-c ul li {
  position: relative; padding: 5px 0 5px 13px;
  font-size: 14.5px; line-height: 1.6; color: var(--c-fg); word-break: keep-all;
}
.post-body .st-c ul li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 4px; height: 4px; border-radius: 50%; background: #8a6725;
}

@media (max-width: 1024px) {
  .post-body .st-org { --g: 16px; }
  .post-body .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 2열로 접히면 4갈래 연결선이 카드 중앙과 어긋난다 → 줄기만 남긴다 */
  .post-body .st-legs { display: none; }
  .post-body .st-stem { height: 46px; }
  .post-body .st-c { padding: 22px 18px 18px; }
}
@media (max-width: 768px) {
  .post-body .st-org { --g: 12px; }
  .post-body .st-hub { width: 260px; padding: 0; }
  .post-body .st-hub img { max-width: 230px; }
  .post-body .st-swatch { width: 220px; margin-top: 8px; gap: 5px; }
  .post-body .st-swatch i { height: 8px; }
  .post-body .st-hub img { max-width: 220px; }
  .post-body .st-stem { height: 34px; }
  .post-body .st-cards { grid-template-columns: minmax(0, 1fr); }
  .post-body .st-cn { font-size: 48px; top: 3px; right: 12px; }
  .post-body .st-cb { font-size: 17px; margin-bottom: 11px; padding-bottom: 10px; }
  .post-body .st-c ul li { font-size: 14px; padding-top: 4px; padding-bottom: 4px; }
  .post-body .st-c ul li::before { top: 11px; }
}

/* ---------- 오시는 길 ----------
   원본의 깨진 문의폼(bat/rd-mailform.php 없음)과 CSP 에 막힌 카카오맵을 걷어내고
   구글 지도 + 사업장 카드 + 온라인상담 링크로 재구성. */
.post-body .lo-map {
  border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 34px; line-height: 0;
}
.post-body .lo-map iframe { display: block; width: 100%; border: 0; }

.post-body .lo-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  align-items: stretch;
}
.post-body .lo-card {
  background: var(--c-card); border: 1px solid var(--c-line);
  border-top: 8px solid var(--c-primary); border-radius: var(--radius);
  padding: 28px 30px 24px;
}
.post-body .lo-name {
  margin: 0 0 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
  font-size: 22px; font-weight: 800; letter-spacing: -.03em;
  color: var(--c-primary); word-break: keep-all;
}
.post-body .lo-info { list-style: none; margin: 0; padding: 0; }
.post-body .lo-info li { display: flex; align-items: flex-start; gap: 13px; padding: 9px 0; }
.post-body .lo-ico {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; color: #8a6725;
}
.post-body .lo-ico svg { width: 19px; height: 19px; }
.post-body .lo-t {
  min-width: 0; font-size: 15.5px; line-height: 1.6;
  color: var(--c-fg); word-break: keep-all;
}
.post-body .lo-t b {
  display: block; margin-bottom: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--c-muted); text-transform: uppercase;
}
.post-body .lo-t a { color: var(--c-primary); font-weight: 600; }

/* 문의는 Q&A 게시판으로 — 동작하지 않던 폼을 대신한다 */
.post-body .lo-cta {
  margin-top: 34px; padding: 30px;
  background: var(--c-line-2); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px 24px;
}
.post-body .lo-cta-t {
  margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em;
  color: var(--c-primary); word-break: keep-all;
}
.post-body .lo-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius);
  background: var(--c-primary); color: #fff;
  font-size: 15.5px; font-weight: 700; letter-spacing: -.01em;
}
.post-body .lo-btn:hover { background: #3d2996; color: #fff; }

@media (max-width: 900px) {
  .post-body .lo-cards { gap: 18px; }
  .post-body .lo-card { padding: 24px 22px 20px; }
}
@media (max-width: 768px) {
  .post-body .lo-map { margin-bottom: 22px; }
  .post-body .lo-map iframe { height: 320px; }
  .post-body .lo-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .post-body .lo-card { padding: 20px 18px 16px; }
  .post-body .lo-name { font-size: 19px; margin-bottom: 13px; padding-bottom: 11px; }
  .post-body .lo-t { font-size: 15px; }
  .post-body .lo-cta { margin-top: 22px; padding: 22px 20px; flex-direction: column; align-items: flex-start; }
  .post-body .lo-cta-t { font-size: 16px; }
  .post-body .lo-btn { padding: 13px 22px; font-size: 15px; }
}

/* ---------- 주요업무 ----------
   좌: 현장 사진 / 우: 업무 아이콘 타일 3열. */
.post-body .sv-top {
  display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  gap: 50px; align-items: start;
}
.post-body .sv-fig { margin: 0; }
.post-body .sv-fig img { width: 100%; height: auto; margin: 0; border-radius: var(--radius-sm); }

.post-body .sv-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  align-content: start;
}
.post-body .sv-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  background: var(--c-card); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 22px 12px 18px;
  text-align: center; cursor: default;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.post-body .sv-grid li p,
.post-body .sv-i { transition: color .18s ease, background .18s ease; }
/* 호버 — 카드 전체를 브랜드 네이비로 반전 */
.post-body .sv-grid li:hover {
  background: var(--c-primary); border-color: var(--c-primary);
  box-shadow: var(--shadow-md); transform: translateY(-3px);
}
.post-body .sv-grid li:hover p { color: #fff; }
.post-body .sv-grid li:hover .sv-i {
  background: rgba(255,255,255,.14); color: #e0b866;
}
.post-body .sv-i {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(138, 103, 37, .08);
  color: #8a6725;
}
.post-body .sv-i svg { width: 24px; height: 24px; }
.post-body .sv-grid li p {
  margin: 0; font-size: 14px; line-height: 1.5; font-weight: 600;
  color: var(--c-fg); word-break: keep-all; letter-spacing: -.01em;
}

@media (max-width: 1024px) {
  .post-body .sv-top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .post-body .sv-fig img { max-width: 380px; margin: 0 auto; }
  .post-body .sv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .post-body .sv-top { gap: 20px; }
  .post-body .sv-fig img { max-width: 320px; }
  .post-body .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .post-body .sv-grid li { padding: 17px 9px 14px; }
  .post-body .sv-i { width: 40px; height: 40px; margin-bottom: 9px; }
  .post-body .sv-i svg { width: 21px; height: 21px; }
  .post-body .sv-grid li p { font-size: 13px; }
}

/* ---------- 주요고객 ----------
   원본은 720px 컨테이너를 12칸 그리드의 2칸씩(=90px) 나눈 뒤 카드 패딩 26px 까지
   먹어서 로고가 36x24px 로 찌그러져 있었다. 넓은 폭 + 전용 타일로 다시 짠다. */
.post-body .cl-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
}
.post-body .cl-grid li {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 14px 12px; min-height: 88px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.post-body .cl-grid li:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.post-body .cl-grid img {
  width: 100%; height: auto; max-height: 58px;
  object-fit: contain; margin: 0; border-radius: 0;
  /* 로고 원본이 흰 배경 JPG 라 타일 배경과 자연스럽게 섞이게 한다 */
  mix-blend-mode: multiply;
}

@media (max-width: 1024px) {
  .post-body .cl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 768px) {
  .post-body .cl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .post-body .cl-grid li { padding: 10px 8px; min-height: 64px; }
  .post-body .cl-grid img { max-height: 42px; }
}

/* ---------- 주요실적 ----------
   연도 탭 21개(최신순) → 연도 머리글 · 현장 사진 가로 한 줄 · 그 아래 실적 목록. */
/* 연도 탭은 알약형 — 밑줄 대신 눌린 탭 바탕을 네이비로 채운다 */
.post-body .pf-tabs .pg-tablist {
  gap: 8px; margin-bottom: 34px; border-bottom: 0;
}
.post-body .pf-tabs .pg-tab {
  padding: 5px 19px 6px; font-size: 16px; font-weight: 300; white-space: nowrap;
  border: 1px solid var(--c-line); border-radius: 999px;
  margin-bottom: 3px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.post-body .pf-tabs .pg-tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.post-body .pf-tabs .pg-tab[aria-selected="true"] {
  background: var(--c-primary); border-color: var(--c-primary); color: #fff;
}

.post-body .pf-head {
  display: flex; align-items: baseline; gap: 16px;
  margin: 0 0 26px; padding-bottom: 14px;
  border-bottom: 3px solid #8a6725;
}
.post-body .pf-year {
  margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; color: var(--c-primary);
  font-variant-numeric: tabular-nums; word-break: keep-all;
}
.post-body .pf-label {
  margin: 0; font-size: 15px; font-weight: 300; letter-spacing: .06em;
  color: var(--c-primary);
}

/* 사진은 개수(2~6장)와 무관하게 같은 크기로 — 4장씩 한 줄 */
.post-body .pf-shots { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 30px; }
.post-body .pf-shots img {
  flex: 0 0 calc((100% - 48px) / 4);
  /* flex 아이템 기본 min-width:auto 때문에 원본 폭 밑으로 안 줄어든다 */
  min-width: 0; max-width: 100%; width: auto; margin: 0;
  /* 원본이 402x250 / 628x392 / 218x301 등 제각각이라 비율을 고정해 격자를 고르게 한다.
     16:10 은 다수(402x250, 628x392)의 실제 비율이라 대부분 잘리지 않는다.
     비율을 미리 잡아두면 지연 로딩 시 레이아웃 밀림도 없다. */
  aspect-ratio: 16 / 10; height: auto; object-fit: cover;
  background: var(--c-line-2);
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
}

.post-body .pf-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 40px; }
.post-body .pf-list li {
  break-inside: avoid; position: relative;
  padding: 7px 0 7px 15px; font-size: 15px; line-height: 1.6;
  color: var(--c-fg); word-break: keep-all;
  border-bottom: 1px solid var(--c-line-2);
}
.post-body .pf-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 5px; height: 1px; background: #8a6725;
}

@media (max-width: 1024px) {
  .post-body .pf-shots img { flex: 0 0 calc((100% - 32px) / 3); }
  .post-body .pf-list { columns: 2; column-gap: 30px; }
}
@media (max-width: 768px) {
  /* 연도 탭 21개 — 가로 스크롤을 쓰면 4개만 보이고 17개가 화면 밖에 숨는다.
     여기서는 넘침을 풀고 줄바꿈을 허용해 전부 한눈에 들어오게 한다. */
  .post-body .pf-tabs .pg-tablist {
    flex-wrap: wrap; overflow: visible;
    gap: 4px; margin-bottom: 22px;
  }
  .post-body .pf-tabs .pg-tab { padding: 5px 9px 5px; font-size: 13px; }
  .post-body .pf-head { gap: 10px; margin-bottom: 18px; padding-bottom: 10px; }
  .post-body .pf-shots { gap: 8px; margin-bottom: 20px; }
  .post-body .pf-shots img { flex: 0 0 calc((100% - 8px) / 2); }
  .post-body .pf-list { columns: 1; }
  .post-body .pf-list li { font-size: 14.5px; padding-top: 6px; padding-bottom: 6px; }
  .post-body .pf-list li::before { top: 14px; }
}

/* ---------- 해외사업 ----------
   상단 현황 배너 + 12개 사업 카드(사진 + 설명).
   이 페이지만 본문 폭을 1150px 로 좁힌다 (page.php 가 붙이는 data-page 로 스코프). */
[data-page="global"] .pg-wide,
[data-page="global"] .pg-intro-wide { max-width: 1150px; }

.post-body .gl-hero { margin: 0 0 40px; text-align: center; }
.post-body .gl-hero img {
  /* 원본이 712px 이라 본문 폭까지 늘리면 흐려진다 → 원본 크기로 가운데 */
  width: 100%; max-width: 712px; height: auto; margin: 0 auto;
  border: 0; border-radius: 0;
}

.post-body .gl-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 24px;
}
.post-body .gl-grid li { min-width: 0; }
.post-body .gl-grid img {
  width: 100%; height: auto; margin: 0 0 12px;
  aspect-ratio: 458 / 296; object-fit: cover;
  background: var(--c-line-2);
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
}
.post-body .gl-grid p {
  margin: 0; padding-left: 14px; position: relative;
  font-size: 15.5px; line-height: 1.55; font-weight: 600;
  color: var(--c-fg); word-break: keep-all;
}
.post-body .gl-grid p::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: #8a6725;
}

@media (max-width: 1024px) {
  .post-body .gl-hero { margin-bottom: 30px; }
  .post-body .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
}
@media (max-width: 768px) {
  .post-body .gl-hero { margin-bottom: 22px; }
  .post-body .gl-grid { gap: 18px 12px; }
  .post-body .gl-grid img { margin-bottom: 9px; }
  .post-body .gl-grid p { font-size: 14.5px; padding-left: 12px; }
  .post-body .gl-grid p::before { width: 5px; height: 5px; top: 9px; }
}

/* ---------- 인허가사항 ----------
   증서 15장 모두 216x285 세로형. 5열 × 3행. */
[data-page="license"] .pg-wide,
[data-page="license"] .pg-intro-wide,
[data-page="awards"] .pg-wide,
[data-page="awards"] .pg-intro-wide { max-width: 1180px; }

.post-body .li-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 22px;
  align-items: start;
}
.post-body .li-grid li { min-width: 0; }
.post-body .li-grid img {
  width: 100%; height: auto; margin: 0 0 12px;
  aspect-ratio: 216 / 285; object-fit: contain;   /* 문서라 잘리면 안 된다 */
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
}
.post-body .li-grid p {
  margin: 0; font-size: 14.5px; line-height: 1.5; text-align: center;
  color: var(--c-fg); word-break: keep-all;
}

@media (max-width: 1024px) {
  .post-body .li-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
}
@media (max-width: 768px) {
  .post-body .li-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .post-body .li-grid img { margin-bottom: 9px; }
  .post-body .li-grid p { font-size: 13.5px; }
}

/* ---------- 산학협력 ----------
   A4 스캔 14장. 원본이 1700x2338(합계 9.6MB)이라 520px 썸네일을 쓰고
   클릭하면 원본을 새 탭에서 연다. */
[data-page="partnership"] .pg-wide,
[data-page="partnership"] .pg-intro-wide { max-width: 1180px; }

.post-body .pt-grid img { aspect-ratio: 1700 / 2338; }
.post-body .pt-grid a { display: block; }
.post-body .pt-grid a:hover img { border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.post-body .pt-grid img { transition: border-color .18s ease, box-shadow .18s ease; }

/* ---------- 준비 중 페이지 ---------- */
.post-body .pg-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 80px 24px 84px;
  background: var(--c-line-2); border-radius: var(--radius);
}
.post-body .pg-empty-ico {
  display: flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; margin-bottom: 22px;
  border-radius: 50%; background: #fff; color: #8a6725;
  border: 1px solid var(--c-line);
}
.post-body .pg-empty-ico svg { width: 30px; height: 30px; }
.post-body .pg-empty-t {
  margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800;
  letter-spacing: -.03em; color: var(--c-primary);
}
.post-body .pg-empty-d {
  margin: 0 0 26px; font-size: 16px; line-height: 1.7;
  color: var(--c-muted); word-break: keep-all;
}
.post-body .pg-empty-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius);
  background: var(--c-primary); color: #fff;
  font-size: 15.5px; font-weight: 700;
}
.post-body .pg-empty-btn:hover { background: #3d2996; color: #fff; }

@media (max-width: 768px) {
  .post-body .pg-empty { padding: 52px 18px 56px; }
  .post-body .pg-empty-ico { width: 54px; height: 54px; margin-bottom: 17px; }
  .post-body .pg-empty-ico svg { width: 25px; height: 25px; }
  .post-body .pg-empty-d { font-size: 15px; margin-bottom: 20px; }
  .post-body .pg-empty-btn { padding: 13px 22px; font-size: 15px; }
}

/* ---------- 이미지 라이트박스 ---------- */
html.lb-open, html.lb-open body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(8, 12, 22, .93);
  padding: 56px 68px 16px;
}
.lb[hidden] { display: none; }
.lb-stage {
  flex: 1 1 auto; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lb-stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; background: #fff; border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transition: opacity .15s ease;
}
.lb.is-loading .lb-stage img { opacity: .25; }

.lb-cap {
  flex: 0 0 auto; display: flex; align-items: baseline; gap: 12px;
  margin: 16px 0 12px; color: rgba(255,255,255,.82); font-size: 14px;
}
.lb-cnt { font-weight: 700; color: #e0b866; font-variant-numeric: tabular-nums; }

.lb-close, .lb-nav {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #fff; cursor: pointer; border-radius: 50%;
  transition: background .15s ease, border-color .15s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }
.lb-close { top: 14px; right: 16px; width: 44px; height: 44px; }
.lb-close svg { width: 20px; height: 20px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

.lb-strip {
  flex: 0 0 auto; display: flex; gap: 8px;
  max-width: 100%; overflow-x: auto; padding: 4px 2px 6px;
  scrollbar-width: thin;
}
.lb-strip::-webkit-scrollbar { height: 6px; }
.lb-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); border-radius: 3px; }
.lb-th {
  flex: 0 0 auto; padding: 0; background: none; cursor: pointer;
  border: 2px solid transparent; border-radius: 3px; line-height: 0;
  opacity: .5; transition: opacity .15s ease, border-color .15s ease;
}
.lb-th img { width: 54px; height: 74px; object-fit: cover; display: block; border-radius: 1px; background: #fff; }
.lb-th:hover { opacity: .85; }
.lb-th.is-on { opacity: 1; border-color: #e0b866; }

@media (max-width: 768px) {
  .lb { padding: 52px 10px 10px; }
  .lb-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-nav svg { width: 20px; height: 20px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-cap { margin: 12px 0 9px; font-size: 13px; }
  .lb-th img { width: 42px; height: 58px; }
}

/* ---------- 법적 고지 (개인정보처리방침 · 이용약관) ----------
   조문이 길어 읽는 흐름이 중요하다. 폭을 좁히고 조 제목을 또렷하게 둔다. */
.post-body .lg-doc { max-width: 900px; margin-left: auto; margin-right: auto; }
.post-body .lg-lead {
  margin: 0 0 40px; padding: 20px 22px;
  background: var(--c-line-2); border-left: 5px solid var(--c-accent);
  font-size: 15.5px; line-height: 1.8; color: var(--c-fg-2, #38414f); word-break: keep-all;
}
.post-body .lg-doc h3 {
  margin: 42px 0 14px; padding-bottom: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: -.02em;
  color: var(--c-primary); border-bottom: 2px solid var(--c-line);
}
.post-body .lg-doc h3:first-of-type { margin-top: 0; }
.post-body .lg-doc p  { margin: 0 0 12px; line-height: 1.85; word-break: keep-all; }
.post-body .lg-doc ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.post-body .lg-doc li { position: relative; padding-left: 15px; margin: 7px 0; line-height: 1.8; word-break: keep-all; }
.post-body .lg-doc li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent);
}
.post-body .lg-doc strong { color: var(--c-primary); font-weight: 600; }

.post-body .lg-tbl { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14.5px; }
.post-body .lg-tbl th, .post-body .lg-tbl td {
  padding: 12px 14px; border: 1px solid var(--c-line); text-align: left;
  line-height: 1.7; word-break: keep-all; vertical-align: top;
}
.post-body .lg-tbl thead th { background: var(--c-primary); color: #fff; font-weight: 600; white-space: nowrap; }
.post-body .lg-tbl tbody th { background: var(--c-line-2); font-weight: 600; color: var(--c-primary); white-space: nowrap; width: 170px; }

.post-body .lg-date {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--c-line);
  font-size: 14px; color: var(--c-muted); line-height: 1.9;
}

@media (max-width: 768px) {
  .post-body .lg-lead { margin-bottom: 28px; padding: 16px 16px; font-size: 14.5px; }
  .post-body .lg-doc h3 { margin: 32px 0 12px; font-size: 16px; }
  .post-body .lg-doc p, .post-body .lg-doc li { font-size: 14.5px; }
  /* 표는 가로로 밀어서 본다 — 칸을 줄이면 조문이 읽히지 않는다 */
  .post-body .lg-tbl { display: block; overflow-x: auto; white-space: nowrap; font-size: 13.5px; }
  .post-body .lg-tbl th, .post-body .lg-tbl td { padding: 10px 12px; }
  .post-body .lg-tbl tbody th { width: auto; }
}


/* ---------- CI 소개 ----------
   로고 사용 예 → 경영이념(P·R·O) → 심볼의 의미 → 다짐.
   카드 테두리·강조 띠 대신 여백과 활자 크기로 위계를 만든다.
   본문 폭 1360px — 컨테이너(1400) 에서 좌우 여백 20px 을 뺀 값. */
[data-page="ci"] .pg-wide,
[data-page="ci"] .pg-intro-wide { max-width: 1360px; }
.post-body .ci2 { max-width: 1360px; margin-left: auto; margin-right: auto; }

/* ── 로고 — 밝은 바탕과 어두운 바탕 두 가지 사용 예 ── */
.post-body .ci2-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0 0 34px; }
.post-body .ci2-mark > div {
  display: flex; align-items: center; justify-content: center;
  min-height: 260px; padding: 44px 32px;
}
.post-body .ci2-mark-l { background: #f5f7fa; }
.post-body .ci2-mark-d { background: var(--c-primary); }
.post-body .ci2-mark img { width: 100%; max-width: 340px; height: auto; margin: 0; }

.post-body .ci2-motto {
  margin: 0 0 96px; padding-top: 28px; text-align: center; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -.02em;
  color: var(--c-primary); word-break: keep-all;
}
.post-body .ci2-motto::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 2px; background: var(--c-accent);
}

/* ── 절 머리 ── */
.post-body .ci2-h { margin: 0 0 44px; }
.post-body .ci2-k {
  margin: 0 0 10px; font-family: Poppins, sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: .28em; color: #8a6725; text-transform: uppercase;
}
.post-body .ci2-h h3 {
  margin: 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800;
  /* 절 제목은 다른 페이지 제목과 같은 딥네이비 */
  letter-spacing: -.035em; color: #10233f; line-height: 1.2;
}
.post-body .ci2-sub {
  margin: 16px 0 0; max-width: 680px;
  font-size: 16px; line-height: 1.85; color: var(--c-muted); word-break: keep-all;
}
.post-body .ci2-sub strong { color: var(--c-primary); font-weight: 600; }

/* ── 경영이념 P·R·O — 넓은 화면에서는 세 단으로 나란히 ── */
.post-body .ci2-pro {
  margin: 0 0 110px; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}
.post-body .ci2-pro > li { padding: 46px 44px; border-left: 1px solid var(--c-line); }
.post-body .ci2-pro > li:first-child { padding-left: 0; border-left: 0; }
.post-body .ci2-pro > li:last-child { padding-right: 0; }

.post-body .ci2-let { margin-bottom: 26px; }
.post-body .ci2-let b {
  display: block; font-family: Poppins, sans-serif;
  font-size: 90px; font-weight: 700; line-height: .85; letter-spacing: -.05em;
  color: var(--c-accent);
}
.post-body .ci2-let span {
  display: block; margin-top: 14px; font-family: Poppins, sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-primary);
}

.post-body .ci2-txt { min-width: 0; }
.post-body .ci2-txt h4 {
  margin: 0 0 12px; font-size: 20px; font-weight: 700;
  letter-spacing: -.03em; color: var(--c-primary);
}
.post-body .ci2-txt > p {
  margin: 0 0 16px; font-size: 15.5px; line-height: 1.8;
  color: var(--c-fg-2, #38414f); word-break: keep-all;
}
.post-body .ci2-txt ul { margin: 0 0 18px; padding: 0; list-style: none; }
.post-body .ci2-txt ul li {
  position: relative; padding-left: 16px; margin: 8px 0;
  font-size: 14.5px; line-height: 1.75; color: var(--c-muted); word-break: keep-all;
}
.post-body .ci2-txt ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 6px; height: 1px; background: var(--c-accent);
}
.post-body .ci2-q {
  margin: 0 !important; padding-left: 18px;
  border-left: 2px solid var(--c-accent);
  font-size: 14.5px !important; font-style: italic;
  color: var(--c-primary) !important; word-break: keep-all; line-height: 1.7 !important;
}

/* ── 심볼 ── */
.post-body .ci2-sym {
  display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 64px; align-items: center;
  margin: 0 0 110px; padding: 68px 64px; background: #f5f7fa;
}
.post-body .ci2-sym-fig { display: flex; align-items: center; justify-content: center; }
/* 심볼 원본 이미지를 그대로 쓴다 — 마스크로 칠하면 안쪽 부채선이 메워져 사각형이 된다 */
.post-body .ci2-ph { display: block; width: 100%; max-width: 260px; height: auto; margin: 0; }
.post-body .ci2-sym-list { margin: 0; padding: 0; list-style: none; }
.post-body .ci2-sym-list li {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid #dfe4ea;
}
.post-body .ci2-sym-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.post-body .ci2-sym-list b {
  font-size: 17px; font-weight: 700; color: var(--c-primary); letter-spacing: -.02em;
}
.post-body .ci2-sym-list span {
  font-size: 15.5px; color: var(--c-muted); line-height: 1.7; word-break: keep-all;
}

/* ── 다짐 ── */
.post-body .ci2-vow {
  /* 다짐 바탕은 예전 딥네이비 */
  margin: 0; padding: 64px 56px; background: #10233f; color: #fff;
  text-align: center; position: relative; quotes: none;
}
.post-body .ci2-vow span {
  display: block; max-width: 780px; margin: 0 auto;
  font-size: 17px; line-height: 2.05; word-break: keep-all;
}
.post-body .ci2-vow::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--c-accent);
}

@media (max-width: 1100px) {
  /* 세 단이 좁아지면 한 단씩 쌓고, 큰 글자를 제목 옆으로 붙인다 */
  .post-body .ci2-pro { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .post-body .ci2-pro > li {
    padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--c-line);
    display: grid; grid-template-columns: 150px 1fr; gap: 34px;
  }
  .post-body .ci2-pro > li:first-child { padding-left: 0; }
  .post-body .ci2-pro > li:last-child { padding-right: 0; }
  .post-body .ci2-let { margin-bottom: 0; }
  .post-body .ci2-let b { font-size: 70px; }
}
@media (max-width: 1080px) {
  /* 그림과 목록을 나란히 두기엔 좁다 — 위아래로 쌓는다 */
  .post-body .ci2-sym { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 48px 34px; text-align: center; }
  .post-body .ci2-ph { max-width: 170px; }
  .post-body .ci2-sym-list li { grid-template-columns: 150px 1fr; text-align: left; }
}
@media (max-width: 768px) {
  .post-body .ci2-mark { grid-template-columns: 1fr; }
  .post-body .ci2-mark > div { min-height: 160px; padding: 30px 24px; }
  .post-body .ci2-mark img { max-width: 240px; }
  .post-body .ci2-motto { margin-bottom: 60px; padding-top: 20px; font-size: 16px; }

  .post-body .ci2-h { margin-bottom: 28px; }
  .post-body .ci2-sub { margin-top: 12px; font-size: 14.5px; }

  .post-body .ci2-pro { margin-bottom: 68px; }
  .post-body .ci2-pro > li { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .post-body .ci2-let { display: flex; align-items: baseline; gap: 14px; }
  .post-body .ci2-let b { font-size: 54px; }
  .post-body .ci2-let span { margin-top: 0; }
  .post-body .ci2-txt h4 { font-size: 18px; }
  .post-body .ci2-txt > p { font-size: 15px; }

  .post-body .ci2-sym { margin-bottom: 68px; padding: 32px 20px; }
  .post-body .ci2-sym-list li { grid-template-columns: 1fr; gap: 4px; padding: 15px 0; }

  .post-body .ci2-vow { padding: 40px 24px; }
  .post-body .ci2-vow span { font-size: 15.5px; line-height: 1.9; }
}

/* ---------- 주요고객 — 분야별 구분 + 시설관리 현장 ----------
   로고 104개를 한 판에 늘어놓으면 훑어볼 수가 없다. 분야로 끊고,
   그 아래 회사소개서 40~49쪽의 시설관리 현장을 사진과 함께 붙인다. */
.post-body .cl-sec { margin: 0 0 52px; }
.post-body .cl-sec:last-child { margin-bottom: 0; }

.post-body .cl-h {
  margin: 0 0 18px; padding-bottom: 11px;
  border-bottom: 1px solid var(--c-line);
}
.post-body .cl-h h3 {
  margin: 0; font-size: 19px; font-weight: 700;
  letter-spacing: -.03em; color: #10233f; word-break: keep-all;
}
.post-body .cl-h h3::before {
  content: ''; display: inline-block; vertical-align: 1px;
  width: 3px; height: 15px; margin-right: 10px; background: var(--c-accent);
}
.post-body .cl-h p { margin: 7px 0 0; font-size: 14.5px; color: var(--c-muted); word-break: keep-all; }

/* 큰 절 제목 — 로고 묶음과 시설관리 현장을 가르는 선 */
.post-body .cl-band { margin: 74px 0 30px; }
.post-body .cl-band span {
  display: block; margin-bottom: 9px; font-family: Poppins, sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: .26em; color: #8a6725; text-transform: uppercase;
}
.post-body .cl-band h2 {
  margin: 0; font-size: clamp(22px, 2.2vw, 29px); font-weight: 800;
  letter-spacing: -.035em; color: #10233f; line-height: 1.25;
}

/* 시설관리 현장 — 사진 + 현장명 */
.post-body .fac-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px;
}
.post-body .fac-grid li { min-width: 0; }
.post-body .fac-grid img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  margin: 0 0 11px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
}
.post-body .fac-grid p {
  margin: 0; font-size: 15px; line-height: 1.5; text-align: center;
  color: var(--c-fg); word-break: keep-all;
}
.post-body .fac-grid p em {
  display: block; margin-top: 4px; font-size: 12.5px; font-style: normal; color: var(--c-accent);
}

@media (max-width: 1024px) {
  .post-body .fac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; }
}
@media (max-width: 768px) {
  .post-body .cl-sec { margin-bottom: 36px; }
  .post-body .cl-h { margin-bottom: 13px; padding-bottom: 8px; }
  .post-body .cl-h h3 { font-size: 16.5px; }
  .post-body .cl-h h3::before { height: 13px; margin-right: 8px; }
  .post-body .cl-h p { margin-top: 5px; font-size: 13.5px; }
  .post-body .cl-band { margin: 48px 0 22px; }
  .post-body .cl-band span { margin-bottom: 6px; font-size: 11px; }
  .post-body .fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .post-body .fac-grid img { margin-bottom: 8px; }
  .post-body .fac-grid p { font-size: 13.5px; }
  .post-body .fac-grid p em { font-size: 11.5px; }
}

/* ---------- 현황 — 회사소개서 52쪽(각종 현황) ----------
   조직도 아래에 사업장 주소 · 전국 지사 · 인허가 · 전문인력을 절로 나눠 붙인다.
   주소는 '이름 | 주소' 두 칸 표로 두고, 좁아지면 두 줄로 쌓는다. */
.post-body .st2 { margin-top: 78px; }
.post-body .st2-sec { margin: 0 0 52px; }
.post-body .st2-sec:last-child { margin-bottom: 0; }

.post-body .st2-h { margin: 0 0 18px; padding-bottom: 11px; border-bottom: 1px solid var(--c-line); }
.post-body .st2-h h3 {
  margin: 0; font-size: 19px; font-weight: 700;
  letter-spacing: -.03em; color: #10233f; word-break: keep-all;
}
.post-body .st2-h h3::before {
  content: ''; display: inline-block; vertical-align: 1px;
  width: 3px; height: 15px; margin-right: 10px; background: var(--c-accent);
}
.post-body .st2-h p { margin: 7px 0 0; font-size: 14.5px; color: var(--c-muted); word-break: keep-all; }

/* ── 주소 목록 ── */
.post-body .st2-addr { list-style: none; margin: 0; padding: 0; }
.post-body .st2-addr li {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px;
  padding: 14px 2px; border-bottom: 1px solid var(--c-line);
}
.post-body .st2-addr li:last-child { border-bottom: 0; }
.post-body .st2-addr b {
  font-size: 15.5px; font-weight: 700; letter-spacing: -.02em;
  color: var(--c-primary); word-break: keep-all;
}
.post-body .st2-addr span {
  font-size: 15px; line-height: 1.65; color: var(--c-fg); word-break: keep-all;
}

.post-body .st2-note {
  margin: 14px 0 0; padding-left: 13px; position: relative;
  font-size: 14px; line-height: 1.6; color: var(--c-muted); word-break: keep-all;
}
.post-body .st2-note::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 1px; background: var(--c-accent);
}

/* ── 인허가 — 번호를 단 타일 ── */
.post-body .st2-lic {
  list-style: none; margin: 0; padding: 0; counter-reset: st2lic;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
}
.post-body .st2-lic li {
  counter-increment: st2lic; position: relative;
  padding: 15px 14px 15px 40px; min-height: 62px;
  background: #f5f7fa; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; letter-spacing: -.02em;
  color: var(--c-primary); word-break: keep-all; line-height: 1.4;
  display: flex; flex-direction: column; justify-content: center;
}
.post-body .st2-lic li::before {
  content: counter(st2lic, decimal-leading-zero);
  position: absolute; left: 13px; top: 15px;
  font-family: Poppins, sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: .04em; color: var(--c-accent);
}
.post-body .st2-lic li em {
  display: block; margin-top: 3px;
  font-size: 12.5px; font-style: normal; font-weight: 400; color: var(--c-muted);
}

/* ── 전문 인력 ── */
.post-body .st2-hr { list-style: none; margin: 0; padding: 0; }
.post-body .st2-hr li {
  position: relative; padding: 0 0 0 17px; margin: 0 0 13px;
  font-size: 15.5px; line-height: 1.8; color: var(--c-fg); word-break: keep-all;
}
.post-body .st2-hr li:last-child { margin-bottom: 0; }
.post-body .st2-hr li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 7px; height: 1px; background: var(--c-accent);
}

@media (max-width: 1024px) {
  .post-body .st2-lic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-body .st2-addr li { grid-template-columns: 170px minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
  .post-body .st2 { margin-top: 52px; }
  .post-body .st2-sec { margin-bottom: 36px; }
  .post-body .st2-h { margin-bottom: 13px; padding-bottom: 8px; }
  .post-body .st2-h h3 { font-size: 16.5px; }
  .post-body .st2-h h3::before { height: 13px; margin-right: 8px; }
  .post-body .st2-h p { margin-top: 5px; font-size: 13.5px; }

  .post-body .st2-addr li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 0; }
  .post-body .st2-addr b { font-size: 14.5px; }
  .post-body .st2-addr span { font-size: 14px; }
  .post-body .st2-note { margin-top: 11px; font-size: 13px; }

  .post-body .st2-lic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .post-body .st2-lic li { padding: 12px 11px 12px 34px; min-height: 54px; font-size: 14px; }
  .post-body .st2-lic li::before { left: 11px; top: 12px; font-size: 11px; }
  .post-body .st2-lic li em { font-size: 11.5px; }

  .post-body .st2-hr li { font-size: 14.5px; line-height: 1.75; margin-bottom: 11px; }
}

/* 절 부제 옆에 붙는 보충 문구 — 목록 아래보다 제목 옆이 눈에 먼저 든다 */
.post-body .st2-h p em {
  position: relative; font-style: normal;
  margin-left: 11px; padding-left: 14px;
}
.post-body .st2-h p em::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 6px; height: 1px; background: var(--c-accent);
}
@media (max-width: 768px) {
  /* 좁으면 한 줄에 안 들어가니 아래로 내리고 들여쓰기를 없앤다 */
  .post-body .st2-h p em { display: block; margin-left: 0; margin-top: 4px; padding-left: 11px; }
  .post-body .st2-h p em::before { top: .68em; width: 5px; }
}

/* 조직도 아래 '각종 현황' 묶음의 인트로 제목 */
.post-body .st2-band { margin: 0 0 32px; }
.post-body .st2-band span {
  display: block; margin-bottom: 9px; font-family: Poppins, sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: .26em;
  color: #8a6725; text-transform: uppercase;
}
.post-body .st2-band h2 {
  margin: 0; font-size: clamp(22px, 2.2vw, 29px); font-weight: 800;
  letter-spacing: -.035em; color: #10233f; line-height: 1.25;
}
@media (max-width: 768px) {
  .post-body .st2-band { margin-bottom: 24px; }
  .post-body .st2-band span { margin-bottom: 6px; font-size: 11px; }
}

/* 절 인트로 제목은 페이지 인트로 제목(.pg-intro-title)과 같은 크기·굵기로 맞춘다 */
.post-body .st2-band span,
.post-body .cl-band span {
  margin-bottom: 5px;
  font-family: Poppins, sans-serif;
  font-size: 13px; font-weight: 300; letter-spacing: .18em;
  color: #8a6725; text-transform: uppercase;
}
.post-body .st2-band h2,
.post-body .cl-band h2 {
  margin: 0; line-height: 1.2;
  font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  letter-spacing: -.03em; color: #10233f; word-break: keep-all;
}
@media (max-width: 768px) {
  .post-body .st2-band span,
  .post-body .cl-band span { font-size: 11px; font-weight: 300; letter-spacing: .16em; margin-bottom: 4px; }
}

/* ---------- 주요업무 — 회사소개서 53쪽(업무 상담 및 의뢰절차) ----------
   상자에 담지 않는다. 위쪽 가는 선을 공정 눈금으로 쓰고, 단계가 나아갈수록
   금색 눈금이 길어진다. 번호는 크게 속을 비운 활자로 두고 마지막 단계만 채운다. */
.post-body .pr { margin-top: 82px; }

.post-body .pr-lead {
  margin: 26px 0 0; padding-left: 17px; position: relative;
  font-size: 17.5px; font-weight: 600; letter-spacing: -.02em;
  color: var(--c-primary); word-break: keep-all; line-height: 1.6;
}
.post-body .pr-lead::before {
  content: ''; position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 2px; background: var(--c-accent);
}

.post-body .pr-sub { margin: 34px 0 34px; }
.post-body .pr-sub h3 {
  margin: 0 0 8px; font-size: 19px; font-weight: 700;
  letter-spacing: -.03em; color: #10233f;
}
.post-body .pr-sub p {
  margin: 0; max-width: 760px;
  font-size: 15.5px; line-height: 1.8; color: var(--c-muted); word-break: keep-all;
}

/* ── 네 단계 ── */
.post-body .pr-steps {
  list-style: none; margin: 0; padding: 0; counter-reset: prstep;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--c-line);
}
.post-body .pr-steps > li {
  counter-increment: prstep; position: relative; min-width: 0;
  margin: 0; padding: 30px 30px 4px;
  background: none; border: 0; border-left: 1px solid var(--c-line); border-radius: 0;
}
.post-body .pr-steps > li:first-child { padding-left: 0; border-left: 0; }
.post-body .pr-steps > li:last-child  { padding-right: 0; }

/* 진행 눈금 — 자기 칸에서 차지하는 길이가 단계마다 늘어난다 */
.post-body .pr-steps > li::after {
  content: ''; position: absolute; top: -1px; left: 0;
  height: 2px; background: var(--c-accent);
  transform: none;
}
.post-body .pr-steps > li:first-child::after { left: 0; }
.post-body .pr-steps > li:nth-child(1)::after { width: 26%; }
.post-body .pr-steps > li:nth-child(2)::after { width: 51%; }
.post-body .pr-steps > li:nth-child(3)::after { width: 76%; }
.post-body .pr-steps > li:nth-child(4)::after { width: 100%; }

/* 번호 — 속을 비운 큰 활자 */
.post-body .pr-steps > li::before {
  content: counter(prstep, decimal-leading-zero);
  display: block; position: static; margin: 0 0 18px;
  font-family: Poppins, sans-serif; font-size: 56px; font-weight: 700;
  line-height: .88; letter-spacing: -.045em; color: #e3d7bd;
}
@supports (-webkit-text-stroke: 1px black) {
  .post-body .pr-steps > li::before {
    color: transparent; -webkit-text-stroke: 1.4px var(--c-accent);
  }
}
/* 마지막 단계는 속을 채워 마무리를 보여준다 */
.post-body .pr-steps > li:last-child::before {
  color: var(--c-accent); -webkit-text-stroke: 0;
}

.post-body .pr-t {
  margin: 0 0 17px; padding: 0; border: 0;
  font-size: 18px; font-weight: 800; letter-spacing: -.03em;
  color: #10233f; word-break: keep-all; line-height: 1.35;
}
.post-body .pr-steps ul { list-style: none; margin: 0; padding: 0; }
.post-body .pr-steps ul li {
  position: relative; padding: 0 0 0 14px; margin: 0 0 10px;
  font-size: 14.5px; line-height: 1.7; color: var(--c-muted); word-break: keep-all;
}
.post-body .pr-steps ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 6px; height: 1px; background: #c8ccd3;
}

/* ── 맺음 문구 ── */
.post-body .pr-vow {
  margin: 52px 0 0; padding: 34px 30px; background: #10233f;
  border-radius: var(--radius); text-align: center;
  font-size: 17px; font-weight: 600; letter-spacing: -.02em;
  color: #fff; word-break: keep-all; line-height: 1.7;
}

@media (max-width: 1024px) {
  .post-body .pr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-body .pr-steps > li { padding: 28px 26px 4px; }
  .post-body .pr-steps > li:nth-child(odd)  { padding-left: 0; border-left: 0; }
  .post-body .pr-steps > li:nth-child(even) { padding-right: 0; }
  /* 두 번째 줄은 자기 윗선을 새로 긋는다 */
  .post-body .pr-steps > li:nth-child(n+3) {
    margin-top: 34px; border-top: 1px solid var(--c-line);
  }
  .post-body .pr-steps > li::before { font-size: 48px; margin-bottom: 15px; }
}
@media (max-width: 768px) {
  .post-body .pr { margin-top: 54px; }
  .post-body .pr-lead { margin-top: 20px; padding-left: 14px; font-size: 16px; }
  .post-body .pr-sub { margin: 26px 0 26px; }
  .post-body .pr-sub h3 { font-size: 16.5px; }
  .post-body .pr-sub p { font-size: 14.5px; line-height: 1.75; }

  .post-body .pr-steps { grid-template-columns: minmax(0, 1fr); }
  .post-body .pr-steps > li { padding: 22px 0 4px; border-left: 0; }
  .post-body .pr-steps > li:nth-child(n+2) {
    margin-top: 26px; border-top: 1px solid var(--c-line);
  }
  .post-body .pr-steps > li::before { font-size: 40px; margin-bottom: 12px; }
  .post-body .pr-t { font-size: 16.5px; margin-bottom: 13px; }
  .post-body .pr-steps ul li { font-size: 14px; margin-bottom: 8px; }
  .post-body .pr-vow { margin-top: 34px; padding: 26px 20px; font-size: 15.5px; line-height: 1.65; }
}

/* ---------- 주요업무 — 회사소개서 51쪽(상황에 따른 긴급대처요령) ----------
   네 기관을 2x2 로 놓고, 퍼스트그룹 박스를 네 칸이 만나는 한가운데에 얹어
   네 카드 모서리에 걸치게 한다. 카드 안쪽에 박스 폭만큼 여백을 비워 두어
   겹쳐도 글자를 가리지 않는다. */
.post-body .er { --hub-w: 340px; --hub-keep: 152px; margin-top: 86px; }

.post-body .er-note {
  margin: 26px 0 0; padding-left: 17px; position: relative;
  font-size: 16px; line-height: 1.75; color: var(--c-muted); word-break: keep-all;
  max-width: 820px;
}
.post-body .er-note::before {
  content: ''; position: absolute; left: 0; top: .35em; bottom: .35em;
  width: 2px; background: var(--c-accent);
}

/* ── 2x2 ── */
.post-body .er-map {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px; margin-top: 44px;
}

.post-body .er-c {
  display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 22px;
  align-items: start; min-width: 0;
  padding: 30px 28px 28px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
}
/* 가운데 박스가 얹힐 자리를 안쪽에 비워 둔다 — 왼쪽 열은 오른쪽, 오른쪽 열은 왼쪽 */
.post-body .er-c:nth-child(odd)  { padding-right: var(--hub-keep); }
.post-body .er-c:nth-child(even) { padding-left:  var(--hub-keep); }

.post-body .er-em {
  display: flex; align-items: center; justify-content: center;
  height: 132px;
}
.post-body .er-em img {
  max-width: 100%; max-height: 132px; width: auto; height: auto;
  margin: 0; object-fit: contain; mix-blend-mode: multiply;
}
.post-body .er-b { min-width: 0; }
.post-body .er-n {
  margin: 0 0 12px; padding-bottom: 11px; border-bottom: 1px solid var(--c-line);
  font-size: 17px; font-weight: 800; letter-spacing: -.03em;
  color: #10233f; word-break: keep-all; line-height: 1.35;
}
.post-body .er-b ul { list-style: none; margin: 0; padding: 0; }
.post-body .er-b ul li {
  position: relative; padding: 0 0 0 13px; margin: 0 0 8px;
  font-size: 14.5px; line-height: 1.7; color: var(--c-fg); word-break: keep-all;
}
.post-body .er-b ul li:last-child { margin-bottom: 0; }
.post-body .er-b ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 5px; height: 1px; background: var(--c-accent);
}

/* ── 가운데 박스 — 로고 위, 문구 아래 ── */
.post-body .er-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: var(--hub-w); z-index: 3;
  padding: 24px 26px 20px; text-align: center;
  background: #10233f; border-radius: var(--radius);
}
.post-body .er-hub img {
  /* 어두운 바탕이라 컬러 로고를 흰색으로 바꿔 얹는다 */
  width: 188px; height: auto; margin: 0 auto 13px; display: block;
  filter: brightness(0) invert(1);
}
.post-body .er-hub p {
  margin: 0; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .26);
  font-size: 15.5px; font-weight: 700; letter-spacing: -.02em;
  color: #fff; word-break: keep-all; line-height: 1.4;
}

@media (max-width: 1024px) {
  .post-body .er { --hub-w: 290px; --hub-keep: 132px; }
  .post-body .er-map { gap: 60px; margin-top: 36px; }
  .post-body .er-c { grid-template-columns: 138px minmax(0, 1fr); gap: 16px; padding: 26px 22px 24px; }
  .post-body .er-em { height: 104px; }
  .post-body .er-em img { max-height: 104px; }
  .post-body .er-hub { padding: 20px 20px 17px; }
  .post-body .er-hub img { width: 158px; margin-bottom: 11px; }
  .post-body .er-hub p { padding-top: 11px; font-size: 14.5px; }
}
@media (max-width: 768px) {
  /* 한 줄로 쌓이면 걸칠 모서리가 없다 — 겹치지 않고 가운데 순서로 끼운다 */
  .post-body .er { margin-top: 56px; }
  .post-body .er-note { margin-top: 20px; padding-left: 14px; font-size: 14.5px; line-height: 1.7; }
  .post-body .er-map { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 28px; }
  .post-body .er-c { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .post-body .er-c:nth-child(odd),
  .post-body .er-c:nth-child(even) { padding: 22px 18px 20px; }
  .post-body .er-c:nth-child(1) { order: 1; }
  .post-body .er-c:nth-child(2) { order: 2; }
  .post-body .er-hub  { order: 3; }
  .post-body .er-c:nth-child(3) { order: 4; }
  .post-body .er-c:nth-child(4) { order: 5; }
  .post-body .er-em { height: 92px; }
  .post-body .er-em img { max-height: 92px; }
  .post-body .er-n { font-size: 16px; margin-bottom: 10px; padding-bottom: 9px; text-align: center; }
  .post-body .er-b ul li { font-size: 14px; }
  .post-body .er-hub {
    position: static; transform: none; width: 100%; padding: 20px 20px 17px;
  }
  .post-body .er-hub img { width: 162px; }
  .post-body .er-hub p { font-size: 14.5px; }
}

/* 오른쪽 열은 좌우를 뒤집어 엠블럼을 바깥쪽에 둔다 — 가운데 박스를 축으로 대칭이 된다 */
@media (min-width: 769px) {
  .post-body .er-c:nth-child(even) { grid-template-columns: minmax(0, 1fr) 176px; }
  .post-body .er-c:nth-child(even) .er-em { order: 2; }
  .post-body .er-c:nth-child(even) .er-b  { order: 1; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .post-body .er-c:nth-child(even) { grid-template-columns: minmax(0, 1fr) 138px; }
}
/* ---------- 교육 및 훈련활동 — 회사소개서 57쪽 ----------
   설명 두 줄 + 현장 사진 3x3. 사진은 슬라이드와 같은 16:9 에 가까운 비율. */
.post-body .tg-lead {
  margin: 0 0 14px; padding-left: 17px; position: relative;
  font-size: 18px; font-weight: 700; letter-spacing: -.02em;
  color: var(--c-primary); word-break: keep-all; line-height: 1.55;
}
.post-body .tg-lead::before {
  content: ''; position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 2px; background: var(--c-accent);
}
.post-body .tg-note {
  margin: 0 0 38px; padding-left: 17px; max-width: 860px;
  font-size: 15.5px; line-height: 1.85; color: var(--c-muted); word-break: keep-all;
}

.post-body .tg-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.post-body .tg-grid li { min-width: 0; overflow: hidden; border-radius: var(--radius); }
.post-body .tg-grid img {
  display: block; width: 100%; height: auto; margin: 0;
  aspect-ratio: 2376488 / 1368425; object-fit: cover;
  background: #eef1f5; border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: transform .35s ease;
}
.post-body .tg-grid li:hover img { transform: scale(1.035); }

@media (max-width: 1024px) {
  .post-body .tg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 768px) {
  .post-body .tg-lead { padding-left: 14px; font-size: 16px; }
  .post-body .tg-note { margin-bottom: 26px; padding-left: 14px; font-size: 14.5px; line-height: 1.75; }
  .post-body .tg-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* 의뢰절차 맺음 문구 — 네이비 판은 무게가 너무 크고, 바로 아래 긴급대처의
   네이비 박스와 겹쳐 보인다. 판을 걷어내고 금색 눈금 + 활자만 남긴다. */
.post-body .pr-vow {
  position: relative;
  margin: 54px auto 0; padding: 30px 20px 0; max-width: 820px;
  background: none; border-radius: 0;
  text-align: center;
  font-size: 17.5px; font-weight: 600; letter-spacing: -.02em;
  color: #10233f; word-break: keep-all; line-height: 1.75;
}
.post-body .pr-vow::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 2px; background: var(--c-accent);
}
@media (max-width: 768px) {
  .post-body .pr-vow {
    margin-top: 38px; padding: 24px 0 0;
    font-size: 15.5px; line-height: 1.7;
  }
  .post-body .pr-vow::before { width: 36px; }
}

/* 의뢰절차 맺음 문구 — 네이비 판 대신 큰 인용문.
   금색 여는 따옴표를 크게 올리고 문구는 인트로 제목보다 한 단계 작은 활자로. */
.post-body .pr-vow {
  position: relative;
  margin: 64px auto 0; padding: 58px 20px 0; max-width: 900px;
  background: none; border-radius: 0; border: 0;
  text-align: center;
  font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.035em;
  color: #10233f; word-break: keep-all; line-height: 1.5;
  quotes: none;
}
.post-body .pr-vow::before {
  content: '\201C';
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 84px; font-weight: 400; line-height: 1;
  color: var(--c-accent);
  background: none; width: auto; height: auto;
}
@media (max-width: 768px) {
  .post-body .pr-vow {
    margin-top: 44px; padding: 42px 0 0;
    font-size: 18px; line-height: 1.55;
  }
  .post-body .pr-vow::before { top: -6px; font-size: 62px; }
}

/* 맺음 문구 — 따옴표를 워터마크로 크게 깔고 글자가 그 위로 지나가게 한다.
   .pr-vow 가 z-index:0 으로 쌓임 맥락을 만들어, -1 인 따옴표는
   글자 뒤·바탕 앞에만 놓인다. */
.post-body .pr-vow {
  position: relative; z-index: 0; isolation: isolate;
  margin: 72px auto 0; padding: 34px 20px 30px; max-width: 900px;
  background: none; border: 0; border-radius: 0;
  text-align: center;
  font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.035em;
  color: #10233f; word-break: keep-all; line-height: 1.55;
}
.post-body .pr-vow::before {
  content: '\201C';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -62%);
  z-index: -1; pointer-events: none; user-select: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 190px; font-weight: 400; line-height: .8;
  color: var(--c-accent); opacity: .16;
  background: none; width: auto; height: auto;
}
@media (max-width: 768px) {
  .post-body .pr-vow {
    margin-top: 48px; padding: 26px 0 22px;
    font-size: 18px; line-height: 1.6;
  }
  .post-body .pr-vow::before { font-size: 130px; transform: translate(-50%, -60%); }
}

/* 따옴표 글리프는 활자 상자 위쪽에 그려진다. 상자를 가운데 두면 잉크가 글자 위로
   떠 버리므로, 잉크 중심이 문구에 오도록 아래로 더 내린다. */
.post-body .pr-vow { padding: 46px 20px 42px; }
.post-body .pr-vow::before {
  font-size: 240px; line-height: 1;
  transform: translate(-50%, -31%);
  opacity: .13;
}
@media (max-width: 768px) {
  .post-body .pr-vow { padding: 34px 0 30px; }
  .post-body .pr-vow::before { font-size: 158px; transform: translate(-50%, -31%); }
}

/* 겹침을 줄인다 — 따옴표 잉크가 글자 윗선을 살짝 스치는 정도로만 올린다 */
.post-body .pr-vow { padding: 62px 20px 34px; }
.post-body .pr-vow::before { transform: translate(-50%, -47%); }
@media (max-width: 768px) {
  .post-body .pr-vow { padding: 46px 0 26px; }
  .post-body .pr-vow::before { transform: translate(-50%, -48%); }
}

/* 주요업무 페이지 — 단락(주요업무 / 의뢰절차 / 긴급대처) 사이에 가는 가로선.
   선 위쪽 여백은 margin, 아래쪽 여백은 padding 으로 나눠 준다. */
.post-body .pr,
.post-body .er {
  margin-top: 76px; padding-top: 70px;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 768px) {
  .post-body .pr,
  .post-body .er { margin-top: 46px; padding-top: 42px; }
}

/* CI 다짐 — 네이비 판을 걷어내고 주요업무의 맺음 문구와 같은 어법으로 맞춘다.
   따옴표를 워터마크로 깔되, 글자 윗선을 살짝 스치는 위치에 둔다.
   블록 높이가 달라도 같은 자리에 오도록 위쪽(top:0)을 기준으로 잡는다. */
.post-body .ci2-vow {
  position: relative; z-index: 0; isolation: isolate;
  margin: 0 auto; padding: 62px 20px 34px; max-width: 900px;
  background: none; border: 0; border-radius: 0;
  color: #10233f; text-align: center; quotes: none;
}
.post-body .ci2-vow span {
  display: block; max-width: 820px; margin: 0 auto;
  font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; letter-spacing: -.03em;
  line-height: 1.85; color: #10233f; word-break: keep-all;
}
.post-body .ci2-vow::before {
  content: '\201C';
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -18%);
  z-index: -1; pointer-events: none; user-select: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 240px; font-weight: 400; line-height: 1;
  color: var(--c-accent); opacity: .13;
  width: auto; height: auto; background: none;
}
@media (max-width: 768px) {
  .post-body .ci2-vow { padding: 46px 0 26px; }
  .post-body .ci2-vow span { font-size: 15.5px; line-height: 1.8; }
  .post-body .ci2-vow::before { font-size: 158px; transform: translate(-50%, -19%); }
}

/* 단락 구분 — 주요업무와 같은 방식으로 조직·주요고객 페이지에도 넣는다.
   .st2  : 조직도 ↔ 각종 현황
   .cl-band : 고객사 로고 ↔ 시설관리 용역 현장 */
.post-body .st2,
.post-body .cl-band {
  margin-top: 76px; padding-top: 70px;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 768px) {
  .post-body .st2,
  .post-body .cl-band { margin-top: 46px; padding-top: 42px; }
}

/* ---------- 메일상담 폼 ----------
   게시판에 남기지 않고 담당자 메일로만 보내는 폼. 2단 → 1단으로 접힌다. */
.post-body .cf-wrap { max-width: 860px; margin: 0 auto; }

.post-body .cf-msg {
  margin: 0 0 26px; padding: 15px 18px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; line-height: 1.6; word-break: keep-all;
}
.post-body .cf-ok  { background: #eef6ef; color: #1f6b32; border: 1px solid #cfe6d4; }
.post-body .cf-err { background: #fdf0f0; color: #9c2b2b; border: 1px solid #f2d4d4; }

.post-body .cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.post-body .cf-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.post-body .cf-f { margin-bottom: 18px; min-width: 0; }
.post-body .cf-row .cf-f { margin-bottom: 0; }
.post-body .cf-row { margin-bottom: 18px; }

.post-body .cf-f label {
  display: block; margin: 0 0 8px;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.02em; color: #10233f;
}
.post-body .cf-f label i {
  display: inline-block; margin-left: 7px; font-style: normal;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0;
  color: var(--c-accent);
}
.post-body .cf-f input,
.post-body .cf-f select,
.post-body .cf-f textarea {
  display: block; width: 100%; box-sizing: border-box;
  padding: 13px 15px; font-family: inherit; font-size: 15px; line-height: 1.5;
  color: var(--c-fg); background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.post-body .cf-f textarea { resize: vertical; min-height: 170px; }
.post-body .cf-f input:focus,
.post-body .cf-f select:focus,
.post-body .cf-f textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(42, 22, 111, .10);
}
.post-body .cf-f input::placeholder,
.post-body .cf-f textarea::placeholder { color: #a9b0bb; }

.post-body .cf-agree {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 0; padding: 15px 17px;
  background: #f5f7fa; border-radius: var(--radius-sm);
  font-size: 14.5px; line-height: 1.6; color: var(--c-fg); word-break: keep-all;
  cursor: pointer;
}
.post-body .cf-agree input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--c-primary); }
.post-body .cf-agree a { color: var(--c-primary); font-weight: 600; text-decoration: underline; }

.post-body .cf-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--c-line);
}
.post-body .cf-note {
  margin: 0; max-width: 520px;
  font-size: 13.5px; line-height: 1.7; color: var(--c-muted); word-break: keep-all;
}
.post-body .cf-btn {
  flex: none; padding: 15px 40px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 15.5px; font-weight: 700; letter-spacing: -.02em;
  color: #fff; background: #10233f;
  transition: background .18s ease, transform .18s ease;
}
.post-body .cf-btn:hover { background: var(--c-primary); }
.post-body .cf-btn:active { transform: translateY(1px); }

@media (max-width: 768px) {
  .post-body .cf-row { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 0; }
  .post-body .cf-row .cf-f { margin-bottom: 16px; }
  .post-body .cf-f { margin-bottom: 16px; }
  .post-body .cf-f label { font-size: 14px; margin-bottom: 7px; }
  .post-body .cf-f input,
  .post-body .cf-f select,
  .post-body .cf-f textarea { padding: 12px 13px; font-size: 15px; }
  .post-body .cf-f textarea { min-height: 150px; }
  .post-body .cf-agree { font-size: 13.5px; padding: 13px 14px; }
  .post-body .cf-foot { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 22px; padding-top: 20px; }
  .post-body .cf-note { max-width: none; font-size: 13px; }
  .post-body .cf-btn { width: 100%; padding: 15px 20px; }
}

/* 메일상담 페이지 — 안내 문구와 다른 연락 방법 */
.post-body .cf-lead {
  margin: 0 auto 34px; max-width: 860px; padding-left: 17px; position: relative;
  font-size: 16.5px; line-height: 1.8; color: var(--c-muted); word-break: keep-all;
}
.post-body .cf-lead::before {
  content: ''; position: absolute; left: 0; top: .35em; bottom: .35em;
  width: 2px; background: var(--c-accent);
}
.post-body .cf-lead b { color: var(--c-primary); font-weight: 700; }

.post-body .cf-info {
  max-width: 860px; margin: 56px auto 0; padding-top: 44px;
  border-top: 1px solid var(--c-line);
}
.post-body .cf-info h3 {
  margin: 0 0 18px; font-size: 19px; font-weight: 700;
  letter-spacing: -.03em; color: #10233f;
}
.post-body .cf-info h3::before {
  content: ''; display: inline-block; vertical-align: 1px;
  width: 3px; height: 15px; margin-right: 10px; background: var(--c-accent);
}
.post-body .cf-info ul { list-style: none; margin: 0; padding: 0; }
.post-body .cf-info li {
  display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px;
  padding: 12px 2px; border-bottom: 1px solid var(--c-line);
}
.post-body .cf-info li:last-child { border-bottom: 0; }
.post-body .cf-info b {
  font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--c-primary);
}
.post-body .cf-info span { font-size: 15px; line-height: 1.65; color: var(--c-fg); word-break: keep-all; }
.post-body .cf-board {
  margin: 22px 0 0; font-size: 14.5px; line-height: 1.7;
  color: var(--c-muted); word-break: keep-all;
}
.post-body .cf-board a { color: var(--c-primary); font-weight: 700; white-space: nowrap; }

@media (max-width: 768px) {
  .post-body .cf-lead { margin-bottom: 26px; padding-left: 14px; font-size: 15px; line-height: 1.75; }
  .post-body .cf-info { margin-top: 40px; padding-top: 32px; }
  .post-body .cf-info h3 { font-size: 16.5px; }
  .post-body .cf-info li { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 11px 0; }
  .post-body .cf-info b { font-size: 14px; }
  .post-body .cf-info span { font-size: 14.5px; }
  .post-body .cf-board { font-size: 13.5px; }
}

/* 홈에서 #process 로 들어올 때 상단 고정 헤더에 제목이 가리지 않게 */
.post-body .pr[id],
.post-body .er[id] { scroll-margin-top: 96px; }
@media (max-width: 768px) {
  .post-body .pr[id],
  .post-body .er[id] { scroll-margin-top: 74px; }
}

/* 홈 견적·상담 카드에서 들어올 때 인트로 제목이 헤더에 가리지 않게 */
.post .pg-intro[id] { scroll-margin-top: 110px; }
@media (max-width: 768px) { .post .pg-intro[id] { scroll-margin-top: 84px; } }

/* ---------- 간편상담 팝업 ----------
   퀵메뉴·히어로 버튼이 이 팝업을 연다. 자바스크립트가 없으면 상담 페이지로 간다.
   사이트 팝업(9998)보다 위, 화면을 완전히 덮는다. */
body.cm-open { overflow: hidden; }

.cm { position: fixed; inset: 0; z-index: 10000; }
.cm[hidden] { display: none; }
.cm-back { position: absolute; inset: 0; background: rgba(8, 15, 28, .62); backdrop-filter: blur(2px); }

.cm-box {
  position: relative; z-index: 1;
  width: min(760px, calc(100vw - 40px));
  max-height: calc(100vh - 64px); overflow-y: auto; overscroll-behavior: contain;
  margin: 32px auto; padding: 40px 44px 44px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 30px 80px rgba(8, 15, 28, .35);
  animation: cm-in .22s ease-out;
}
@keyframes cm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cm-box { animation: none; } }

.cm-x {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; padding: 9px; cursor: pointer;
  color: var(--c-muted); background: none; border: 0; border-radius: 50%;
  transition: background .16s ease, color .16s ease;
}
.cm-x:hover { background: #f0f2f5; color: #10233f; }
.cm-x svg { width: 100%; height: 100%; display: block; }

.cm-head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--c-line); }
.cm-kicker {
  margin: 0 0 5px; font-family: Poppins, sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: .18em;
  color: #8a6725; text-transform: uppercase;
}
.cm-title {
  margin: 0; font-size: 26px; font-weight: 800;
  letter-spacing: -.035em; color: #10233f; line-height: 1.2;
}
.cm-lead {
  margin: 12px 0 0; font-size: 15px; line-height: 1.7;
  color: var(--c-muted); word-break: keep-all;
}

/* 팝업 안에서는 본문 폭 제한을 풀고, 안내문·버튼 크기를 한 단계 줄인다 */
.cm .cf-wrap { max-width: none; }
.cm .cf-f textarea { min-height: 130px; }
.cm .cf-foot { margin-top: 22px; padding-top: 20px; }
.cm .cf-btn { padding: 14px 34px; font-size: 15px; }
.cm .cf-msg { margin-bottom: 20px; }

@media (max-width: 768px) {
  .cm-box {
    width: 100%; max-width: none; max-height: 100vh; height: 100%;
    margin: 0; padding: 26px 20px 32px; border-radius: 0;
  }
  .cm-x { top: 10px; right: 10px; width: 34px; height: 34px; padding: 8px; }
  .cm-head { margin-bottom: 22px; padding-bottom: 18px; }
  .cm-title { font-size: 21px; }
  .cm-lead { margin-top: 9px; font-size: 14px; line-height: 1.65; }
  .cm .cf-f textarea { min-height: 120px; }
}

/* 팝업 안의 .post-body 는 폼 스타일만 빌려 쓰는 용도 — 문서 여백은 없앤다 */
.cm .cm-body.post-body { margin: 0; padding: 0; font-size: 15px; }
.cm .cm-body.post-body > *:first-child { margin-top: 0; }

/* 「부칙」처럼 제목 바로 뒤에 시행일이 오는 경우 —
   제목의 밑줄과 시행일의 윗줄이 겹쳐 가로선이 두 줄로 보인다. 윗줄을 뺀다. */
.post-body .lg-doc h3 + .lg-date { padding-top: 4px; border-top: 0; }
