/* Parish search window (search.php). One frosted-white surface, square corners (CR), site fonts and colours. */
html.stj-search-open { overflow: hidden; scrollbar-gutter: stable; }
.stj-search {
	--sr-green: #295038; --sr-ink: #22302A; --sr-muted: #526257; --sr-rule: rgb(41 80 56 / .14); --sr-sage: #E8EDE3;
	box-sizing: border-box; width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); margin: auto; padding: 32px;
	border: 1px solid rgb(255 255 255 / .7); border-radius: 0; overflow: auto; overscroll-behavior: contain;
	color: var(--sr-ink); background: #fff;
	box-shadow: 0 16px 48px rgb(20 42 30 / .16), 0 2px 8px rgb(20 42 30 / .06);
	font: 400 16px/1.45 var(--stj-font-sans, Figtree, system-ui, sans-serif);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.stj-search { background: rgb(255 255 255 / .92); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
}
.stj-search::backdrop { background: rgb(17 35 26 / .24); }
.stj-search[open] { animation: stj-sr-in 140ms ease-out; }
@keyframes stj-sr-in { from { opacity: 0; } to { opacity: 1; } }
.stj-search *, .stj-search *::before, .stj-search *::after { box-sizing: border-box; }
.stj-search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.stj-search .stj-search-title { margin: 0; font: 500 32px/1.1 var(--stj-font-serif, 'EB Garamond', Georgia, serif); letter-spacing: -.01em; color: var(--sr-green); }
.stj-search button { font: 600 16px/1 var(--stj-font-sans, Figtree, sans-serif); cursor: pointer; border-radius: 0; }
.stj-search .stj-search-close { min-height: 44px; min-width: 44px; padding: 0 4px; background: none; border: 0; color: var(--sr-green); }
.stj-search .stj-search-close:hover { text-decoration: underline; text-underline-offset: 4px; }
.stj-search-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--sr-muted); }
.stj-search-row { display: flex; gap: 12px; }
.stj-search-field { position: relative; flex: 1; min-width: 0; }
.stj-search input[type="search"] {
	width: 100%; height: 48px; margin: 0; padding: 0 76px 0 16px; border: 1.5px solid var(--sr-green); border-radius: 0;
	background: #fff; color: var(--sr-ink); font: 400 17px/1 var(--stj-font-sans, Figtree, sans-serif); -webkit-appearance: none; appearance: none;
}
.stj-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.stj-search input[type="search"]::placeholder { color: #6B7A70; opacity: 1; }
.stj-search .stj-search-clear { position: absolute; top: 2px; right: 2px; height: 44px; padding: 0 12px; background: none; border: 0; color: var(--sr-muted); font-size: 14px; }
.stj-search .stj-search-clear[hidden] { display: none; }
.stj-search .stj-search-submit { height: 48px; padding: 0 22px; background: var(--sr-green); color: #fff; border: 0; }
.stj-search .stj-search-submit:hover { background: #1F4432; }
.stj-search :focus-visible { outline: 2px solid var(--sr-green); outline-offset: 2px; }
.stj-search input[type="search"]:focus-visible { outline-offset: 2px; }
.stj-search-body { margin-top: 24px; }
.stj-search-label-sm { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sr-muted); }
.stj-search ul { list-style: none; margin: 0; padding: 0; }
.stj-search-quick { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.stj-search-quick li, .stj-search-results li { border-bottom: 1px solid var(--sr-rule); margin: 0; }
.stj-sr-link { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 48px; padding: 10px 4px; color: var(--sr-green); text-decoration: none; }
.stj-sr-link:hover .stj-sr-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.stj-sr-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stj-sr-t { font-size: 17px; font-weight: 600; line-height: 1.3; }
.stj-sr-d { font-size: 15px; line-height: 1.35; color: var(--sr-muted); }
.stj-sr-end { display: flex; justify-content: center; opacity: .72; }
.stj-search-results .stj-sr-link { padding: 10px 12px; }
.stj-search-results .stj-sr-link.is-primary { background: var(--sr-sage); padding-block: 14px; }
.stj-search-results li:first-child:has(.is-primary) { border-bottom-color: transparent; margin-bottom: 4px; }
.stj-search-empty { margin: 4px 0 8px; font-size: 17px; }
.stj-search-note { margin: 12px 0 0; font-size: 15px; color: var(--sr-muted); }
.stj-search-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.stj-search-all { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--sr-green); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgb(41 80 56 / .45); }
/* The count/status is for screen readers; what it says is already visible in the list. */
.stj-search-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stj-search-hint { margin: 16px 0 0; font-size: 14px; color: var(--sr-muted); }
.stj-search-hint:empty { display: none; }
@media (max-width: 560px) {
	.stj-search { width: calc(100vw - 24px); padding: 20px; max-height: calc(100dvh - 24px); margin-top: max(12px, env(safe-area-inset-top)); }
	.stj-search .stj-search-title { font-size: 26px; line-height: 1.15; }
	.stj-search-row { flex-direction: column; }
	.stj-search .stj-search-submit { width: 100%; }
	.stj-search-quick { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .stj-search[open] { animation: none; } }
@media (prefers-reduced-transparency: reduce) { .stj-search { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (forced-colors: active) { .stj-search { border: 2px solid CanvasText; background: Canvas; } .stj-search-results .stj-sr-link.is-primary { border: 1px solid CanvasText; } }

/* Full results page: curated destinations first. */
.stj-search-suggested { max-width: 46em; margin: 0 0 40px; }
.stj-search-suggested h2 { margin: 0 0 8px; font: 700 13px/1.2 var(--stj-font-sans, Figtree, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #526257; }
.stj-search-suggested ul { list-style: none; margin: 0; padding: 0; }
.stj-search-suggested li { margin: 0; border-bottom: 1px solid rgb(41 80 56 / .14); }
.stj-search-suggested a { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 48px; padding: 12px 4px; color: #295038; text-decoration: none; }
.stj-search-suggested li.is-primary a { background: #E8EDE3; padding: 16px; }
.stj-search-suggested .stj-sugg-text { display: flex; flex-direction: column; gap: 2px; }
.stj-search-suggested .stj-sugg-t { font-size: 18px; font-weight: 600; }
.stj-search-suggested .stj-sugg-d { font-size: 15px; color: #526257; }
.stj-search-suggested .stj-sugg-end { display: flex; justify-content: center; opacity: .72; }
.stj-search-suggested a:hover .stj-sugg-t { text-decoration: underline; text-underline-offset: 4px; }
.stj-search-suggested a:focus-visible { outline: 2px solid #295038; outline-offset: 2px; }

/* Stronger frost (CR, 2026-11-20): more of the page shows through, blurred; a bright top edge like the menus.
   v1 (92% white) kept as _migration/search-redesign-2026-11-20/search.css.v1-frost92. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.stj-search { background: rgb(255 255 255 / .74); -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
		box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 16px 48px rgb(20 42 30 / .18), 0 2px 8px rgb(20 42 30 / .06); }
	.stj-search { --sr-muted: #44534A; }
	.stj-search::backdrop { background: rgb(17 35 26 / .16); }
	.stj-search-quick li, .stj-search-results li { border-bottom-color: rgb(41 80 56 / .18); }
	.stj-search-results .stj-sr-link.is-primary { background: rgb(232 237 227 / .85); }
}
@media (prefers-reduced-transparency: reduce) { .stj-search { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } }
