/* ──────────────────────────────────────────────────────────────
   guide.css — 하니카네트워크 건강칼럼 (정제된 에디토리얼)
   실사이트 자산: Nanum 폰트(/css/font), 브랜드 파랑/주황은 :root 주입.
   원칙: 화려함 X, 정제됨 — 타이포·여백·일관성·절제된 색. 한글 keep-all.
   ────────────────────────────────────────────────────────────── */

/* 제목용 NanumSquare Neo (가변 웹폰트). 본문 Pretendard 는 base.html 에서 로드.
   운영 시 두 폰트 모두 자체 호스팅 + 라이선스 파일 보관 권장(DEPLOY.md). */
@font-face {
  font-family: 'NanumSquare Neo'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/static/fonts/NanumSquareNeo.woff2') format('woff2');
}
@font-face {
  font-family: 'NanumSquare Neo'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/static/fonts/NanumSquareNeoB.woff2') format('woff2');
}
@font-face {
  font-family: 'NanumSquare Neo'; font-weight: 800; font-style: normal; font-display: swap;
  src: url('/static/fonts/NanumSquareNeoEB.woff2') format('woff2');
}

:root {
  --brand: #206dbd;
  --accent: #ff7c06;
  --ink: #232733;          /* 본문 먹색 */
  --ink-soft: #5a6172;     /* 보조 텍스트 */
  --line: #e7e9ee;         /* 가는 선 */
  --paper: #ffffff;
  --paper-2: #f7f8fa;      /* 카드 배경 */
  --serif: 'NanumSquare Neo', 'Pretendard', sans-serif;  /* 제목용 */
  --sans: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --sans-bold: 'Pretendard', var(--sans);
  --measure: 720px;        /* 본문 가독 폭(긴 글은 좁게 유지) */
  --wrap: 1320px;          /* 컨테이너 최대폭(넓은 화면에선 가운데 정렬·좌우 여백) */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  letter-spacing: -0.003em;
  word-break: keep-all;       /* 한글 단어 단위 줄바꿈 */
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── 헤더 ── */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.1) blur(6px);
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { height: 50px; width: auto; }
.logo { flex: none; display: inline-flex; flex-direction: column; justify-content: center; gap: 1px; line-height: 1.1; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-tag { font-family: var(--sans-bold); font-size: 11px; color: #6b7280; letter-spacing: -.2px; white-space: nowrap; }
.logo-name { font-family: var(--sans-bold); font-weight: 700; font-size: 21px; color: var(--brand); letter-spacing: -.4px; white-space: nowrap; }
.logo .logo-text { font-family: var(--sans-bold); font-weight: 600; font-size: 20px; color: var(--brand); }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: var(--ink); font-size: 15px; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }

/* 모바일 햄버거 */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0; margin: 0; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; display: none;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 18px rgba(0,0,0,.05); border-radius: 0 0 12px 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 6px; font-size: 15.5px; border-top: 1px solid var(--line); }
  .site-nav a:first-child { border-top: 0; }
}

/* ── 푸터 ── */
.site-footer {
  margin-top: 0; border-top: none;
  background: #272e34; padding: 40px 0;
  font-size: 13px; color: rgba(255,255,255,.82);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-links a { color: rgba(255,255,255,.82); font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-brandblock { text-align: center; margin: 0 0 18px; }
.fb-kline { font-family: var(--sans-bold); font-weight: 600; font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 4px; }
.fb-name { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 3.4vw, 28px); color: var(--brand); margin: 0; }
.footer-cols { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 24px; }
.fc-addr { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.7; margin: 0; }
.fc-partner { display: inline-block; padding: 9px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px;
  font-family: var(--sans-bold); font-weight: 600; font-size: 13.5px; color: #fff; white-space: nowrap; }
.fc-partner:hover { border-color: #fff; color: #fff; text-decoration: none; }
.fc-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-self: end; }
.fc-contact a { color: rgba(255,255,255,.82); font-size: 13.5px; white-space: nowrap; }
.fc-contact a:hover { color: #fff; }
.footer-copy { margin: 20px 0 0; color: rgba(255,255,255,.5); text-align: left; font-size: 12px; }
.footer-license { margin: 4px 0 0; color: rgba(255,255,255,.5); text-align: left; font-size: 11.5px; line-height: 1.5; }
@media (max-width: 700px) {
  .footer-cols { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .fc-addr { text-align: center; }
  .fc-contact { justify-self: center; }
}

/* 본문 '항목 — 설명' 가독성 */
.term-p { margin: 0 0 14px; }
.term-p .term { color: #1b5fa3; font-family: var(--sans-bold); font-weight: 600; }
.brCopyTxt { font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); }

/* ──────────────────────────────────────────────────────────────
   칼럼 상세 (에디토리얼)
   ────────────────────────────────────────────────────────────── */
.guide-column { padding-top: 36px; }

.col-head { max-width: var(--measure); margin: 0 auto; text-align: center; }
.kicker {
  font-family: var(--sans-bold); font-weight: 600; font-size: 13px; letter-spacing: .06em;
  color: var(--brand); text-transform: none; margin: 0 0 14px;
}
.kicker .dot { color: var(--line); margin: 0 8px; }
.col-head h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 42px); line-height: 1.32;
  letter-spacing: -0.01em; color: #14171f; margin: 0 0 20px;
}
.lead {
  font-size: 18px; color: var(--ink-soft); line-height: 1.9;
  margin: 0 auto; max-width: 640px;
}
.byline {
  margin: 22px 0 0; font-size: 13px; color: #9aa1b0;
  display: flex; gap: 14px; justify-content: center; align-items: center;
}
.byline .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* 히어로 사진 */
.hero {
  margin: 36px auto 8px; max-width: var(--wrap);
  border-radius: 14px; overflow: hidden; background: var(--paper-2);
  aspect-ratio: 16 / 7;
}
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }  /* 간판(상단) 보이게 */

/* 본문 2단 (본문 + 지점 카드) */
.article-grid {
  display: grid; grid-template-columns: minmax(0,1fr) 312px;
  gap: 56px; margin-top: 48px; align-items: start;
}
.article-body { min-width: 0; }
.article-body > section { margin-bottom: 40px; }
.article-body h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: 23px; line-height: 1.4; color: #161a23;
  margin: 0 0 14px; padding-top: 4px;
}
.article-body p { margin: 0 0 16px; font-size: 16.5px; }
.article-body p:last-child { margin-bottom: 0; }

