.tsf-search-app {
	--tsf-primary: #151b23;
	--tsf-accent: #d1432e;
	--tsf-accent-dark: #a93020;
	--tsf-accent-soft: #fbede9;
	--tsf-border: #e6eaf0;
	--tsf-muted: #667085;
	--tsf-surface: #ffffff;
	--tsf-bg: #f8fafc;
	font-family: inherit;
	color: var(--tsf-primary);
	container-type: inline-size;
}

.tsf-search-app * {
	box-sizing: border-box;
}


.tsf-search-app,
.fl-builder-content .tsf-search-app {
	width: 100%;
	max-width: 100%;
}


.tsf-results-area {
	min-width: 0;
}

.tsf-filter-position-left,
.tsf-filter-position-right {
	display: grid;
	grid-template-columns: minmax(240px, 20%) minmax(0, 1fr);
	gap: clamp(18px, 3vw, 34px);
	align-items: start;
}

.tsf-filter-position-right {
	grid-template-columns: minmax(0, 1fr) minmax(240px, 20%);
}

.tsf-filter-position-right .tsf-search-panel {
	grid-column: 2;
	grid-row: 1;
}

.tsf-filter-position-right .tsf-results-area {
	grid-column: 1;
	grid-row: 1;
}

.tsf-filter-position-left .tsf-search-panel,
.tsf-filter-position-right .tsf-search-panel {
	position: sticky;
	top: 24px;
	margin-bottom: 0;
	border-radius: 30px;
	padding: clamp(18px, 2.3vw, 28px);
}

.tsf-filter-position-left .tsf-search-panel-intro,
.tsf-filter-position-right .tsf-search-panel-intro {
	display: grid;
	gap: 16px;
}

.tsf-filter-position-left .tsf-panel-mark,
.tsf-filter-position-right .tsf-panel-mark {
	width: 58px;
	height: 58px;
	border-radius: 18px;
}

.tsf-filter-position-left .tsf-search-panel-intro h2,
.tsf-filter-position-right .tsf-search-panel-intro h2 {
	font-size: clamp(24px, 2.8vw, 34px);
}

.tsf-filter-position-left .tsf-search-topbar,
.tsf-filter-position-right .tsf-search-topbar {
	grid-template-columns: 1fr;
	border-radius: 28px;
	padding: 10px;
}

.tsf-filter-position-left .tsf-clear-button,
.tsf-filter-position-right .tsf-clear-button {
	width: 100%;
}

.tsf-filter-position-left .tsf-filter-panel,
.tsf-filter-position-right .tsf-filter-panel {
	grid-template-columns: 1fr;
}


.tsf-search-panel {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: clamp(24px, 3vw, 38px);
	padding: clamp(20px, 3.4vw, 38px);
	margin-bottom: 24px;
	background:
		radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--tsf-accent) 52%, transparent), transparent 29%),
		radial-gradient(circle at 92% 18%, rgba(255, 255, 255, .15), transparent 24%),
		linear-gradient(135deg, var(--tsf-primary) 0%, #202b3a 48%, #0b111b 100%);
	box-shadow: 0 28px 70px rgba(15, 23, 42, .2), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.tsf-search-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 34px 34px;
	mask-image: linear-gradient(135deg, rgba(0, 0, 0, .8), transparent 72%);
	pointer-events: none;
}

.tsf-search-panel::after {
	content: "";
	position: absolute;
	right: -82px;
	top: -92px;
	z-index: -1;
	width: 240px;
	height: 240px;
	border: 38px solid rgba(255, 255, 255, .08);
	border-radius: 56px;
	transform: rotate(17deg);
	pointer-events: none;
}

.tsf-search-panel-intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(18px, 2.6vw, 28px);
	color: #fff;
}

.tsf-search-panel-intro h2 {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 4vw, 54px);
	line-height: .98;
	letter-spacing: -.045em;
	font-weight: 900;
}

.tsf-search-panel-intro p {
	max-width: 620px;
	margin: 10px 0 0;
	color: rgba(255, 255, 255, .75);
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.55;
}

.tsf-panel-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, .78);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .18em;
}

.tsf-panel-kicker::before {
	content: "";
	width: 26px;
	height: 3px;
	border-radius: 99px;
	background: var(--tsf-accent);
	box-shadow: 0 0 22px color-mix(in srgb, var(--tsf-accent) 72%, transparent);
}

.tsf-panel-mark {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: clamp(56px, 7vw, 86px);
	height: clamp(56px, 7vw, 86px);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 40px rgba(0, 0, 0, .22);
	color: #fff;
	font-size: clamp(18px, 2.4vw, 28px);
	font-weight: 950;
	letter-spacing: -.05em;
}

.tsf-search-topbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 8px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 48px rgba(0, 0, 0, .18);
	backdrop-filter: blur(16px);
}

.tsf-search-input-wrap {
	position: relative;
	display: block;
}

.tsf-search-icon {
	position: absolute;
	left: 22px;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	font-size: 28px;
	line-height: 1;
	color: var(--tsf-accent);
	pointer-events: none;
}

.tsf-search-input {
	width: 100%;
	min-height: 66px;
	border: 1px solid rgba(255, 255, 255, .62) !important;
	border-radius: 999px !important;
	padding: 0 24px 0 58px !important;
	background: rgba(255, 255, 255, .98) !important;
	font-size: clamp(16px, 1.5vw, 19px) !important;
	font-weight: 650 !important;
	letter-spacing: -.01em;
	color: var(--tsf-primary) !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .18) !important;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tsf-search-input::placeholder {
	color: #98a2b3;
	font-weight: 600;
}

.tsf-search-input:focus {
	outline: none !important;
	border-color: color-mix(in srgb, var(--tsf-accent) 48%, #fff) !important;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--tsf-accent) 22%, transparent), 0 24px 58px rgba(0, 0, 0, .2) !important;
	transform: translateY(-1px);
}

.tsf-clear-button,
.tsf-load-more {
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	min-height: 54px;
	padding: 0 20px;
	font-weight: 850;
	letter-spacing: -.01em;
	cursor: pointer;
	transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.tsf-clear-button:hover,
.tsf-load-more:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 255, 255, .34);
	background: rgba(255, 255, 255, .18);
}

.tsf-filter-panel {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	align-items: start;
	gap: 14px;
	margin-top: 18px;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 28px;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
	backdrop-filter: blur(14px);
}

.tsf-filter-group {
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, .96);
	border: 1px solid rgba(255, 255, 255, .68);
	border-radius: 24px;
	padding: 18px;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .11);
}

.tsf-filter-group::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--tsf-accent), color-mix(in srgb, var(--tsf-accent) 35%, #fff));
}

.tsf-filter-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--tsf-primary);
}

.tsf-filter-label::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--tsf-accent);
	box-shadow: 0 0 0 5px var(--tsf-accent-soft);
}

.tsf-filter-group select {
	width: 100%;
	min-height: 50px;
	border: 1px solid #d9e0ea !important;
	border-radius: 16px !important;
	padding: 0 44px 0 14px !important;
	background-color: #fff !important;
	color: var(--tsf-primary) !important;
	font-weight: 750;
	box-shadow: 0 12px 26px rgba(15, 23, 42, .05) !important;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.tsf-filter-group select:focus {
	outline: none !important;
	border-color: var(--tsf-accent) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tsf-accent) 15%, transparent), 0 12px 26px rgba(15, 23, 42, .06) !important;
}

.tsf-term-options {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
}

.tsf-filter-checkbox .tsf-term-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 10px;
}

.tsf-term-option {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	cursor: pointer;
	margin: 0;
	font-weight: 700;
}

.tsf-filter-pills .tsf-term-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tsf-filter-pills .tsf-term-option span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 15px;
	border: 1px solid #dfe5ee;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
	background: linear-gradient(180deg, #fff, #f8fafc);
	color: #344054;
	box-shadow: 0 8px 16px rgba(15, 23, 42, .035);
	transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.tsf-filter-pills .tsf-term-option:hover span {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--tsf-accent) 45%, #dfe5ee);
	box-shadow: 0 10px 22px rgba(15, 23, 42, .07);
}

.tsf-filter-pills .tsf-term-option input:focus-visible + span {
	outline: 3px solid color-mix(in srgb, var(--tsf-accent) 25%, transparent);
	outline-offset: 2px;
}

.tsf-filter-pills .tsf-term-option input:checked + span {
	background: linear-gradient(135deg, var(--tsf-accent), var(--tsf-accent-dark));
	border-color: var(--tsf-accent);
	color: #fff;
	box-shadow: 0 12px 24px color-mix(in srgb, var(--tsf-accent) 28%, transparent);
}

.tsf-filter-checkbox .tsf-term-option {
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}

