.SearchNewPage {
	--searchnew-accent: var(--color-green);
	--searchnew-accent-dark: var(--color-green-dark);
	--searchnew-accent-light: var(--color-green-light);
	--searchnew-surface: var(--color-layer-1);
	--searchnew-surface-muted: var(--color-layer-2);
	--searchnew-surface-soft: var(--color-layer-3);
	--searchnew-border: var(--border-light);
	--searchnew-border-strong: var(--border-medium);
	--searchnew-text: var(--color-text-primary);
	--searchnew-text-muted: var(--color-text-secondary);
	--searchnew-shadow: var(--shadow-default);
	--searchnew-search-shadow: 0 10px 28px rgba(20, 34, 18, 0.08);
	--searchnew-search-shadow-focus: 0 16px 38px rgba(20, 34, 18, 0.12);
	--searchnew-submit-bg: var(--searchnew-accent);
	--searchnew-submit-bg-hover: var(--searchnew-accent-dark);
	--searchnew-submit-border: var(--searchnew-accent-dark);
	--searchnew-submit-icon: #fffdf6;
	--searchnew-submit-shadow: 0 12px 28px rgba(104, 145, 0, 0.28);
	--searchnew-focus-ring: rgba(141, 194, 0, 0.22);
	--searchnew-button-hover: var(--color-layer-3);
	--searchnew-button-color: rgba(43, 43, 43, 0.72);
	--searchnew-divider-color: rgba(0, 0, 0, 0.12);
	--searchnew-pagination-hover: #edf4d5;
	--searchnew-badge-news-bg: #edf4d5;
	--searchnew-badge-events-bg: #e8ecef;
	--searchnew-badge-galleries-bg: #eff6de;
	--searchnew-badge-users-bg: #eceff1;
	--searchnew-badge-organizations-bg: #eef3df;
	--searchnew-error-border: #efc3bc;
	--searchnew-error-bg: #fff2ef;
	--searchnew-error-text: #9c3324;
	--searchnew-autocomplete-active: #edf4d5;
	padding: 18px 2px 60px;
	color: var(--searchnew-text);
	overflow-x: hidden;
	overflow-y: visible;
}

