/* TLD local pages (/find/) v1.0: page-only additions on top of tld-ds.css. TLD tokens only. Rex, 2026-12. */

/* Listing cards wrap into a grid here (the shared .tld-feed is a horizontal scroller) */
.tld-lp .tld-lp-feed .row.section-body { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
@media (max-width: 767px) { .tld-lp .tld-lp-feed .row.section-body { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* Location-locked search: the radius is a select styled like the inputs */
.tld-lp .tld-hero-search .featured-search .form-group select { width: 100%; box-sizing: border-box; height: 58px; border: 0; border-radius: 12px; background: var(--tld-sand); padding: 18px 14px 0 44px;
  font: 600 16px/1 var(--tld-sans); color: var(--tld-ink); outline: 0; box-shadow: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.tld-lp .tld-hero-search .featured-search .form-group select:focus-visible, .tld-lp .tld-hero-search .featured-search .form-group input:focus-visible { box-shadow: 0 0 0 2px var(--tld-eucalypt); }
.tld-lp .tld-hero__copy { min-width: 0; }
.tld-lp .tld-hero--inner .tld-title-1 { overflow-wrap: break-word; }
.tld-lp .tld-hero__media .tld-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* Map */
.tld-lp-mapwrap { position: relative; isolation: isolate; height: 440px; }
.tld-lp-map { position: absolute; inset: 0; z-index: 0; background: var(--tld-sage); }
.tld-lp-map .leaflet-popup-content a { color: var(--tld-eucalypt); font: 700 14px/1.3 var(--tld-sans); }
.tld-lp-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 24px; font: 600 var(--tld-small)/1.3 var(--tld-sans); color: var(--tld-ink); }
.tld-lp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.tld-lp-legend span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--tld-white); box-shadow: 0 0 0 1px var(--tld-line); }
.tld-lp-legend .is-in::before { background: var(--tld-eucalypt); }
.tld-lp-legend .is-near::before { background: var(--tld-clay); }
.tld-lp-legend + .tld-btn svg, .tld-lp .tld-head--row .tld-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) { .tld-lp-mapwrap { height: 360px; } }

/* Sources lines and table captions */
.tld-lp-src { margin: 24px 0 0; font: 400 14px/1.55 var(--tld-sans); color: var(--tld-muted); overflow-wrap: anywhere; }
.tld-lp-src a { color: var(--tld-eucalypt); text-decoration: underline; text-underline-offset: 2px; }
.tld-lp-caption { margin: 0; padding: 0 0 12px; font: 700 var(--tld-small)/1.4 var(--tld-sans); color: var(--tld-ink); }
.tld-lp .tld-table td strong { color: var(--tld-ink); }

/* Facts and cost grids: features in two columns, no top rules on the first row */
.tld-lp-facts { column-gap: 64px; row-gap: 0; }
.tld-lp-facts .tld-feature { border-top: 0; }
.tld-lp-tiles { gap: 14px; }

/* Checklist ticks with a bold lead-in */
.tld-lp-ticks li strong { color: var(--tld-ink); }
.tld-lp-ticks li > span { display: block; }

/* A chip that has its own local page is filled */
.tld-lp .tld-chip--page { background: var(--tld-eucalypt); border-color: var(--tld-eucalypt); color: var(--tld-white); }
.tld-lp .tld-chip--page:hover { background: var(--tld-eucalypt-700); border-color: var(--tld-eucalypt-700); color: var(--tld-white); }

/* Steps: four across on desktop, two on tablet, one on phones (tld-grid--4 rules) */
.tld-lp #how .tld-step .tld-title-3 { font-size: var(--tld-h4); }
