/* =========================================================
   미얀마 양곤 불교 성지순례 — Interactive Journey Map
   실제 한국 여행사 일정 페이지 스타일: 흰 배경 · Pretendard ·
   절제된 포인트색 · 높은 가독성
   ========================================================= */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f7f6f3;
  --panel:     #ffffff;
  --line:      #e7e4df;
  --line-2:    #d9d5ce;

  --text:      #23211e;
  --text-2:    #4c4842;
  --muted:     #8b877f;

  --point:     #9a2a2a;   /* 절제된 포인트(사찰 붉은색) */
  --point-2:   #7c2020;
  --point-bg:  #f6eceb;
  --gold:      #9c7b2e;   /* 아주 소량 */

  /* 날짜 색 (지도·작은 배지에만) */
  --day1: #b23b34;
  --day2: #2f7d57;
  --day3: #2f6ca0;
  --day4: #7a4fa3;
  --day5: #b07d1f;

  /* 카테고리 색 (지도 마커) */
  --cat-relic:      #c79a2b;
  --cat-history:    #b23b34;
  --cat-meditation: #2f7d57;
  --cat-sangha:     #2f6ca0;
  --cat-buddha:     #7a4fa3;
  --cat-optional:   #c07a2a;

  --font: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
          "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --shadow: 0 1px 3px rgba(30, 25, 20, .06);
  --shadow-2: 0 6px 20px -10px rgba(30, 25, 20, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; }   /* 가로 넘침만 차단 (sticky/스크롤 영향 없음) */
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums tabular-nums;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; word-break: keep-all; letter-spacing: -0.02em; }
a { color: var(--point); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 1200; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 24px; height: 24px; border-radius: 50%; background: var(--point); flex: none; }
.brand small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.brand b { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.topnav { display: flex; align-items: center; gap: 20px; }
.topnav a { color: var(--text-2); font-size: 14px; font-weight: 500; }
.topnav a:hover { color: var(--point); }
.tab-btn { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--text-2); padding: 18px 2px; position: relative; }
.tab-btn:hover { color: var(--point); }
.tab-btn.active { color: var(--point); }
.tab-btn.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--point); }
#langToggle { cursor: pointer; }
@media (max-width: 560px) { .topnav .tab-btn { display: inline-flex; font-size: 13px; padding: 14px 2px; } }

/* ---------- buttons / chips base ---------- */
.chip {
  appearance: none; border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 7px 13px; border-radius: 7px; transition: all .15s ease; display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--point); color: var(--point); }
.chip.active { background: var(--point); color: #fff; border-color: var(--point); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--gold)); flex: none; }
.chip-label { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .04em; margin-right: 3px; }

/* ---------- hero ---------- */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--point); margin-bottom: 12px; text-transform: uppercase; }
.hero h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; }
.hero h1 .accent { color: var(--point); }
.hero .sub-en { font-size: 15px; color: var(--muted); margin-top: 8px; font-weight: 500; }
.hero p.lead { font-size: 15.5px; color: var(--text-2); margin: 16px 0 22px; max-width: 48ch; }

/* option tabs */
.opt-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; margin-top: 4px; }
.opt-switch button:first-child { border-radius: 7px 0 0 7px; }
.opt-switch button:last-child { border-radius: 0 7px 7px 0; }
.opt-switch button {
  appearance: none; border: 0; cursor: pointer; background: #fff; font-family: inherit;
  font-weight: 700; font-size: 14px; color: var(--text-2); padding: 10px 20px;
  display: flex; flex-direction: column; align-items: center; line-height: 1.3; position: relative; transition: all .15s;
}
.opt-switch button + button { border-left: 1px solid var(--line-2); }
.opt-switch button small { font-weight: 500; font-size: 11px; color: var(--muted); margin-top: 1px; }
.opt-switch button.active { background: var(--point); color: #fff; }
.opt-switch button.active small { color: rgba(255,255,255,.8); }
.opt-switch button .rec { position: absolute; top: -9px; right: 8px; background: var(--gold); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; letter-spacing: .02em; white-space: nowrap; z-index: 2; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 26px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; display: flex; align-items: center; gap: 10px; }
.fact > div { min-width: 0; }
.fact .ico { font-size: 17px; flex: none; }
.fact b { font-size: 13.5px; font-weight: 700; }
.fact span { display: block; font-size: 11.5px; color: var(--muted); }

/* hero image */
.hero__art .stack { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art .cap { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); padding: 26px 16px 12px; }
.hero__art .cap b { font-size: 16px; font-weight: 700; }
.hero__art .cap small { display: block; font-size: 12.5px; opacity: .9; }
.badge-far { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--point); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px; }

/* ---------- sections ---------- */
.section { padding: 44px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { margin-bottom: 22px; }
.section__head .eyebrow { margin-bottom: 8px; }
.section__head h2 { font-size: clamp(21px, 2.4vw, 27px); padding-left: 12px; border-left: 4px solid var(--point); }
.section__head p { color: var(--text-2); font-size: 14.5px; margin-top: 10px; max-width: 760px; }

/* ---------- journey (순례의 흐름) — 담백한 4단계 ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 16px; }
.jcard .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--point-bg); color: var(--point); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.jcard h3 { font-size: 15.5px; }
.jcard .en { font-size: 12px; color: var(--muted); margin-top: 2px; }
.jcard p { font-size: 13px; color: var(--text-2); margin: 9px 0 0; }
.jcard .spots { margin-top: 10px; font-size: 12px; color: var(--point); font-weight: 600; }
.jcard.dim { opacity: .5; }
.jcard .b-only { display: inline-block; margin-top: 9px; font-size: 10.5px; font-weight: 700; color: var(--gold); background: #f6f1e4; padding: 2px 7px; border-radius: 4px; }

/* ---------- at-a-glance overview ---------- */
.ov-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.ov-head .t { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 9px; }
.ov-head .t .pill { font-size: 12px; font-weight: 700; color: #fff; background: var(--point); padding: 3px 10px; border-radius: 5px; }
.ov-head .hint { font-size: 12.5px; color: var(--muted); }
.overview { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.ov-row {
  display: grid; grid-template-columns: 56px 1fr 96px; gap: 15px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 15px;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.ov-thumb { width: 96px; height: 68px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); align-self: center; }
.ov-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ov-row:hover { border-color: var(--point); background: #fffdfc; }
.ov-row.is-active { border-color: var(--dc, var(--point)); background: #fffdfc; box-shadow: inset 3px 0 0 var(--dc, var(--point)); }
.ov-num { text-align: center; }
.ov-num .d { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.ov-num .n { display: grid; place-items: center; width: 38px; height: 38px; margin: 3px auto 0; border-radius: 8px; color: #fff; font-weight: 700; font-size: 18px; background: var(--dc, var(--point)); }
.ov-body .title { font-weight: 700; font-size: 15.5px; }
.ov-body .regions { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-left: 8px; vertical-align: middle; }
.ov-body .rg { font-size: 10.5px; font-weight: 600; color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 7px; border-radius: 4px; }
.ov-body .stops { font-size: 13px; color: var(--text-2); margin-top: 4px; line-height: 1.6; }
.ov-body .stops .sep { color: var(--line-2); margin: 0 5px; }
.ov-body .stops .opt { color: var(--muted); }
.ov-flags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 5px; }
.ov-flags .f { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 4px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text-2); }
@media (max-width: 560px) {
  .ov-row { grid-template-columns: 50px 1fr; gap: 12px; padding: 12px 13px; }
  .ov-num .n { width: 34px; height: 34px; font-size: 16px; }
  .ov-body .regions { display: flex; margin: 4px 0 0; }
  .ov-thumb { display: none; }
}

/* ---------- explorer layout ---------- */
.explorer { display: grid; grid-template-columns: 43% 57%; gap: 26px; align-items: start; }
.explorer__list { min-width: 0; }
.explorer__map { position: sticky; top: 58px; height: calc(100vh - 58px); }

.filters { position: sticky; top: 58px; z-index: 40; background: var(--bg); padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.section--alt .filters { background: var(--bg-soft); }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-row + .filter-row { margin-top: 7px; }
.toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); font-weight: 600; cursor: pointer; }
.toggle input { display: none; }
.toggle .sw { width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; transition: .2s; flex: none; }
.toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); transition: .2s; }
.toggle input:checked + .sw { background: var(--point); }
.toggle input:checked + .sw::after { left: 18px; }

/* 모바일: 필터를 가로 스크롤 한 줄로 (여러 줄 흩어짐 방지) */
@media (max-width: 700px) {
  .filters { padding: 10px 0 8px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; margin: 0 -15px; padding: 0 15px 3px; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-row > * { flex: 0 0 auto; }
  .filter-row .chip { font-size: 12.5px; padding: 6px 11px; }
  .filter-row .chip-label { position: sticky; left: 0; background: var(--bg); padding-right: 4px; z-index: 1; }
  .toggle { margin-left: 4px; font-size: 12px; }
}

/* day block */
.day-block { margin-top: 20px; scroll-margin-top: 120px; }
.day-block:first-child { margin-top: 6px; }
.day-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.day-badge { color: #fff; padding: 4px 10px; border-radius: 5px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.day-head h3 { font-size: 18px; }
.day-concept { font-size: 13.5px; color: var(--text-2); margin: 2px 0 14px; }

/* timeline */
.timeline { position: relative; margin-left: 5px; padding-left: 22px; border-left: 1px solid var(--line-2); }
.stop { position: relative; margin-bottom: 9px; }
.stop::before { content: ""; position: absolute; left: -27px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--day, var(--point)); }
.stop.break::before { width: 7px; height: 7px; left: -25px; top: 10px; border-color: var(--muted); }
.stop-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.stop-card:hover { border-color: var(--point); box-shadow: var(--shadow-2); }
.stop-card.is-active { border-color: var(--point); box-shadow: inset 3px 0 0 var(--point); }
.stop-row { display: flex; gap: 12px; align-items: flex-start; }
.stop-main { flex: 1; min-width: 0; }
.stop-thumb { width: 78px; height: 78px; flex: none; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.stop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stop-top { display: flex; align-items: center; gap: 9px; }
.seq { width: 22px; height: 22px; border-radius: 5px; background: var(--day, var(--point)); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: none; }
.stop-time { font-size: 13.5px; font-weight: 700; color: var(--text); }
.stop-dur { margin-left: auto; font-size: 11.5px; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 8px; border-radius: 5px; font-weight: 600; }
.stop-name { margin: 7px 0 2px; }
.stop-name b { font-size: 15px; font-weight: 700; }
.stop-name .en { font-size: 12.5px; color: var(--muted); margin-left: 6px; }
.stop-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.tag { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.tag.cat { color: #fff; }
.tag.pri { background: var(--bg-soft); color: var(--point); border: 1px solid var(--line); }
.tag.warn { background: #fbf1e8; color: var(--cat-optional); border: 1px solid #f0dcc6; }
.tag.call { background: #eef3f8; color: var(--cat-sangha); border: 1px solid #d5e2ef; }

.leg { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin: 7px 0 2px; padding-left: 3px; }
.leg .mins { font-weight: 600; color: var(--text-2); }
.break-card { font-size: 12.5px; color: var(--text-2); font-weight: 600; padding: 7px 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 7px; display: inline-flex; align-items: center; gap: 8px; }
.break-card .t { color: var(--muted); }
.day-note { margin-top: 6px; font-size: 12px; color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 7px; padding: 9px 12px; }

/* expandable photo + description */
.stop-card .more { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 11.5px; font-weight: 600; color: var(--point); }
.stop-card .more .cv { transition: transform .25s; font-size: 10px; }
.stop-card.open .more .cv { transform: rotate(180deg); }
.stop-detail { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.stop-card.open .stop-detail { max-height: 900px; }
.stop-detail-inner { margin-top: 11px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
.stop-detail img, .stop-detail .pph { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; flex: none; }
.stop-detail .pph { display: grid; place-items: center; background: var(--bg-soft); color: var(--line-2); font-size: 30px; }
.stop-detail .d-desc { font-size: 12.5px; color: var(--text-2); margin: 0 0 8px; line-height: 1.7; }
.stop-detail .d-mean { margin: 0 0 8px; padding-left: 16px; font-size: 12px; color: var(--text-2); }
.stop-detail .d-mean li { margin: 2px 0; }
.stop-detail .d-facts { display: flex; flex-wrap: wrap; gap: 5px; }
.stop-detail .d-fact { font-size: 10.5px; font-weight: 500; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-2); padding: 3px 8px; border-radius: 5px; }
.stop-detail .d-fact.call { background: #eef3f8; color: var(--cat-sangha); border-color: #d5e2ef; }
.stop-detail .d-fact.warnc { background: #fbf1e8; color: var(--cat-optional); border-color: #f0dcc6; }
.stop-detail .d-note { margin-top: 8px; font-size: 11.5px; color: var(--point); }
.stop-detail .d-credit { margin-top: 9px; font-size: 9.5px; color: var(--muted); }
.stop-detail .d-more-link { display: inline-block; margin-top: 11px; font-size: 11.5px; font-weight: 700; color: var(--point); }
.pop .pop-more { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--point); }
@media (max-width: 560px) {
  .stop-detail-inner { grid-template-columns: 1fr; }
  .stop-detail img, .stop-detail .pph { width: 100%; height: 175px; }
}

/* ---------- map ---------- */
#map { width: 100%; height: 100%; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; z-index: 1; }
.map-shell { position: relative; height: 100%; }
.map-legend { position: absolute; left: 12px; bottom: 12px; z-index: 500; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 11.5px; max-width: 200px; box-shadow: var(--shadow); }
.map-legend h4 { font-size: 10.5px; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.map-legend .row { display: flex; align-items: center; gap: 7px; margin: 3px 0; color: var(--text-2); }
.map-legend .row .ln { width: 18px; height: 0; border-top-width: 3px; border-top-style: solid; }
.map-hint { position: absolute; right: 12px; top: 12px; z-index: 500; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; font-size: 11.5px; color: var(--muted); box-shadow: var(--shadow); }

/* leaflet marker pin */
.pin { position: relative; width: 28px; height: 28px; }
.pin .body { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pc, var(--point)); border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,.3); display: grid; place-items: center; }
.pin .body span { transform: rotate(45deg); color: #fff; font-weight: 700; font-size: 12px; font-variant-numeric: lining-nums; }
.pin.cand .body { border-style: dashed; opacity: .9; }
.pin.excluded .body { background: #9a9a9a; }

/* leaflet popup */
.leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: var(--shadow-2); padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 260px !important; }
.pop img { width: 100%; height: 132px; object-fit: cover; background: var(--bg-soft); }
.pop .pph { display: grid; place-items: center; height: 132px; background: var(--bg-soft); color: var(--line-2); font-size: 30px; }
.pop .body { padding: 12px 14px 14px; }
.pop .body h3 { font-size: 15.5px; }
.pop .body .en { font-size: 12px; color: var(--muted); }
.pop .meta { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.pop .desc { font-size: 12.5px; color: var(--text-2); margin: 6px 0 0; line-height: 1.65; }
.pop .kv { font-size: 12px; color: var(--text-2); margin-top: 7px; display: flex; gap: 6px; }
.pop .kv b { color: var(--text); }
.pop .credit { font-size: 9.5px; color: var(--muted); padding: 4px 14px 9px; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; position: relative; }
.cmp.rec { border-color: var(--point); box-shadow: inset 0 3px 0 var(--point); }
.cmp .rec-badge { position: absolute; top: -11px; left: 22px; background: var(--point); color: #fff; font-weight: 700; font-size: 11px; padding: 4px 11px; border-radius: 5px; }
.cmp h3 { font-size: 20px; }
.cmp .dur { color: var(--point); font-size: 14px; font-weight: 600; margin-top: 3px; }
.cmp .region { font-size: 13px; color: var(--text-2); margin: 12px 0; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cmp ul { list-style: none; padding: 0; margin: 12px 0 0; }
.cmp li { font-size: 13.5px; padding: 5px 0 5px 20px; position: relative; color: var(--text-2); }
.cmp li::before { content: "·"; position: absolute; left: 4px; color: var(--point); font-weight: 700; font-size: 18px; line-height: 1; top: 6px; }
.cmp .tagline { margin-top: 15px; font-weight: 700; color: var(--point); font-size: 15px; }

/* ---------- notice ---------- */
.notice { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.notice h4 { font-size: 14px; color: var(--point); margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.notice ul { margin: 0; padding-left: 17px; }
.notice li { font-size: 12.5px; color: var(--text-2); margin: 5px 0; line-height: 1.6; }

/* ---------- place detail page (places.html) ---------- */
.pp-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.pp-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }
.pp-back:hover { color: var(--point); }
.pp-hero h1 { font-size: clamp(23px, 2.8vw, 32px); }
.pp-hero .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.pp-hero p { color: var(--text-2); font-size: 14.5px; margin-top: 12px; max-width: 760px; }
.pp-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pp-nav a { font-size: 12.5px; font-weight: 600; color: var(--text-2); background: #fff; border: 1px solid var(--line); padding: 5px 11px; border-radius: 6px; }
.pp-nav a:hover { border-color: var(--point); color: var(--point); }

.pp-group { margin-top: 30px; }
.pp-group > h2 { font-size: 19px; padding-left: 11px; border-left: 4px solid var(--point); margin-bottom: 6px; }
.place { border-top: 1px solid var(--line); padding: 26px 0; scroll-margin-top: 72px; }
.place__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.place__head h3 { font-size: 22px; }
.place__head .en { color: var(--muted); font-size: 14px; font-weight: 500; }
.place__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 18px; }
.gallery.n1 { grid-template-columns: minmax(0, 520px); }
.gallery.n2 { grid-template-columns: repeat(2, 1fr); }
.gallery a { display: block; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.gallery a:hover img { transform: scale(1.05); }
.gallery .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line-2); font-size: 30px; }

.place__body { display: grid; grid-template-columns: 1.25fr .9fr; gap: 22px; align-items: start; }
.place__desc p { font-size: 14.5px; color: var(--text); line-height: 1.85; margin: 0; }
.place__mean { margin: 14px 0 0; padding-left: 18px; }
.place__mean li { font-size: 13.5px; color: var(--text-2); margin: 5px 0; }
.place__info { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 6px 16px; font-size: 13px; }
.place__info .row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.place__info .row:last-child { border-bottom: 0; }
.place__info .k { color: var(--muted); min-width: 66px; font-weight: 600; flex: none; }
.place__info .v { color: var(--text); }
.place__info .v.warn { color: var(--point); }
.place__credit { margin-top: 12px; font-size: 10px; color: var(--muted); }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--point); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 3000; background: rgba(20,16,12,.9); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
.lb .x { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }
.lb .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #eee; font-size: 12.5px; padding: 0 20px; }

@media (max-width: 820px) {
  .place__body { grid-template-columns: 1fr; gap: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- footer ---------- */
.footer { padding: 26px 0; border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.footer b { color: var(--text-2); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { order: -1; max-width: 460px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .explorer { grid-template-columns: 1fr; gap: 10px; }
  .explorer__map { position: relative; top: 0; height: 52vh; order: -1; margin-bottom: 6px; }
  .filters { position: relative; top: 0; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 15px; }
  .facts { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
  .topbar__inner { height: 54px; gap: 7px; }
  .brand small { display: none; }
  .brand b { font-size: 13px; line-height: 1.15; }
  .brand .mark { width: 20px; height: 20px; }
  .topnav a { display: none; }
  .topnav { gap: 11px; }
  .topnav .tab-btn { display: inline-flex; white-space: nowrap; font-size: 12.5px; padding: 17px 0; }
  #langToggle { display: inline-flex; padding: 5px 9px; font-size: 11.5px; }
}
@media (max-width: 360px) {
  .brand span { display: none; } /* 매우 좁은 화면: 브랜드 아이콘만, 탭 공간 확보 */
}
