/* =========================================================================
   오솔킹 (OSOLKING) 박지별 정적 상세 페이지 전용 스타일시트 (spot-detail.css)
   ========================================================================= */

.spot-detail-container {
  max-width: 920px;
  margin: 20px auto 60px;
  padding: 0 16px;
}

/* 1. 상단 브레드크럼 네비게이션 */
.spot-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.spot-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.15s;
}

.spot-breadcrumb a:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.spot-breadcrumb .separator {
  color: #cbd5e1;
}

.spot-breadcrumb .current {
  color: #334155;
  font-weight: 600;
}

/* 2. 메인 아티클 카드 */
.spot-article-wrap {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  border: 1px solid #e2e8f0;
  padding: 36px 32px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .spot-article-wrap {
    padding: 24px 18px;
    border-radius: 18px;
  }
}

/* 3. 헤더 영역 */
.spot-header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.spot-badge-no {
  background: #1e293b;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.spot-badge-region {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.spot-badge-difficulty {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.spot-badge-difficulty.diff-easy {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.spot-badge-difficulty.diff-medium {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.spot-badge-difficulty.diff-hard {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.spot-badge-theme {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  margin-left: auto;
}

.spot-page-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.spot-page-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

/* 4. 스마트 앱 바로가기 액션 바 */
.spot-action-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 32px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.spot-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  text-align: center;
}

.spot-action-btn.btn-weather {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.spot-action-btn.btn-weather:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.spot-action-btn.btn-map {
  background: #fee500;
  color: #191919;
  border: 1px solid #f5dc00;
}

.spot-action-btn.btn-map:hover {
  background: #ffd900;
  transform: translateY(-2px);
}

.spot-action-btn.btn-talk {
  background: #ffffff;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.spot-action-btn.btn-talk:hover {
  background: #fff7ed;
  border-color: #fdba74;
  transform: translateY(-2px);
}

.spot-action-btn.btn-packing {
  background: #ffffff;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.spot-action-btn.btn-packing:hover {
  background: #f0fdfa;
  border-color: #5eead4;
  transform: translateY(-2px);
}

/* 5. 핵심 스펙 정보 그리드 */
.spot-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.spot-spec-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
}

.spot-spec-card .spec-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
}

.spot-spec-card .spec-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
}

.spot-spec-card .spec-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 4px;
}

/* 들머리 / 박지 위치 박스 */
.spot-points-box {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.point-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.point-tag {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.point-tag.start {
  background: #2563eb;
  color: #ffffff;
}

.point-tag.dest {
  background: #059669;
  color: #ffffff;
}

.point-content {
  color: #1e293b;
  line-height: 1.5;
}

.point-content strong {
  color: #0f172a;
}

/* 6. 코스 스텝 타임라인 */
.spot-course-timeline {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 36px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-step-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
}

.timeline-step-arrow {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: bold;
}

/* 7. 아티클 본문 섹션 */
.spot-article-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 28px;
  margin-top: 28px;
}

.spot-section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spot-section-p {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin: 0 0 16px 0;
  word-break: keep-all;
}

.spot-tip-alert-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  color: #92400e;
  font-size: 0.95rem;
  line-height: 1.7;
}

.spot-tip-alert-box strong {
  color: #78350f;
}

.spot-lnt-box {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  color: #065f46;
  font-size: 0.95rem;
  line-height: 1.7;
}

.spot-lnt-box strong {
  color: #047857;
}

/* 8. 동일 권역 추천 명소 카드 */
.related-spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.related-spot-item {
  display: block;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-spot-item:hover {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.related-spot-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.related-spot-meta {
  font-size: 0.8rem;
  color: #64748b;
}

/* 9. 하단 탐색 버튼 */
.spot-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 12px;
}

.spot-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  background: #f1f5f9;
  border-radius: 10px;
  transition: all 0.15s;
}

.spot-back-link:hover {
  background: #e2e8f0;
  color: #0f172a;
}
