/* Explore's map (Pages/ExplorePages): the front page's ways in, kinds and branches, cards for Expeditions and suggestions, filters. Colours
   are the site's tokens, so light and dark follow them. */
.explore-head .explore-find { margin-top: 1rem; max-width: 40rem; position: relative; }
.explore-find label { display: block; font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); margin-bottom: .3rem; }
.explore-find .row { gap: .5rem; flex-wrap: nowrap; }
.explore-find input[type="search"] { flex: 1 1 auto; min-width: 0; }
.explore-found { list-style: none; margin: .25rem 0 0; padding: .25rem; position: absolute; left: 0; right: 0; z-index: 20;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.explore-found a { display: flex; flex-direction: column; gap: .1rem; padding: .5rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.explore-found a:hover, .explore-found a:focus-visible { background: var(--line); outline: none; }
.explore-found .found-says { font-family: var(--sans); font-size: .8rem; color: var(--ink-faint); }
.explore-found .found-more { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); }
.explore-jump { margin-top: 1rem; gap: .4rem; flex-wrap: wrap; }

.explore-crumbs { font-family: var(--sans); font-size: .85rem; color: var(--ink-faint); margin: .5rem 0 0; }
.explore-crumbs a { color: var(--ink-soft); }

.explore-kinds, .explore-place-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem 1.5rem; }
.explore-kind h3, .explore-kind h2 { font-size: 1.3rem; margin: 0 0 .35rem; }
.explore-kind h3 a, .explore-kind h2 a { color: inherit; text-decoration: none; }
.explore-kind h3 a:hover, .explore-kind h3 a:focus-visible, .explore-kind h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.explore-branches, .explore-list { list-style: none; margin: 0; padding: 0; }
.explore-branches li, .explore-list li { padding: .2rem 0; }
.explore-branches .faint, .explore-list .faint { font-family: var(--sans); font-size: .8rem; }
.explore-branches .faint { white-space: nowrap; }
h2 > .faint, h1 > .faint { font-family: var(--sans); font-size: .9rem; font-weight: 400; margin-left: .25rem; }
.explore-list .is-empty a, .explore-eras .is-empty a { color: var(--ink-soft); }

.explore-eras { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.explore-eras li { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; font-family: var(--sans); font-size: .85rem; }
.explore-eras a { color: var(--ink); text-decoration: none; }
.explore-eras a:hover, .explore-eras a:focus-visible { text-decoration: underline; }

.explore-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .9rem; }
.explore-card, .explore-suggestion { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1.1rem 1rem; display: flex; flex-direction: column; gap: .35rem; }
.explore-suggestion { border-style: dashed; }
.explore-suggestion:target { outline: 2px solid var(--ink-soft); outline-offset: 2px; }
.explore-card h3, .explore-suggestion h3 { font-size: 1.2rem; margin: 0; }
.explore-card h3 a { color: inherit; text-decoration: none; }
.explore-card h3 a:hover, .explore-card h3 a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.explore-card-kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }
.explore-card-said { margin: 0; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.explore-card-facts, .explore-card-where { font-family: var(--sans); font-size: .82rem; color: var(--ink-faint); margin: 0; }
.explore-tags { list-style: none; margin: .1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.explore-tags li { font-family: var(--sans); font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: .05rem .55rem; color: var(--ink-soft); }
.explore-tags a { color: inherit; text-decoration: none; }
.explore-actions { margin-top: auto; padding-top: .35rem; gap: .4rem; flex-wrap: wrap; }
.explore-checks { margin: .2rem 0 0; padding-left: 1.1rem; font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); }

.explore-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem .9rem; margin: .4rem 0 1rem; font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); }
.explore-filters label { display: flex; flex-direction: column; gap: .2rem; }
.explore-filters select { min-width: 9rem; }

.explore-rule ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.explore-rule li { padding: .1rem 0; }

/* The journey page's "On Explore" section (Pages/ExpeditionPages/_JourneyPlacement.cshtml). */
.journey-placement .explore-tags { margin: .3rem 0 .6rem; }
.placement-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .7rem 1rem; margin-top: .6rem; }
.placement-form label { display: flex; flex-direction: column; gap: .25rem; font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); }
.placement-form .placement-years { display: flex; gap: .4rem; }
.placement-form .placement-years input { width: 100%; min-width: 0; }
.placement-form .placement-submit { grid-column: 1 / -1; }
