/* REBUILD-0074-SEARCH-PAGE-COMPOSITION BEGIN */
body.search-results main.dscr-search,
body.search-no-results main.dscr-search {
	position: relative;
	width: 100%;
	max-width: none !important;
	margin-block-start: 0 !important;
	padding: clamp(1.75rem, 5vw, 4.5rem) clamp(0.9375rem, 5vw, 4rem) clamp(5rem, 10vw, 8rem) !important;
	box-sizing: border-box;
	background:
		radial-gradient(circle at 91% 7%, rgb(255 135 20 / 13%), transparent 22rem),
		linear-gradient(180deg, #f8f8f8 0, #f4f3f0 100%);
}

body.search-results main.dscr-search > *,
body.search-no-results main.dscr-search > * {
	width: min(100%, 880px);
	max-width: 880px !important;
	margin-inline: auto !important;
	box-sizing: border-box;
}

body.search-results main.dscr-search > h1,
body.search-no-results main.dscr-search > h1 {
	margin-block: 0 !important;
	font-size: clamp(1.75rem, 5.5vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

body.search-results main.dscr-search .dscr-search__form,
body.search-no-results main.dscr-search .dscr-search__form {
	margin-block-start: clamp(1.25rem, 3vw, 2rem) !important;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border: 1px solid rgb(40 40 40 / 12%);
	border-radius: 1rem;
	background: rgb(255 255 255 / 92%);
	box-shadow: 0 0.75rem 2rem rgb(40 40 40 / 5%);
}

body.search-results main.dscr-search .dscr-search__form .wp-block-search__label,
body.search-no-results main.dscr-search .dscr-search__form .wp-block-search__label {
	display: block;
	margin-bottom: 0.625rem;
	color: var(--wp--preset--color--accent-contrast);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.search-results main.dscr-search .dscr-search__form .wp-block-search__inside-wrapper,
body.search-no-results main.dscr-search .dscr-search__form .wp-block-search__inside-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.75rem;
}

body.search-results main.dscr-search .dscr-search__form :is(.wp-block-search__input, .wp-block-search__button),
body.search-no-results main.dscr-search .dscr-search__form :is(.wp-block-search__input, .wp-block-search__button) {
	min-height: 50px;
	box-sizing: border-box;
	border-radius: 0.7rem;
}

body.search-results main.dscr-search > .wp-block-query,
body.search-no-results main.dscr-search > .wp-block-query {
	margin-block-start: clamp(2rem, 5vw, 3.5rem) !important;
	padding: clamp(1.25rem, 3.5vw, 2.5rem);
	border: 1px solid rgb(40 40 40 / 14%);
	border-radius: clamp(1rem, 2vw, 1.5rem);
	background:
		linear-gradient(135deg, rgb(255 255 255 / 98%) 0 82%, rgb(255 244 231 / 92%) 82% 100%);
	box-shadow: 0 1rem 2.75rem rgb(40 40 40 / 7%);
}

body.search-results main.dscr-search .wp-block-post-template,
body.search-no-results main.dscr-search .wp-block-post-template {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.search-results main.dscr-search .wp-block-post-template > .wp-block-post,
body.search-no-results main.dscr-search .wp-block-post-template > .wp-block-post {
	margin: 0;
	padding-block: clamp(1.25rem, 3vw, 2rem);
	border-bottom: 1px solid rgb(40 40 40 / 13%);
}

body.search-results main.dscr-search .wp-block-post-template > .wp-block-post:first-child,
body.search-no-results main.dscr-search .wp-block-post-template > .wp-block-post:first-child {
	padding-block-start: 0;
}

body.search-results main.dscr-search .wp-block-post-template > .wp-block-post:last-child,
body.search-no-results main.dscr-search .wp-block-post-template > .wp-block-post:last-child {
	padding-block-end: 0;
	border-bottom: 0;
}

body.search-results main.dscr-search .wp-block-post-template .wp-block-post-title,
body.search-no-results main.dscr-search .wp-block-post-template .wp-block-post-title {
	margin-block: 0 !important;
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

body.search-results main.dscr-search .wp-block-post-template .wp-block-post-date,
body.search-no-results main.dscr-search .wp-block-post-template .wp-block-post-date {
	margin-block-start: 0.625rem !important;
	color: var(--wp--preset--color--accent-contrast);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.search-results main.dscr-search .wp-block-post-template .wp-block-post-excerpt,
body.search-no-results main.dscr-search .wp-block-post-template .wp-block-post-excerpt {
	margin-block-start: 0.75rem !important;
	color: rgb(40 40 40 / 82%);
}

body.search-results main.dscr-search .wp-block-post-template .wp-block-post-excerpt > :last-child,
body.search-no-results main.dscr-search .wp-block-post-template .wp-block-post-excerpt > :last-child {
	margin-bottom: 0;
}

body.search-results main.dscr-search .wp-block-query-pagination,
body.search-no-results main.dscr-search .wp-block-query-pagination {
	margin-block-start: 2rem;
	padding: 0.5rem;
	border: 1px solid rgb(40 40 40 / 12%);
	border-radius: 999px;
	background: #fff;
}

body.search-results main.dscr-search .wp-block-query-pagination :is(a, .page-numbers),
body.search-no-results main.dscr-search .wp-block-query-pagination :is(a, .page-numbers) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: 0.65rem;
	box-sizing: border-box;
	border-radius: 999px;
}

body.search-results main.dscr-search .wp-block-query-no-results,
body.search-no-results main.dscr-search .wp-block-query-no-results {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(15rem, 32vw, 20rem);
	padding: clamp(1.5rem, 5vw, 3rem);
	box-sizing: border-box;
	border: 1px solid rgb(255 135 20 / 30%);
	border-radius: 1rem;
	background:
		radial-gradient(circle at 90% 18%, rgb(255 135 20 / 16%) 0 3rem, transparent 3.1rem),
		var(--wp--preset--color--surface-soft);
}

body.search-results main.dscr-search .wp-block-query-no-results > *,
body.search-no-results main.dscr-search .wp-block-query-no-results > * {
	width: 100%;
	max-width: 34rem !important;
	margin-inline: 0 !important;
}

body.search-results main.dscr-search .wp-block-query-no-results h2,
body.search-no-results main.dscr-search .wp-block-query-no-results h2 {
	margin-block: 0 !important;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
}

body.search-results main.dscr-search .wp-block-query-no-results p,
body.search-no-results main.dscr-search .wp-block-query-no-results p {
	margin-block: 0.75rem 0 !important;
}

@media (max-width: 1023px) {
	body.search-results,
	body.search-no-results {
		height: 100svh;
		min-height: 100svh;
		padding-bottom: 0 !important;
		overflow: hidden;
	}

	body.search-results .wp-site-blocks,
	body.search-no-results .wp-site-blocks {
		display: grid;
		grid-template-rows: auto minmax(0, 1fr) var(--wp--custom--footer--utility-reserve);
		height: 100svh;
		min-height: 0;
		overflow: hidden;
	}

	body.search-results main.dscr-search,
	body.search-no-results main.dscr-search {
		height: auto;
		min-height: 0;
		padding-top: 1.75rem !important;
		padding-bottom: 2.5rem !important;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior-y: contain;
		scroll-padding-block: 1.5rem;
	}

	body.search-results main.dscr-search > .wp-block-query,
	body.search-no-results main.dscr-search > .wp-block-query {
		margin-block-start: clamp(2rem, 6vw, 3rem) !important;
	}

	body.search-results footer.wp-block-template-part,
	body.search-no-results footer.wp-block-template-part {
		position: relative;
		height: var(--wp--custom--footer--utility-reserve);
		min-height: var(--wp--custom--footer--utility-reserve);
		margin: 0 !important;
		background: var(--wp--preset--color--base);
	}

	body.search-results footer.wp-block-template-part > .dscr-footer,
	body.search-no-results footer.wp-block-template-part > .dscr-footer {
		height: var(--wp--custom--footer--utility-reserve);
		min-height: var(--wp--custom--footer--utility-reserve);
		margin: 0 !important;
		background: #f4f3f0 !important;
	}

	body.search-results .dscr-footer__utility,
	body.search-no-results .dscr-footer__utility {
		position: static;
		inset: auto;
		width: min(100%, var(--wp--custom--footer--utility-compact-max));
		height: var(--wp--custom--footer--utility-reserve);
		min-height: var(--wp--custom--footer--utility-reserve);
		margin-inline: auto !important;
		transform: none;
	}
}

@media (max-width: 599px) {
	body.search-results main.dscr-search,
	body.search-no-results main.dscr-search {
		padding-top: 1.25rem !important;
		padding-bottom: 1.75rem !important;
	}

	body.search-results main.dscr-search > h1,
	body.search-no-results main.dscr-search > h1 {
		font-size: clamp(1.55rem, 7.75vw, 2rem);
		line-height: 1.06;
		letter-spacing: -0.04em;
	}

	body.search-results main.dscr-search .dscr-search__form,
	body.search-no-results main.dscr-search .dscr-search__form {
		margin-block-start: 1rem !important;
		padding: 0.75rem;
	}

	body.search-results main.dscr-search .dscr-search__form .wp-block-search__inside-wrapper,
	body.search-no-results main.dscr-search .dscr-search__form .wp-block-search__inside-wrapper {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0.625rem;
	}

	body.search-results main.dscr-search .dscr-search__form .wp-block-search__button,
	body.search-no-results main.dscr-search .dscr-search__form .wp-block-search__button {
		width: auto;
		margin: 0;
	}

	body.search-results main.dscr-search > .wp-block-query,
	body.search-no-results main.dscr-search > .wp-block-query {
		margin-block-start: 1.25rem !important;
		padding: 1rem;
	}

	body.search-results main.dscr-search .wp-block-post-template > .wp-block-post,
	body.search-no-results main.dscr-search .wp-block-post-template > .wp-block-post {
		padding-block: 1rem;
	}

	body.search-results main.dscr-search .wp-block-query-no-results,
	body.search-no-results main.dscr-search .wp-block-query-no-results {
		min-height: 14rem;
		padding: 1.25rem;
	}
}
/* REBUILD-0074-SEARCH-PAGE-COMPOSITION END */
