/* THE SOLO TRAIL — trails index/listing page. Loads after tokens.css. */

.trails-hero { background: var(--forest); padding: 52px 24px 48px; text-align: center; }
.trails-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 5vw, 46px); color: #fff; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.trails-hero p { font-size: 15px; color: rgba(255,255,255,.6); }

.filters-bar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 56px; z-index: 90; }
.filters-inner { max-width: 1100px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.chip { padding: 5px 14px; border-radius: 20px; border: 1px solid var(--border); background: transparent; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; color: var(--text-mid); cursor: pointer; transition: all .15s; white-space: nowrap; }
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.filter-sep { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }
.trail-count { margin-left: auto; font-size: 12px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }

.trails-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px 24px; }
.trails-section-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--forest); margin: 40px 0 6px; scroll-margin-top: 130px; }
.trails-section-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.trails-section-title:first-child { margin-top: 0; }
.trails-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trails-grid > * { min-width: 0; }

.trail-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.trail-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.trail-card > a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }

.card-img { position: relative; height: 180px; overflow: hidden; flex-shrink: 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.trail-card:hover .card-img img { transform: scale(1.04); }
.card-badges { position: absolute; bottom: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-end; }
.badge-country { font-size: 11px; font-weight: 600; background: rgba(0,0,0,.55); color: #fff; padding: 3px 9px; border-radius: 10px; backdrop-filter: blur(4px); }
.badge-status { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 10px; }
.badge-full { background: #E8F5E9; color: #2E7D32; }
.badge-soon { background: rgba(255,255,255,.85); color: var(--text-muted); }

.card-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 5px; line-height: 1.3; }
.card-desc { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.card-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.cs { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.cs-alt { background: var(--glacier-light); color: #2A6A82; }
.cs-days { background: var(--forest-pale); color: var(--forest); }
.cs-diff-easy { background: #E8F5E9; color: #2E7D32; }
.cs-diff-moderate { background: var(--amber-light); color: #8B5A00; }
.cs-diff-hard { background: var(--danger-light); color: var(--danger); }

.card-cta { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.card-cta-link { font-size: 13px; font-weight: 600; color: var(--forest); }
.trail-card-soon .card-cta-link { color: var(--text-muted); }
.cta-arrow { font-size: 14px; }

/* COMING-SOON CARDS — desaturated, no hover lift, amber badge */
.trail-card-soon .card-img img { opacity: .62; filter: grayscale(.35); }
.trail-card-soon { opacity: .95; }
.trail-card-soon:hover { transform: none; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.trail-card-soon:hover .card-img img { transform: none; }
.trail-card-soon .badge-status { background: var(--amber-light); color: #8B5A00; }
.trail-card-soon .badge-status::before { content: "⏳ "; }

/* STATE STUB TILES */
.state-tile { background: var(--forest-pale); border: 1px dashed #B9CCC0; border-radius: 12px; padding: 22px 20px; display: flex; flex-direction: column; justify-content: center; min-height: 180px; }
.state-tile-badge { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); background: rgba(255,255,255,.6); padding: 3px 9px; border-radius: 10px; align-self: flex-start; margin-bottom: 10px; }
.state-tile h3 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--forest); margin-bottom: 6px; }
.state-tile p { font-size: 13px; color: var(--forest-light); line-height: 1.55; }

.empty-state { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state p { font-size: 15px; margin-top: 8px; }

.pro-strip { background: var(--forest); padding: 40px 24px; text-align: center; margin-top: 24px; }
.pro-strip h2 { font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; font-weight: 600; margin-bottom: 8px; }
.pro-strip p { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.btn-pro-strip { display: inline-block; background: var(--glacier); color: #fff; padding: 11px 28px; border-radius: 7px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.btn-pro-strip:hover { background: #3A7F98; }

@media (max-width: 820px) { .trails-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .trails-hero { padding: 36px 16px 32px; }
  .filters-inner { padding: 12px 16px; gap: 12px; }
  .trail-count { display: none; }
  .trails-wrap { padding: 24px 16px 16px; }
  .trails-grid { grid-template-columns: 1fr; }
}
