/* Park finder (/find-a-park), polished 03/12/2026 */
.finderPage .pageHeadInner { padding-top: 36px; padding-bottom: 40px; align-items: center; }
.finderPage .pageTitle { max-width: 20ch; font-size: clamp(42px, 4.8vw, 68px); line-height: .92; }
.finderPage .pageLead { max-width: 58ch; }
.finder { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 48px; padding-top: 36px; padding-bottom: 72px; align-items: start; }

/* Filters */
.finderFilters { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: transparent transparent; scrollbar-gutter: stable; margin-left: -8px; padding: 0 10px 8px 8px; }
.finderFilters:hover, .finderFilters:focus-within { scrollbar-color: #b9c8dd transparent; }
.fHead { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-top: 4px solid var(--navy); }
.fHeadTitle { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--navy); }
.finder .fReset { min-height: 44px; color: var(--signalInk); font-weight: 700; }
.finder .fReset:hover { text-decoration: underline; text-underline-offset: 3px; }
.finder .fReset[hidden], .fClose { display: none; }
.fSelect + .fSelect { margin-top: 14px; }
.fSelect label { display: block; margin-bottom: 5px; color: var(--navy); font-size: 16px; font-weight: 600; }
.finder select { width: 100%; height: 48px; margin: 0; padding: 0 40px 0 14px; border: 1px solid #b9c8dd; border-radius: var(--radius); appearance: none; color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; text-overflow: ellipsis; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e57a4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; transition: border-color .2s; }
.finder select:hover:not(:disabled) { border-color: var(--navy); }
.finder select.isSet { border-color: var(--navy); background-color: var(--paper); font-weight: 600; }
.finder select:disabled { border-color: var(--line); background-color: var(--paper); color: #66748a; opacity: 1; cursor: default; }
.fGroup { border-top: 1px solid var(--line); }
.fSelects + .fGroup { margin-top: 22px; }
.fGroup summary { display: flex; align-items: center; gap: 10px; min-height: 54px; list-style: none; cursor: pointer; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--navy); }
.fGroup summary::-webkit-details-marker { display: none; }
.fGroup summary:focus-visible { outline-offset: -3px; }
.fGroup summary .icon { margin-left: auto; width: 20px; height: 20px; transition: transform .3s var(--ease); }
.fGroup[open] summary .icon { transform: rotate(180deg); }
.fPicked { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--signalInk); color: #fff; font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1; }
.fPicked:empty { display: none; }
.fTicks { padding-bottom: 12px; }
.fTick { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0 -8px; padding: 0 8px; border-radius: 4px; font-size: 16px; line-height: 1.25; cursor: pointer; transition: background .2s; }
.fTick:hover { background: var(--paper); }
.fTick:has(:focus-visible) { outline: 3px solid var(--signal); outline-offset: -2px; }
.fTick input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid #8394b5; border-radius: 4px; outline: none; cursor: inherit; background: #fff center / 16px no-repeat; transition: background-color .15s, border-color .15s; }
.fTick:hover input:not(:disabled) { border-color: var(--navy); }
.fTick input:checked { border-color: var(--signalInk); background-color: var(--signalInk); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-11'/%3E%3C/svg%3E"); }
.fTick:has(:checked) { font-weight: 600; }
.fCount { margin-left: auto; color: var(--ink2); font-size: 16px; font-weight: 600; }
.fTick.isZero { color: #66748a; cursor: default; background: none; }
.fTick.isZero input { border-color: var(--line); background-color: var(--paper); }
.fTick.isZero .fCount { color: #66748a; }
.fApply { display: none; }

/* Results */
.finderBar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; border-top: 4px solid var(--navy); }
.finderCount { display: flex; align-items: baseline; gap: 8px; font-size: 18px; font-weight: 500; }
.finderCount .num { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; color: var(--navy); }
.finderSort { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.finder .finderSort select { width: 200px; }
.fChips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fChips:empty { display: none; }
.finder .fChip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 16px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 600; transition: background .2s; }
.finder .fChip:hover { background: var(--signalInk); }
.fChip .icon { width: 18px; height: 18px; }
.finderResults .parkGrid { margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
.finder .park[hidden] { display: none; }
.parkFacts { display: flex; flex-wrap: wrap; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.v2 .parkFacts { margin: 8px 0 0 -18px; clip-path: inset(0 0 0 18px); }
/* the dot sits before each fact; the first one on every line is clipped off */
.parkFacts li::before { content: "\00b7"; display: inline-block; width: 18px; text-align: center; color: var(--signalInk); }
.finder .parkText { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.finderNone { max-width: 50ch; margin-top: 28px; font-size: 18px; color: var(--ink2); }
.finderNone strong { display: block; margin-bottom: 6px; font-family: var(--display); font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--navy); }
.finder .fMore { display: flex; margin: 48px auto 0; border: 2px solid var(--navy); color: var(--navy); padding: 0 28px; }
.finder .fMore:hover { color: #fff; background: var(--navy); }
.finder .fMore[hidden] { display: none; }
.fOpen { display: none; }
@media (min-width: 1240px) { .finderResults .parkGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1060px) { .finder { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; } }

/* Phones and small tablets: filters open as a full screen sheet from a button fixed to the bottom */
@media (max-width: 860px) {
	.finder { display: block; padding-top: 24px; padding-bottom: 72px; }
	.finderFilters { position: fixed; inset: 0; z-index: 90; max-height: none; margin: 0; padding: 0 20px; background: #fff; visibility: hidden; transform: translateY(100%); transition: transform .4s var(--ease), visibility 0s .4s; }
	.finderFilters.isOpen { visibility: visible; transform: none; transition: transform .4s var(--ease), visibility 0s; }
	.fHead { position: sticky; top: 0; z-index: 2; gap: 12px; margin-bottom: 14px; border-top: 0; border-bottom: 1px solid var(--line); background: #fff; }
	.finder .fReset { margin-left: auto; padding: 0 8px; }
	.finder .fClose { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; color: var(--navy); }
	.fClose .icon { width: 26px; height: 26px; }
	.fTick { min-height: 48px; }
	.fApply { display: block; position: sticky; bottom: 0; z-index: 2; margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
	.finder .fApply .btnPrimary { width: 100%; min-height: 54px; background: var(--signalInk); color: #fff; }
	.finder .fOpen { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 99px; background: var(--signalInk); color: #fff; font-size: 18px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 12px 30px -8px rgba(11,33,64,.5); }
	.fOpen .icon { width: 20px; height: 20px; }
	body.finderLocked { overflow: hidden; }
}
@media (max-width: 560px) {
	.finderResults .parkGrid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.finderBar { gap: 12px; }
	.finderCount .num { font-size: 40px; }
	.finderSort > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.finder .finderSort select { width: 146px; }
	.finderCount { white-space: nowrap; }
}
