/* multiayo — car/park/drive.ayo.pe.kr 공통 스타일.
 *
 * 이 사이트의 본문은 "질문(h2) + 답변(p)" 쌍의 나열이다. 그래서 스타일의 목적은 장식이 아니라
 * **질문과 답변의 경계를 눈으로 구분되게 만드는 것**이다. 둘이 뭉쳐 보이면 읽는 사람도,
 * 문단 단위로 인용하는 답변 엔진도 손해를 본다.
 *
 * ⚠️ 광고 유닛(<ins>)에 배경·테두리·라벨을 씌우지 않는다 — 클릭률이 떨어진다.
 *    ayo·타운커넥트·114ai 3개 사이트 동일 방침. 이 파일 맨 아래 주석 참고.
 */

/* ── 토큰 ─────────────────────────────────────────────────────────────── */
:root {
  --fg: #16181d;
  --fg-soft: #4a5160;
  --muted: #7b8496;
  --line: #e4e7ec;
  --line-soft: #f0f2f5;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --accent: #1a56db;
  --accent-strong: #1442ad;
  --accent-soft: #eef2ff;
  /* 삭제요청 카드 전용 — 배경은 본문보다 살짝 푸른 톤, 테두리는 그보다 한 단계 진하게. */
  --accent-wash: #f5f8ff;
  --accent-line: #cfdcfb;
  --radius: 10px;
  --wrap: 820px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Pretendard", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;          /* 한국어는 어절 단위로 끊는 것이 읽기 쉽다 */
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── 레이아웃 ─────────────────────────────────────────────────────────── */
.site-head, .site-foot, main, .ad-top {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.site-head {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding-block: 14px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.brand { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.brand a { color: var(--fg); }
.brand a:hover { text-decoration: none; color: var(--accent); }

.site-head nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-head nav a {
  font-size: 14px;
  padding: 5px 11px;
  border-radius: 99px;
  color: var(--fg-soft);
  background: var(--bg-soft);
}
.site-head nav a:hover { text-decoration: none; background: var(--accent-soft); color: var(--accent); }

main { padding-bottom: 8px; }

/* ── 제목·breadcrumb ─────────────────────────────────────────────────── */
.crumb { padding-top: 14px; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a::after { content: " ›"; color: var(--line); }
.crumb a:last-child::after { content: ""; }

h1 {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin: 14px 0 20px;
}

.lead { color: var(--fg-soft); margin: -8px 0 22px; }
/* 제목 아래 데이터 기준일 한 줄 — 본문을 밀어내지 않게 작고 흐리게. */
.data-date { color: var(--fg-soft); font-size: 13px; margin: -10px 0 16px; }

/* ── 요약표 ────────────────────────────────────────────────────────────
 * 제목 바로 아래. "무엇에 대한 페이지인가"를 질답을 읽기 전에 한 줄로 준다.
 * 표로 쓴 것은 장식이 아니라 항목↔값 관계를 마크업으로 선언하기 위한 것이다 —
 * 답변 엔진과 스크린리더가 같은 구조를 읽는다. 그래서 th[scope=row] 를 쓴다. */
.summary {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;            /* radius 가 셀 배경을 자르게 */
  font-size: 14.5px;
}
/* caption 은 화면에서 감춘다 — h1 이 바로 위에 있어 두 번 읽히면 군더더기다.
   display:none 은 보조기술도 못 읽으므로 쓰지 않는다. */
.summary caption {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.summary tr + tr th, .summary tr + tr td { border-top: 1px solid var(--line-soft); }
.summary th {
  width: 88px;
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  background: var(--bg-soft);
  white-space: nowrap;
  vertical-align: top;
}
.summary td { padding: 10px 14px; color: var(--fg); vertical-align: top; }

/* ── 질답 — 이 사이트의 본문 ───────────────────────────────────────────
 * 질문(h2) 바로 다음 형제가 답변(p) 이다. **사이에 아무 것도 끼우지 않는다** —
 * 답변 추출기는 헤딩을 질의로, 직후 블록을 답으로 묶어 읽는다.
 *
 * 2026-09-21 ayo.pe.kr 의 GeoFaq 디자인(카드 + Q 접두)으로 맞췄다(사용자 지시).
 * 그전에는 카드 없이 왼쪽 강조선만 썼고 "카드가 되면 위젯처럼 보여 본문으로 안 읽힌다"고
 * 적어 두었는데, ayo 가 같은 카드로 색인·인용을 받고 있어 근거가 약했다.
 * 대신 **카드는 목록 전체에 한 번만** 두고 질답 하나하나를 개별 카드로 쪼개지 않는다 —
 * 쪼개면 그때부터 문단이 아니라 타일이 된다. */
.qa { margin-top: 26px; }

.qa-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--fg);
}
.qa-head::before {
  /* 물음표 아이콘을 도형으로만 그린다 — 아이콘 폰트·이미지를 태우지 않는다(파비콘과 같은 방침). */
  content: "?";
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.qa-list {
  padding: 4px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .025);
}

.qa-item { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.qa-item:last-child { border-bottom: 0; }

.qa-item h2 {
  display: flex;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin: 0 0 6px;
  color: var(--fg);
}
.qa-item h2::before {
  content: "Q";
  flex: none;
  color: var(--accent);
  font-weight: 800;
}

.qa-item p {
  margin: 0;
  padding-left: 20px;
  color: var(--fg-soft);
}

/* ── 지도 + 거리뷰 ─────────────────────────────────────────────────────
 * 좌표가 있는 상세에만 나온다. 두 칸(지도/거리뷰)은 ayo.pe.kr 의 DetailMap 과 같은 구성이다.
 * ⚠️ height 를 고정한다 — 지도 SDK 는 높이 0 인 컨테이너에 타일을 그리지 못한다.
 *    (광고 유닛과 정반대다. 저쪽은 고정 높이를 주면 안 된다) */
.mapsec { margin-top: 36px; }
.mapsec-head {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--fg);
}
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.map-box { display: flex; flex-direction: column; min-width: 0; }
.map-label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.map-canvas, .pano-canvas {
  width: 100%;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
}
/* 지도가 못 뜬 칸(거리뷰 미지원 등)에 남기는 안내. 빈 검은 판보다 낫다. */
.map-empty {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
  padding: 0 12px;
}
.map-pin {
  padding: 5px 13px;
  background: var(--accent);
  color: #fff;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(26, 86, 219, .3);
}
.map-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ── 모집 중인 과정(hrd 전용) ─────────────────────────────────────────── */
/* 렌더 시점 API 응답이라 건수가 0~20 으로 들쭉날쭉하다. 고정 높이를 주지 않는다. */
.courses {
  margin-top: 40px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.courses > h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 6px;
  padding-left: 11px;
  border-left: 3px solid var(--line);
}
.courses > p { margin: 0 0 10px; padding-left: 14px; color: var(--fg-soft); }
.course-list { padding-left: 14px; list-style: none; margin: 0; }
.course-list li {
  padding: 11px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.course-list li > a, .course-list li > span:first-child {
  font-weight: 600;
  letter-spacing: -0.2px;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.course-note {
  margin: 10px 0 0;
  padding-left: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ── 주변 정보(크로스 링크) ───────────────────────────────────────────── */
.near {
  margin-top: 40px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.near-block + .near-block { margin-top: 26px; }
.near h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 6px;
  padding-left: 11px;
  border-left: 3px solid var(--line);
}
.near > .near-block > p { margin: 0 0 10px; padding-left: 14px; color: var(--fg-soft); }
.near ul { padding-left: 14px; }
.near .more { padding-left: 14px; font-size: 14px; margin: 10px 0 0; }

/* ── 목록 ─────────────────────────────────────────────────────────────── */
section.list, section.children, section.other-sites { margin-top: 34px; }
section.list > h2, section.children > h2, section.other-sites > h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.place-list li {
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}
.place-list li > a { font-weight: 600; letter-spacing: -0.2px; }
.place-list li.ad-row { display: block; padding: 0; border-bottom: 0; }

.dist {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 7px;
  border-radius: 99px;
}
.cat {
  font-size: 12px;
  color: var(--fg-soft);
  background: var(--bg-soft);
  padding: 1px 7px;
  border-radius: 99px;
}
.addr { font-size: 13px; color: var(--muted); flex-basis: 100%; }

/* 지역·메뉴 링크 그리드 */
.region-links, .menu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0 14px;
}
.region-links li, .menu-cards li {
  padding: 11px 2px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.region-links li > a, .menu-cards li > a { font-weight: 600; }
.count { font-size: 12px; color: var(--muted); white-space: nowrap; }

.menu-cards {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.menu-cards li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--bg);
}
.menu-cards li:hover { border-color: var(--accent); background: var(--accent-soft); }
.menu-cards li > a { font-size: 17px; }

.note { color: var(--fg-soft); margin: -6px 0 18px; }

/* ── 푸터 ─────────────────────────────────────────────────────────────── */
.site-foot {
  margin-top: 52px;
  padding-block: 18px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-foot p { margin: 0; }

/* ── 애드센스 유닛 ─────────────────────────────────────────────────────
 * ⚠️ 라벨 카드 래퍼(배경·테두리·"Sponsored · 광고" 라벨)를 씌우지 않는다.
 *    라벨과 테두리가 광고를 본문과 시각적으로 분리해 클릭률을 떨어뜨린다.
 *    ayo·타운커넥트·114ai 3개 사이트 동일 방침. 다시 씌우지 말 것.
 * ⚠️ height 를 지정하지 말 것 — 반응형 유닛이 스스로 높이를 잡는다. */
/* 폭은 본문에 맞춘다. 1180px 로 두면 본문(--wrap 820px)보다 넓어 광고만 튀어나온다.
 * 상단 유닛은 .ad-top 이 max-width+padding 으로 잡아 주므로 여기서는 100% 면 된다. */
ins.adsbygoogle {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 22px auto;
}
ins.adsbygoogle--top { margin-top: 10px; margin-bottom: 14px; }
ins.adsbygoogle--feed {
  grid-column: 1 / -1;
  flex-basis: 100%;
  max-width: 100%;
  margin: 10px 0;
}

/* 광고가 안 채워진 유닛은 접는다.
 * 애드센스는 재고가 없으면 `data-ad-status="unfilled"` 를 달아 주는데, 반응형 유닛은
 * 그 상태에서도 잡아 둔 높이를 유지한다 — 실측 280px 짜리 빈 칸이 본문 위에 남았다.
 * 빈 칸이 크면 사용자는 로딩이 깨진 화면으로 읽는다. */
ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

/* ── 버튼 ─────────────────────────────────────────────────────────────
 * 본문(질답)에는 카드·박스를 쓰지 않는다는 원칙(위 .qa 주석)과 충돌하지 않는다 —
 * 여기 두 개는 **본문이 아니라 동작**이고, 눌러야 한다는 것이 보여야 한다.
 * 링크와 구분되지 않으면 사용자는 누를 수 있는 것인 줄 모른다. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--fg-soft);
  /* <button> 은 폰트를 상속하지 않는다 — 안 주면 삭제요청 버튼만 시스템 기본 글꼴로 나온다. */
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.2px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 전화번호 검색 — 기본정보 표의 한 줄(2026-09-27 — 따로 떠 있던 버튼을 표 안으로 옮겼다). */
.actions { margin: -10px 0 20px; }
.phone-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.phone-row .btn-phone { padding: 4px 11px; font-size: 13px; }
.phone-note { color: var(--muted); font-size: 13px; font-weight: 400; }

.btn-phone { border-color: var(--accent); color: var(--accent); }
.btn-phone::before {
  /* 아이콘을 이미지·폰트로 넣지 않는다 — 요청 하나 더 태울 값어치가 없고,
     이모지는 환경에 따라 두부(□)로 나온다(파비콘에서 겪은 것과 같은 문제). */
  content: "";
  width: 13px; height: 13px;
  flex: none;
  border: 1.6px solid currentColor;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
}
.btn-phone:hover { background: var(--accent-soft); }

/* ── 공공정보 삭제요청 ─────────────────────────────────────────────────
 * 본문 맨 아래에 두는 안내다. 눈에 띄어야 하지만 본문보다 앞서면 안 된다.
 * 카드 형태는 ayo.pe.kr 의 `removal-request.css` 를 옮긴 것이다 —
 * 두 사이트가 같은 테이블(data_removal_requests)로 접수하므로 얼굴도 같은 편이 낫다.
 * 다만 ayo 의 고정 색상(#eff6ff·#2563eb)을 그대로 쓰지 않고 토큰으로 바꿨다 —
 * 이 사이트는 다크 모드가 있고, 고정 색을 넣으면 거기서 흰 카드가 혼자 튄다. */
.removal {
  position: relative;
  margin-top: 44px;
  padding: 20px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  background: var(--accent-wash);
  box-shadow: 0 10px 30px rgba(26, 86, 219, .07);
}
/* 오른쪽 위 장식 원. ayo 카드의 ::before 와 같다 — 안내문이 딱딱해 보이지 않게 하는 정도의 역할이다. */
.removal::before {
  content: "";
  position: absolute;
  right: -65px; top: -80px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: .6;
  pointer-events: none;
}

.removal-head {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
/* 아이콘은 도형으로만 그린다(이모지·아이콘폰트 금지 — 파비콘에서 두부 나온 것과 같은 이유).
   느낌표 한 글자면 "주의해서 읽을 안내" 라는 뜻이 전달된다. */
.removal-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}
.removal-icon::before { content: "!"; }

.removal-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--fg);
}
.removal-copy p + p,
.removal-copy p:not(.removal-title) {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--fg-soft);
}
/* 버튼은 카드 오른쪽 끝에 붙인다(2026-09-25 사용자 지시) — 왼쪽에 두면 본문 들여쓰기 선과도,
 * 아이콘 열과도 맞지 않아 떠 보였다. 모바일은 아래 미디어쿼리에서 폭을 꽉 채운다. */
.removal form { position: relative; margin: 16px 0 0; display: flex; justify-content: flex-end; }

/* 삭제요청 버튼.
 * ⚠️ 빨강(위험)으로 칠하지 않는다 — 누르면 접수될 뿐 즉시 삭제되는 것이 아니고,
 *    빨간 버튼은 오히려 장난 삼아 눌러 보게 만든다. 강조는 채움색으로만 준다. */
.btn-removal {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  padding: 11px 20px;
  box-shadow: 0 6px 16px rgba(26, 86, 219, .22);
}
.btn-removal::before {
  /* 휴지통 뚜껑 — 도형 두 개로 그린다. */
  content: "";
  width: 12px; height: 11px;
  flex: none;
  border: 1.6px solid currentColor;
  border-top-width: 3px;
  border-radius: 1px 1px 3px 3px;
}
.btn-removal:hover {
  border-color: transparent;
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(26, 86, 219, .28);
}
.btn-removal:active { transform: translateY(1px); box-shadow: none; }

/* ── 모바일 ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .site-head, .site-foot, main, .ad-top { padding-inline: 16px; }
  h1 { font-size: 21px; margin: 12px 0 16px; }
  .qa-item h2, .near h2 { font-size: 16px; }
  .qa-list { padding: 2px 15px; border-radius: 12px; }
  .summary th { width: 74px; padding: 9px 10px; }
  .summary td { padding: 9px 11px; }
  /* 좁은 화면에서 지도를 나란히 두면 둘 다 못 알아본다 — 세로로 쌓는다. */
  .map-grid { grid-template-columns: 1fr; gap: 12px; }
  .map-canvas, .pano-canvas { height: 240px; }
  .region-links, .menu-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }  /* 2026-09-27: 1fr 은 최소폭이 내용 길이라 긴 이름이 390px 에서 가로로 넘쳤다 */
  .menu-cards { grid-template-columns: 1fr; }
  /* 좁은 화면에서는 손가락으로 누르는 폭을 확보한다. */
  .actions { margin: -6px 0 18px; }
  .btn { padding: 10px 14px; }
  .removal { padding: 18px 16px; }
  .removal-head { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; }
  .removal-icon { width: 38px; height: 38px; font-size: 17px; }
  /* 버튼은 폭을 꽉 채운다 — 손가락으로 누르는 면적이 확보된다. */
  .btn-removal { width: 100%; justify-content: center; }
}

/* ── 다크 모드 ────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e9ecf1;
    --fg-soft: #b3bac7;
    --muted: #8a92a3;
    --line: #2b3038;
    --line-soft: #23272e;
    --bg: #14161a;
    --bg-soft: #1d2126;
    --accent: #7ba4ff;
    --accent-strong: #9bbaff;
    --accent-soft: #1e2638;
    --accent-wash: #191f2b;
    --accent-line: #2f3a52;
  }
}

/* ── 사이트 내 검색창(2026-09-24) ─────────────────────────────────────────
 * 홈·메뉴 첫 화면·상세에 하나씩. 결과 페이지는 noindex. */
.site-search { display: flex; gap: 8px; margin: 18px 0 22px; }
.site-search input[type="search"] {
  flex: 1; min-width: 0; padding: 11px 14px; font-size: 16px; color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
}
.site-search input[type="search"]:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.site-search button {
  padding: 0 18px; font-size: 15px; font-weight: 600; color: #fff; background: var(--accent);
  border: 0; border-radius: var(--radius); cursor: pointer;
}
.site-search button:hover { background: var(--accent-strong); }

/* ── 헤더 바로 아래 검색창 (A·B 공통, 2026-09-26) ─────────────────────── */
.top-search { max-width: var(--wrap); margin: 12px auto 0; padding-inline: 20px; }
.top-search .site-search { margin: 0; }

/* ════════════════════════════════════════════════════════════════════════
 * 디자인 A 사이트별 테마 (2026-09-26 사용자 지시 — "A 안으로, 어울리게 조금씩 다르게").
 * A 의 문서형 구조(820px · 질답 목록)는 그대로 두고 색·헤더·탭·질답 표식만 바꾼다.
 * 테마가 없는 기존 29개 A 사이트는 body.site-{키} 클래스만 붙고 아무것도 바뀌지 않는다.
 * ════════════════════════════════════════════════════════════════════════ */

/* elevator — 강철 회색 + 안전 노랑. 굵은 상단 띠, 각진 탭 */
body.site-elevator { --accent: #b45309; --accent-strong: #92400e; --accent-soft: #fef3c7; --accent-wash: #fffbeb; --accent-line: #fcd34d; --radius: 4px; }
body.site-elevator .site-head { border-top: 6px solid #facc15; border-bottom: 2px solid #334155; }
body.site-elevator .brand a { color: #1e293b; letter-spacing: -.4px; }
body.site-elevator .site-head nav a { border-radius: 3px; background: #f1f5f9; color: #334155; }
body.site-elevator .site-head nav a:hover { background: #fef3c7; color: #92400e; }
body.site-elevator .qa-item h2::before { content: "▲"; color: #ca8a04; font-size: 13px; padding-top: 3px; }
body.site-elevator .qa-list { border-radius: 4px; border-left: 4px solid #facc15; }

/* ecolabel — 풀빛 초록 + 연한 민트 바탕. 둥근 잎 모양 탭 */
body.site-ecolabel { --accent: #15803d; --accent-strong: #166534; --accent-soft: #dcfce7; --accent-wash: #f0fdf4; --accent-line: #86efac; --bg-soft: #f0fdf4; --radius: 14px; }
body.site-ecolabel .site-head { border-bottom: 3px solid #86efac; }
body.site-ecolabel .brand a { color: #166534; }
body.site-ecolabel .site-head nav a { border-radius: 14px 2px 14px 2px; background: #f0fdf4; color: #166534; }
body.site-ecolabel .qa-item h2::before { content: "●"; color: #22c55e; font-size: 12px; padding-top: 4px; }
body.site-ecolabel .qa-list { background: #fcfffd; border-color: #bbf7d0; }

/* quasi — 약국 틸 + 흰 바탕 · 의약외품. 얇은 선, 알약형 탭 */
body.site-quasi { --accent: #0d9488; --accent-strong: #0f766e; --accent-soft: #ccfbf1; --accent-wash: #f0fdfa; --accent-line: #99f6e4; --radius: 12px; }
body.site-quasi .site-head { border-bottom: 1px solid #99f6e4; box-shadow: 0 2px 0 #ccfbf1; }
body.site-quasi .brand a { color: #0f766e; font-weight: 800; }
body.site-quasi .site-head nav a { border: 1px solid #99f6e4; background: #fff; color: #0f766e; }
body.site-quasi .qa-item h2::before { content: "+"; color: #0d9488; font-size: 20px; line-height: 1.1; }

/* energy — 에너지 라벨 느낌. 진남색 헤더 + 등급 색 띠(초록→빨강) */
body.site-energy { --accent: #1d4ed8; --accent-strong: #1e3a8a; --accent-soft: #dbeafe; --accent-wash: #eff6ff; --accent-line: #93c5fd; --radius: 6px; }
body.site-energy .site-head { border-bottom: 0; background-image: linear-gradient(90deg, #16a34a 0 20%, #84cc16 20% 40%, #facc15 40% 60%, #f97316 60% 80%, #dc2626 80%); background-size: 100% 5px; background-repeat: no-repeat; background-position: bottom; padding-bottom: 17px; }
body.site-energy .brand a { color: #1e3a8a; }
body.site-energy .site-head nav a { border-radius: 6px; background: #eff6ff; color: #1e3a8a; font-weight: 600; }
body.site-energy .qa-item h2::before { content: "▶"; color: #16a34a; font-size: 12px; padding-top: 4px; }

/* haccp — 위생 청색 + 체크 표식. 이중 테두리 질답 상자 */
body.site-haccp { --accent: #0369a1; --accent-strong: #075985; --accent-soft: #e0f2fe; --accent-wash: #f0f9ff; --accent-line: #7dd3fc; --radius: 8px; }
body.site-haccp .site-head { border-bottom: 3px double #7dd3fc; }
body.site-haccp .brand a { color: #075985; }
body.site-haccp .site-head nav a { border-radius: 8px; background: #f0f9ff; color: #075985; }
body.site-haccp .qa-item h2::before { content: "✓"; color: #0284c7; }
body.site-haccp .qa-list { border: 3px double #bae6fd; }

/* playground — 놀이터. 밝은 주황·하늘 + 둥근 탭, 물결 밑줄 */
body.site-playground { --accent: #ea580c; --accent-strong: #c2410c; --accent-soft: #ffedd5; --accent-wash: #fff7ed; --accent-line: #fdba74; --radius: 18px; }
body.site-playground .site-head { border-bottom: 0; background-image: radial-gradient(circle at 8px -4px, transparent 9px, #38bdf8 10px); background-size: 16px 6px; background-repeat: repeat-x; background-position: bottom; padding-bottom: 18px; }
body.site-playground .brand a { color: #c2410c; }
body.site-playground .site-head nav a { border-radius: 18px; background: #fff7ed; color: #c2410c; font-weight: 600; }
body.site-playground .qa-item h2::before { content: "★"; color: #f59e0b; }
body.site-playground .qa-list { border-radius: 18px; border-color: #fed7aa; }

/* butcher — 정육점. 진한 적갈색 + 크림, 각진 탭, 두꺼운 왼쪽 선 */
body.site-butcher { --accent: #9f1239; --accent-strong: #881337; --accent-soft: #ffe4e6; --accent-wash: #fff1f2; --accent-line: #fda4af; --radius: 2px; }
body.site-butcher .site-head { border-bottom: 4px solid #9f1239; }
body.site-butcher .brand a { color: #881337; font-weight: 900; }
body.site-butcher .site-head nav a { border-radius: 2px; background: #fff1f2; color: #881337; }
body.site-butcher .qa-item h2::before { content: "■"; color: #be123c; font-size: 12px; padding-top: 4px; }
body.site-butcher .qa-list { border-left: 6px solid #9f1239; border-radius: 2px; }

/* otcmed — 상비약. 약국 초록 십자 + 흰 바탕, 알약형 탭(얇은 테두리) */
body.site-otcmed { --accent: #16a34a; --accent-strong: #15803d; --accent-soft: #dcfce7; --accent-wash: #f0fdf4; --accent-line: #86efac; --radius: 999px; }
body.site-otcmed .site-head { border-bottom: 2px dashed #86efac; }
body.site-otcmed .brand a { color: #15803d; }
body.site-otcmed .site-head nav a { border: 1px solid #86efac; background: #fff; color: #15803d; }
body.site-otcmed .qa-item h2::before { content: "✚"; color: #16a34a; }
body.site-otcmed .qa-list { border-radius: 16px; }

/* benefit — 정부 혜택. 공공 남색 + 금색 포인트, 네모 탭, 질답 번호표 */
body.site-benefit { --accent: #1e3a8a; --accent-strong: #172554; --accent-soft: #e0e7ff; --accent-wash: #eef2ff; --accent-line: #a5b4fc; --radius: 6px; }
body.site-benefit .site-head { border-top: 5px solid #1e3a8a; border-bottom: 1px solid #c7d2fe; }
body.site-benefit .brand a { color: #172554; }
body.site-benefit .site-head nav a { border-radius: 6px; background: #eef2ff; color: #1e3a8a; }
body.site-benefit .qa-item h2::before { content: "◆"; color: #ca8a04; font-size: 12px; padding-top: 4px; }

/* onnuri — 전통시장. 한지 바탕 + 단청 빨강·청록, 점선 탭 테두리 */
body.site-onnuri { --accent: #b91c1c; --accent-strong: #991b1b; --accent-soft: #fee2e2; --accent-wash: #fffbeb; --accent-line: #fca5a5; --bg-soft: #fdf8ee; --radius: 10px; }
body.site-onnuri .site-head { border-bottom: 3px solid #0f766e; box-shadow: 0 3px 0 #b91c1c; }
body.site-onnuri .brand a { color: #991b1b; }
body.site-onnuri .site-head nav a { border: 1px dashed #0f766e; background: #fdf8ee; color: #0f766e; }
body.site-onnuri .qa-item h2::before { content: "◎"; color: #b91c1c; }
body.site-onnuri .qa-list { background: #fffdf7; }

/* healthshop — 건강기능식품 판매점. 비타민 오렌지 + 민트, 둥근 캡슐 탭 */
body.site-healthshop { --accent: #c2410c; --accent-strong: #9a3412; --accent-soft: #ffedd5; --accent-wash: #fff7ed; --accent-line: #fdba74; --radius: 12px; }
body.site-healthshop .site-head { border-bottom: 3px solid #5eead4; }
body.site-healthshop .brand a { color: #9a3412; }
body.site-healthshop .site-head nav a { border-radius: 999px; background: linear-gradient(90deg, #fff7ed 50%, #ccfbf1 50%); color: #9a3412; }
body.site-healthshop .qa-item h2::before { content: "●"; color: #f97316; font-size: 12px; padding-top: 4px; }
