/* GRS search: inline pill box + zero-results block
 * Brand tokens: azure/40 #275aa5 · dark #003863 · cyan #00afd9
 */

/* Inline pill search [grs_search] (Figma search-afc6de / 2022-1339)
 * Oxygen renders shortcodes in a shrink-to-fit .ct-shortcode wrapper, so the
 * width must live on the wrapper — a bare width:100% on the form collapses
 * to its content width. */
.ct-shortcode:has(> .grs-search-inline) {
	width: 100%;
	max-width: 600px;
	margin: 32px auto 16px;
}
.grs-search-inline {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	padding-left: 16px;
	background: #f5f5f5;
	border: 1px solid #275aa5;
	border-radius: 50px;
}
.grs-search-inline__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding-right: 16px;
	color: #275aa5;
	line-height: 0;
}
.grs-search-inline__input {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	border: 0;
	background: transparent;
	padding: 13px 20px 13px 0;
	font-family: "RebrandTxt", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.2;
	color: #275aa5;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.grs-search-inline__input::placeholder { color: #275aa5; opacity: 1; }
.grs-search-inline__input::-webkit-search-cancel-button { display: none; }

/* Zero-results inquiry block on /informationen */
.grs-search-noresults {
	padding: 8px 0 4px;
}
/* Inside a card grid (home): the block is a grid item (the list wrapper is
 * display:contents) — span the full row and center the notice + form. */
.oxy-dynamic-list .grs-search-noresults {
	grid-column: 1 / -1;
	justify-self: center;
	width: 100%;
	max-width: 640px;
	margin-bottom: 40px;
}
/* While the zero-results state is shown, hide the archive CTA card sibling —
 * it would wrap below the centered block as a stray card. */
.oxy-dynamic-list:has(> .grs-search-noresults) ~ .js-filter-card {
	display: none;
}
/* GF renders the message textarea narrower than the inputs — align it. */
.grs-search-noresults .gform_wrapper textarea {
	width: 100%;
}
.grs-search-noresults__text {
	font-size: 18px;
	line-height: 1.5;
	color: #003863;
	margin: 0 0 24px;
}