.tsf-filter-checkbox .tsf-term-option input {
	accent-color: var(--tsf-accent);
}

.tsf-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 14px 0 18px;
}

.tsf-active-filter {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 13px;
	border: 1px solid color-mix(in srgb, var(--tsf-accent) 24%, #fff);
	border-radius: 999px;
	background: var(--tsf-accent-soft);
	color: var(--tsf-accent);
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.tsf-active-filter::before {
}

.tsf-results-meta {
	min-height: 24px;
	color: var(--tsf-muted);
	font-size: 14px;
	margin: 8px 0 16px;
}

.tsf-results-meta strong {
	color: var(--tsf-primary);
}

.tsf-results {
	display: grid;
	gap: 18px;
}

.tsf-layout-grid .tsf-results {
	grid-template-columns: repeat(var(--tsf-grid-columns, 3), minmax(0, 1fr));
}

.tsf-result-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tsf-border);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tsf-result-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--tsf-accent) 38%, var(--tsf-border));
	box-shadow: 0 22px 50px rgba(15, 23, 42, .09);
}

.tsf-result-image-link {
	display: block;
	aspect-ratio: 16 / 9;
	background: #eef2f7;
	overflow: hidden;
}

.tsf-result-image-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}

.tsf-result-card:hover .tsf-result-image-link img {
	transform: scale(1.03);
}

.tsf-result-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.tsf-result-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--tsf-muted);
}

.tsf-result-badge {
	background: var(--tsf-accent-soft);
	color: var(--tsf-accent);
	border-radius: 999px;
	padding: 5px 9px;
}

.tsf-result-title {
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.22;
	margin: 0;
}

.tsf-result-title a {
	color: var(--tsf-primary);
	text-decoration: none;
}

.tsf-result-title a:hover {
	color: var(--tsf-accent);
}

.tsf-result-excerpt {
	color: #475467;
	line-height: 1.65;
	margin: 0;
}

.tsf-result-read-more {
	margin-top: auto;
	color: var(--tsf-accent);
	font-weight: 800;
	text-decoration: none;
}

.tsf-result-read-more:hover {
	text-decoration: underline;
}

.tsf-layout-list .tsf-result-card,
.tsf-layout-compact .tsf-result-card {
	display: grid;
	grid-template-columns: minmax(160px, 280px) 1fr;
}

.tsf-layout-list .tsf-result-image-link,
.tsf-layout-compact .tsf-result-image-link {
	aspect-ratio: auto;
	height: 100%;
	min-height: 190px;
}

.tsf-layout-compact .tsf-result-card {
	grid-template-columns: 1fr;
}

.tsf-layout-compact .tsf-result-image-link,
.tsf-layout-compact .tsf-result-excerpt {
	display: none;
}

.tsf-load-more-wrap {
	text-align: center;
	margin-top: 24px;
}

.tsf-load-more {
	background: linear-gradient(135deg, var(--tsf-accent), var(--tsf-accent-dark));
	border-color: var(--tsf-accent);
	color: #fff;
	min-width: 150px;
	box-shadow: 0 12px 24px color-mix(in srgb, var(--tsf-accent) 25%, transparent);
}

.tsf-empty,
.tsf-error {
	border: 1px dashed var(--tsf-border);
	border-radius: 20px;
	padding: 30px;
	text-align: center;
	color: var(--tsf-muted);
	background: #fff;
}

.tsf-error {
	color: #b42318;
	background: #fffbfa;
	border-color: #fecdca;
}

