/* ==========================================================
   TREK INDEX — search, filters, thumbnail cards, load more
   Append to trekking-in-bhutan.css (after .tk-hl-card rules).
   Reuses existing tokens: --navy, --gold, --font-heading,
   --font-body, --section-gutter.
   ========================================================== */

/* ── FEATURED STRIP ───────────────────────────────────────── */
.tk-featured__label {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* ── SEARCH ────────────────────────────────────────────────── */
.tk-search {
  position: relative;
  margin: 0 0 28px;
}

.tk-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 194, 26, 0.2);
  border-radius: 10px;
  padding: 14px 18px 14px 44px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.tk-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.tk-search input:focus {
  outline: none;
  border-color: rgba(255, 194, 26, 0.5);
}

.tk-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.4);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}

/* ── FILTER CHIPS ──────────────────────────────────────────── */
.tk-chip-row {
  margin-bottom: 18px;
}

.tk-chip-row__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 10px;
}

.tk-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tk-chip {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 194, 26, 0.25);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tk-chip:hover {
  border-color: rgba(255, 194, 26, 0.5);
  color: #fff;
}

.tk-chip--active {
  background: rgba(255, 194, 26, 0.14);
  border-color: var(--gold);
  color: var(--gold);
}

/* ── RESULT COUNT ──────────────────────────────────────────── */
.tk-result-count {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 4px 0 24px;
}

/* ── COMPACT THUMBNAIL CARD ───────────────────────────────── */
.tk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tk-card {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 194, 26, 0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.tk-card:hover {
  background: rgba(255, 194, 26, 0.06);
  border-color: rgba(255, 194, 26, 0.35);
  transform: translateY(-2px);
}

.tk-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.tk-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tk-card__body {
  padding: 18px 20px 22px;
}

.tk-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.tk-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tk-card__pill {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: rgba(255, 194, 26, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
}

.tk-card p.tk-card__teaser {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ── LOAD MORE / EMPTY STATE ──────────────────────────────── */
.tk-load-more {
  display: block;
  margin: 36px auto 0;
  background: transparent;
  border: 1px solid rgba(255, 194, 26, 0.35);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tk-load-more:hover {
  background: rgba(255, 194, 26, 0.12);
}

.tk-empty {
  display: none;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 40px 0;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tk-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .tk-grid { grid-template-columns: 1fr; }
  .tk-chip-group { gap: 6px; }
}
