@charset "UTF-8";
/* ─────────────────────────────────────────────────────────
   참본정형외과 홈페이지형 스킨
   경희정함한의원 스킨에서 틀을 가져와 참본용으로 고쳤습니다.
   색은 로고와 원내 사인의 딥 네이비·블루에서 뽑고,
   오렌지는 액센트로만 아주 조금 씁니다.
   지점이 셋이라 '지점 카드'와 '지점별 진료시간' 구역을 더했습니다.
   ───────────────────────────────────────────────────────── */
:root {
  --paper: #ffffff;      /* 바탕 */
  --stone: #eef4fb;      /* 연한 블루그레이 구역 */
  --stone-2: #d7e5f4;
  --oak: #1565a8;        /* 블루 — 링크·강조 */
  --gold: #e87a2a;       /* 오렌지 — 액센트 (절제해서) */
  --ink: #15233c;        /* 글자 */
  --ink-2: #4c5e78;
  --ink-3: #8295ad;
  --walnut: #0a3d6b;     /* 딥 네이비 — 짙은 구역 */
  --red: #1565a8;        /* 전화 버튼 */
  --red-2: #0a3d6b;
  --line: #dbe6f2;
  --w: 1180px;
  --r: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.text-link { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--oak); }

/* 아치 — 로고 골드 블록 윗부분의 둥근 홈에서 가져온 사진 틀 */
.arch { border-radius: 999px 999px 0 0; }

/* ───────── 머리글 ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 248, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { width: 196px; height: auto; }
.gnb { flex: 1; display: flex; align-items: center; justify-content: center; }
.gnb > ul { display: flex; gap: 2px; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a, .sub-toggle {
  display: block; padding: 10px 12px; font-size: 15.5px; font-weight: 600; color: var(--ink);
  border-radius: 8px; white-space: nowrap;
}
.gnb > ul > li > a:hover, .sub-toggle:hover { background: var(--stone); }
.sub-toggle::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.sub {
  position: absolute; top: 100%; left: 0; min-width: 180px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(53, 40, 31, .12);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.sub a:hover { background: var(--stone); }
.gnb-search { display: none; }
.call {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap;
}
.call:hover { background: var(--red-2); }
.call-label { font-weight: 500; opacity: .9; }
.menu-btn { display: none; }

/* ───────── 홈 구역 ───────── */
.home-only { display: none; }
#tt-body-index .home-only { display: block; }
#tt-body-index.paged .home-only { display: none; }
.has-cover .list-zone { display: none; }

section { padding: 96px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; letter-spacing: -.025em; font-weight: 800; }
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 17.5px; }
.sec-head.row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }

/* 히어로 */
/* 아래 210px 은 라임스톤 — 사진이 그 위에 놓이고 숫자 줄이 그 안에 들어갑니다 */
.hero { padding: 64px 0 72px; background: linear-gradient(0deg, var(--stone) 0 210px, var(--paper) 210px); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; }
.hero-text { padding-bottom: 8px; }
.hero-kicker { color: var(--oak); font-weight: 700; font-size: 16px; line-height: 1.5; letter-spacing: 0; margin: 0 0 18px; }
.hero-kicker span { display: block; margin-top: 2px; font-weight: 500; color: var(--ink-2); font-size: 15px; }
.hero .hero-title {
  font-size: clamp(38px, 5.2vw, 64px); line-height: 1.2; letter-spacing: -.035em; font-weight: 800;
  text-wrap: balance;
}
.hero-lead { margin-top: 24px; max-width: 34em; font-size: 18.5px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 2px solid var(--ink); }
.facts li { padding: 18px 18px 0 0; }
.facts li + li { padding-left: 18px; border-left: 1px solid var(--stone-2); }
.facts strong { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.facts span { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone-2); }
.hero-photo figcaption {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: rgba(252, 251, 248, .94); padding: 8px 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; white-space: nowrap;
}

