/* Trail discovery feature page (/about/features/trail_discovery/), loaded after about-mapping-tools.css and scoped under body.trail-discovery-page */
.trail-discovery-page .mt-hero { background: linear-gradient(90deg, rgba(18, 18, 18, .88) 0%, rgba(18, 18, 18, .55) 50%, rgba(18, 18, 18, .15) 100%), #121212 url(../../i/trailforks/about/features/discovery/hero_heatmap_bg.webp) right center / cover no-repeat; }

/* Screenshot cards: image, title, description */
.trail-discovery-page .ftr-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 32px; }
.trail-discovery-page .ftr-shots--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trail-discovery-page .ftr-shots--3 .tf-screenshot img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: center top; }
.trail-discovery-page .ftr-shot { display: flex; flex-direction: column; }
.trail-discovery-page .ftr-shot .tf-screenshot { margin: 0 0 14px; }
.trail-discovery-page .ftr-shot h3 { display: flex; align-items: center; gap: 8px; }
.trail-discovery-page .ftr-shot p { margin: 0; font-size: 15px; }

/* Route cards on the dark band */
.trail-discovery-page .ftr-darkcards { margin-top: 32px; }
.trail-discovery-page .ftr-darkcards .tf-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.trail-discovery-page .ftr-darkcards .tf-card h3 { color: #ffffff; }
.trail-discovery-page .ftr-darkcards .tf-card p { color: rgba(255, 255, 255, .72); }

/* Difficulty scale swatches */
.trail-discovery-page .ftr-scale { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.trail-discovery-page .ftr-scale li { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--mt-line); border-radius: 999px; font-size: 14px; }
.trail-discovery-page .ftr-scale i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); }

/* Skill levels and the per-trail fit chips */
.trail-discovery-page .ftr-levels { justify-content: center; margin-bottom: 32px; }
.trail-discovery-page .ftr-levels li { font-weight: 600; }
.trail-discovery-page .ftr-fits { display: flex; flex-wrap: wrap; gap: 6px; }

/* Activity link cards */
.trail-discovery-page .ftr-activities .tf-card h3 { margin-bottom: 6px; }
.trail-discovery-page .ftr-activities .tf-card p { margin: 0 0 10px; font-size: 15px; }

@media screen and (max-width: 768px) {
    .trail-discovery-page .ftr-shots,
    .trail-discovery-page .ftr-shots--3 { grid-template-columns: 1fr; }
    .trail-discovery-page .mt-hero { background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url(../../i/trailforks/about/features/discovery/hero_heatmap_bg.webp); background-position: center, 70% center; }
}