[data-theme-mode="dark"] .SearchNewPage,
[data-theme="dark"] .SearchNewPage {
	--searchnew-focus-ring: rgba(162, 210, 32, 0.28);
	--searchnew-button-hover: #3a3a3a;
	--searchnew-button-color: rgba(245, 245, 245, 0.82);
	--searchnew-divider-color: rgba(255, 255, 255, 0.16);
	--searchnew-pagination-hover: #344412;
	--searchnew-badge-news-bg: #324110;
	--searchnew-badge-events-bg: #414141;
	--searchnew-badge-galleries-bg: #2c3d16;
	--searchnew-badge-users-bg: #424242;
	--searchnew-badge-organizations-bg: #354613;
	--searchnew-error-border: #82443d;
	--searchnew-error-bg: #432825;
	--searchnew-error-text: #ffd6d0;
	--searchnew-autocomplete-active: #344412;
	--searchnew-search-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
	--searchnew-search-shadow-focus: 0 16px 38px rgba(0, 0, 0, 0.34);
	--searchnew-submit-bg: var(--searchnew-accent-light);
	--searchnew-submit-bg-hover: var(--searchnew-accent);
	--searchnew-submit-border: var(--searchnew-accent);
	--searchnew-submit-icon: #0f1805;
	--searchnew-submit-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.SearchNewTop {
	padding-top: 6px;
	position: relative;
	z-index: 400;
	overflow: visible;
}

.SearchNewPageTitle {
	margin: 0 0 22px;
	color: var(--searchnew-text);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.SearchNewControlRow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.SearchNewSearchForm {
	position: relative;
	margin: 0;
	width: 100%;
	max-width: none;
	flex: 1 1 auto;
	box-sizing: border-box;
	overflow: visible;
	z-index: 420;
}
.SearchNewSearchForm.SearchNewSearchFormCompact {
	margin-bottom: 0;
}

.SearchNewControlPrimary {
	order: 1;
	position: relative;
	margin: 0;
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
	padding: 0 16px 0 18px;
	border: 1px solid var(--searchnew-border);
	border-radius: 16px;
	background: var(--searchnew-surface);
	box-shadow: var(--searchnew-search-shadow);
	box-sizing: border-box;
	height: 50px;
	overflow: visible;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.SearchNewControlPrimary:focus-within {
	border-color: var(--searchnew-accent);
	box-shadow: 0 0 0 3px var(--searchnew-focus-ring), var(--searchnew-search-shadow-focus);
	z-index: 440;
}

.SearchNewControlSecondary {
	order: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	min-width: 0;
	flex-wrap: nowrap;
}

.SearchNewControlSearchRow {
	display: contents;
}

.SearchNewControlSubmit {
	order: 3;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.SearchNewSearchInner {
	display: flex;
	align-items: center;
	gap: 0;
	width: 100%;
	min-height: 50px;
}

.SearchNewSearchInput {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--searchnew-text);
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	line-height: 1.2;
	outline: none;
	box-shadow: none !important;
	appearance: none;
}

.SearchNewSearchInput::placeholder {
	color: var(--searchnew-text-muted);
	opacity: 1;
}

.SearchNewSearchFormCompact .SearchNewSearchInput {
	font-size: 18px;
	line-height: 1.25;
}

.SearchNewSearchActions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	flex: 0 0 auto;
	padding-left: 12px;
	padding-right: 2px;
}

.SearchNewClearButton,
.SearchNewSearchButton,
.SearchNewSubmitButton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	color: var(--searchnew-text);
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color .16s ease, color .16s ease;
	opacity: .86;
}

.SearchNewSearchFormCompact .SearchNewClearButton,
.SearchNewSearchFormCompact .SearchNewSearchButton {
	width: 32px;
	height: 32px;
}

.SearchNewClearButton span {
	display: block;
	font-size: 20px;
	line-height: 1;
	transform: translateY(-2px);
	color: #222;
	opacity: 1;
}

.SearchNewSearchButton,
.SearchNewSubmitButton {
	color: var(--searchnew-text);
}

.SearchNewSearchButton svg,
.SearchNewSubmitButton svg {
	fill: currentColor;
	width: 20px;
	height: 20px;
	transform: none;
}

.SearchNewSearchButton .SVG_Search,
.SearchNewSearchButton svg,
.SearchNewSubmitButton .SVG_Search,
.SearchNewSubmitButton svg,
.SearchNewClearButton svg {
	fill: #222 !important;
	opacity: 1;
}

.SearchNewSearchFormCompact .SearchNewSearchButton svg,
.SearchNewSearchFormCompact .SearchNewSubmitButton svg {
	width: 20px;
	height: 20px;
}

.SearchNewClearButton:hover,
.SearchNewClearButton:focus-visible,
.SearchNewSearchButton:hover,
.SearchNewSearchButton:focus-visible,
.SearchNewSubmitButton:hover,
.SearchNewSubmitButton:focus-visible {
	background: var(--searchnew-button-hover);
	color: var(--searchnew-text);
}

.SearchNewSearchButton:hover .SVG_Search,
.SearchNewSearchButton:hover svg,
.SearchNewSearchButton:focus-visible .SVG_Search,
.SearchNewSearchButton:focus-visible svg,
.SearchNewSubmitButton:hover .SVG_Search,
.SearchNewSubmitButton:hover svg,
.SearchNewSubmitButton:focus-visible .SVG_Search,
.SearchNewSubmitButton:focus-visible svg,
.SearchNewClearButton:hover svg,
.SearchNewClearButton:focus-visible svg {
	fill: #111 !important;
}

.SearchNewSearchForm[data-has-value="1"] .SearchNewClearButton {
	opacity: 1;
	color: var(--searchnew-text);
}

.SearchNewSearchForm[data-has-value="1"] .SearchNewClearButton span {
	color: #222;
	opacity: 1;
}

[data-theme-mode="dark"] .SearchNewSearchButton .SVG_Search,
[data-theme-mode="dark"] .SearchNewSearchButton svg,
[data-theme-mode="dark"] .SearchNewClearButton svg,
[data-theme="dark"] .SearchNewSearchButton .SVG_Search,
[data-theme="dark"] .SearchNewSearchButton svg,
[data-theme="dark"] .SearchNewClearButton svg {
	fill: #f2f2f2 !important;
}

[data-theme-mode="dark"] .SearchNewSubmitButton .SVG_Search,
[data-theme-mode="dark"] .SearchNewSubmitButton svg,
[data-theme="dark"] .SearchNewSubmitButton .SVG_Search,
[data-theme="dark"] .SearchNewSubmitButton svg {
	fill: var(--searchnew-submit-icon) !important;
}

[data-theme-mode="dark"] .SearchNewClearButton span,
[data-theme="dark"] .SearchNewClearButton span {
	color: #f2f2f2 !important;
	opacity: 1;
}

.SearchNewClearButton:focus-visible,
.SearchNewSearchButton:focus-visible,
.SearchNewSubmitButton:focus-visible,
.SearchNewSearchInput:focus-visible,
.SearchNewFilterSelect:focus-visible,
.SearchNewPaginationPage:focus-visible,
.SearchNewPaginationButton:focus-visible {
	outline: 2px solid var(--searchnew-accent-dark);
	outline-offset: 2px;
}

.SearchNewSearchForm[data-has-value="0"] .SearchNewClearButton,
.SearchNewSearchForm[data-has-value="0"] .SearchNewSearchActions {
	display: none;
}

.SearchNewFilterFormOverview {
	justify-content: flex-end;
	margin-bottom: 0;
}

.SearchNewFilterForm {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.SearchNewFilterFormInline {
	flex: 0 0 auto;
	flex-wrap: nowrap;
	align-items: center;
}

.SearchNewSubmitButton {
	position: relative;
	width: 50px;
	min-width: 50px;
	max-width: 50px;
	height: 50px;
	min-height: 50px;
	max-height: 50px;
	padding: 0;
	flex: 0 0 50px;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--searchnew-submit-border) !important;
	border-radius: 50% !important;
	background: var(--searchnew-submit-bg) !important;
	box-shadow: var(--searchnew-submit-shadow);
	box-sizing: border-box;
	align-self: center;
	line-height: 1;
	font-size: 0;
	appearance: none;
	-webkit-appearance: none;
	gap: 0;
	opacity: 1;
	transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.SearchNewSubmitButton svg,
.SearchNewSubmitButton .SVG_Search {
	fill: var(--searchnew-submit-icon) !important;
	color: var(--searchnew-submit-icon);
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: 0;
	width: 22px;
	height: 22px;
	transform: translate(-50%, -50%) !important;
	transition: fill .16s ease, color .16s ease;
}

.SearchNewSubmitButton:hover,
.SearchNewSubmitButton:focus-visible {
	background: var(--searchnew-submit-bg-hover) !important;
	border-color: var(--searchnew-submit-bg-hover) !important;
	box-shadow: 0 0 0 3px var(--searchnew-focus-ring), var(--searchnew-submit-shadow);
}

.SearchNewSubmitButton:hover svg,
.SearchNewSubmitButton:hover .SVG_Search,
.SearchNewSubmitButton:focus-visible svg,
.SearchNewSubmitButton:focus-visible .SVG_Search {
	fill: var(--searchnew-submit-icon) !important;
}

.SearchNewFilterSelect {
	min-width: 230px;
	width: 100%;
	height: 50px;
	padding: 0 48px 0 16px;
	border: 1px solid var(--searchnew-border);
	border-radius: 16px;
	background: var(--searchnew-surface);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25 7 9l4-3.75' fill='none' stroke='%23cfcfcf' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	background-size: 14px 14px;
	color: var(--searchnew-text);
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	line-height: 48px;
	box-shadow: var(--searchnew-shadow);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.SearchNewFilterInput {
	width: 100%;
	min-width: 0;
	height: 50px;
	min-height: 50px;
	padding: 0 16px;
	border: 1px solid var(--searchnew-border) !important;
	border-radius: 16px;
	background: var(--searchnew-surface) !important;
	color: var(--searchnew-text);
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	line-height: 1.2;
	box-shadow: var(--searchnew-shadow);
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.SearchNewAdvancedFilters .SearchNewFilterSelect {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25 7 9l4-3.75' fill='none' stroke='%23cfcfcf' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'/%3E%3C/svg%3E") !important;
	background-position: right 16px center !important;
	background-repeat: no-repeat !important;
	background-size: 14px 14px !important;
}

.SearchNewDateRangeWrap .SearchNewFilterInput,
.SearchNewLocationWrap .SearchNewFilterInput,
.SearchNewLocationWrap .SearchNewFilterSelect,
.SearchNewAdminFilters .SearchNewFilterSelect,
.SearchNewAdvancedGrid .SearchNewFilterSelect,
.SearchNewLocationInput {
	border-radius: 16px !important;
}

.SearchNewDateRangeWrap .SearchNewFilterInput,
.SearchNewLocationWrap .SearchNewFilterInput {
	height: 50px;
	line-height: 48px;
}

.SearchNewFilterInput:focus,
.SearchNewFilterInput:focus-visible,
.SearchNewFilterSelect:focus,
.SearchNewFilterSelect:focus-visible,
.SearchNewAdvancedSubmitButton:focus,
.SearchNewAdvancedSubmitButton:focus-visible,
.SearchNewLocationInput:focus,
.SearchNewLocationInput:focus-visible,
.SearchNewDateInput:focus,
.SearchNewDateInput:focus-visible {
	border-color: var(--searchnew-accent) !important;
	box-shadow: 0 0 0 3px var(--searchnew-focus-ring), var(--searchnew-shadow) !important;
	outline: none !important;
}

.SearchNewDateInput {
	padding-right: 16px;
}

.SearchNewAdvancedFilters {
	margin-top: 14px;
	padding: 0 0 22px;
	display: none;
}

.SearchNewAdvancedFilters.is-visible {
	display: block;
}

button.SearchNewAdvancedToggle {
	width: 100%;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 8px 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--searchnew-text);
	fill: currentColor;
	cursor: pointer;
	text-align: left;
	box-shadow: none !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 16px !important;
	line-height: 1.2 !important;
	border-radius: 0 !important;
	appearance: none;
	-webkit-appearance: none;
}

.SearchNewAdvancedToggleContent {
	display: flex !important;
	align-items: baseline;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
	flex: 1 1 auto;
}

.SearchNewAdvancedToggleText {
	flex: 0 1 auto;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.SearchNewAdvancedToggleState {
	flex: 0 0 auto;
	color: var(--searchnew-text-muted);
	font-size: 14px;
	line-height: 1.3;
}

.SearchNewAdvancedToggleIcon {
	position: relative;
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-left: auto;
}

.SearchNewAdvancedToggleIcon::after {
	content: '';
	position: absolute;
	right: 2px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
	transition: transform .18s ease;
	opacity: 0.82;
}

.SearchNewAdvancedToggle.is-open .SearchNewAdvancedToggleIcon::after {
	transform: translateY(-50%) rotate(-135deg);
}

.SearchNewAdvancedPanel {
	padding-top: 16px;
	overflow: hidden;
}

.SearchNewAdvancedPanel > * {
	min-width: 0;
}

.SearchNewAdvancedGrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px;
}

.SearchNewAdvancedGridAdmin {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.SearchNewAdvancedGridOrganization {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.SearchNewFilterFieldWide {
	grid-column: 1 / -1;
}

.SearchNewFilterField {
	min-width: 0;
}

.SearchNewFilterFieldCheckboxes {
	align-self: start;
	height: auto;
}

.SearchNewFilterFieldCheckboxCell {
	display: flex;
	align-items: center;
}

.SearchNewFilterLabel {
	display: block;
	margin: 0 0 8px;
	color: var(--searchnew-text-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.SearchNewDateRangeWrap,
.SearchNewLocationWrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

.SearchNewPairWrap {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.SearchNewAgeRangeWrap {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
}

.SearchNewFilterFieldAge {
	align-self: start;
}

.SearchNewCheckboxList {
	display: grid;
	gap: 2px;
	align-content: start;
}

.SearchNewCheckboxListInlineDesktop {
	width: 100%;
}

.SearchNewCheckboxList .Checkbox,
.SearchNewCheckboxList label,
.SearchNewCheckboxList .HstInputCheckbox {
	position: static;
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	max-width: 100%;
	margin: 0 !important;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	color: var(--searchnew-text);
	font-size: 15px;
	line-height: 1.35;
}

.SearchNewCheckboxList .Checkbox label {
	position: static;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	line-height: 1.2;
}

.SearchNewCheckboxList .Checkbox label::before,
.SearchNewCheckboxList label::before {
	content: none !important;
	display: none !important;
}

.SearchNewCheckboxList input[type="checkbox"] {
	position: static !important;
	display: inline-block !important;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	margin-left: 0 !important;
	padding: 0;
	opacity: 1 !important;
	border-radius: 4px;
	vertical-align: middle;
	appearance: auto;
	-webkit-appearance: checkbox;
	accent-color: var(--searchnew-accent);
}

.SearchNewCheckboxList input[type="checkbox"]:disabled {
	opacity: .5;
	filter: none;
	box-shadow: none;
}

.SearchNewFilterInputAge::-webkit-outer-spin-button,
.SearchNewFilterInputAge::-webkit-inner-spin-button {
	margin: 0;
}

.SearchNewFilterInputAge {
	appearance: textfield;
	-moz-appearance: textfield;
}

.SearchNewCheckboxList .Checkbox:has(input[type="checkbox"]:disabled),
.SearchNewCheckboxList .Checkbox label:has(input[type="checkbox"]:disabled) {
	opacity: .6;
}

.SearchNewUserAdminOnly:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.SearchNewDateRangeWrap > *,
.SearchNewLocationWrap > * {
	min-width: 0;
}

.SearchNewDateRangeWrap input,
.SearchNewLocationWrap input,
.SearchNewDateRangeWrap .SearchNewFilterInput,
.SearchNewDateRangeWrap .SearchNewFilterSelect,
.SearchNewLocationWrap .SearchNewFilterInput,
.SearchNewLocationWrap .SearchNewFilterSelect {
	width: 100%;
	max-width: 100%;
}

.SearchNewLocationWrap {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.SearchNewLocationWrap input[type="hidden"] {
	display: none;
}

.SearchNewDateRangeDivider {
	color: var(--searchnew-text-muted);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.SearchNewAdminFilters {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px dashed var(--searchnew-divider-color);
}

.SearchNewAdminFilters .SearchNewFilterInput,
.SearchNewAdminFilters input[type="text"],
.SearchNewAdminFilters input[type="email"],
.SearchNewAdminFilters input[type="number"] {
	width: 100%;
	min-height: 50px;
	height: 50px;
	padding: 0 16px;
	border: 1px solid var(--searchnew-border) !important;
	border-radius: 16px !important;
	background: var(--searchnew-surface) !important;
	box-shadow: var(--searchnew-shadow);
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.SearchNewAdminFiltersTitle {
	margin: 0 0 12px;
	color: var(--searchnew-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.SearchNewAdvancedActions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
}

button.SearchNewAdvancedResetButton,
button.SearchNewAdvancedSubmitButton {
	min-width: 120px;
	height: 50px;
	padding: 0 20px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

button.SearchNewAdvancedResetButton {
	min-width: 140px;
	border: 1px solid var(--searchnew-border) !important;
	border-radius: 16px !important;
	background: transparent !important;
	color: var(--searchnew-text) !important;
	box-shadow: var(--searchnew-shadow);
}

button.SearchNewAdvancedResetButton:hover,
button.SearchNewAdvancedResetButton:focus-visible {
	border-color: var(--searchnew-accent) !important;
	background: rgba(184, 233, 31, 0.08) !important;
	box-shadow: 0 0 0 3px var(--searchnew-focus-ring), var(--searchnew-shadow);
}

button.SearchNewAdvancedSubmitButton {
	border: 1px solid var(--searchnew-submit-border) !important;
	border-radius: 16px !important;
	background: var(--searchnew-submit-bg) !important;
	color: var(--searchnew-submit-icon) !important;
	box-shadow: var(--searchnew-submit-shadow);
}

button.SearchNewAdvancedSubmitButton:hover,
button.SearchNewAdvancedSubmitButton:focus-visible {
	background: var(--searchnew-submit-bg-hover) !important;
	border-color: var(--searchnew-submit-bg-hover) !important;
	box-shadow: 0 0 0 3px var(--searchnew-focus-ring), var(--searchnew-submit-shadow);
}

.SearchNewPaginationWrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin: 14px 0;
	padding: 0;
	box-sizing: border-box;
	flex-wrap: nowrap;
}

.SearchNewPaginationWrapTop {
	margin-top: 0;
	margin-bottom: 18px;
}

.SearchNewPaginationWrapBottom {
	margin-top: 24px;
}

.SearchNewPaginationInfo {
	color: var(--searchnew-text-muted);
	font-size: 16px;
	font-weight: 600;
	flex: 0 0 auto;
	white-space: nowrap;
	display: flex;
	align-items: center;
	min-height: 40px;
	line-height: 1;
}

.SearchNewPagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex: 1 1 auto;
	flex-wrap: nowrap;
	min-width: 0;
}

.SearchNewPaginationButton {
	width: 40px;
	height: 40px;
	min-width: 40px;
	padding: 0;
	border: 1px solid var(--searchnew-border);
	border-radius: 999px;
	background: transparent;
	color: var(--searchnew-text);
	font-weight: 700;
	font-size: 22px;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color .16s ease, background-color .16s ease, color .16s ease;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.SearchNewPaginationButtonIcon {
	font-size: 24px;
	line-height: 1;
}

.SearchNewPaginationButtonIcon span {
	display: block;
	line-height: 1;
	transform: translateY(-1px);
}

.SearchNewPaginationButton.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.SearchNewPaginationButton:hover {
	border-color: var(--searchnew-accent);
	background: var(--searchnew-pagination-hover);
}

.SearchNewResults {
	display: grid;
	gap: 18px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.SearchNewPinnedMore {
	margin: 10px 0 22px;
	padding: 0 2px;
}

.SearchNewPinnedMore a {
	display: inline-block;
	text-decoration: none;
}

.SearchNewResult {
	position: relative;
	padding-top: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
}

.SearchNewResultMeta {
	display: flex;
	justify-content: flex-start;
	margin: 0 0 6px 2px;
	position: relative;
	z-index: 1;
}

.SearchNewResultCard {
	position: relative;
	padding-top: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
}

.SearchNewResultCard > * {
	margin: 0 !important;
	max-width: 100% !important;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.SearchNewResult .ProfilColumn {
	width: 100% !important;
	height: 64px;
	margin: 0;
	display: block;
	box-sizing: border-box;
	float: none;
	min-width: 0;
	max-width: 100%;
}

.SearchNewResult .GalleryBox,
.SearchNewResult .OrganizationBox,
.SearchNewResult .EventBox,
.SearchNewResult .NewsBox {
	float: none;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.SearchNewResult .OrganizationBox[data-partner] {
	box-sizing: border-box;
	border-left: 3px solid var(--color-layer-2);
}

.SearchNewResult .OrganizationBox[data-partner="Bronze"] {
	border-color: var(--color-partner-bronze);
}

.SearchNewResult .OrganizationBox[data-partner="Silber"] {
	border-color: var(--color-partner-silber);
}

.SearchNewResult .OrganizationBox[data-partner="Gold"] {
	border-color: var(--color-partner-gold);
}

.SearchNewResult .OrganizationBox[data-partner="Platin"] {
	border-color: var(--color-partner-platin);
}

.SearchNewResult .EventBox {
	min-height: 56px;
}

.SearchNewSuggestBadge {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--searchnew-border);
	box-shadow: var(--searchnew-shadow);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
	text-transform: uppercase;
}

.SearchNewBadgeNews { background: var(--searchnew-badge-news-bg); color: var(--searchnew-text); }
.SearchNewBadgeEvents { background: var(--searchnew-badge-events-bg); color: var(--searchnew-text); }
.SearchNewBadgeGalleries { background: var(--searchnew-badge-galleries-bg); color: var(--searchnew-text); }
.SearchNewBadgeUsers { background: var(--searchnew-badge-users-bg); color: var(--searchnew-text); }
.SearchNewBadgeOrganizations { background: var(--searchnew-badge-organizations-bg); color: var(--searchnew-text); }

.SearchNewSuggestLabel {
	display: inline-block;
	margin-left: 8px;
	vertical-align: middle;
}

.SearchNewSuggestRow {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	width: 100%;
	text-align: left;
}

.SearchNewAutocompleteMenu .SearchNewSuggestLabel {
	margin-left: 0;
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.05;
}

.SearchNewAutocompleteMenu .SearchNewSuggestBadge {
	flex: 0 0 auto;
	margin-left: auto;
	padding: 1px 7px;
	font-size: 10px;
	line-height: 1.1;
	box-shadow: none;
}

.SearchNewEmpty,
.SearchNewError,
.SearchNewNoResults {
	padding: 22px 24px;
	border: 1px solid var(--searchnew-border);
	border-radius: 20px;
	background: var(--searchnew-surface-muted);
	color: var(--searchnew-text-muted);
	line-height: 1.6;
	box-shadow: var(--searchnew-shadow);
}

.SearchNewError {
	border-color: var(--searchnew-error-border);
	background: var(--searchnew-error-bg);
	color: var(--searchnew-error-text);
}

.SearchNewAutocompleteMenu {
	--searchnew-accent: var(--color-green);
	--searchnew-accent-dark: var(--color-green-dark);
	--searchnew-surface: var(--color-layer-1);
	--searchnew-surface-muted: var(--color-layer-2);
	--searchnew-border: var(--border-light);
	--searchnew-text: var(--color-text-primary);
	--searchnew-text-muted: var(--color-text-secondary);
	--searchnew-search-shadow-focus: 0 16px 38px rgba(20, 34, 18, 0.12);
	--searchnew-autocomplete-active: #edf4d5;
	--searchnew-badge-news-bg: #edf4d5;
	--searchnew-badge-events-bg: #e8ecef;
	--searchnew-badge-galleries-bg: #eff6de;
	--searchnew-badge-users-bg: #eceff1;
	--searchnew-badge-organizations-bg: #eef3df;
	border: 1px solid var(--searchnew-border);
	border-radius: 16px;
	background: var(--searchnew-surface);
	box-shadow: var(--searchnew-search-shadow-focus);
	overflow: hidden;
	box-sizing: border-box;
	max-width: 100%;
	z-index: 5000 !important;
}

[data-theme-mode="dark"] .SearchNewAutocompleteMenu,
[data-theme="dark"] .SearchNewAutocompleteMenu {
	--searchnew-accent: var(--color-green);
	--searchnew-accent-dark: var(--color-green-light);
	--searchnew-surface: var(--color-layer-1);
	--searchnew-surface-muted: var(--color-layer-2);
	--searchnew-border: var(--border-light);
	--searchnew-text: var(--color-text-primary);
	--searchnew-text-muted: var(--color-text-secondary);
	--searchnew-search-shadow-focus: 0 16px 38px rgba(0, 0, 0, 0.34);
	--searchnew-autocomplete-active: #344412;
	--searchnew-badge-news-bg: #324110;
	--searchnew-badge-events-bg: #414141;
	--searchnew-badge-galleries-bg: #2c3d16;
	--searchnew-badge-users-bg: #424242;
	--searchnew-badge-organizations-bg: #354613;
}

.SearchNewAutocompleteMenu .ui-menu-item {
	border-top: 1px solid var(--searchnew-border);
}

.SearchNewAutocompleteMenu .ui-menu-item:first-child {
	border-top: 0;
}

.SearchNewAutocompleteMenu .ui-menu-item a {
	padding: 6px 12px;
	min-height: 52px;
	background: transparent;
	color: var(--searchnew-text);
	box-sizing: border-box;
	position: relative;
	display: block;
	text-align: left;
}

.SearchNewAutocompleteMenu .ui-menu-item a img {
	position: absolute;
	top: 6px;
	left: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	object-fit: cover;
	background: var(--searchnew-surface-muted);
	box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

.SearchNewAutocompleteMenu .ui-menu-item a br {
	display: none;
}

.SearchNewAutocompleteMenu .ui-menu-item a img + .SearchNewSuggestRow,
.SearchNewAutocompleteMenu .ui-menu-item a img ~ small {
	margin-left: 52px;
}

.SearchNewAutocompleteMenu .ui-menu-item a img + .SearchNewSuggestRow {
	width: calc(100% - 52px);
	min-height: 18px;
	align-items: flex-start;
	overflow: hidden;
}

.SearchNewAutocompleteMenu .ui-menu-item a img ~ small {
	position: absolute;
	left: 64px;
	right: 12px;
	bottom: 6px;
	margin-left: 0;
	margin-top: 0;
	line-height: 1.1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.SearchNewAutocompleteMenu .ui-menu-item a.ui-state-active {
	margin: 0;
	border: 0;
	background: var(--searchnew-autocomplete-active);
	color: var(--searchnew-text);
}

.SearchNewAutocompleteMenu .ui-menu-item a:hover,
.SearchNewAutocompleteMenu .ui-menu-item a.ui-state-hover,
.SearchNewAutocompleteMenu .ui-menu-item a.ui-state-focus,
.SearchNewAutocompleteMenu .ui-menu-item .ui-state-hover,
.SearchNewAutocompleteMenu .ui-menu-item .ui-state-focus {
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--searchnew-text);
}

.SearchNewAutocompleteMenu .ui-menu-item a.ui-state-active:hover,
.SearchNewAutocompleteMenu .ui-menu-item a.ui-state-active.ui-state-hover,
.SearchNewAutocompleteMenu .ui-menu-item a.ui-state-active.ui-state-focus {
	background: var(--searchnew-autocomplete-active);
	color: var(--searchnew-text);
}

.SearchNewAutocompleteMenu .ui-menu-item a small {
	display: block;
	margin-top: 0;
	padding-left: 0;
	color: var(--searchnew-text-muted);
	font-size: 11px;
	line-height: 0.9;
}

.SearchNewAutocompleteMenu .ui-autocomplete-category {
	padding: 12px 16px 4px;
	background: var(--searchnew-surface-muted);
	color: var(--searchnew-text-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.SearchNewAutocompleteMenu .ui-autocomplete-category + .ui-menu-item {
	border-top: 0;
}

@media (max-width: 900px) {
	.SearchNewSearchInput {
		font-size: 16px;
	}

	.SearchNewSearchFormCompact .SearchNewSearchInput {
		font-size: 15px;
	}

}

@media (max-width: 780px) {
	.SearchNewPage {
		padding-top: 14px;
		padding-left: 2px;
		padding-right: 2px;
		padding-bottom: 42px;
	}

	.SearchNewPageTitle {
		margin-bottom: 18px;
		font-size: 26px;
	}

	.SearchNewSearchForm,
	.SearchNewSearchForm.SearchNewSearchFormCompact {
		min-height: 0;
	}

	.SearchNewControlPrimary {
		padding: 0 10px 0 14px;
		height: 46px;
	}

	.SearchNewSearchInner {
		gap: 0;
		min-height: 46px;
	}

	.SearchNewSearchInput,
	.SearchNewSearchFormCompact .SearchNewSearchInput {
		font-size: 16px;
	}

	.SearchNewClearButton,
	.SearchNewSearchButton,
	.SearchNewSearchFormCompact .SearchNewClearButton,
	.SearchNewSearchFormCompact .SearchNewSearchButton {
		flex: 0 0 32px;
		width: 32px;
		height: 32px;
	}

	.SearchNewSearchActions {
		justify-content: flex-end;
		padding-left: 10px;
		padding-right: 2px;
	}

	.SearchNewClearButton span {
		font-size: 20px;
		transform: translateY(-1px);
	}

	.SearchNewControlRow,
	.SearchNewPaginationWrap {
		align-items: stretch;
	}

	.SearchNewControlSecondary {
		gap: 10px;
	}

	.SearchNewResultMeta {
		margin-left: 0;
	}

	.SearchNewResultCard,
	.SearchNewResultCard > *,
	.SearchNewResult .NewsBox,
	.SearchNewResult .EventBox,
	.SearchNewResult .GalleryBox,
	.SearchNewResult .OrganizationBox,
	.SearchNewResult .ProfilColumn {
		max-width: 100% !important;
		min-width: 0;
	}

	.SearchNewFilterForm,
	.SearchNewControlSecondary,
	.SearchNewFilterSelect {
		width: 100%;
	}

	.SearchNewFilterFormOverview {
		justify-content: stretch;
	}

	.SearchNewControlRow {
		display: block;
		margin-bottom: 14px;
	}

	.SearchNewControlSearchRow {
		display: flex;
		align-items: center;
		gap: 6px;
		width: 100%;
	}

	.SearchNewControlPrimary {
		flex: 1 1 auto;
	}

	.SearchNewControlSubmit {
		align-self: center;
	}

	.SearchNewControlSecondary,
	.SearchNewFilterFormInline {
		margin-top: 12px;
	}

	.SearchNewControlSecondary {
		display: block;
	}

	.SearchNewFilterSelect {
		min-width: 0;
		flex: 1 1 auto;
		height: 46px;
		padding-right: 44px;
		line-height: 44px;
		background-position: right 14px center;
	}

	.SearchNewFilterInput {
		height: 46px;
		min-height: 46px;
		line-height: 44px;
	}

	button.SearchNewAdvancedToggle {
		align-items: center;
		gap: 10px;
		padding-right: 0;
	}

	.SearchNewAdvancedToggleState {
		font-size: 13px;
	}

	.SearchNewAdvancedGrid,
	.SearchNewAdvancedGridAdmin {
		grid-template-columns: minmax(0, 1fr);
	}

	.SearchNewFilterFieldCheckboxCell {
		display: block;
	}

	.SearchNewDateRangeWrap {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 8px;
	}

	.SearchNewPairWrap {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.SearchNewLocationWrap {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 8px;
	}

	.SearchNewDateRangeDivider {
		text-align: center;
		font-size: 13px;
	}

	.SearchNewFilterFieldDateRange,
	.SearchNewFilterFieldLocation {
		grid-column: auto;
	}

	.SearchNewAdvancedFilters {
		padding-left: 0;
	}

	.SearchNewAdvancedToggleContent {
		gap: 6px;
	}

	.SearchNewAdvancedActions {
		justify-content: stretch;
		gap: 8px;
	}

	button.SearchNewAdvancedResetButton,
	button.SearchNewAdvancedSubmitButton {
		width: calc(50% - 4px);
		min-width: 0;
		height: 46px;
	}

	.SearchNewSubmitButton {
		min-width: 46px;
		width: 46px;
		max-width: 46px;
		height: 46px;
		min-height: 46px;
		max-height: 46px;
		padding: 0;
		flex: 0 0 46px;
		align-self: center;
		gap: 0;
	}

	.SearchNewSubmitButton svg,
	.SearchNewSubmitButton .SVG_Search {
		width: 22px;
		height: 22px;
	}

	.SearchNewPaginationWrap {
		justify-content: space-between;
		text-align: left;
		gap: 10px;
	}

	.SearchNewPagination {
		justify-content: flex-end;
		width: auto;
		gap: 6px;
	}

	.SearchNewPaginationInfo {
		width: auto;
		text-align: left;
		margin-bottom: 0;
		font-size: 14px;
		min-height: 36px;
	}

	.SearchNewPaginationButton {
		width: 36px;
		height: 36px;
		min-width: 36px;
		font-size: 21px;
	}

	.SearchNewAutocompleteMenu {
		border-radius: 16px;
		z-index: 5000 !important;
	}

	.SearchNewAutocompleteMenu .ui-menu-item a {
		padding: 6px 9px;
		min-height: 48px;
	}

	.SearchNewAutocompleteMenu .ui-menu-item a img {
		top: 6px;
		left: 9px;
		width: 36px;
		height: 36px;
	}

	.SearchNewAutocompleteMenu .SearchNewSuggestRow {
		align-items: center;
		gap: 3px;
	}

	.SearchNewAutocompleteMenu .ui-menu-item a img + .SearchNewSuggestRow {
		margin-left: 45px;
	}

	.SearchNewAutocompleteMenu .ui-menu-item a img + .SearchNewSuggestRow {
		width: calc(100% - 45px);
		min-height: 17px;
	}

	.SearchNewAutocompleteMenu .ui-menu-item a img ~ small {
		margin-left: 0;
		left: 54px;
		right: 9px;
	}

	.SearchNewAutocompleteMenu .SearchNewSuggestLabel {
		font-size: 14px;
		line-height: 1.05;
	}

	.SearchNewAutocompleteMenu .SearchNewSuggestBadge {
		padding: 1px 6px;
		font-size: 10px;
		margin-left: auto;
		margin-top: 0;
	}

	.SearchNewAutocompleteMenu .ui-menu-item a small {
		font-size: 11px;
		line-height: 0.9;
		margin-top: 0;
	}
}