@supports not (background: color-mix(in srgb, #000 50%, transparent)) {
	.tsf-search-panel {
		background: linear-gradient(135deg, #151b23 0%, #202b3a 48%, #0b111b 100%);
	}

	.tsf-search-input:focus,
	.tsf-filter-group select:focus {
		box-shadow: 0 0 0 4px rgba(209, 67, 46, .18), 0 12px 26px rgba(15, 23, 42, .06) !important;
	}
}

@container (max-width: 780px) {
	.tsf-search-panel {
		border-radius: 24px;
		padding: 18px;
	}

	.tsf-search-panel-intro {
		align-items: flex-start;
	}

	.tsf-panel-mark {
		display: none;
	}

	.tsf-search-topbar {
		grid-template-columns: 1fr;
		border-radius: 28px;
		padding: 10px;
	}

	.tsf-search-input {
		min-height: 58px;
	}

	.tsf-clear-button {
		width: 100%;
	}

	.tsf-filter-panel {
		padding: 10px;
		border-radius: 22px;
	}

	.tsf-layout-grid .tsf-results {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	}

	.tsf-layout-list .tsf-result-card {
		grid-template-columns: 1fr;
	}

	.tsf-layout-list .tsf-result-image-link {
		min-height: auto;
		aspect-ratio: 16 / 9;
	}
}

.tsf-panel-mark img {
	max-width: 62%;
	height: auto;
	display: block;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}


@media (max-width: 980px) {
	.tsf-filter-position-left,
	.tsf-filter-position-right {
		display: block;
	}

	.tsf-filter-position-left .tsf-search-panel,
	.tsf-filter-position-right .tsf-search-panel {
		position: relative;
		top: auto;
		margin-bottom: 24px;
	}

	.tsf-filter-position-right .tsf-search-panel,
	.tsf-filter-position-right .tsf-results-area {
		grid-column: auto;
		grid-row: auto;
	}
}

/* v1.0.7 frontend layout refinements */
.tsf-filter-position-left.tsf-panel-behavior-sticky .tsf-search-panel,
.tsf-filter-position-right.tsf-panel-behavior-sticky .tsf-search-panel {
	position: sticky;
	top: var(--tsf-sticky-offset, 120px);
}

.tsf-filter-position-left.tsf-panel-behavior-scroll .tsf-search-panel,
.tsf-filter-position-right.tsf-panel-behavior-scroll .tsf-search-panel {
	position: relative;
	top: auto;
}

.tsf-filter-position-left .tsf-panel-mark,
.tsf-filter-position-right .tsf-panel-mark {
	display: none;
}

.tsf-filter-position-left .tsf-search-panel-intro h2,
.tsf-filter-position-right .tsf-search-panel-intro h2 {
	white-space: nowrap;
	font-size: clamp(22px, 2.05vw, 30px);
	letter-spacing: -.035em;
}

.tsf-load-more:hover,
.tsf-load-more:focus {
	color: #fff;
	text-decoration: none;
}

.tsf-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.tsf-pagination button {
	min-height: 44px;
	border: 1px solid var(--tsf-border);
	border-radius: 999px;
	background: #fff;
	color: var(--tsf-primary);
	padding: 0 18px;
	font-weight: 850;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.tsf-pagination button:hover:not(:disabled) {
	border-color: var(--tsf-accent);
	color: var(--tsf-accent);
}

.tsf-pagination button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.tsf-page-status {
	font-size: 13px;
	font-weight: 850;
	color: var(--tsf-muted);
}

@media (max-width: 980px) {
	.tsf-filter-position-left .tsf-search-panel-intro h2,
	.tsf-filter-position-right .tsf-search-panel-intro h2 {
		white-space: normal;
	}
}

@media (max-width: 980px) {
	.tsf-filter-position-left.tsf-panel-behavior-sticky .tsf-search-panel,
	.tsf-filter-position-right.tsf-panel-behavior-sticky .tsf-search-panel {
		position: relative;
		top: auto;
	}
}

/* v1.0.8 side panel and combined filter fixes */
.tsf-filter-position-left.tsf-panel-behavior-sticky .tsf-search-panel,
.tsf-filter-position-right.tsf-panel-behavior-sticky .tsf-search-panel {
	top: var(--tsf-sticky-offset, 120px) !important;
	z-index: 5;
	max-height: calc(100vh - var(--tsf-sticky-offset, 120px) - 24px);
	overflow-y: auto;
	overflow-x: hidden;
}

.tsf-filter-position-left .tsf-search-panel-intro,
.tsf-filter-position-right .tsf-search-panel-intro {
	min-width: 0;
}

.tsf-filter-position-left .tsf-search-panel-intro > div,
.tsf-filter-position-right .tsf-search-panel-intro > div {
	min-width: 0;
	width: 100%;
}

.tsf-filter-position-left .tsf-search-panel-intro h2,
.tsf-filter-position-right .tsf-search-panel-intro h2 {
	white-space: normal;
	overflow-wrap: normal;
	word-break: normal;
	font-size: clamp(18px, 1.15vw, 23px);
	line-height: 1.12;
	letter-spacing: -.025em;
	max-width: 100%;
}

.tsf-filter-position-left .tsf-search-panel-intro p,
.tsf-filter-position-right .tsf-search-panel-intro p {
	font-size: 13px;
	line-height: 1.45;
}

.tsf-filter-combined select optgroup {
	font-weight: 850;
	color: var(--tsf-primary);
}

@media (max-width: 980px) {
	.tsf-filter-position-left.tsf-panel-behavior-sticky .tsf-search-panel,
	.tsf-filter-position-right.tsf-panel-behavior-sticky .tsf-search-panel {
		position: relative;
		top: auto !important;
		max-height: none;
		overflow: hidden;
	}
}

/* v1.0.9 sticky header offset hardening */
.tsf-filter-position-left.tsf-panel-behavior-sticky .tsf-search-panel,
.tsf-filter-position-right.tsf-panel-behavior-sticky .tsf-search-panel {
	position: sticky !important;
	top: max(var(--tsf-sticky-offset, 120px), 24px) !important;
	align-self: start;
	scroll-margin-top: max(var(--tsf-sticky-offset, 120px), 24px);
	max-height: calc(100vh - max(var(--tsf-sticky-offset, 120px), 24px) - 24px);
}


/* v1.1.0 filter layout refinements */
.tsf-search-topbar .tsf-category-inline-filter {
	margin: 0;
	min-width: 220px;
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.tsf-search-topbar .tsf-category-inline-filter::before {
	display: none;
}

.tsf-filter-position-top .tsf-search-topbar {
	grid-template-columns: minmax(280px, 1.35fr) minmax(220px, .65fr) auto;
	align-items: end;
}

.tsf-filter-position-top .tsf-category-inline-filter .tsf-filter-label {
	color: rgba(255, 255, 255, .72);
}

.tsf-filter-position-top .tsf-category-inline-filter select {
	min-height: 58px;
	border-color: rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .96);
}

.tsf-filter-position-left .tsf-search-topbar .tsf-category-inline-filter,
.tsf-filter-position-right .tsf-search-topbar .tsf-category-inline-filter {
	width: 100%;
}

@media (max-width: 860px) {
	.tsf-filter-position-top .tsf-search-topbar {
		grid-template-columns: 1fr;
	}
}

/* v1.1.1 dynamic filter availability */
.tsf-term-option[hidden] {
	display: none !important;
}

.tsf-filter-control option[hidden] {
	display: none;
}


/* v1.1.4 dropdown cleanup */
.tsf-filter-dropdown {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	overflow: visible;
}

.tsf-filter-dropdown::before {
	display: none;
}

.tsf-filter-dropdown .tsf-filter-label {
	display: none;
}

.tsf-filter-dropdown select,
.tsf-category-inline-filter select {
	min-height: 58px;
	border-radius: 20px !important;
	box-shadow: none !important;
}

.tsf-filter-panel {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	backdrop-filter: none;
}

.tsf-filter-position-top .tsf-filter-panel {
	margin-top: 12px;
}


/* v1.1.6 top layout control row refinement */
.tsf-filter-position-top .tsf-search-panel {
	display: grid;
	grid-template-columns: minmax(520px, 1.25fr) minmax(420px, 1fr);
	gap: 16px 18px;
	align-items: start;
}

.tsf-filter-position-top .tsf-search-panel > .tsf-search-panel-intro {
	grid-column: 1 / -1;
	margin-bottom: 0;
}

.tsf-filter-position-top .tsf-search-topbar {
	grid-column: 1;
	grid-template-columns: minmax(240px, 1fr) minmax(210px, .5fr) auto;
	gap: 12px;
	margin: 0;
	align-items: center;
}

.tsf-filter-position-top .tsf-search-input,
.tsf-filter-position-top .tsf-category-inline-filter select,
.tsf-filter-position-top .tsf-filter-group select {
	min-height: 54px;
}

.tsf-filter-position-top .tsf-filter-panel {
	grid-column: 2;
	margin-top: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(160px, 1fr));
	gap: 12px;
	align-items: center;
}

.tsf-filter-position-top .tsf-filter-panel .tsf-filter-group,
.tsf-filter-position-top .tsf-category-inline-filter {
	margin: 0;
	align-self: center;
}

@media (max-width: 1280px) {
	.tsf-filter-position-top .tsf-search-panel {
		grid-template-columns: 1fr;
	}

	.tsf-filter-position-top .tsf-search-topbar,
	.tsf-filter-position-top .tsf-filter-panel {
		grid-column: 1;
	}

	.tsf-filter-position-top .tsf-filter-panel {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		margin-top: 12px;
	}
}


/* v1.1.8 control row cleanup */
.tsf-search-panel {
	overflow: visible;
}

.tsf-filter-position-top .tsf-search-panel {
	display: grid;
	grid-template-columns: minmax(360px, 1.1fr) minmax(540px, 1.4fr);
	gap: 16px 18px;
	align-items: start;
}

.tsf-filter-position-top .tsf-search-panel > .tsf-search-panel-intro {
	grid-column: 1 / -1;
	margin-bottom: 0;
}

.tsf-filter-position-top .tsf-search-topbar {
	grid-column: 1;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	margin: 0;
}

.tsf-filter-position-top .tsf-search-input {
	min-height: 54px;
}

.tsf-filter-position-top .tsf-filter-panel {
	grid-column: 2;
	margin-top: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(150px, 1fr));
	gap: 12px;
	align-items: center;
}

.tsf-filter-position-top .tsf-filter-panel .tsf-filter-group,
.tsf-filter-position-top .tsf-filter-panel .tsf-category-inline-filter {
	margin: 0;
	align-self: center;
}

.tsf-filter-position-top .tsf-filter-dropdown select,
.tsf-filter-position-top .tsf-category-inline-filter select {
	min-height: 54px;
	border-radius: 20px !important;
}

@media (max-width: 1320px) {
	.tsf-filter-position-top .tsf-search-panel {
		grid-template-columns: 1fr;
	}

	.tsf-filter-position-top .tsf-search-topbar,
	.tsf-filter-position-top .tsf-filter-panel {
		grid-column: 1;
	}

	.tsf-filter-position-top .tsf-filter-panel {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		margin-top: 12px;
	}
}


/* v1.1.9 modern dropdown system */
.tsf-search-panel {
	overflow: visible;
}

.tsf-filter-dropdown select,
.tsf-category-inline-filter select {
	appearance: none;
	-webkit-appearance: none;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23D1432E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
		linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.94)) !important;
	background-repeat: no-repeat, no-repeat !important;
	background-position: right 16px center, center !important;
	background-size: 18px, 100% !important;
	border: 1px solid rgba(226, 232, 240, .96) !important;
	box-shadow: 0 16px 34px rgba(2, 8, 23, .12), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
	font-weight: 850;
	letter-spacing: -.01em;
}

.tsf-filter-dropdown select:hover,
.tsf-category-inline-filter select:hover {
	border-color: color-mix(in srgb, var(--tsf-accent) 44%, #d9e0ea) !important;
	box-shadow: 0 20px 42px rgba(2, 8, 23, .16), inset 0 1px 0 rgba(255, 255, 255, .94) !important;
}

.tsf-native-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
}

.tsf-custom-select {
	position: relative;
	width: 100%;
	z-index: 20;
}

.tsf-custom-select.is-open {
	z-index: 100000;
}

.tsf-custom-select-button {
	width: 100%;
	min-height: 54px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 1px solid rgba(226, 232, 240, .94);
	border-radius: 20px;
	padding: 0 15px 0 18px;
	background:
		linear-gradient(135deg, rgba(255,255,255,.99), rgba(248,250,252,.94));
	color: var(--tsf-primary);
	box-shadow: 0 18px 40px rgba(2, 8, 23, .14), inset 0 1px 0 rgba(255,255,255,.92);
	font-size: 15px;
	font-weight: 850;
	letter-spacing: -.01em;
	cursor: pointer;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tsf-custom-select-button::after {
	content: '';
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: var(--tsf-accent);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .18s ease;
}

.tsf-custom-select.is-open .tsf-custom-select-button::after {
	transform: rotate(180deg);
}

.tsf-custom-select-button:hover,
.tsf-custom-select.is-open .tsf-custom-select-button {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--tsf-accent) 46%, #d9e0ea);
	box-shadow: 0 24px 50px rgba(2, 8, 23, .19), 0 0 0 4px color-mix(in srgb, var(--tsf-accent) 10%, transparent), inset 0 1px 0 rgba(255,255,255,.96);
}

.tsf-custom-select-menu {
	position: absolute;
	left: 0;
	top: calc(100% + 10px);
	width: 100%;
	max-height: 290px;
	overflow-y: auto;
	padding: 8px;
	margin: 0;
	list-style: none;
	border: 1px solid rgba(226, 232, 240, .96);
	border-radius: 22px;
	background: rgba(255,255,255,.98);
	box-shadow: 0 28px 60px rgba(2, 8, 23, .26), inset 0 1px 0 rgba(255,255,255,.95);
	backdrop-filter: blur(16px);
	display: none;
}

