/**
 * Search Results — Theme Builder template (derived from Blog / Referenzen).
 */

.inia-search-page.e-con {
	padding-bottom: 120px !important;
}

/* —— Hero —— */
.inia-search-page .inia-search-hero {
	width: 1200px;
	max-width: 100%;
	min-height: 320px;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

.inia-search-page .inia-search-hero-title-widget,
.inia-search-page .inia-search-hero-title-widget .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	text-align: center;
}

.inia-search-page .inia-search-hero-title,
.inia-search-page h1.inia-search-hero-title,
.elementor-kit-6 .inia-search-page h1.inia-search-hero-title {
	margin: 0 auto;
	max-width: 100%;
	padding: 0 8px;
	box-sizing: border-box;
	color: #fff !important;
	font-family: "Bricolage Grotesque", sans-serif !important;
	font-size: 48px !important;
	line-height: 58px !important;
	font-weight: 600 !important;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.inia-search-page .inia-search-hero .inia-ou-hero-body,
.inia-search-page .inia-search-hero .inia-ou-hero-body p {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 8px;
	box-sizing: border-box;
}

.inia-search-page .inia-search-hero-form-widget,
.inia-search-page .inia-search-hero-form-widget .elementor-widget-container {
	width: 100%;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.inia-search-page .inia-search-hero .inia-search-form {
	width: 100%;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.inia-search-page .inia-search-hero .inia-ou-hero-chevron {
	margin-top: 8px;
}

/* —— Results —— */
.inia-search-page .inia-search-results-section {
	width: 1200px;
	max-width: 100%;
	box-sizing: border-box;
}

.inia-search-count {
	margin: 0 0 32px;
	width: 100%;
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.inia-search-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	align-items: start;
}

/* Case study cards keep fixed height inside mixed grid */
.inia-search-grid > .inia-cs-card {
	max-width: 100%;
	width: 100%;
	justify-self: stretch;
}

/* Blog cards */
.inia-search-grid > .inia-blog-card {
	width: 100%;
	max-width: 100%;
}

/* Generic page cards */
.inia-search-card {
	height: 100%;
	min-height: 280px;
	box-sizing: border-box;
	padding: 32px 28px;
	border-radius: 24px;
	background: rgba(241, 241, 242, 0.8);
	border: 1px solid #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.inia-search-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18);
}

.inia-search-card__link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	height: 100%;
	text-decoration: none !important;
	color: inherit;
}

.inia-search-card__type {
	display: inline-flex;
	padding: 8px 16px;
	border-radius: 8px;
	background: #f1f1f2;
	border: 1px solid #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	color: #2d5bff;
	font-family: "DM Sans", sans-serif;
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.inia-search-card__title,
.elementor-kit-6 h3.inia-search-card__title,
h3.inia-search-card__title {
	margin: 0;
	color: #000;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: 24px;
	line-height: 30px;
	font-weight: 600;
}

.inia-search-card__excerpt {
	margin: 0;
	flex: 1 1 auto;
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
}

.inia-search-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 45px;
	padding: 14px 24px;
	border-radius: 999px;
	background: #173393;
	color: #fff !important;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	transition: background-color 0.2s ease;
}

.inia-search-card__link:hover .inia-search-card__cta {
	background: #2d5bff;
}

/* Empty state */
.inia-search-empty {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	padding: 48px 32px;
	border-radius: 24px;
	background: rgba(241, 241, 242, 0.8);
	border: 1px solid #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	text-align: center;
}

.inia-search-empty__title {
	margin: 0 0 12px;
	color: #000;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: 30px;
	line-height: 36px;
	font-weight: 600;
}

.inia-search-empty p {
	margin: 0;
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
}

.inia-search-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 28px;
}

.inia-search-empty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 45px;
	padding: 14px 24px;
	border-radius: 999px;
	background: #173393;
	color: #fff !important;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	text-decoration: none !important;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	transition: background-color 0.2s ease;
}

.inia-search-empty__btn:hover {
	background: #2d5bff;
}

.inia-search-empty__btn--ghost {
	background: #fff;
	color: #173393 !important;
}

.inia-search-empty__btn--ghost:hover {
	background: #f1f1f2;
	color: #173393 !important;
}

.inia-search-page .inia-accent {
	color: #2d5bff;
}

@media (max-width: 1199px) {
	.inia-search-page .inia-search-hero,
	.inia-search-page .inia-search-results-section {
		width: 100%;
		max-width: 100%;
		padding-left: 16px;
		padding-right: 16px;
		box-sizing: border-box;
	}

	.inia-search-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.inia-search-grid > .inia-cs-card {
		height: auto;
		min-height: 560px;
		aspect-ratio: 384 / 685;
	}
}

@media (max-width: 767px) {
	.inia-search-page .inia-search-hero-title,
	.inia-search-page h1.inia-search-hero-title,
	.elementor-kit-6 .inia-search-page h1.inia-search-hero-title {
		font-size: 32px !important;
		line-height: 40px !important;
	}

	.inia-search-grid {
		grid-template-columns: 1fr;
	}

	.inia-search-grid > .inia-cs-card {
		min-height: 0;
		aspect-ratio: 384 / 685;
	}

	.inia-search-page.e-con {
		padding-bottom: 64px !important;
	}
}
