/* =========================================================================
   Empty Results
   Design: Empty Results — Desktop.png · Mobile.png
   Scoped to .page-template-template-empty-results / .page-empty-results
   Header & footer intentionally untouched.
   ========================================================================= */

body.page-template-template-empty-results .site-main,
body.page-empty-results .site-main {
	background: #fafaf6;
}

/* Hide WP page title — design starts with icon + headline */
body.page-template-template-empty-results .page__head,
body.page-empty-results .page__head {
	display: none;
}

body.page-template-template-empty-results .page,
body.page-empty-results .page {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: none;
	width: 100%;
	min-height: min(68vh, 720px);
	margin-inline: 0;
	padding: 120px 48px;
	box-sizing: border-box;
}

body.page-template-template-empty-results .page__content,
body.page-empty-results .page__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 850px;
	margin-inline: auto;
	padding: 0;
	text-align: center;
}

body.page-template-template-empty-results .prose > * + *,
body.page-empty-results .prose > * + * {
	margin-top: 0;
}

/* Search icon */
body.page-template-template-empty-results .page__content > .wp-block-image,
body.page-empty-results .page__content > .wp-block-image {
	margin: 0 0 32px;
	text-align: center;
}

body.page-template-template-empty-results .page__content > .wp-block-image figure,
body.page-empty-results .page__content > .wp-block-image figure {
	margin: 0 auto;
}

body.page-template-template-empty-results .page__content > .wp-block-image img,
body.page-empty-results .page__content > .wp-block-image img {
	display: block;
	width: 64px !important;
	height: auto !important;
	margin-inline: auto;
}

/* Title */
body.page-template-template-empty-results .page__content > h1,
body.page-empty-results .page__content > h1 {
	margin: 0 0 16px;
	color: #1a1816;
	font-family: var(--font-display);
	font-size: 61px;
	font-weight: 500;
	letter-spacing: -1.2px;
	line-height: 1.05;
	text-align: center;
}

/* Lede */
body.page-template-template-empty-results .page__content > p,
body.page-empty-results .page__content > p {
	margin: 0 auto 32px;
	color: #5c544a;
	font-family: var(--font-sans);
	font-size: 19px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	text-align: center;
}

/* CTAs */
body.page-template-template-empty-results .wp-block-buttons,
body.page-empty-results .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	width: 100%;
}

body.page-template-template-empty-results .wp-block-button,
body.page-empty-results .wp-block-button {
	margin: 0;
}

body.page-template-template-empty-results .wp-block-button__link,
body.page-empty-results .wp-block-button__link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 13px 24px !important;
	background: #a03038 !important;
	border: 1px solid #a03038 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #fff7f0 !important;
	font-family: var(--font-sans) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
}

body.page-template-template-empty-results .wp-block-button__link strong,
body.page-empty-results .wp-block-button__link strong {
	font-weight: inherit;
}

body.page-template-template-empty-results .wp-block-button__link:hover,
body.page-empty-results .wp-block-button__link:hover {
	background: #7a242b !important;
	border-color: #7a242b !important;
	color: #fff7f0 !important;
	text-decoration: none !important;
}

/* Secondary — last button or outline style */
body.page-template-template-empty-results .wp-block-button:last-child:not(:only-child) .wp-block-button__link,
body.page-template-template-empty-results .wp-block-button.is-style-outline .wp-block-button__link,
body.page-empty-results .wp-block-button:last-child:not(:only-child) .wp-block-button__link,
body.page-empty-results .wp-block-button.is-style-outline .wp-block-button__link {
	background: #ffffff !important;
	border-color: #d8d1c2 !important;
	color: #1a1816 !important;
}

body.page-template-template-empty-results .wp-block-button:last-child:not(:only-child) .wp-block-button__link:hover,
body.page-template-template-empty-results .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.page-empty-results .wp-block-button:last-child:not(:only-child) .wp-block-button__link:hover,
body.page-empty-results .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #fafaf6 !important;
	border-color: #c4bba8 !important;
	color: #1a1816 !important;
}

/* ---- Mobile -------------------------------------------------------------- */
@media (max-width: 640px) {
	body.page-template-template-empty-results .page,
	body.page-empty-results .page {
		min-height: 0;
		align-items: stretch;
		padding: 64px 24px;
	}

	body.page-template-template-empty-results .page__content,
	body.page-empty-results .page__content {
		max-width: none;
	}

	body.page-template-template-empty-results .page__content > .wp-block-image,
	body.page-empty-results .page__content > .wp-block-image {
		margin-bottom: 24px;
	}

	body.page-template-template-empty-results .page__content > .wp-block-image img,
	body.page-empty-results .page__content > .wp-block-image img {
		width: 56px !important;
	}

	body.page-template-template-empty-results .page__content > h1,
	body.page-empty-results .page__content > h1 {
		margin-bottom: 12px;
		font-size: 33px;
		letter-spacing: -0.99px;
		max-width: 17rem;
	}

	body.page-template-template-empty-results .page__content > p,
	body.page-empty-results .page__content > p {
		margin-bottom: 24px;
		max-width: none;
		font-size: 16px;
		line-height: 1.5;
	}

	body.page-template-template-empty-results .wp-block-buttons,
	body.page-empty-results .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	body.page-template-template-empty-results .wp-block-button,
	body.page-empty-results .wp-block-button {
		display: block;
		width: 100%;
	}

	body.page-template-template-empty-results .wp-block-button__link,
	body.page-empty-results .wp-block-button__link {
		width: 100%;
	}
}
