/* =========================================================
   HIMAL TRAILS NEPAL — inner.css
   Shared by all inner pages: page head, chips,
   difficulty meter, empty state, text button.
   ========================================================= */

/* ---------- Page head ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(2.5rem, 6vw, 4.5rem);
  background: var(--ink); color: var(--text-light);
}
.page-head__bg { position: absolute; inset: 0; z-index: -2; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom,
    rgba(14, 26, 34, 0.78) 0%, rgba(14, 26, 34, 0.62) 55%, rgba(14, 26, 34, 0.9) 100%);
}
.page-head .breadcrumbs {
  margin-bottom: var(--sp-5); font-size: var(--fs-small); color: var(--text-light-muted);
}
.page-head .breadcrumbs [aria-current] { color: var(--text-light); }
.page-head h1 {
  max-width: 16ch; margin-top: var(--sp-3);
  font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.5rem);
  font-weight: 400; line-height: 1.04; letter-spacing: -0.02em;
}
.page-head__lead {
  max-width: 52ch; margin-top: var(--sp-4);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  color: var(--text-light-muted);
}

/* ---------- Chips ---------- */
.chips {
  display: flex; gap: 0.5rem; padding-block: 2px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--snow); }

/* ---------- Difficulty meter ---------- */
.diff { display: inline-flex; align-items: center; gap: 0.55rem; }
.diff__bars { display: inline-flex; gap: 3px; }
.diff__bars i { display: block; width: 14px; height: 4px; background: var(--line); }
.diff__bars i.on { background: var(--ochre); }

/* ---------- Text button + empty state ---------- */
.text-btn {
  font-size: 0.875rem; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.text-btn:hover { color: var(--ochre-dark); }

.empty { max-width: 520px; margin: var(--sp-7) auto; text-align: center; }
.empty h2 { font-size: var(--fs-h3); }
.empty p { margin-top: var(--sp-3); color: var(--text-muted); }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-5); }