:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #17231e;
  --muted: #52615b;
  --brand: #17483b;
  --brand-dark: #0f3429;
  --accent: #c2552f;
  --border: rgba(23, 72, 59, 0.16);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }
.uf { position: absolute; left: -9999px; }
.sy { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }

.gs { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }

/* 헤더 */
.pl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.xx { display: inline-flex; align-items: center; gap: 10px; }
.xx b { display: block; font-size: 18px; color: var(--brand); }
.xx span span { font-size: 11px; letter-spacing: 1px; color: var(--muted); }

/* 지역 검색 바 */
.pk { display: flex; gap: 8px; align-items: center; }
.wa { display: flex; gap: 6px; }
.wa select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
}
.hs {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.hs:disabled { opacity: 0.45; cursor: not-allowed; }

/* 상단 내비게이션 */
.uq, .wh, .rr {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  padding: 8px 0;
}
.uq a, .wh a {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
}
.rr {
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  justify-content: space-around;
}
.rr a { font-size: 14px; font-weight: 600; }

/* 섹션 카드 */
.ne { margin-bottom: 20px; }
.qv {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
}
.ka .cv { width: 100%; height: auto; max-height: 240px; border-radius: 12px; display: block; margin-bottom: 14px; }
.fn {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(23, 72, 59, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
h1 { font-size: 24px; line-height: 1.35; margin: 10px 0; }
h1 em, .hd h2 em { font-style: normal; color: var(--accent); }
.vr {
  margin-top: 14px;
  padding: 10px 14px;
  background: #f2f6f4;
  border-radius: 10px;
  font-size: 14px;
}

/* 섹션 헤더 */
.hd { margin-bottom: 14px; }
.hd h2 { font-size: 20px; margin: 0 0 4px; display: inline-block; }
.hd .ej { float: right; font-size: 13px; color: var(--brand); font-weight: 600; }
.hd p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* 구/역 칩 그리드 */
.cr {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 8px;
}
.cr a {
  display: block;
  text-align: center;
  padding: 10px 8px;
  background: #f9faf9;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.cr a:hover { background: var(--brand); color: #fff; }
.xp { margin-top: 12px; text-align: right; font-size: 13px; font-weight: 700; color: var(--brand); }

/* 전화 안내 배너 */
.be {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  border-radius: 14px;
  padding: 20px;
}
.be h3 { margin: 0 0 6px; font-size: 19px; }
.be p { margin: 0 0 14px; font-size: 14px; opacity: 0.92; }
.ch { display: flex; gap: 10px; flex-wrap: wrap; }
.ch a {
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.ch a.tg { background: var(--accent); }

/* 코스 카드 */
.uu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.uu a {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.uu img { width: 100%; height: 180px; object-fit: cover; background: #e8ecea; }
.uu b { padding: 10px 10px 2px; font-size: 15px; }
.uu small { padding: 0 10px 12px; font-size: 12px; color: var(--muted); }

/* 안내 리스트 */
.nq ul { list-style: none; padding: 0; margin: 0; }
.nq li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.nq li:last-child { border-bottom: none; }
.uv {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 8px;
  border-radius: 6px;
  background: #edf3f0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 600px) {
  h1 { font-size: 20px; }
  .cr { grid-template-columns: repeat(3, 1fr); }
}