/* FAQ — 질문=H2(가시), 답=단정문. JSON-LD 와 동일 텍스트(클로킹 금지) */
.faq { border-top: 2px solid var(--ink); padding-top: 28px; }
.faq-title { font-family: var(--sans-bold); font-weight: 600; font-size: 14px; color: var(--ink-soft); margin: 0 0 22px; letter-spacing: .02em; }
.faq-q {
  font-family: var(--sans-bold) !important; font-weight: 700 !important; font-size: 18px !important;
  line-height: 1.55 !important; color: #14171f; margin: 26px 0 10px !important;
  padding-left: 18px; position: relative;
}
.faq-q::before {
  content: "Q"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-family: var(--serif); font-weight: 700;
}
.faq-a { margin: 0 0 4px; color: var(--ink); padding-left: 18px; border-left: 2px solid var(--line); }
/* 접이식 FAQ — 답변은 클릭 시 펼침(내용은 HTML에 항상 존재해 크롤링 안전) */
.faq-item summary { list-style: none; cursor: pointer; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "▾"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  color: var(--ink-soft); font-size: 13px; transition: transform .15s ease; margin-top: 8px; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item summary .faq-q { margin: 26px 0 10px !important; }
.faq-item .faq-a { margin-bottom: 10px; }

/* 출처 (E-E-A-T) */
.sources { margin-top: 48px; margin-bottom: 52px; padding-top: 22px; border-top: 1px solid var(--line); }
.sources h2 { font-family: var(--sans-bold); font-weight: 600; font-size: 14px; color: var(--ink-soft); margin: 0 0 12px; }
.sources ul { margin: 0; padding: 0; list-style: none; }
.sources li { font-size: 13.5px; line-height: 1.4; margin: 0 0 3px; padding-left: 15px; position: relative; }
.sources li::before { content: "—"; position: absolute; left: 0; color: var(--line); }
/* 참고자료 고지 — 신뢰성·의료광고법 안전장치. .sources 로 한정해 .article-body p(16.5px)에 눌리지 않게 */
.sources .src-notice {
  margin: 14px 0 0; padding-left: 15px; position: relative;
  font-size: 12.5px; line-height: 1.6; color: #8a92a2;
}
.sources .src-notice::before { content: "※"; position: absolute; left: 0; color: #b7bfca; }

/* 칼럼 하단 심의 상세이미지 */
.col-detail { margin: 40px 0 0; }
.col-detail img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }

/* 소셜 공유 바 */
.col-share { margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--line); text-align: center; }
.col-share .share-label { display: block; font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.share-btns .sh {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 84px; padding: 5px 8px; border-radius: 999px; border: 0;
  font-family: var(--sans-bold); font-weight: 600; font-size: 11.5px; cursor: pointer;
  text-decoration: none; line-height: 1; transition: transform .06s ease, filter .12s ease;
}
.share-btns .sh:hover { filter: brightness(0.95); }
.share-btns .sh:active { transform: translateY(1px); }
.sh-kakao { background: #FEE500; color: #191600; }
.sh-x     { background: #111111; color: #ffffff; }
.sh-fb    { background: #1877F2; color: #ffffff; }
.sh-copy  { background: #eef1f5; color: var(--ink); }

/* 지점 카드 (aside, 데스크톱 sticky) */
.clinic-card {
  position: sticky; top: 88px;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; background: var(--paper);
}
.clinic-card .cc-photo { border-radius: 10px; overflow: hidden; margin: -2px 0 16px; aspect-ratio: 1 / 1; background: var(--paper-2); }
/* 얼굴 안 잘리게 정사각+상단기준. 가장자리 1px 회색선은 살짝 확대해 클립 */
.clinic-card .cc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.02); }
.clinic-card .cc-brand { font-size: 12px; color: var(--brand); font-family: var(--sans-bold); font-weight: 600; margin: 0 0 2px; }
.clinic-card h2 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 0 0 14px; color: #161a23; }
.clinic-card dl { margin: 0; display: grid; grid-template-columns: 56px 1fr; gap: 8px 10px; font-size: 14px; }
.clinic-card dt { color: #9aa1b0; }
.clinic-card dd { margin: 0; color: var(--ink); }
.clinic-card .tel { font-family: var(--sans-bold); font-weight: 600; font-size: 17px; color: var(--ink); }
.cc-actions { display: flex; gap: 8px; margin-top: 18px; }
.cc-actions a {
  flex: 1; text-align: center; padding: 10px 0; border-radius: 9px;
  font-size: 13.5px; border: 1px solid var(--line); color: var(--ink);
}
.cc-actions a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.cc-actions a.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.cc-actions a.primary:hover { background: #1b5fa3; color:#fff; }
.cc-doctor { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cc-doctor-label { margin: 0 0 4px; font-size: 12.5px; color: #9aa1b0; }
.cc-doctor-name { margin: 0; font-size: 15px; color: var(--ink); font-family: var(--sans-bold); font-weight: 600; line-height: 1.55; white-space: pre-line; }
.cc-docsec { margin-top: 12px; }
.cc-doc-sep { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.cc-docsec-t { margin: 0 0 4px; font-size: 12.5px; color: var(--brand); font-family: var(--sans-bold); font-weight: 600; }
.cc-career { list-style: none; margin: 6px 0 0; padding: 0; }
.cc-docsec .cc-career { margin: 0; }
.cc-career li { position: relative; padding-left: 11px; margin: 0 0 5px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.cc-career li::before { content: "·"; position: absolute; left: 2px; color: var(--brand); }

/* ── 칼럼 목록 ── */
.guide-list { padding-top: 44px; }
.guide-list .list-head { max-width: var(--measure); }
.guide-list h1 { font-family: var(--serif); font-weight: 700; font-size: 34px; margin: 0 0 8px; }
.guide-list .list-sub { color: var(--ink-soft); margin: 0 0 36px; }
.col-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.col-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.col-list .c-kicker { font-family: var(--sans-bold); font-weight: 600; font-size: 12.5px; color: var(--brand); }
.col-list a.c-title { display: block; font-family: var(--serif); font-weight: 700; font-size: 21px; color: #161a23; margin: 6px 0 0; }
.col-list a.c-title:hover { color: var(--brand); text-decoration: none; }
.col-list .c-meta { font-size: 13px; color: #9aa1b0; margin-top: 6px; }

/* ──────────────────────────────────────────────────────────────
   공용 버튼
   ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-family: var(--sans-bold); font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid var(--line); color: var(--ink); background: #fff;
}
.btn:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.primary:hover { background: #1b5fa3; color: #fff; }

/* ──────────────────────────────────────────────────────────────
   메인 랜딩
   ────────────────────────────────────────────────────────────── */
.home-hero { padding: 64px 0 48px; background: #14304f url('/static/img/hero-bg.jpg') center / cover no-repeat; }
/* 다크 히어로 — 글자 밝게(지도 타일은 밝은 블루라 그대로 두면 배경 위에서 살아남) */
.home-hero .hero-logo span { color: #ffffff; }
.home-hero .hero-kline { color: rgba(255,255,255,.82); }
.home-hero .hero-big { color: #ffffff; }
.home-hero .hero-big b { color: #82bef5; -webkit-text-stroke-color: #82bef5; }
.home-hero .hero-lead { color: rgba(255,255,255,.74); }
/* 히어로 지도 — 예시(다크 히어로+밝은 지도) 따라감: 서울·경기 강조 없음(균일), 밝은 타일, 흰 글자 */
.home-hero .korea-map svg { filter: drop-shadow(0 0 14px rgba(130,190,245,.35)); }
/* 타일 그룹만 40% 반투명(합쳐진 뒤 한 번만 투명 → 겹침 없음). 라벨은 그룹 밖이라 선명한 흰색. */
.home-hero .kr-tiles { opacity: .4; }
.home-hero .kr-base, .home-hero .kr-region, .home-hero .kr-hi { fill: #dbeafb; }
.home-hero .kr-base { stroke: #dbeafb; }
.home-hero .kr-region { stroke: rgba(26,77,136,.45); stroke-width: 0.55; }
.home-hero .kr-label, .home-hero .kr-cnt, .home-hero .kr-label-hi { fill: #ffffff; stroke: #0e2c49; stroke-width: 1.2px; }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(420px, 560px); gap: 40px; align-items: start; }
.hero-text { text-align: left; padding-top: 213px; padding-left: 31px; }
.hero-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: -8px 0 2px -31px; }
.hero-logo img { width: 40px; height: 40px; flex: none; }
.hero-logo span { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.8vw, 26px); color: #14171f; margin-left: 31px; }
.hero-kline { font-family: var(--sans-bold); font-weight: 600; font-size: clamp(18px, 2.6vw, 23px); color: var(--ink-soft); margin: 0 0 16px; }
.hero-big {
  font-family: var(--serif); font-weight: 700; line-height: 1.05;
  font-size: clamp(46px, 9vw, 84px); color: #14171f; margin: 0 0 8px;
}
.hero-big b { color: var(--brand); font-weight: 800; -webkit-text-stroke: 1.1px var(--brand); }
.hero-brand { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 3.6vw, 32px); color: #14171f; margin: 0; }
.hero-lead { margin: 28px 0 0; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.hero-map { display: flex; justify-content: center; min-width: 0; }
.hero-map .korea-map { margin: 0; max-width: 540px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 60px; justify-content: center; }
/* 히어로 라운드 버튼 — 야간진료/입원실 찾기 */
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.hero-btn { display: inline-flex; align-items: center; padding: 13px 28px; border-radius: 999px;
  font-family: var(--sans-bold); font-weight: 600; font-size: 15px; border: 1.5px solid var(--brand); }
.hero-btn.fill { background: var(--brand); color: #fff; }
.hero-btn.fill:hover { background: #1a5ea6; text-decoration: none; }
.hero-btn.line { background: #fff; color: var(--brand); }
.hero-btn.line:hover { background: var(--brand); color: #fff; text-decoration: none; }
.btn-lg { padding: 16px 46px; font-size: 17px; border-radius: 12px; }
.btn-round { padding: 18px 58px; font-size: 18px; border-radius: 999px; }

/* 진료 조건별 2×2 카드 */
.finder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.finder-card { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 48px; border: 1.5px solid #b9c4d3; border-radius: 12px; background: #fff; text-align: left; }
.finder-card:hover { border-color: var(--brand); background: var(--brand); text-decoration: none; }
.fc-text { display: flex; flex-direction: column; gap: 4px; }
.fc-main { font-family: var(--sans-bold); font-weight: 600; font-size: 19px; color: var(--ink); }
.finder-card:hover .fc-main { color: #fff; }
.fc-sub { font-size: 14px; color: var(--ink-soft); }
.finder-card:hover .fc-sub { color: rgba(255,255,255,.9); }
.fc-arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1; }
.finder-card:hover .fc-arrow { background: #fff; color: var(--brand); }

/* 안내 바로가기 카드 */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
.info-card:hover { border-color: var(--brand); text-decoration: none; }
.ic-title { font-family: var(--serif); font-weight: 700; font-size: 18px; color: #161a23; }
.ic-go { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.info-card:hover .ic-go { color: var(--brand); }
/* 교통사고후유증 진료 가이드 — 파란 밴드 안: 흰 타이틀 + 흰버튼/파란글자·화살표 */
.home-section.band.guide-band { background: var(--brand); }
.guide-band .sec-head h2 { color: #fff; }
.guide-band .info-card { background: #fff; border-color: #fff; }
.guide-band .info-card:hover { background: #eaf2fb; border-color: #fff; }
.guide-band .ic-title { color: var(--brand); }
.guide-band .ic-go { color: var(--brand); }
@media (max-width: 560px) {
  .info-cards { grid-template-columns: 1fr; }
  .finder-grid { grid-template-columns: 1fr; }
  .finder-card { padding: 18px 22px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-map .korea-map { max-width: 100%; }
}

.trust { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.trust-band { text-align: center; padding: 26px 0; }
.trust-main {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(18px, 2.5vw, 25px); line-height: 1.4; color: #161a23; margin: 0 0 6px;
}
.trust-main b { color: var(--brand); }
.trust-sub { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

.home-section { padding: 48px 0; }
/* 전국 지점 지도(NAVER) */
.home-section.map-section { padding-top: 24px; padding-bottom: 24px; background: #eaf2fb; }
.map-section .sec-head { margin-bottom: 16px; justify-content: center; }
.map-section .map-cta { margin: 0 auto 22px; }
.map-section .branch-map { margin-top: 0; }
.branch-map { width: 100%; height: 460px; margin-top: 18px; background: #e8eef4;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; color: var(--ink-soft); }
.map-placeholder p { margin: 0; }
.map-placeholder .mp-sub { font-size: 13px; }
/* 지도 인증 실패(일시적 오류) 안내 */
.map-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 220px; padding: 24px; box-sizing: border-box;
  text-align: center; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.map-fallback a { color: var(--brand); font-weight: 700; }
@media (max-width: 700px) { .branch-map { height: 360px; } }
/* 지역으로 지점 찾기 */
.region-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 26px 0 18px; padding-left: 24px; }
.region-tab { display: flex; align-items: center; justify-content: center; gap: 5px; height: 52px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; white-space: nowrap;
  font-family: var(--sans-bold); font-weight: 600; font-size: 18px; color: var(--ink); }
.region-tab:hover { border-color: var(--brand); color: var(--brand); }
.region-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; }
/* 지역 그리드 끝 노란 CTA — 전국 하니카 찾기 페이지로 */
.region-tab.rt-cta { grid-column: span 2; background: #f7d24d; border-color: #f7d24d; color: #4a3a08;
  font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.region-tab.rt-cta:hover { background: #f3c836; border-color: #f3c836; color: #4a3a08; text-decoration: none; }
.rt-cnt { font-size: 13.5px; opacity: .85; }
.rb-list { display: none; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.rb-list.on { display: grid; }
.rb-list li a { display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 9px;
  background: transparent; font-size: 14px; color: #fff; }
.rb-list li a:hover { background: rgba(255,255,255,.12); border-color: #fff; text-decoration: none; }
.rb-main { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-name { font-weight: 500; }
.rb-clinic { color: rgba(255,255,255,.82); font-size: 12.5px; }
.rb-go { flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; transition: transform .15s ease, background .15s ease, color .15s ease; }
.rb-list li a:hover .rb-go { background: #fff; color: var(--brand); transform: translateX(2px); }
.rb-empty { grid-column: 1 / -1; color: var(--ink-soft); font-size: 14px; padding: 8px 2px; }
.region-hint { color: var(--ink-soft); font-size: 14px; margin: 2px 2px 0; }
.map-cta { text-align: center; margin-top: 24px; }
@media (max-width: 860px) { .region-tabs { grid-template-columns: repeat(4, 1fr); } .rb-list.on { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .region-tabs { grid-template-columns: repeat(3, 1fr); } .rb-list.on { grid-template-columns: repeat(2, 1fr); } }
/* 풀폭 옅은 배경 밴드 — 섹션 구획 리듬(파인카식) */
.home-section.band { background: #f5f8fc; padding: 56px 0; }
/* 지역으로 지점 찾기 — 대표색(126 숫자색) 배경 + 흰 글씨 */
.home-section.band.region-finder { background: var(--brand); }
.region-finder .sec-head h2 { color: #fff; }
.region-finder .region-hint { color: rgba(255,255,255,.85); }
.region-finder .region-tab.on { background: #fff; color: var(--brand); border-color: #fff; }
/* 서울·경기 하위(구/시) 선택 pill */
.rf-sgg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.rf-sgg[hidden] { display: none; }
.rf-sggbtn { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  font-family: var(--sans-bold); font-weight: 600; font-size: 13.5px; }
.rf-sggbtn:hover { background: rgba(255,255,255,.24); }
.rf-sggbtn.on { background: #fff; color: var(--brand); border-color: #fff; }
.home-section.region { padding-bottom: 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.sec-head h2 { font-family: var(--serif); font-weight: 700; font-size: 25px; margin: 0; color: #161a23; }
.sec-head .more { font-size: 14px; color: var(--ink-soft); }
.sec-head .more:hover { color: var(--brand); }
/* 중앙정렬 / 2줄(킥라인) / 아이콘 동반 타이틀 변형 */
.sec-head.sec-center { justify-content: center; text-align: center; }
.sec-head.sec-head-stack { display: block; text-align: center; }
.sec-kline { font-family: var(--sans-bold); font-weight: 600; font-size: 15px; color: rgba(255,255,255,.92); margin: 0 0 6px; }
/* 지역찾기 제목 — 아이콘 위 → 큰 제목 → (지점찾기 + 선 + ↙ 화살표) 한 줄 */
.region-head { margin: 0 0 28px; padding-left: 24px; }
.region-head-icon { width: 46px; height: 46px; display: block; margin: 0 0 -2px -31px; }
.region-head .sec-kline { font-size: 24px; font-weight: 800; color: #ffffff; margin: 0 0 6px; }
.region-head-row { display: flex; align-items: center; gap: 20px; }
.region-head-row h2 { flex: none; font-family: var(--serif); font-weight: 700; font-size: 23px; margin: 0; color: #ffffff; }
.region-head-line { flex: 1 1 auto; height: 1.5px; background: rgba(255,255,255,.55); }
.region-head-arrow { flex: none; color: #ffffff; transform: translateY(-8px); }
.sec-head.why-head { justify-content: flex-start; align-items: center; gap: 10px; }
.sec-icon { width: 34px; height: 34px; flex: none; }
/* 홈 섹션 제목 볼드 강조 */
.home-section .sec-head h2 { font-weight: 800; }
/* '나에게 필요한 하니카 찾기' 대표색 */
.finder-head h2 { color: var(--brand); }
/* 대표색 제목: 왜 하니카네트워크 · 전국 하니카 찾기 */
.why .sec-head h2, .map-section .sec-head h2 { color: var(--brand); }
.map-section .sec-head h2 { font-size: 28px; font-weight: 800; text-align: center; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { border: 0; border-radius: 14px; padding: 28px 24px; background: #fff; box-shadow: 0 8px 26px rgba(20,45,90,.10); }
.why-num { display: block; font-family: var(--serif); font-weight: 800; font-size: 22px; color: var(--brand); margin: 0 0 8px; letter-spacing: .5px; }
.why-item h3 { font-family: var(--serif); font-weight: 800; font-size: 18px; color: #12151d; margin: 0 0 10px; }
.why-item p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.75; }

.region-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14.5px;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: #f3f7fc; text-decoration: none; }

/* ── 정보 허브(치료안내·보험안내) ── */
.info-page { padding-top: 36px; }
.info-body { max-width: var(--measure); margin: 44px auto 0; }
/* 정책·고지 페이지(환자권리장전·개인정보취급방침·비급여) */
.legal-body { max-width: var(--measure); margin: 36px auto 0; }
.legal-intro { font-size: 16px; color: var(--ink-soft); line-height: 1.75; margin: 0 0 12px; }
.legal-note { font-size: 14px; color: var(--ink-soft); margin: 0 0 26px; }
.legal-body p { font-size: 15.5px; line-height: 1.75; }
.legal-officer { border: 1px solid var(--line); border-radius: 10px; background: #f7f9fc; padding: 15px 18px; margin: 4px 0 16px; }
.legal-officer p { margin: 0; line-height: 1.95; }
.legal-figure { margin: 6px 0 0; text-align: center; }
.legal-figure img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.info-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.info-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-gallery figure { margin: 0; }
.info-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.info-gallery figcaption { margin-top: 7px; text-align: center; font-size: 13px; color: var(--ink-soft); font-family: var(--sans-bold); font-weight: 600; }
.cert-logos { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: flex-start; }
.cert-logos figure { margin: 0; width: 110px; text-align: center; }
.cert-logos img { height: 70px; width: auto; object-fit: contain; }
.cert-logos figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 560px) {
  .info-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* 가맹문의 연락처 카드 */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 16px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--paper-2); }
.contact-card:hover { border-color: var(--brand); text-decoration: none; }
.cc-label { font-size: 12.5px; color: var(--ink-soft); }
.cc-val { font-family: var(--sans-bold); font-weight: 600; font-size: 17px; color: var(--ink); }
.contact-card:hover .cc-val { color: var(--brand); }
.contact-addr { margin: 0; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ── 가맹·제휴 안내 ── */
.fr-hero { background: linear-gradient(135deg, #2479cb, #1b5ca0); color: #fff; padding: 66px 0; }
.fr-hero .fr-kicker { margin: 0 0 12px; font-family: var(--sans-bold); font-weight: 600; font-size: 14px; color: #cfe2f7; letter-spacing: .02em; }
.fr-hero h1 { margin: 0 0 18px; color: #fff; font-size: 36px; line-height: 1.32; }
.fr-hero .fr-lead { margin: 0 0 26px; max-width: 720px; font-size: 17px; line-height: 1.75; color: #eaf2fb; }
.fr-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fr-btn { display: inline-block; padding: 13px 24px; border-radius: 10px; font-family: var(--sans-bold); font-weight: 600; font-size: 15px; }
.fr-btn.fill { background: #fff; color: var(--brand); }
.fr-btn.line { border: 1.5px solid rgba(255,255,255,.65); color: #fff; }
.fr-btn:hover { text-decoration: none; opacity: .94; }
.fr-stats { background: #eaf2fb; padding: 30px 0; }
.fr-stats-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 56px; text-align: center; }
.fr-stat b { display: block; font-family: var(--sans-bold); font-weight: 700; font-size: 34px; color: var(--brand); line-height: 1.1; }
.fr-stat span { font-size: 14px; color: var(--ink-soft); }
.fr-sec { padding: 54px 0; }
.fr-sec.band { background: #f5f8fc; }
.fr-head { text-align: center; margin: 0 0 30px; }
.fr-head h2 { margin: 0; font-size: 26px; color: var(--brand); }
.fr-head .fr-sub { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; }
.fr-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fr-bcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.fr-ic { font-size: 28px; line-height: 1; }
.fr-bcard h3 { margin: 13px 0 8px; font-size: 17px; color: var(--ink); }
.fr-bcard p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.fr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fr-steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.fr-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  align-items: center; justify-content: center; font-family: var(--sans-bold); font-weight: 700; font-size: 15px; }
.fr-steps b { display: block; margin: 12px 0 6px; font-size: 16px; color: var(--ink); }
.fr-steps p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.fr-target { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: var(--measure); margin: 0 auto; }
.fr-target li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.fr-target b { display: block; margin: 0 0 6px; font-size: 16px; color: var(--brand); }
.fr-target span { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.fr-faqwrap { max-width: var(--measure); }
.fr-contact .contact-cards { grid-template-columns: repeat(4, 1fr); max-width: 880px; margin: 18px auto 16px; }
.fr-contact .contact-addr { text-align: center; }
@media (max-width: 860px) {
  .fr-hero h1 { font-size: 27px; }
  .fr-benefits { grid-template-columns: repeat(2, 1fr); }
  .fr-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fr-benefits, .fr-steps, .fr-target { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────
   지점 상세
   ────────────────────────────────────────────────────────────── */
.clinic-page { padding-top: 36px; }
.clinic-head { max-width: var(--wrap); }
.clinic-head h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 36px); line-height: 1.34; color: #14171f; margin: 0 0 10px;
}
.clinic-addr { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

.hours {
  font-size: 16px; line-height: 1.95; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px;
  white-space: pre-line;   /* DB 원문 줄바꿈 보존, 연속 공백은 정리 */
}
.article-body h3.way-sub {
  font-family: var(--sans-bold); font-weight: 600; font-size: 15px; color: var(--brand);
  margin: 20px 0 10px;
}
.way-directions { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px;
  background: #f3f7fc; border: 1px solid #e0e9f4; font-size: 15px; line-height: 1.6; color: #2c3646; }
.way-list { margin: 0 0 14px; padding: 0; list-style: none; }
.way-list li { font-size: 15.5px; padding: 7px 0; border-bottom: 1px solid var(--line); }
/* 주차 안내는 설명문 — 줄 사이 구분선 없이 자연스럽게 */
.way-parking li { border-bottom: none; padding: 2px 0; }
.way-list li b { font-family: var(--sans-bold); font-weight: 600; color: var(--ink); }
.way-map { margin-top: 8px; border-radius: 10px; border: 1px solid var(--line); }
.li-note { font-size: 13px; color: var(--ink-soft); }
.way-empty { color: var(--ink-soft); }
.branch-map-one { height: 460px; margin-top: 20px; }
/* 지도 아래 외부 지도앱 링크 — 연한 배경, 지도 오른쪽 선에 맞춰 정렬 */
.map-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 12px; }
.map-links a { padding: 9px 16px; border: 1px solid #d6e3f3; border-radius: 999px;
  background: #eef4fb; font-size: 13.5px; color: var(--ink); font-family: var(--sans-bold); font-weight: 600; }
.map-links a:hover { border-color: var(--brand); color: var(--brand); background: #e2edf9; text-decoration: none; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
/* 병원 둘러보기 — 2행×3열(6장) 자동 가로 순환 */
.gallery-carousel { overflow: hidden; }
.gc-track { display: flex; gap: 10px; will-change: transform; }
.gc-col { flex: 0 0 calc((100% - 20px) / 3); display: grid; grid-template-rows: repeat(2, 1fr); gap: 10px; }
.gc-col img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; background: var(--paper-2); }

.doctors { font-size: 16px; color: var(--ink); margin: 0; }
.treat-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.treat-list li {
  padding: 9px 16px; border-radius: 999px; background: #f3f7fc;
  border: 1px solid #dde8f4; color: #1b5fa3; font-size: 14.5px; font-family: var(--sans-bold); font-weight: 600;
}
.treat-note { font-size: 14px; color: var(--ink-soft); margin: 0; }

.related-card {
  display: block; border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  background: var(--paper-2);
}
.related-card:hover { border-color: var(--brand); text-decoration: none; }
.rc-kicker { display: block; font-family: var(--sans-bold); font-weight: 600; font-size: 12.5px; color: var(--brand); }
.rc-title { display: block; font-family: var(--serif); font-weight: 700; font-size: 18px; color: #161a23; margin: 6px 0 10px; line-height: 1.4; }
.rc-go { display: block; font-size: 13.5px; color: var(--ink-soft); }
.related-card:hover .rc-go { color: var(--brand); }
/* 의학상식 — 대표 칼럼 2개 2열(큰 카드) */
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .related-grid { grid-template-columns: 1fr; } }
/* 3번째부터 — 제목만 목록(큰 카드 아래) */
.related-more { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.related-more li { border-bottom: 1px solid var(--line); }
.related-more a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 4px; color: #161a23; text-decoration: none;
}
.related-more a:hover { color: var(--brand); }
.related-more a:hover .rm-go { color: var(--brand); }
.rm-title {
  font-family: var(--serif); font-weight: 700; font-size: 15.5px; line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rm-go { flex: none; font-size: 15px; color: var(--ink-soft); }

.qna-list { list-style: none; margin: 0; padding: 0; }
.qna-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.qna-list .q-date { color: #9aa1b0; font-size: 13px; white-space: nowrap; }
.qna-list .empty { color: var(--ink-soft); justify-content: flex-start; }

/* ──────────────────────────────────────────────────────────────
   지점 목록 (모바일 카드)
   ────────────────────────────────────────────────────────────── */
/* 부작용·주의사항 고지 */
.med-notice { margin: 32px 0 24px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: transparent; }
.med-notice .med-notice-title { font-family: var(--sans-bold); font-weight: 600; font-size: 11px; line-height: 1.4; color: var(--ink-soft); margin: 0 0 4px; }
.med-notice ul { margin: 0; padding-left: 15px; }
.med-notice li { font-size: 10.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 3px; }
.med-notice p { margin: 0; font-size: 10.5px; color: var(--ink-soft); line-height: 1.55; }

/* 남한 시도 지도(SVG choropleth) */
.korea-map { width: 100%; max-width: 320px; margin: 0 auto; }
.korea-map svg { width: 100%; height: auto; display: block; overflow: visible; }
/* 전 지역 균일한 연한 색(진한 단계색 없음). 호버/선택 시에만 brand 색.
   바탕(kr-base)도 같은 색이라 시도 path 사이 미세 틈이 보이지 않음 → 패치 불필요. */
.kr-base, .kr-region { fill: #cfe0f4; }
/* 바탕에 같은 색 외곽선을 줘 인접 시도 폴리곤 사이 미세 틈(슬리버)을 메움 */
.kr-base { stroke: #cfe0f4; stroke-width: 1.6; stroke-linejoin: round; }
.kr-region { stroke: #ffffff; stroke-width: 0.5; cursor: pointer; transition: fill .15s; }
.korea-map a:hover .kr-region, .kr-region.kr-on { fill: var(--brand); stroke-width: 0.8; }
.kr-label { font-family: var(--sans); font-weight: 700; font-size: 5.3px; fill: #16202b;
  text-anchor: middle; pointer-events: none;
  paint-order: stroke; stroke: #fff; stroke-width: 1.3px; stroke-linejoin: round; }
.kr-cnt { font-family: var(--sans); font-weight: 600; font-size: 4.4px; fill: #16202b;
  text-anchor: middle; pointer-events: none;
  paint-order: stroke; stroke: #fff; stroke-width: 1.1px; stroke-linejoin: round; }
.korea-map a:hover .kr-label, .korea-map a:hover .kr-cnt { fill: #fff; stroke: var(--brand); }

.br-list-page { padding-top: 40px; }
.br-list-page > .wrap > h1 { font-family: var(--serif); font-weight: 700; font-size: 30px; margin: 0 0 8px; }
.br-list-sub { color: var(--ink-soft); margin: 0 0 24px; }
.br-search { display: flex; gap: 8px; margin-bottom: 20px; }
.br-search input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
}
.br-search input:focus { outline: none; border-color: var(--brand); }
.br-search button {
  padding: 0 22px; border: 0; border-radius: 10px; background: var(--brand); color: #fff;
  font-family: var(--sans-bold); font-weight: 600; font-size: 15px; cursor: pointer;
}
.finder-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.finder-tabs a {
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-family: var(--sans-bold); font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.finder-tabs a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.finder-tabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.area-chips a {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 14px;
}
.area-chips a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.area-chips a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
/* 전국 지역 타일 지도 */
/* 전국 타일 지도 — 붙여서(gap 0) 한반도 모양 근사, 짙은 테두리로 연결 */
.area-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; width: 100%; max-width: 360px; margin: 0 0 24px; }
.map-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; border: 1px solid #9aa3b2; border-radius: 0; background: #fff;
  color: var(--ink); text-align: center; padding: 3px; line-height: 1.18;
}
.map-tile:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.map-tile.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.mt-name { font-family: var(--sans-bold); font-weight: 600; font-size: 13px; }
.mt-cnt { font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; }

/* ── 전국 하니카 찾기 (지점 찾기 페이지) ── */
.finder-page { padding-top: 36px; }
.finder-page > .wrap > h1 { font-family: var(--serif); font-weight: 800; font-size: 34px; margin: 0 0 8px; text-align: center; }
.fp-sub { color: var(--ink-soft); margin: 0 0 22px; text-align: center; }
/* 전폭 유지하되 높이를 키워 한국(남한)이 크게 보이도록. */
.finder-page .branch-map { height: 600px; margin: 0 0 24px; }
@media (max-width: 700px) { .finder-page .branch-map { height: 420px; } }
.fp-tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin: 0 0 18px; }
.fp-tab { padding: 12px 20px; border: 0; background: none; cursor: pointer; font-family: var(--sans-bold);
  font-weight: 600; font-size: 15px; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.fp-tab:hover { color: var(--brand); }
.fp-tab.on { color: var(--brand); border-bottom-color: var(--brand); }
.fp-panel { margin: 0 0 6px; }
.fp-gpsbtn { padding: 14px 24px; border: 0; border-radius: 12px; background: var(--brand); color: #fff;
  font-family: var(--sans-bold); font-weight: 600; font-size: 15px; cursor: pointer; }
.fp-gpsbtn:hover { background: #1a5ea6; }
.fp-gpsstatus { margin-left: 14px; font-size: 14px; color: var(--ink-soft); }
.fc-dist { font-size: 12.5px; color: var(--brand); font-family: var(--sans-bold); font-weight: 600; margin-left: auto; padding: 0 8px; }
.fp-search { margin: 0 0 16px; }
.fp-search input { width: 100%; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 15px; color: var(--ink); }
.fp-search input:focus { outline: none; border-color: var(--brand); }
.fp-regions { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin: 0 0 16px; }
.fp-region { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  font-family: var(--sans-bold); font-weight: 600; font-size: 14px; color: var(--ink); }
.fp-region .fp-chev { color: var(--ink-soft); }
.fp-region:hover { border-color: var(--brand); color: var(--brand); }
.fp-region.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.fp-region.on .fp-chev { color: #fff; }
.fp-sgg { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; padding: 14px; background: var(--paper-2); border-radius: 10px; }
.fp-sgg[hidden] { display: none; }
.fp-sggbtn { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.fp-sggbtn:hover { border-color: var(--brand); color: var(--brand); }
.fp-sggbtn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.fp-filterbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.fp-filterlabel { font-family: var(--sans-bold); font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.fp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-filter { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.fp-filter:hover { border-color: var(--brand); color: var(--brand); }
.fp-filter.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.fp-count { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; }
.fp-count b { color: var(--brand); font-size: 16px; }
.fp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fp-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.fp-card:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(32,109,189,.12); text-decoration: none; }
.fc-photo { aspect-ratio: 16 / 10; background: #eef2f7; position: relative; overflow: hidden; }
/* 이미지를 박스에 절대배치로 완전히 가둠 — 실사진 비율이 제각각이어도 박스 높이가 16:10 고정되어 카드 아래가 정렬됨(파인카식) */
.fc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* 지점명 라벨 배지 — 사진 좌상단(파인카식) */
.fc-badge { position: absolute; top: 10px; left: 10px; z-index: 1; max-width: calc(100% - 20px);
  background: rgba(17,24,32,.66); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -.2px;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.fc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fc-name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: #14171f; }
.fc-area { font-size: 12px; color: var(--brand); background: #e9f1fb; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.fp-card .fc-addr { display: none; }   /* 찾기 카드에만 주소 미표시(지역 배지+지하철로 위치 안내). 푸터 .fc-addr 는 유지 */
.fc-station { font-size: 13px; color: var(--brand); font-family: var(--sans-bold); font-weight: 600;
  line-height: 1.5; min-height: 1.5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.fc-tags { gap: 6px; }
.fc-tag { font-size: 12px; line-height: 1.5; color: var(--brand); background: #eef4fb; border: 1px solid #d7e6f7;
  padding: 3px 11px; border-radius: 6px; white-space: nowrap; }
.fc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.fc-tel { font-family: var(--sans-bold); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.fc-more { font-size: 13px; color: var(--brand); }
.fp-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 40px 0; }
@media (max-width: 900px) { .fp-regions { grid-template-columns: repeat(4, 1fr); } .fp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fp-regions { grid-template-columns: repeat(3, 1fr); } .fp-cards { grid-template-columns: 1fr; } .fp-filterbar { flex-direction: column; align-items: flex-start; } }
.map-tile:hover .mt-cnt { color: var(--brand); }
.map-tile.on .mt-cnt { color: rgba(255,255,255,.85); }

.br-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.br-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
}
.br-card:hover { border-color: var(--brand); }
.br-card .bc-area { font-family: var(--sans-bold); font-weight: 600; font-size: 12px; color: var(--brand); }
.br-card .bc-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 19px; color: #161a23; margin: 4px 0 8px; }
.br-card .bc-name:hover { color: var(--brand); text-decoration: none; }
.br-card dl { margin: 0; display: grid; grid-template-columns: 64px 1fr; gap: 5px 10px; font-size: 14px; }
.br-card dt { color: #9aa1b0; }
.br-card dd { margin: 0; color: var(--ink); }
.br-card .empty { color: var(--ink-soft); }

/* ── 반응형 ── */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; gap: 36px; }
  .clinic-card { position: static; }
  .hero { aspect-ratio: 16/9; border-radius: 10px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .col-head h1 { font-size: 27px; }
  .lead { font-size: 16.5px; }
  .article-body p { font-size: 16px; }
  .guide-column { padding-top: 24px; }
}

/* ===== 정보 디자인 페이지(교통사고후유증·통증질환) — .ip-* ===== */
.ip-narrow { max-width: 980px; margin-left: auto; margin-right: auto; }
/* 히어로 */
.ip-hero { background-size: cover; background-position: center; color: #fff; text-align: center; padding: 66px 0 60px; }
.ip-divider { display: block; width: 46px; height: 3px; background: #4a86c8; border-radius: 2px; margin: 0 auto 22px; }
.ip-hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; letter-spacing: -.5px; }
.ip-hero .ip-lead { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.86); }
/* 섹션 공통 */
.ip-sec { padding: 60px 0 64px; }
.ip-white { background: #fff; }
.ip-gray { background: #f3f6f9; }
.ip-head { text-align: center; margin: 0 0 38px; }
.ip-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: var(--sans-bold); font-weight: 800; font-size: 14px; margin-bottom: 14px; letter-spacing: .5px; }
.ip-head h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(20px, 2.6vw, 26px); margin: 0; color: #1a2432; }
/* 01 증상 카드(3열) */
.ip-symgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ip-symcard { background: #f4f6f9; border-radius: 14px; overflow: hidden; }
.ip-symimg { aspect-ratio: 16/10; background: #e6ebf1; overflow: hidden; }
.ip-symimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-symbody { padding: 18px 20px 22px; }
.ip-symbody h3 { font-family: var(--sans-bold); font-weight: 700; font-size: 18px; margin: 0 0 8px; color: #1a2432; }
.ip-symbody p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
/* 02 진단 스택 카드(좌측 강조) */
.ip-diaglist { display: grid; gap: 16px; }
.ip-diagcard { background: #fff; border: 1px solid #e6ebf1; border-left: 4px solid var(--brand); border-radius: 10px;
  padding: 20px 26px; box-shadow: 0 2px 10px rgba(20,40,74,.04); }
.ip-diagcard h3 { font-family: var(--sans-bold); font-weight: 700; font-size: 17px; margin: 0 0 8px; color: #1a2432; }
.ip-diagcard p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.ip-diagrow { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 18px; }
.ip-diagrow h3 { margin: 0; }
/* 03 프로그램 카드(2열) */
.ip-proggrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ip-progcard { background: #fff; border: 1px solid #e6ebf1; border-radius: 12px; padding: 20px 24px; box-shadow: 0 2px 10px rgba(20,40,74,.04); }
.ip-progcard h3 { font-family: var(--sans-bold); font-weight: 700; font-size: 16px; margin: 0 0 7px; color: var(--brand); }
.ip-progcard p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.ip-note { margin-top: 20px; background: var(--brand); color: #fff; border-radius: 999px; text-align: center; padding: 15px 26px; font-size: 14.5px; font-weight: 600; line-height: 1.5; }
/* 근거 안내 다크 푸터 */
.ip-evidence { background: #16284a; color: #fff; padding: 44px 0 52px; }
.ip-ev-head { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.ip-ev-head h2 { font-family: var(--sans-bold); font-weight: 700; font-size: 19px; margin: 0; color: #fff; }
.ip-evidence p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.85); }
/* 02(pain) 아이콘 카드(5열) */
.ip-icongrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ip-iconcard { background: #fff; border: 1px solid #e6ebf1; border-radius: 12px; padding: 24px 14px 20px; text-align: center; box-shadow: 0 2px 10px rgba(20,40,74,.04); }
.ip-iconimg { height: 54px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ip-iconimg img { max-height: 52px; max-width: 52px; object-fit: contain; }
.ip-iconcard h3 { font-family: var(--sans-bold); font-weight: 700; font-size: 15px; margin: 0 0 8px; color: var(--brand); }
.ip-iconcard p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); }
/* 생활관리 파란 박스 */
.ip-life { background: var(--brand); color: #fff; padding: 34px 0; }
.ip-life-inner { display: flex; align-items: center; gap: 22px; }
.ip-life-icon { flex: none; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; color: #fff; }
.ip-life-icon svg { width: 34px; height: 34px; }
.ip-life-text h2 { font-family: var(--sans-bold); font-weight: 800; font-size: 20px; margin: 0 0 8px; color: #fff; }
.ip-life-text p { margin: 0 0 4px; font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.9); }
/* 03(pain) 치료사진(4열) */
.ip-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ip-photo { margin: 0; }
.ip-photoimg { aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: #e6ebf1; }
.ip-photoimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-photo figcaption { margin-top: 12px; text-align: center; font-family: var(--sans-bold); font-weight: 700; font-size: 15px; color: var(--brand); }
/* FAQ 아코디언 */
.ip-faq-head { text-align: center; margin: 0 0 26px; }
.ip-faq-en { display: block; font-family: var(--sans-bold); font-weight: 800; letter-spacing: 2px; color: var(--brand); font-size: 14px; margin-bottom: 4px; }
.ip-faq-head h2 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 0; color: #1a2432; }
.ip-faq { border-top: 1px solid #e6ebf1; }
.ip-faq-item { border-bottom: 1px solid #e6ebf1; }
.ip-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; }
.ip-faq-item summary::-webkit-details-marker { display: none; }
.ip-faq-q { font-size: 16px; color: #1a2432; }
.ip-faq-q b { color: var(--brand); margin-right: 6px; }
.ip-faq-mark { flex: none; position: relative; width: 18px; height: 18px; }
.ip-faq-mark::before, .ip-faq-mark::after { content: ""; position: absolute; background: #9aa6b4; }
.ip-faq-mark::before { left: 0; top: 8px; width: 18px; height: 2px; }
.ip-faq-mark::after { left: 8px; top: 0; width: 2px; height: 18px; transition: opacity .15s; }
.ip-faq-item[open] .ip-faq-mark::after { opacity: 0; }
.ip-faq-a { padding: 0 4px 22px; font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
@media (max-width: 900px) {
  .ip-symgrid { grid-template-columns: repeat(2, 1fr); }
  .ip-icongrid { grid-template-columns: repeat(3, 1fr); }
  .ip-photos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ip-symgrid, .ip-proggrid, .ip-icongrid, .ip-photos { grid-template-columns: 1fr; }
  .ip-diagrow { grid-template-columns: 1fr; gap: 6px; }
  .ip-life-inner { flex-direction: column; text-align: center; gap: 14px; }
}

/* ===== 칼럼 하단 '○○ 다른 글 확인' 포스트 목록 ===== */
.other-posts { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.other-posts > h2 { font-family: var(--serif); font-weight: 800; font-size: 20px; margin: 0 0 16px; color: #1a2432; }
.op-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.op-item { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); transition: border-color .12s, box-shadow .12s; }
.op-item:hover { border-color: var(--brand); box-shadow: 0 3px 12px rgba(32,109,189,.12); text-decoration: none; }
.op-thumb { flex: none; width: 132px; height: 74px; border-radius: 8px; overflow: hidden; background: #eef2f7; }
.op-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.op-title { font-family: var(--sans-bold); font-weight: 600; font-size: 15.5px; color: #1a2432;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.op-kicker { font-size: 12.5px; color: var(--ink-soft); }
.op-go { flex: none; color: var(--brand); font-size: 18px; padding: 0 6px; }
@media (max-width: 560px) { .op-thumb { width: 96px; height: 58px; } .op-title { font-size: 14.5px; } }
/* '다른 글' 4번째부터 — 제목만 목록 */
.op-more { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.op-more li { border-bottom: 1px solid var(--line); }
.op-more a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 4px; color: var(--ink); }
.op-more a:hover { color: var(--brand); text-decoration: none; }
.opm-title { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opm-go { flex: none; color: var(--brand); font-size: 15px; }
