/* ============================================================
   PlantMapper — Plant Finder filtered views
   Shared styling for the Plant Finder sub-pages. Pairs with
   plantmapper.css + ecosystem.css and reuses the existing
   .tool, .opt chip, .cards/.card and .affiliate vocabularies —
   no new colours or components, just page scaffolding.
   ============================================================ */

.pf-main { padding-bottom: 54px; }

/* ---- breadcrumb ---- */
.pf-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
}
.pf-crumbs a { color: var(--ink-soft); text-decoration: none; }
.pf-crumbs a:hover { color: var(--green-deep); }
.pf-crumbs .sep { color: var(--line-strong); }

/* ---- page hero / intro ---- */
.pf-hero { padding: 14px 0 6px; max-width: 70ch; }
.pf-hero .eyebrow { margin-bottom: 10px; }
.pf-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
  color: var(--ink);
}
.pf-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

/* ---- quick-filter groups inside the .tool panel ---- */
.pf-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

/* ---- results ---- */
.pf-results { margin-top: 6px; }

/* ---- internal-link cards ---- */
.pf-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.pf-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}
.pf-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}
.pf-link-kind {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.pf-link-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
}
.pf-link-note { font-size: 0.9rem; color: var(--ink-soft); }
.pf-link-go {
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
}

/* ---- back link ---- */
.pf-back { margin: 26px 0 0; }
.pf-back a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green-deep);
}
.pf-back a:hover { color: var(--green); }

@media (max-width: 540px) {
  .pf-hero { padding: 8px 0 2px; }
}