.tsf-custom-select.is-open .tsf-custom-select-menu {
	display: block;
}

.tsf-custom-select-option {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 12px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 760;
	color: #172033;
	cursor: pointer;
	transition: background .16s ease, color .16s ease, transform .16s ease;
}

.tsf-custom-select-option:hover,
.tsf-custom-select-option.is-selected {
	background: color-mix(in srgb, var(--tsf-accent) 12%, #fff);
	color: var(--tsf-accent);
}

.tsf-custom-select-option.is-selected::before {
	content: '✓';
	font-weight: 950;
	margin-right: 8px;
	color: var(--tsf-accent);
}

.tsf-custom-select-option.is-disabled {
	display: none;
}


/* v1.1.10 dropdown cleanup: readable hover + proper stacking */
.tsf-search-app,
.tsf-search-panel,
.tsf-search-topbar,
.tsf-filter-panel,
.tsf-filter-group,
.tsf-filter-dropdown,
.tsf-category-inline-filter {
	overflow: visible !important;
}

.tsf-search-app {
	position: relative;
}

.tsf-search-panel {
	z-index: 50;
}

.tsf-results-area,
.tsf-results {
	position: relative;
	z-index: 1;
}

.tsf-custom-select {
	isolation: isolate;
	z-index: 100;
}

.tsf-custom-select.is-open {
	z-index: 999999 !important;
}

.tsf-custom-select-button,
.tsf-custom-select-button:hover,
.tsf-custom-select.is-open .tsf-custom-select-button,
.tsf-custom-select-button:focus,
.tsf-custom-select-button:focus-visible {
	color: #172033 !important;
	background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
	border-color: rgba(220, 227, 236, .98) !important;
	box-shadow: 0 12px 30px rgba(2, 8, 23, .12), inset 0 1px 0 rgba(255, 255, 255, .95) !important;
	text-shadow: none !important;
	outline: none !important;
}

.tsf-custom-select-button:hover,
.tsf-custom-select.is-open .tsf-custom-select-button,
.tsf-custom-select-button:focus-visible {
	border-color: color-mix(in srgb, var(--tsf-accent) 42%, #d9e0ea) !important;
	box-shadow: 0 16px 34px rgba(2, 8, 23, .16), 0 0 0 3px color-mix(in srgb, var(--tsf-accent) 12%, transparent), inset 0 1px 0 rgba(255, 255, 255, .96) !important;
}

.tsf-custom-select-current {
	color: #172033 !important;
}

.tsf-custom-select-menu {
	z-index: 999999 !important;
	background: #ffffff !important;
	border: 1px solid rgba(220, 227, 236, .98) !important;
	box-shadow: 0 20px 46px rgba(2, 8, 23, .18) !important;
	backdrop-filter: none !important;
	color: #172033 !important;
	padding: 7px !important;
	max-height: 330px;
}

.tsf-custom-select-option,
.tsf-custom-select-option:hover,
.tsf-custom-select-option:focus,
.tsf-custom-select-option.is-selected {
	color: #172033 !important;
	text-shadow: none !important;
}

.tsf-custom-select-option {
	background: transparent !important;
}

.tsf-custom-select-option:hover,
.tsf-custom-select-option:focus {
	background: #f3f6fa !important;
	transform: none !important;
}

.tsf-custom-select-option.is-selected {
	background: #fff2ef !important;
	color: var(--tsf-accent) !important;
}

.tsf-custom-select-option.is-selected::before {
	color: var(--tsf-accent) !important;
}


/* v1.1.11 top control alignment + preview parity support */
.tsf-filter-position-top .tsf-search-panel {
	align-items: center;
}

.tsf-filter-position-top .tsf-search-topbar,
.tsf-filter-position-top .tsf-filter-panel {
	align-self: center;
}

.tsf-filter-position-top .tsf-search-topbar {
	padding: 10px;
	min-height: 76px;
}

.tsf-filter-position-top .tsf-search-input {
	min-height: 54px;
	line-height: 1.2 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.tsf-filter-position-top .tsf-search-icon {
	left: 22px;
}

.tsf-filter-position-top .tsf-filter-panel {
	align-items: center;
}

.tsf-filter-position-top .tsf-custom-select,
.tsf-filter-position-top .tsf-filter-group,
.tsf-filter-position-top .tsf-category-inline-filter {
	display: flex;
	align-items: center;
}

.tsf-filter-position-top .tsf-custom-select-button {
	min-height: 56px;
	align-items: center;
	padding-top: 0;
	padding-bottom: 0;
}

.tsf-filter-position-top .tsf-custom-select-current {
	display: inline-flex;
	align-items: center;
	min-height: 1.2em;
}


/* v1.1.17 pagination polish */
.tsf-results-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 18px;
	position: relative;
	z-index: 3;
}

.tsf-results-toolbar .tsf-results-meta {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--tsf-primary);
}

.tsf-results-toolbar .tsf-results-meta strong {
	font-size: 18px;
	font-weight: 950;
	color: var(--tsf-accent);
}

.tsf-pagination {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
	padding: 7px;
	border: 1px solid color-mix(in srgb, var(--tsf-primary) 10%, #fff);
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 18px 38px rgba(15, 23, 42, .09);
	backdrop-filter: blur(12px);
}

.tsf-pagination-top {
	margin-top: 0;
	flex: 0 0 auto;
}

.tsf-pagination-bottom {
	display: flex;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.tsf-pagination button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--tsf-primary);
	padding: 0 15px;
	font-weight: 900;
	font-size: 13px;
	letter-spacing: -.01em;
	cursor: pointer;
	box-shadow: none;
	transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.tsf-pagination button span[aria-hidden="true"] {
	font-size: 21px;
	line-height: 1;
	margin-top: -1px;
}

.tsf-pagination button:hover:not(:disabled),
.tsf-pagination button:focus-visible:not(:disabled) {
	transform: translateY(-1px);
	background: linear-gradient(135deg, var(--tsf-accent), var(--tsf-accent-dark));
	color: #fff;
	box-shadow: 0 10px 20px color-mix(in srgb, var(--tsf-accent) 24%, transparent);
	outline: none;
}

.tsf-pagination button:disabled {
	opacity: .38;
	cursor: not-allowed;
	transform: none;
}

.tsf-page-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--tsf-primary) 7%, #fff);
	color: var(--tsf-primary);
	font-size: 13px;
	font-weight: 950;
	white-space: nowrap;
}

.tsf-filter-position-left .tsf-results-toolbar,
.tsf-filter-position-right .tsf-results-toolbar {
	align-items: flex-start;
}

@media (max-width: 720px) {
	.tsf-results-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.tsf-pagination,
	.tsf-pagination-bottom,
	.tsf-pagination-top {
		width: 100%;
		justify-content: space-between;
	}

	.tsf-pagination button {
		padding-inline: 12px;
	}
}


/* v1.1.18 pagination page jump */
.tsf-page-jump {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 8px 0 14px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--tsf-primary) 7%, #fff);
	color: var(--tsf-primary);
	font-size: 13px;
	font-weight: 950;
	white-space: nowrap;
}

.tsf-page-input {
	width: 64px !important;
	min-height: 34px !important;
	padding: 0 8px !important;
	border: 1px solid color-mix(in srgb, var(--tsf-primary) 12%, #fff) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--tsf-primary) !important;
	font-size: 14px !important;
	font-weight: 950 !important;
	text-align: center !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
}

.tsf-page-input:focus {
	outline: none !important;
	border-color: var(--tsf-accent) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tsf-accent) 15%, transparent) !important;
}