/* 단계 */
.stages { background: var(--stone); padding-top: 40px; }
.stage-list { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.stage-list::before {
  content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--stone-2);
}
.stage-list li { position: relative; padding: 0 24px 0 0; }
.stage-no {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink);
  font-weight: 800; font-size: 15px;
}
.stage-list li:nth-child(n+3) .stage-no { background: var(--ink); color: #fff; }
.stage-list strong { display: block; margin-top: 18px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.4; }
.open { display: block; margin-top: 18px; height: 10px; border-radius: 99px; background: var(--stone-2); overflow: hidden; }
.open i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--oak); }
.stage-list em { display: block; margin-top: 8px; font-style: normal; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.stages .text-link { display: inline-block; margin-top: 44px; }

/* 진료 분야 */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.area-grid a { display: block; }
.area-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--stone); transition: filter .2s; }
.area-grid a:hover img { filter: brightness(.92); }
.area-grid strong { display: block; margin-top: 14px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.area-grid a:hover strong { color: var(--oak); }
.area-grid span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* 커버·목록 카드 */
.cover { padding: 88px 0; border-top: 1px solid var(--line); }
.cover + .cover { padding-top: 0; border-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.card a { display: flex; flex-direction: column; height: 100%; }
.card .thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r); background: var(--stone); margin-bottom: 16px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card a:hover .thumb img { transform: scale(1.03); }
.card .cat { font-size: 14px; font-weight: 700; color: var(--oak); }
.card .title { display: block; margin-top: 4px; font-size: 19px; line-height: 1.45; font-weight: 800; letter-spacing: -.02em; }
.card a:hover .title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.card .summary {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.6;
}
.card .date { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.row-list { border-top: 2px solid var(--ink); }
.row-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.row-list strong { font-weight: 600; }
.row-list a:hover strong { color: var(--oak); }
.row-list .date { color: var(--ink-3); font-size: 15px; white-space: nowrap; }

/* 목록 화면 */
.list-zone { padding: 64px 0 96px; }
#tt-body-index .list-zone { border-top: 1px solid var(--line); }
.list-head { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 2px solid var(--ink); }
.list-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; font-weight: 800; line-height: 1.25; }
.list-meta { margin-top: 8px; color: var(--ink-3); font-size: 15px; }
.list-desc { margin-top: 10px; color: var(--ink-2); max-width: 40em; }
.list-desc:empty { display: none; }
.empty { padding: 40px 0; color: var(--ink-2); }
#tt-body-index .post-zone, #tt-body-category .post-zone, #tt-body-search .post-zone,
#tt-body-tag .post-zone, #tt-body-archive .post-zone {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px;
}
#tt-body-category .card-grid + .post-zone, #tt-body-search .card-grid + .post-zone { margin-top: 0; }

/* 글 본문 */
.post { max-width: 760px; margin: 0 auto; }
.post-head { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.post-head .cat { display: inline-block; font-size: 15px; font-weight: 700; color: var(--oak); }
.post-head h1 { margin-top: 10px; font-size: clamp(27px, 3.6vw, 38px); line-height: 1.35; letter-spacing: -.03em; font-weight: 800; }
.post-head .date { margin-top: 12px; font-size: 15px; color: var(--ink-3); }
.admin { margin-top: 8px; font-size: 14px; }
.admin a { color: var(--ink-3); margin-right: 12px; text-decoration: underline; }

/* 원고 HTML 은 인라인 스타일과 <br> 로 간격을 만든다 — 문단 여백은 0 으로 둔다 */
.entry-content { font-size: 16px; line-height: 1.85; color: #222; }
.entry-content p { margin: 0; }
.entry-content img { display: inline-block; max-width: 100%; height: auto; }
.entry-content figure { margin: 0; }
.entry-content figure.imageblock { text-align: center; }
.entry-content figure.imageblock img { margin: 0 auto; }
.entry-content table { max-width: 100%; }
.entry-content a { color: inherit; }

.tags { margin-top: 44px; font-size: 15px; color: var(--ink-3); }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--stone); color: var(--ink-2); }
.tags a:hover { background: var(--stone-2); }

.post-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 48px; padding: 24px 28px; border-radius: var(--r); background: var(--stone);
}
.post-cta p { font-size: 17px; }
.post-cta div { display: flex; flex-wrap: wrap; gap: 10px; }

.related { padding: 0; margin-top: 64px; }
.related h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.related ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related a { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.related a:hover { border-color: var(--oak); }
.related .thumb { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--stone); }
.related .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related strong { font-size: 15.5px; font-weight: 600; line-height: 1.5; }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.prev-next a { display: block; padding: 18px 20px; border-top: 2px solid var(--ink); }
.prev-next .next { text-align: right; grid-column: 2; }
.prev-next span { display: block; font-size: 14px; color: var(--ink-3); }
.prev-next strong { display: block; margin-top: 4px; font-weight: 700; line-height: 1.5; }
.prev-next a:hover strong { color: var(--oak); }

