/* tip담 등산로 - 디자인 토큰 (목업과 동일한 팔레트) */
.tipdam-relief-wrap,
.tipdam-trail-detail {
  --td-paper: #F1EEE4;
  --td-paper-card: #FBFAF4;
  --td-ink: #2B2A24;
  --td-forest: #2C3D2A;
  --td-forest-deep: #1B2818;
  --td-rust: #B0512A;
  --td-line: #D8D2BE;
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  color: var(--td-ink);
}

/* ===== 홈 지도 ===== */
.tipdam-relief-wrap {
  position: relative;
  max-width: 720px;
}
.tipdam-relief-wrap img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 26px 22px rgba(27, 40, 24, 0.22));
}
.tipdam-trail-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.tipdam-trail-pin:hover {
  transform: translate(-50%, -108%) scale(1.08);
  z-index: 5;
}
.tipdam-trail-pin .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--td-rust);
  border: 2px solid #fbfaf4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(20, 26, 16, 0.4);
}
.tipdam-trail-pin .dot svg { width: 11px; height: 11px; }
.tipdam-trail-pin .stem { width: 2px; height: 9px; background: var(--td-rust); opacity: 0.75; }
.tipdam-trail-pin .tip {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translate(-50%, 4px);
  background: var(--td-paper-card);
  border: 1px solid var(--td-line);
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--td-forest-deep);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.tipdam-trail-pin:hover .tip { opacity: 1; transform: translate(-50%, 0); }

/* ===== 상세페이지 ===== */
.tipdam-trail-detail .info-panel {
  display: flex;
  border: 1px solid var(--td-line);
  border-radius: 3px;
  overflow: hidden;
  margin: 20px 0 32px;
}
.tipdam-trail-detail .info-panel div {
  flex: 1;
  padding: 14px 18px;
  border-left: 1px solid var(--td-line);
}
.tipdam-trail-detail .info-panel div:first-child { border-left: none; }
.tipdam-trail-detail .info-panel .num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 19px;
}
.tipdam-trail-detail .info-panel .lab { font-size: 11.5px; color: #7a785f; margin-top: 3px; }

.tipdam-trail-detail .course-item {
  border: 1px solid var(--td-line);
  border-radius: 3px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: var(--td-paper-card);
}
.tipdam-trail-detail .course-item .cname { font-weight: 700; margin-bottom: 6px; }
.tipdam-trail-detail .course-item .cmeta {
  display: flex;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #5c5a46;
}

.tipdam-trail-detail .flist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.tipdam-trail-detail .fitem {
  border: 1px solid var(--td-line);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 13px;
}
.tipdam-trail-detail .fitem .ftitle { font-weight: 700; margin-bottom: 4px; }
.tipdam-trail-detail .fitem .fdist { color: var(--td-rust); font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* ===== 홈 히어로 (헤드라인 + 기능소개 + 지도) ===== */
.tipdam-hero-wrap {
  --th-paper: #F1EEE4; --th-paper-card: #FBFAF4; --th-ink: #2B2A24;
  --th-forest: #2C3D2A; --th-forest-deep: #1B2818; --th-rust: #B0512A; --th-line: #D8D2BE;
  font-family: 'Pretendard', -apple-system, sans-serif;
  color: var(--th-ink);
  display: grid;
  grid-template-columns: 0.92fr 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 12px 0 32px;
}
@media (max-width: 780px) {
  .tipdam-hero-wrap { grid-template-columns: 1fr; }
}
.tipdam-hero-wrap h1 {
  font-size: 38px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.28; margin: 0 0 12px;
}
.tipdam-hero-stat { font-size: 14px; color: #6E6C55; }
.tipdam-hero-stat b { color: var(--th-forest); font-family: 'JetBrains Mono', monospace; }

.tipdam-feature-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.tipdam-frow { display: flex; align-items: center; gap: 14px; background: var(--th-paper-card); border: 1px solid var(--th-line); border-radius: 3px; padding: 12px 16px; }
.tipdam-frow .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--th-forest-deep); color: var(--th-paper); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.tipdam-frow .ft { font-weight: 700; font-size: 14.5px; }
.tipdam-frow .fd { font-size: 12.5px; color: #6E6C55; margin-top: 1px; }

.tipdam-badge-line { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #54523F; border: 1px solid var(--th-line); border-radius: 20px; padding: 6px 14px 6px 10px; background: var(--th-paper-card); }
.tipdam-badge-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--th-rust); }

.tipdam-searchbox { margin-top: 22px; max-width: 460px; display: flex; border: 2px solid var(--th-ink); border-radius: 2px; overflow: hidden; }
.tipdam-searchbox input { flex: 1; border: none; padding: 14px 16px; font-size: 15px; background: transparent; font-family: 'Pretendard', sans-serif; }
.tipdam-searchbox button { border: none; background: var(--th-forest); color: var(--th-paper); padding: 0 22px; font-weight: 700; font-size: 14px; cursor: pointer; }

/* ===== 자연휴양림 목록 ===== */
.tipdam-forest-wrap { font-family: 'Pretendard', -apple-system, sans-serif; color: #2B2A24; }
.tipdam-forest-note {
  display: inline-block;
  font-size: 12px;
  color: #B0512A;
  border: 1px dashed #B0512A;
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.tipdam-forest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.tipdam-forest-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #D8D2BE;
  background: #FBFAF4;
  border-radius: 3px;
  padding: 16px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tipdam-forest-card:hover { transform: translateY(-2px); box-shadow: 0 10px 18px rgba(27,40,24,0.12); }
.tipdam-forest-card .tf-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.tipdam-forest-card .tf-region { font-size: 12.5px; color: #6E6C55; margin-bottom: 10px; }
.tipdam-forest-card .tf-meta {
  display: flex; gap: 12px; font-size: 12px; color: #B0512A;
  font-family: 'JetBrains Mono', monospace;
}