.tsf-page-go {
	background: color-mix(in srgb, var(--tsf-accent) 12%, #fff) !important;
	color: var(--tsf-accent-dark) !important;
}

.tsf-page-go:hover:not(:disabled),
.tsf-page-go:focus-visible:not(:disabled) {
	color: #fff !important;
}

@media (max-width: 720px) {
	.tsf-page-jump {
		flex: 1 1 auto;
	}

	.tsf-page-input {
		width: 58px !important;
	}
}


/* v1.1.19 refined pagination styling */
.tsf-pagination {
	gap: 6px;
	padding: 8px;
	border-radius: 22px;
	border: 1px solid color-mix(in srgb, var(--tsf-primary) 9%, #fff);
	background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94));
	box-shadow: 0 16px 34px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.tsf-pagination button {
	min-height: 40px;
	border-radius: 14px;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 850;
	color: color-mix(in srgb, var(--tsf-primary) 88%, #64748b);
}

.tsf-pagination button:hover:not(:disabled),
.tsf-pagination button:focus-visible:not(:disabled) {
	transform: translateY(-1px);
	background: color-mix(in srgb, var(--tsf-accent) 9%, #fff);
	color: var(--tsf-accent-dark);
	box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.tsf-pagination button span[aria-hidden="true"] {
	font-size: 18px;
	font-weight: 900;
}

.tsf-page-jump {
	min-height: 40px;
	gap: 7px;
	padding: 0 10px 0 12px;
	border-radius: 16px;
	background: color-mix(in srgb, var(--tsf-primary) 5%, #fff);
	border: 1px solid color-mix(in srgb, var(--tsf-primary) 7%, #fff);
	font-weight: 850;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

.tsf-page-input {
	width: 58px !important;
	min-height: 32px !important;
	border-radius: 12px !important;
	border-color: color-mix(in srgb, var(--tsf-primary) 10%, #fff) !important;
	font-size: 13px !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
}

.tsf-page-input:focus {
	border-color: color-mix(in srgb, var(--tsf-accent) 72%, #fff) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--tsf-accent) 13%, transparent) !important;
}

.tsf-page-total {
	color: color-mix(in srgb, var(--tsf-primary) 70%, #64748b);
	font-weight: 800;
}

.tsf-page-go {
	min-width: 46px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--tsf-accent) 14%, #fff), color-mix(in srgb, var(--tsf-accent) 7%, #fff)) !important;
	color: var(--tsf-accent-dark) !important;
	border: 1px solid color-mix(in srgb, var(--tsf-accent) 15%, #fff) !important;
}

.tsf-page-go:hover:not(:disabled),
.tsf-page-go:focus-visible:not(:disabled) {
	background: linear-gradient(135deg, var(--tsf-accent), var(--tsf-accent-dark)) !important;
	color: #fff !important;
	box-shadow: 0 10px 20px color-mix(in srgb, var(--tsf-accent) 22%, transparent) !important;
}

@media (max-width: 720px) {
	.tsf-pagination {
		border-radius: 18px;
		gap: 5px;
	}

	.tsf-page-input {
		width: 54px !important;
	}
}


/* v1.1.20 removable active filters */
.tsf-active-filter {
	padding: 7px 8px 7px 12px;
	border-radius: 14px;
}

.tsf-active-filter-text {
	line-height: 1.2;
}

.tsf-active-filter-remove {
	appearance: none;
	width: 22px;
	height: 22px;
	border: 1px solid color-mix(in srgb, var(--tsf-accent) 26%, transparent);
	border-radius: 9px;
	background: color-mix(in srgb, #fff 76%, var(--tsf-accent) 24%);
	color: var(--tsf-accent);
	font-size: 16px;
	font-weight: 900;
	line-height: 18px;
	text-align: center;
	padding: 0;
	cursor: pointer;
	transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.tsf-active-filter-remove:hover,
.tsf-active-filter-remove:focus-visible {
	background: var(--tsf-accent);
	border-color: var(--tsf-accent);
	color: #fff;
	box-shadow: 0 8px 16px color-mix(in srgb, var(--tsf-accent) 24%, transparent);
	transform: translateY(-1px);
}


/* v1.1.23 larger results count */
.tsf-results-meta {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: color-mix(in srgb, var(--tsf-primary) 86%, #64748b);
}

.tsf-results-meta strong,
.tsf-results-toolbar .tsf-results-meta strong {
	font-size: clamp(23px, 2.2vw, 32px);
	font-weight: 950;
	line-height: 1;
	color: var(--tsf-accent);
}

.tsf-results-toolbar .tsf-results-meta {
	font-size: 16px;
	font-weight: 850;
}

@media (max-width: 720px) {
	.tsf-results-meta,
	.tsf-results-toolbar .tsf-results-meta {
		font-size: 15px;
	}
}


/* v1.1.27 front-end overflow and topbar tightening */
.tsf-search-app,
.tsf-search-app * {
	max-width: 100%;
}

.tsf-search-app {
	overflow-x: clip;
}

@supports not (overflow: clip) {
	.tsf-search-app {
		overflow-x: hidden;
	}
}

.tsf-search-panel,
.tsf-results-area,
.tsf-results,
.tsf-filter-position-top .tsf-search-panel,
.tsf-filter-position-top .tsf-search-topbar,
.tsf-filter-position-top .tsf-filter-panel,
.tsf-filter-position-top .tsf-filter-group {
	min-width: 0;
}

.tsf-filter-position-top .tsf-search-topbar {
	padding: 10px 0px 5px 12px;
	min-height: 76px;
}

.tsf-filter-position-top .tsf-filter-panel {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@container (max-width: 980px) {
	.tsf-filter-position-top .tsf-filter-panel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container (max-width: 640px) {
	.tsf-filter-position-top .tsf-filter-panel {
		grid-template-columns: 1fr;
	}
}


/* v1.1.28 load-more navigation cleanup */
.tsf-pagination[hidden],
.tsf-load-more-wrap[hidden],
.tsf-active-filters[hidden] {
	display: none !important;
}

.tsf-search-app[data-pagination-type="load_more"] .tsf-pagination {
	display: none !important;
}


/* v1.1.29 load-more contrast and button radius */
.tsf-clear-button,
.tsf-load-more {
	border: 1px solid rgba(255, 255, 255, .18) !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, .12) !important;
	color: #fff !important;
	min-height: 54px !important;
	padding: 0 20px !important;
	font-weight: 850 !important;
	letter-spacing: -.01em !important;
	cursor: pointer !important;
	transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

.tsf-clear-button:hover,
.tsf-clear-button:focus,
.tsf-load-more:hover,
.tsf-load-more:focus,
.tsf-load-more:focus-visible {
	color: #fff !important;
	border-color: rgba(255, 255, 255, .34) !important;
	background: rgba(255, 255, 255, .22) !important;
	text-decoration: none !important;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .16) !important;
	transform: translateY(-1px) !important;
}

.tsf-filter-position-top .tsf-search-topbar {
	padding: 10px 0px 5px 12px !important;
	min-height: 76px !important;
}


/* v1.1.30 Load More contrast fix */
.tsf-load-more {
	background: linear-gradient(135deg, var(--tsf-accent), var(--tsf-accent-dark)) !important;
	border-color: color-mix(in srgb, var(--tsf-accent) 75%, #ffffff) !important;
	color: #ffffff !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .18) !important;
	box-shadow: 0 14px 32px color-mix(in srgb, var(--tsf-accent) 26%, transparent) !important;
}

.tsf-load-more:hover,
.tsf-load-more:focus,
.tsf-load-more:focus-visible {
	background: linear-gradient(135deg, color-mix(in srgb, var(--tsf-accent) 92%, #000000), var(--tsf-accent-dark)) !important;
	border-color: color-mix(in srgb, var(--tsf-accent) 85%, #ffffff) !important;
	color: #ffffff !important;
	box-shadow: 0 18px 38px color-mix(in srgb, var(--tsf-accent) 34%, transparent) !important;
}


/* v1.1.31 frontend horizontal scroll guard */
.tsf-search-app,
.fl-builder-content .tsf-search-app,
.fl-module-content .tsf-search-app,
.wp-block-shortcode .tsf-search-app {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	overflow-x: clip !important;
	overflow-y: visible !important;
}

@supports not (overflow: clip) {
	.tsf-search-app,
	.fl-builder-content .tsf-search-app,
	.fl-module-content .tsf-search-app,
	.wp-block-shortcode .tsf-search-app {
		overflow-x: hidden !important;
	}
}

.tsf-search-app *,
.tsf-search-app *::before,
.tsf-search-app *::after {
	box-sizing: border-box;
}

.tsf-search-app .tsf-search-panel,
.tsf-search-app .tsf-results-area,
.tsf-search-app .tsf-results-toolbar,
.tsf-search-app .tsf-results,
.tsf-search-app .tsf-result-card,
.tsf-search-app .tsf-filter-panel,
.tsf-search-app .tsf-search-topbar,
.tsf-search-app .tsf-filter-group,
.tsf-search-app .tsf-custom-select,
.tsf-search-app .tsf-custom-select-button,
.tsf-search-app .tsf-search-input-wrap {
	max-width: 100% !important;
	min-width: 0 !important;
}

.tsf-filter-position-top .tsf-search-panel {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr) !important;
}

.tsf-filter-position-top .tsf-filter-panel {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.tsf-filter-position-top .tsf-custom-select-button,
.tsf-filter-position-top .tsf-custom-select-current {
	min-width: 0 !important;
}

.tsf-filter-position-top .tsf-custom-select-current {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tsf-custom-select-menu {
	max-width: min(420px, calc(100vw - 32px)) !important;
}

@media (max-width: 1320px) {
	.tsf-filter-position-top .tsf-search-panel {
		grid-template-columns: 1fr !important;
	}
}

@container (max-width: 980px) {
	.tsf-filter-position-top .tsf-filter-panel {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@container (max-width: 640px) {
	.tsf-filter-position-top .tsf-filter-panel {
		grid-template-columns: 1fr !important;
	}
}


/* v1.1.32 mobile pagination responsiveness */
@media (max-width: 720px) {
	.tsf-results-toolbar {
		gap: 12px;
	}

	.tsf-pagination,
	.tsf-pagination-bottom,
	.tsf-pagination-top {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
		width: 100%;
		max-width: 100%;
		gap: 8px;
		padding: 8px;
		border-radius: 16px;
	}

	.tsf-pagination .tsf-page-jump {
		grid-column: 1 / 3;
		grid-row: 1;
		width: 100%;
		justify-content: center;
		min-width: 0;
	}

	.tsf-pagination .tsf-page-go {
		grid-column: 3;
		grid-row: 1;
		width: 100%;
		min-width: 0;
	}

	.tsf-pagination .tsf-page-prev {
		grid-column: 1;
		grid-row: 2;
		width: 100%;
	}

	.tsf-pagination .tsf-page-next {
		grid-column: 3;
		grid-row: 2;
		width: 100%;
	}

	.tsf-pagination button {
		min-width: 0;
		padding-inline: 10px;
		white-space: nowrap;
	}

	.tsf-page-input {
		width: 56px !important;
		max-width: 56px !important;
	}
}

@media (max-width: 420px) {
	.tsf-pagination,
	.tsf-pagination-bottom,
	.tsf-pagination-top {
		grid-template-columns: 1fr auto 1fr;
		gap: 6px;
		padding: 7px;
	}

	.tsf-pagination button span:not([aria-hidden="true"]) {
		display: none;
	}

	.tsf-pagination button {
		min-height: 38px;
		padding-inline: 8px;
	}

	.tsf-pagination button span[aria-hidden="true"] {
		font-size: 20px;
		margin: 0;
	}

	.tsf-page-jump {
		gap: 6px;
		padding-inline: 8px;
		font-size: 12px;
	}

	.tsf-page-input {
		width: 48px !important;
		max-width: 48px !important;
		min-height: 30px !important;
	}
}

/* v1.1.38 transparent outer shortcode output background */
.tsf-search-app,
.fl-builder-content .tsf-search-app,
.fl-module-content .tsf-search-app,
.wp-block-shortcode .tsf-search-app,
.entry-content .tsf-search-app {
	background: transparent !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

.wp-block-shortcode:has(.tsf-search-app),
.fl-module-content:has(.tsf-search-app),
.fl-builder-content:has(.tsf-search-app) {
	background: transparent !important;
	box-shadow: none !important;
}

.tsf-search-app::before,
.tsf-search-app::after {
	background: transparent !important;
	box-shadow: none !important;
}

.tsf-search-app .tsf-results-area,
.tsf-search-app .tsf-results-toolbar,
.tsf-search-app .tsf-results {
	background: transparent !important;
	box-shadow: none !important;
}


/* v1.1.39 frontend cleanup */
.tsf-search-panel-intro-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.tsf-clear-button-hero {
	width: auto !important;
	white-space: nowrap;
	padding-inline: 18px !important;
	min-height: 52px !important;
	border-radius: 18px !important;
}

.tsf-filter-position-top .tsf-search-panel {
	margin-bottom: 12px;
}

.tsf-filter-position-top .tsf-search-panel-intro {
	align-items: flex-start;
}

.tsf-filter-position-top .tsf-search-panel-intro-actions {
	align-self: flex-start;
	margin-left: auto;
}

.tsf-filter-position-top .tsf-search-topbar {
	grid-template-columns: minmax(0, 1fr);
}

.tsf-filter-position-top .tsf-search-topbar .tsf-clear-button {
	display: none !important;
}

.tsf-search-app,
.tsf-search-app .tsf-results-area,
.tsf-search-app .tsf-results-toolbar,
.tsf-search-app .tsf-active-filters,
.tsf-search-app .tsf-pagination-top,
.tsf-search-app .tsf-pagination-bottom,
.tsf-search-app .tsf-load-more-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

.tsf-search-app .tsf-results-toolbar {
	margin-top: 0 !important;
}

@media (max-width: 900px) {
	.tsf-search-panel-intro-actions {
		width: 100%;
		justify-content: space-between;
	}

	.tsf-clear-button-hero {
		min-height: 46px !important;
	}
}


/* v1.1.40 clear button alignment + fully transparent frontend output shell */
.tsf-filter-position-top .tsf-search-panel-intro {
	align-items: center !important;
}

.tsf-filter-position-top .tsf-search-panel-intro-actions {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-end !important;
	align-self: center !important;
	gap: 18px !important;
	margin-left: auto !important;
}

.tsf-filter-position-top .tsf-clear-button-hero {
	order: 1 !important;
	align-self: center !important;
	margin: 0 !important;
	min-height: 50px !important;
	padding: 0 18px !important;
	border-radius: 14px !important;
}

.tsf-filter-position-top .tsf-panel-mark {
	order: 2 !important;
	align-self: center !important;
	margin: 0 !important;
}

.tsf-search-app,
.tsf-search-app::before,
.tsf-search-app::after,
.tsf-search-app .tsf-results-area,
.tsf-search-app .tsf-results-area::before,
.tsf-search-app .tsf-results-area::after,
.tsf-search-app .tsf-results-toolbar,
.tsf-search-app .tsf-active-filters,
.tsf-search-app .tsf-results,
.tsf-search-app .tsf-load-more-wrap,
.tsf-search-app .tsf-pagination-top,
.tsf-search-app .tsf-pagination-bottom {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

body:has(.tsf-search-app) .fl-module:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-module-content:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-rich-text:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-row-content-wrap:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-row-content:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-col-content:has(.tsf-search-app),
body:has(.tsf-search-app) .entry-content:has(.tsf-search-app),
body:has(.tsf-search-app) .wp-block-shortcode:has(.tsf-search-app) {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

@media (max-width: 900px) {
	.tsf-filter-position-top .tsf-search-panel-intro-actions {
		width: 100%;
		justify-content: space-between !important;
	}

	.tsf-filter-position-top .tsf-clear-button-hero {
		min-height: 46px !important;
	}
}


/* v1.1.41 hero clear button positioning + aggressive shell cleanup */
.tsf-filter-position-top .tsf-search-panel-intro-actions {
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 14px !important;
}

.tsf-filter-position-top .tsf-clear-button-hero {
	order: 1 !important;
	align-self: center !important;
}

.tsf-filter-position-top .tsf-panel-mark {
	order: 2 !important;
	align-self: center !important;
}

.tsf-search-app,
.tsf-search-app .tsf-results-area,
.tsf-search-app .tsf-active-filters,
.tsf-search-app .tsf-results-toolbar,
.tsf-search-app .tsf-results,
.tsf-search-app .tsf-pagination-top,
.tsf-search-app .tsf-pagination-bottom,
.tsf-search-app .tsf-load-more-wrap {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border: 0 !important;
}

.tsf-search-app .tsf-active-filters {
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}

.tsf-search-app .tsf-results-toolbar {
	margin-top: 0 !important;
	margin-bottom: 14px !important;
}

body:has(.tsf-search-app) .fl-module:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-module-content:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-rich-text:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-row:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-row-content-wrap:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-row-content:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-col-group:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-col:has(.tsf-search-app),
body:has(.tsf-search-app) .fl-col-content:has(.tsf-search-app),
body:has(.tsf-search-app) .entry-content:has(.tsf-search-app),
body:has(.tsf-search-app) .wp-block-shortcode:has(.tsf-search-app),
body:has(.tsf-search-app) .uabb-module-content:has(.tsf-search-app),
body:has(.tsf-search-app) .pp-content-wrapper:has(.tsf-search-app) {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border: 0 !important;
}


/* v1.1.42 requested topbar spacing */
.tsf-filter-position-top .tsf-search-topbar {
	padding: 10px 10px 5px 12px !important;
	min-height: 76px !important;
}


/* v1.1.44 keep bottom pagination aligned to lower right */
.tsf-search-app .tsf-pagination-bottom {
	display: flex !important;
	width: fit-content !important;
	margin-left: auto !important;
	margin-right: 0 !important;
	justify-content: flex-end !important;
}


/* v1.1.46 force bottom pagination to lower right */
.tsf-search-app .tsf-results-area {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	width: 100% !important;
}

.tsf-search-app .tsf-results-area > .tsf-results,
.tsf-search-app .tsf-results-area > .tsf-results-toolbar,
.tsf-search-app .tsf-results-area > .tsf-active-filters {
	width: 100% !important;
}

.tsf-search-app .tsf-results-area > .tsf-pagination-bottom {
	display: flex !important;
	align-self: flex-end !important;
	justify-self: end !important;
	justify-content: flex-end !important;
	width: max-content !important;
	max-width: 100% !important;
	margin: 24px 0 0 auto !important;
	float: right !important;
	clear: both !important;
}

@media (max-width: 720px) {
	.tsf-search-app .tsf-results-area > .tsf-pagination-bottom {
		align-self: stretch !important;
		width: 100% !important;
		margin: 18px 0 0 0 !important;
		float: none !important;
	}
}


/* v1.1.47 hero backgrounds, output width, and square-corner visual system */
.tsf-search-app.tsf-has-output-width {
	width: 100% !important;
	max-width: var(--tsf-output-width) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.tsf-search-app.tsf-hero-background-color .tsf-search-panel {
	background: var(--tsf-hero-background-color) !important;
}

.tsf-search-app.tsf-hero-background-color .tsf-search-panel::before,
.tsf-search-app.tsf-hero-background-color .tsf-search-panel::after {
	display: none !important;
}

.tsf-search-app.tsf-hero-background-image .tsf-search-panel {
	background-color: var(--tsf-hero-background-color) !important;
	background-image: linear-gradient(rgba(8, 14, 24, .5), rgba(8, 14, 24, .5)), var(--tsf-hero-background-image) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

.tsf-search-app.tsf-hero-background-image .tsf-search-panel::before,
.tsf-search-app.tsf-hero-background-image .tsf-search-panel::after {
	display: none !important;
}

.tsf-search-app,
.tsf-search-app *,
.tsf-search-app::before,
.tsf-search-app::after,
.tsf-search-app *::before,
.tsf-search-app *::after {
	border-radius: 0 !important;
}

/* v1.1.48 polished checkbox and pill filters */
.tsf-filter-position-top .tsf-search-panel {
	align-items: start !important;
}

.tsf-filter-position-top .tsf-search-topbar,
.tsf-filter-position-top .tsf-filter-panel {
	align-self: start !important;
}

.tsf-filter-position-top .tsf-filter-panel {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	align-content: flex-start !important;
	gap: 12px !important;
}

.tsf-filter-position-top .tsf-filter-panel > .tsf-filter-dropdown {
	flex: 1 1 220px !important;
	width: auto !important;
	max-width: 300px !important;
}

.tsf-filter-position-top .tsf-filter-panel > .tsf-filter-checkbox,
.tsf-filter-position-top .tsf-filter-panel > .tsf-filter-pills {
	flex: 1 1 100% !important;
	width: 100% !important;
	max-width: 100% !important;
}

.tsf-search-app .tsf-filter-checkbox,
.tsf-search-app .tsf-filter-pills {
	overflow: visible !important;
	padding: 16px !important;
	border: 1px solid rgba(255, 255, 255, .72) !important;
	background: rgba(255, 255, 255, .97) !important;
	box-shadow: 0 16px 34px rgba(6, 14, 27, .14) !important;
}

.tsf-search-app .tsf-filter-checkbox::before,
.tsf-search-app .tsf-filter-pills::before {
	height: 3px !important;
}

.tsf-search-app .tsf-filter-checkbox .tsf-filter-label,
.tsf-search-app .tsf-filter-pills .tsf-filter-label {
	margin: 0 0 12px !important;
	color: var(--tsf-primary) !important;
	line-height: 1.25 !important;
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-options {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)) !important;
	gap: 9px !important;
	width: 100% !important;
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-option {
	position: relative;
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 10px !important;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid #dfe4eb !important;
	background: #ffffff !important;
	box-shadow: none !important;
	color: var(--tsf-primary) !important;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-option:hover {
	border-color: color-mix(in srgb, var(--tsf-accent) 44%, #dfe4eb) !important;
	background: color-mix(in srgb, var(--tsf-accent) 4%, #ffffff) !important;
	box-shadow: 0 7px 16px rgba(15, 23, 42, .07) !important;
	transform: translateY(-1px);
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-option input[type="checkbox"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: grid !important;
	place-content: center !important;
	width: 19px !important;
	height: 19px !important;
	min-width: 19px !important;
	margin: 0 !important;
	border: 1.5px solid #9aa4b2 !important;
	background: #ffffff !important;
	box-shadow: none !important;
	cursor: pointer;
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-option input[type="checkbox"]::before {
	content: "";
	width: 9px;
	height: 5px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(-45deg) scale(0);
	transform-origin: center;
	transition: transform .12s ease;
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-option input[type="checkbox"]:checked {
	border-color: var(--tsf-accent) !important;
	background: var(--tsf-accent) !important;
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-option input[type="checkbox"]:checked::before {
	transform: rotate(-45deg) scale(1);
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-option input[type="checkbox"]:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--tsf-accent) 24%, transparent) !important;
	outline-offset: 2px !important;
}

.tsf-search-app .tsf-filter-checkbox .tsf-term-option span {
	min-width: 0 !important;
	font-size: 14px !important;
	font-weight: 750 !important;
	line-height: 1.3 !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
}

.tsf-search-app .tsf-filter-pills .tsf-term-options {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	gap: 9px !important;
	width: 100% !important;
}

.tsf-search-app .tsf-filter-pills .tsf-term-option {
	display: inline-flex !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.tsf-search-app .tsf-filter-pills .tsf-term-option span {
	min-height: 42px !important;
	max-width: 100% !important;
	padding: 10px 14px !important;
	border: 1px solid #d9e0e9 !important;
	background: #ffffff !important;
	box-shadow: none !important;
	color: #344054 !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
}

.tsf-search-app .tsf-filter-pills .tsf-term-option:hover span {
	border-color: color-mix(in srgb, var(--tsf-accent) 48%, #d9e0e9) !important;
	background: color-mix(in srgb, var(--tsf-accent) 5%, #ffffff) !important;
	box-shadow: 0 7px 16px rgba(15, 23, 42, .07) !important;
	transform: translateY(-1px) !important;
}

.tsf-search-app .tsf-filter-pills .tsf-term-option input:checked + span {
	border-color: var(--tsf-accent) !important;
	background: var(--tsf-accent) !important;
	color: #ffffff !important;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--tsf-accent) 24%, transparent) !important;
}

@media (max-width: 720px) {
	.tsf-filter-position-top .tsf-filter-panel > .tsf-filter-dropdown {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}

	.tsf-search-app .tsf-filter-checkbox .tsf-term-options {
		grid-template-columns: 1fr !important;
	}

	.tsf-search-app .tsf-filter-pills .tsf-term-option,
	.tsf-search-app .tsf-filter-pills .tsf-term-option span {
		width: 100% !important;
	}
}


/* v1.1.50 vertically centered, modern top-position dropdowns */
.tsf-filter-position-top .tsf-search-panel {
	align-items: center !important;
}

.tsf-filter-position-top .tsf-search-topbar,
.tsf-filter-position-top .tsf-filter-panel {
	align-self: center !important;
}

.tsf-filter-position-top .tsf-filter-panel {
	min-height: 76px !important;
	align-items: center !important;
	align-content: center !important;
}

.tsf-filter-position-top .tsf-filter-panel > .tsf-filter-dropdown {
	align-self: center !important;
}

.tsf-filter-position-top .tsf-filter-dropdown .tsf-custom-select {
	display: block !important;
	width: 100% !important;
}

.tsf-search-app .tsf-custom-select-button {
	position: relative !important;
	overflow: hidden !important;
	min-height: 56px !important;
	padding: 0 52px 0 20px !important;
	border: 1px solid rgba(214, 221, 231, .98) !important;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%) !important;
	color: #172033 !important;
	box-shadow: 0 12px 28px rgba(2, 8, 23, .13), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
	font-size: 14px !important;
	font-weight: 850 !important;
	letter-spacing: -.012em !important;
	transform: none !important;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.tsf-search-app .tsf-custom-select-button::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--tsf-accent), var(--tsf-accent-dark));
	opacity: .9;
	transition: width .18s ease, opacity .18s ease;
}

.tsf-search-app .tsf-custom-select-button::after {
	position: absolute !important;
	right: 18px !important;
	top: 50% !important;
	width: 17px !important;
	height: 17px !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	background: var(--tsf-accent) !important;
	transition: transform .18s ease !important;
}

.tsf-search-app .tsf-custom-select.is-open .tsf-custom-select-button::after {
	transform: translateY(-50%) rotate(180deg) !important;
}

.tsf-search-app .tsf-custom-select-button:hover,
.tsf-search-app .tsf-custom-select-button:focus-visible,
.tsf-search-app .tsf-custom-select.is-open .tsf-custom-select-button {
	border-color: color-mix(in srgb, var(--tsf-accent) 48%, #d6dde7) !important;
	background: #ffffff !important;
	box-shadow: 0 16px 34px rgba(2, 8, 23, .17), 0 0 0 3px color-mix(in srgb, var(--tsf-accent) 11%, transparent), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
	transform: translateY(-1px) !important;
	outline: none !important;
}

.tsf-search-app .tsf-custom-select-button:hover::before,
.tsf-search-app .tsf-custom-select-button:focus-visible::before,
.tsf-search-app .tsf-custom-select.is-open .tsf-custom-select-button::before {
	width: 6px;
	opacity: 1;
}

.tsf-search-app .tsf-custom-select-current {
	display: block !important;
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	color: #172033 !important;
}

.tsf-search-app .tsf-custom-select-menu {
	top: calc(100% + 8px) !important;
	padding: 8px !important;
	border: 1px solid #dbe2eb !important;
	border-top: 3px solid var(--tsf-accent) !important;
	background: #ffffff !important;
	box-shadow: 0 24px 52px rgba(2, 8, 23, .22) !important;
	max-height: 320px !important;
}

.tsf-search-app .tsf-custom-select-option {
	position: relative;
	min-height: 44px !important;
	padding: 10px 12px !important;
	border: 1px solid transparent !important;
	background: transparent !important;
	color: #263244 !important;
	font-size: 14px !important;
	font-weight: 760 !important;
	line-height: 1.25 !important;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease !important;
}

.tsf-search-app .tsf-custom-select-option + .tsf-custom-select-option {
	margin-top: 3px !important;
}

.tsf-search-app .tsf-custom-select-option:hover,
.tsf-search-app .tsf-custom-select-option:focus {
	border-color: #e3e8ef !important;
	background: #f4f7fa !important;
	color: #172033 !important;
	outline: none !important;
}

.tsf-search-app .tsf-custom-select-option.is-selected {
	border-color: color-mix(in srgb, var(--tsf-accent) 24%, #e3e8ef) !important;
	background: color-mix(in srgb, var(--tsf-accent) 8%, #ffffff) !important;
	color: var(--tsf-accent-dark) !important;
	font-weight: 850 !important;
}

.tsf-search-app .tsf-custom-select-option.is-selected::before {
	content: "✓" !important;
	display: inline-grid !important;
	place-items: center !important;
	width: 20px !important;
	height: 20px !important;
	margin-right: 9px !important;
	background: var(--tsf-accent) !important;
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}

@container (max-width: 640px) {
	.tsf-filter-position-top .tsf-filter-panel {
		min-height: 0 !important;
	}
}


/* v1.1.51 keep the hero full width while allowing content width adjustment */
.tsf-filter-position-top.tsf-has-output-width {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.tsf-filter-position-top.tsf-has-output-width .tsf-search-panel {
	width: 100% !important;
	max-width: 100% !important;
}

.tsf-filter-position-top.tsf-has-output-width .tsf-results-area {
	width: 100% !important;
	max-width: var(--tsf-output-width) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* v1.1.52 always force the top hero/search panel to full viewport width */
.tsf-search-app.tsf-filter-position-top {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-results-area {
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.tsf-search-app.tsf-filter-position-top.tsf-has-output-width .tsf-results-area {
	max-width: var(--tsf-output-width) !important;
}

.tsf-search-app.tsf-filter-position-top:not(.tsf-has-output-width) .tsf-results-area {
	max-width: 100% !important;
}

body:has(.tsf-search-app.tsf-filter-position-top) .fl-row-content-wrap:has(.tsf-search-app.tsf-filter-position-top),
body:has(.tsf-search-app.tsf-filter-position-top) .fl-row-content:has(.tsf-search-app.tsf-filter-position-top),
body:has(.tsf-search-app.tsf-filter-position-top) .fl-col-content:has(.tsf-search-app.tsf-filter-position-top),
body:has(.tsf-search-app.tsf-filter-position-top) .entry-content:has(.tsf-search-app.tsf-filter-position-top),
body:has(.tsf-search-app.tsf-filter-position-top) .wp-block-shortcode:has(.tsf-search-app.tsf-filter-position-top) {
	overflow: visible !important;
}

/* v1.1.53 remove side whitespace and let the top hero bleed edge to edge */
.tsf-search-app.tsf-filter-position-top,
.tsf-search-app.tsf-filter-position-top .tsf-search-panel {
	overflow: visible !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel {
	padding-left: clamp(24px, 5vw, 80px) !important;
	padding-right: clamp(24px, 5vw, 80px) !important;
}

body:has(.tsf-search-app.tsf-filter-position-top) .fl-module,
body:has(.tsf-search-app.tsf-filter-position-top) .fl-module-content,
body:has(.tsf-search-app.tsf-filter-position-top) .fl-rich-text,
body:has(.tsf-search-app.tsf-filter-position-top) .fl-row,
body:has(.tsf-search-app.tsf-filter-position-top) .fl-row-content-wrap,
body:has(.tsf-search-app.tsf-filter-position-top) .fl-row-content,
body:has(.tsf-search-app.tsf-filter-position-top) .fl-col-group,
body:has(.tsf-search-app.tsf-filter-position-top) .fl-col,
body:has(.tsf-search-app.tsf-filter-position-top) .fl-col-content,
body:has(.tsf-search-app.tsf-filter-position-top) .uabb-module-content,
body:has(.tsf-search-app.tsf-filter-position-top) .pp-content-wrapper,
body:has(.tsf-search-app.tsf-filter-position-top) .entry-content,
body:has(.tsf-search-app.tsf-filter-position-top) .wp-block-shortcode {
	overflow: visible !important;
}

/* v1.1.54 center all top-hero content inside the full-width background */
.tsf-search-app.tsf-filter-position-top .tsf-search-panel {
	display: block !important;
	padding: 0 !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner {
	width: calc(100% - clamp(32px, 8vw, 160px)) !important;
	max-width: 1440px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-top: clamp(24px, 3.4vw, 48px) !important;
	padding-bottom: clamp(24px, 3.4vw, 48px) !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
	gap: 16px 18px !important;
	align-items: start !important;
}

.tsf-search-app.tsf-filter-position-top.tsf-has-output-width .tsf-search-panel-inner {
	max-width: var(--tsf-output-width) !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner > .tsf-search-panel-intro {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	margin: 0 !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner > .tsf-search-topbar {
	grid-column: 1 !important;
	width: 100% !important;
	margin: 0 !important;
	align-self: stretch !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner > .tsf-filter-panel {
	grid-column: 2 !important;
	width: 100% !important;
	margin: 0 !important;
	align-self: stretch !important;
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
	gap: 12px !important;
}

@media (max-width: 1180px) {
	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner {
		grid-template-columns: 1fr !important;
	}

	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner > .tsf-search-topbar,
	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner > .tsf-filter-panel {
		grid-column: 1 !important;
	}
}

@media (max-width: 640px) {
	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner {
		width: calc(100% - 32px) !important;
	}

	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner > .tsf-filter-panel {
		grid-template-columns: 1fr !important;
	}
}

/* v1.1.56 let top-hero content use the full width below 901px */
@media (max-width: 900px) {
	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner {
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box !important;
	}

	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-intro {
		display: block !important;
		width: 100% !important;
	}

	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-intro > div,
	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-intro-actions {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-intro h2,
	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-intro p {
		max-width: 100% !important;
		width: 100% !important;
	}

	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-intro-actions {
		margin-top: 12px !important;
	}
}

/* v1.1.58 prevent the full-width hero from collapsing or clipping vertically */
.tsf-search-app.tsf-filter-position-top .tsf-search-panel {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow-x: visible !important;
	overflow-y: visible !important;
}

.tsf-search-app.tsf-filter-position-top.tsf-has-intro .tsf-search-panel {
	min-height: clamp(290px, 21vw, 380px) !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner {
	position: relative !important;
	z-index: 1 !important;
	height: auto !important;
	min-height: inherit !important;
	max-height: none !important;
	overflow: visible !important;
	grid-auto-flow: row !important;
	grid-auto-rows: max-content !important;
	align-content: center !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel-intro {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	transform: none !important;
	clip: auto !important;
	clip-path: none !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.tsf-search-app.tsf-filter-position-top .tsf-search-panel-intro > div {
	position: relative !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

@media (max-width: 900px) {
	.tsf-search-app.tsf-filter-position-top.tsf-has-intro .tsf-search-panel {
		min-height: 0 !important;
	}

	.tsf-search-app.tsf-filter-position-top .tsf-search-panel-inner {
		align-content: start !important;
	}
}