.protected .pw { display: flex; gap: 10px; margin-top: 16px; }
.protected input { flex: 0 1 260px; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; }

/* 페이지 번호 */
.paging { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 64px; }
.paging a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 10px; font-weight: 600; }
.paging a:hover { background: var(--stone); }
.paging .num:has(.selected), .paging .selected { background: var(--ink); color: #fff; }
.paging .no-more-prev, .paging .no-more-next { opacity: .3; pointer-events: none; }
.paging .nums { display: inline-flex; gap: 4px; }

/* 정함요법 */
.method { background: var(--walnut); color: #f3ece3; }
.method .sec-head p { color: #d8ccbf; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.method-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.method-grid .role { display: block; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--gold); }
.method-grid strong { display: block; margin-top: 2px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.method-grid p { margin-top: 6px; font-size: 15.5px; color: #d8ccbf; line-height: 1.6; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid rgba(243, 236, 227, .25); counter-reset: f; }
.flow li { position: relative; padding: 22px 20px 0 0; counter-increment: f; }
.flow li::before { content: counter(f); display: block; font-size: 14px; font-weight: 700; color: var(--gold); }
.flow strong { display: block; font-size: 20px; font-weight: 800; color: #fff; }
.flow span { display: block; margin-top: 2px; font-size: 15px; color: #d8ccbf; }

/* 원장 */
.director-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.director-in > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--stone); }
.director h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; }
.director-lead { margin-top: 16px; font-size: 19px; color: var(--ink-2); max-width: 28em; }
.director ul { margin-top: 32px; border-top: 2px solid var(--ink); }
.director li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }

/* 원내 */
.gallery { padding: 0; }
.gallery ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* 오시는 길 */
.visit { background: var(--stone); scroll-margin-top: 76px; }
.visit-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.visit h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 28px; }
.hours { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.hours th, .hours td { padding: 15px 4px; border-bottom: 1px solid var(--stone-2); text-align: left; font-size: 17px; }
.hours th { width: 34%; font-weight: 700; }
.hours td em { margin-left: 8px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--red); }
.hours tr.today th, .hours tr.today td { background: var(--paper); }
.hours tr.today th::after { content: "오늘"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.hours-note { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.addr { margin-top: 32px; }
.addr div { display: flex; gap: 16px; padding: 6px 0; }
.addr dt { flex: 0 0 48px; font-weight: 700; color: var(--oak); }
.addr dd a { font-weight: 700; }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.visit-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* 바닥글 */
.site-footer { background: var(--walnut); color: #d8ccbf; padding: 56px 0 64px; font-size: 15px; }
.footer-in { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer-in > img { width: 180px; }
.footer-info p + p { margin-top: 4px; }
.footer-info a { color: #fff; font-weight: 700; }
.copy { color: #a9998b; }

.dock { display: none; }

/* ───────── 반응형 ───────── */
@media (max-width: 1180px) {
  .header-in { height: 68px; gap: 16px; }
  .brand img { width: 172px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px;
  }
  .menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after {
    display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; transition: .2s;
  }
  .menu-btn span:first-child::before { position: absolute; top: -7px; }
  .menu-btn span:first-child::after { position: absolute; top: 7px; }
  .menu-open .menu-btn span:first-child { background: transparent; }
  .menu-open .menu-btn span:first-child::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-btn span:first-child::after { top: 0; transform: rotate(-45deg); }
  .gnb {
    display: none; position: fixed; inset: 68px 0 0 0; z-index: 49; overflow-y: auto;
    background: var(--paper); padding: 16px 28px 120px; flex-direction: column; align-items: stretch;
  }
  .gnb.open { display: flex; }
  .gnb > ul { flex-direction: column; gap: 0; }
  .gnb > ul > li { border-bottom: 1px solid var(--line); }
  .gnb > ul > li > a, .sub-toggle { width: 100%; text-align: left; padding: 16px 4px; font-size: 18px; border-radius: 0; }
  .gnb > ul > li > a:hover, .sub-toggle:hover { background: none; }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; background: none; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { font-size: 16.5px; padding: 10px 4px; }
  .gnb-search { display: flex; gap: 8px; margin-top: 24px; }
  .gnb-search input { flex: 1; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
  .gnb-search button { height: 52px; padding: 0 20px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
  .call { margin-left: auto; }
}

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero { padding: 36px 0 56px; background: var(--paper); }
  .stages { padding-top: 64px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { padding-bottom: 0; }
  .hero-photo { order: -1; max-width: 420px; width: 78%; margin: 0 auto; }
  .facts { margin-top: 40px; }
  .stage-list { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .stage-list::before { display: none; }
  .area-grid, .method-grid { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .card-grid, #tt-body-index .post-zone, #tt-body-category .post-zone, #tt-body-search .post-zone,
  #tt-body-tag .post-zone, #tt-body-archive .post-zone { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .director-in, .visit-in { grid-template-columns: 1fr; gap: 40px; }
  .director-in > img { max-width: 420px; }
  .visit-photo { max-width: 420px; justify-self: center; }
  .gallery ul { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 20px; }
  .related ul { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .site-footer { padding-bottom: calc(60px + 56px + env(safe-area-inset-bottom)); }
  .wrap { padding: 0 20px; }
  .header-in { height: 62px; }
  .gnb { inset: 62px 0 0 0; padding: 8px 20px 120px; }
  .brand img { width: 150px; }
  .call { display: none; }
  .menu-btn { margin-left: auto; }
  .sec-head { margin-bottom: 32px; }
  .hero .hero-title { font-size: 36px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; border-top-width: 2px; }
  .facts li, .facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--stone-2); display: flex; align-items: baseline; gap: 12px; }
  .facts strong { font-size: 18px; flex: 0 0 auto; }
  .facts span { margin: 0; }
  .stage-list { grid-template-columns: 1fr; gap: 0; }
  .stage-list li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--stone-2); }
  .stage-no { grid-row: span 3; }
  .stage-list strong { margin-top: 6px; font-size: 18px; }
  .open { margin-top: 10px; }
  .area-grid { gap: 26px 14px; }
  .area-grid strong { font-size: 17px; margin-top: 10px; }
  .area-grid span { font-size: 14px; }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .method-grid strong { font-size: 19px; }
  .method-grid p { font-size: 14.5px; }
  .card-grid, #tt-body-index .post-zone, #tt-body-category .post-zone, #tt-body-search .post-zone,
  #tt-body-tag .post-zone, #tt-body-archive .post-zone { grid-template-columns: 1fr; gap: 28px; }
  .card a { display: grid; grid-template-columns: 104px 1fr; column-gap: 16px; align-items: start; }
  .card .thumb { grid-row: span 4; margin: 0; }
  .card .title { font-size: 17px; margin-top: 0; }
  .card .summary { -webkit-line-clamp: 2; font-size: 14.5px; margin-top: 4px; }
  .card .date { margin-top: 4px; }
  .sec-head.row { flex-direction: column; gap: 6px; }
  .post-cta { padding: 20px; }
  .post-cta .btn { flex: 1 1 auto; }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next .next { grid-column: auto; text-align: left; }
  .hours th, .hours td { font-size: 16px; }
  .addr div { gap: 12px; }
  .addr dt { flex-basis: 40px; }
  .visit-photo { max-width: 260px; }
  .map-btns .btn { flex: 1 1 100%; }
  .dock {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a { display: flex; align-items: center; justify-content: center; height: 60px; font-weight: 700; font-size: 16px; }
  .dock a + a { border-left: 1px solid var(--line); }
  .dock .dock-call { background: var(--red); color: #fff; }
}


/* ═════════════════════════════════════════════════════════
   참본 전용 — 여기부터는 위 규칙을 덮어씁니다 (나중 것이 이깁니다)
   ═════════════════════════════════════════════════════════ */

/* 로고에 아치 모양이 없으므로 사진 틀을 둥근 사각으로 되돌립니다 */
.arch, .hero-photo img { border-radius: var(--r); }

/* 전화 버튼 — 이름만 btn-blue 로 새로 둡니다 */
.btn-blue { background: var(--red); color: #fff; }
.btn-blue:hover { background: var(--red-2); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* 머리글 오른쪽 — 전화번호가 셋이라 채운 버튼 대신 '지점 안내'로 보냅니다.
   참본은 대표번호가 하나가 아니라서 머리글에 번호를 박아 두면 틀린 안내가 됩니다. */
.call {
  display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 0; height: 46px; padding: 0 18px; border-radius: 10px;
  background: transparent; border: 1.5px solid var(--line);
  color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1.25; white-space: nowrap;
}
.call:hover { background: var(--stone); border-color: var(--oak); color: var(--oak); }
.call-label { font-size: 12px; font-weight: 700; color: var(--oak); opacity: 1; }

/* ───────── 히어로 ───────── */
.hero { background: linear-gradient(0deg, var(--stone) 0 210px, var(--paper) 210px); }
/* 전화번호 버튼이 셋이라 기본 크기면 줄이 넘어간다 */
.hero-cta .btn { min-height: 50px; padding: 0 17px; font-size: 15.5px; }
.hero-kicker { color: var(--oak); }
.hero-photo figcaption { background: rgba(255, 255, 255, .94); }

/* ───────── 지점 카드 3장 ───────── */
.branches { background: var(--stone); }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.branch {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
}
.branch img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--stone-2); }
.branch strong {
  display: block; margin: 20px 22px 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em;
}
.branch-addr { margin: 6px 22px 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.branch-hours { margin: 10px 22px 0; font-size: 15px; color: var(--oak); font-weight: 700; }
.branch-btns { display: flex; gap: 8px; margin: auto 22px 22px; padding-top: 18px; }
.branch-btns .btn { flex: 1; }

/* ───────── 진료 분야 10칸 ───────── */
.area-grid { grid-template-columns: repeat(5, 1fr); gap: 32px 20px; }
.area-grid span { font-size: 14.5px; }

/* ───────── 비수술 치료 ───────── */
.method .sec-head p, .method-grid p, .flow span { color: #c9dcee; }
.method-grid .role { color: var(--gold); }
.flow li::before { color: var(--gold); }
.method-note {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 15.5px; color: #a9c4dd; max-width: 52em; line-height: 1.7;
}

/* ───────── 원장 3인 ───────── */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dir-grid img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--r); background: var(--stone);
}
.dir-grid strong { display: block; margin-top: 18px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.dir-grid span { display: block; margin-top: 2px; font-size: 15.5px; color: var(--oak); font-weight: 700; }

/* ───────── 지점별 진료시간 ───────── */
.visit { background: var(--stone); }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.visit-one {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px 24px;
  display: flex; flex-direction: column;
}
.visit-one h3 { margin: 0 0 18px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.visit-one .hours { border-top: 2px solid var(--ink); }
.visit-one .hours th, .visit-one .hours td { padding: 12px 2px; font-size: 15.5px; }
.visit-one .hours th { width: 44%; }
.visit-one .hours td em { color: var(--gold); }
.visit-one .hours tr.today th, .visit-one .hours tr.today td { background: var(--stone); }
.visit-one .hours-note { font-size: 14px; line-height: 1.6; }
.visit-one .addr { margin-top: 20px; }
.visit-one .addr div { padding: 4px 0; font-size: 15px; }
.visit-one .addr dt { flex-basis: 40px; color: var(--oak); }
.visit-one .map-btns { margin: auto 0 0; padding-top: 20px; }
.visit-one .map-btns .btn { flex: 1; }

/* ───────── 바닥글 ───────── */
.site-footer .f-logo { width: 180px; margin-bottom: 28px; }
.footer-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-branches strong { display: block; font-size: 16px; color: #fff; font-weight: 800; margin-bottom: 6px; }
.footer-branches p { font-size: 14.5px; line-height: 1.7; color: #b9cfe4; }
.footer-branches a { color: #fff; font-weight: 700; }
.f-hours { margin-top: 4px; color: #93b2cd !important; font-size: 13.5px !important; }
.site-footer .copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #8fadc8; }

/* ───────── 반응형 ───────── */
@media (max-width: 1180px) {
  .area-grid { grid-template-columns: repeat(4, 1fr); }
  .menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { background: var(--ink); }
}
@media (max-width: 900px) {
  .branch-grid, .visit-grid, .dir-grid, .footer-branches { grid-template-columns: 1fr; }
  .branch-grid, .visit-grid { gap: 18px; }
  .dir-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .dir-grid strong { font-size: 17px; margin-top: 12px; }
  .dir-grid span { font-size: 14px; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .method-note { margin-top: 32px; }
}
@media (max-width: 600px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .branch strong { font-size: 20px; }
  .visit-one { padding: 22px 18px 18px; }
  .post-cta div { width: 100%; }
  .post-cta .btn-sm { flex: 1 1 auto; }
  /* 머리글 오른쪽 버튼은 숨깁니다 — 아래 고정 바에 지점 전화가 있습니다 */
  .call { display: none; }
  /* 아래 고정 바 — 지점 3개 전화 */
  .dock .dock-call { background: var(--red); color: #fff; font-size: 15px; }
  .dock .dock-call + .dock-call { border-left: 1px solid rgba(255,255,255,.35); }
}
