[data-tsd-vcs-section-search="newsroom"].searchandfilter,
[data-tsd-vcs-section-search="newsroom"] .tsd-vcs-native-context-search-form,
[data-tsd-vcs-section-search="newsroom"] .tsd-vcs-native-context-search-form > ul,
[data-tsd-vcs-section-search="newsroom"] .tsd-vcs-native-context-search-form > ul > li {
	width: 100%;
	max-width: 360px;
}

[data-tsd-vcs-section-search="newsroom"] .tsd-vcs-native-context-search-form > ul,
[data-tsd-vcs-section-search="newsroom"] .tsd-vcs-native-context-search-form > ul > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

[data-tsd-vcs-section-search="newsroom"] .tsd-vcs-native-context-search-form input[name="_sf_s"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 62px;
	padding: 0 22px;
	border: 1px solid rgba(27, 57, 97, 0.16);
	border-radius: 18px;
	background: #fff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		0 10px 24px rgba(27, 57, 97, 0.06);
	color: #1b3961;
	font-family: Montserrat, Geomanist, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
}

[data-tsd-vcs-section-search="newsroom"] .tsd-vcs-native-context-search-form input[name="_sf_s"]::placeholder {
	color: rgba(27, 57, 97, 0.72);
	opacity: 1;
}

[data-tsd-vcs-section-search="newsroom"] .tsd-vcs-native-context-search-form input[name="_sf_s"]:focus-visible {
	outline: 3px solid #f2b12c;
	outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * Sidebar section search.
 *
 * Search & Filter form 48169 ships as a stacked <ul>: a bare text input above a
 * full-width submit button. Collapse it into a single rounded field with the
 * submit control reduced to a magnifier button parked inside the field's right
 * edge. Scoped to `form.searchandfilter` so the Newsroom native-GET form above
 * keeps its own treatment.
 * ------------------------------------------------------------------------- */

[data-tsd-vcs-section-search] form.searchandfilter {
	--vcs-section-search-border: rgba(27, 57, 97, 0.16);
	--vcs-section-search-border-strong: rgba(27, 57, 97, 0.28);
	--vcs-section-search-text: #1b3961;
	--vcs-section-search-muted: #6b7280;
	--vcs-section-search-accent: #f2b12c;
	--vcs-section-search-accent-hover: #e5a318;
	--vcs-section-search-height: 58px;
	--vcs-section-search-button: 44px;
	width: 100%;
	margin: 0;
}

[data-tsd-vcs-section-search] form.searchandfilter > ul {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

[data-tsd-vcs-section-search] form.searchandfilter > ul > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

[data-tsd-vcs-section-search] form.searchandfilter > ul > li.sf-field-search,
[data-tsd-vcs-section-search] form.searchandfilter > ul > li.sf-field-search label {
	display: block;
	width: 100%;
}

[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input[type="text"],
[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	height: var(--vcs-section-search-height);
	min-height: var(--vcs-section-search-height);
	margin: 0;
	/* Right padding clears the magnifier button. */
	padding: 0 calc(var(--vcs-section-search-button) + 18px) 0 20px;
	border: 1px solid var(--vcs-section-search-border);
	border-radius: 999px;
	background: #fff;
	color: var(--vcs-section-search-text);
	font-family: "Montserrat", Geomanist, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
	text-overflow: ellipsis;
	-webkit-appearance: none;
	appearance: none;
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease;
}

[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input::placeholder {
	color: var(--vcs-section-search-muted);
	opacity: 1;
}

/* Suppress the WebKit clear affordance so it never collides with the button. */
[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input::-webkit-search-decoration,
[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input:hover {
	border-color: var(--vcs-section-search-border-strong);
}

[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input:focus,
[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input:focus-visible {
	outline: none;
	border-color: rgba(27, 57, 97, 0.42);
	box-shadow: 0 0 0 4px rgba(242, 177, 44, 0.28);
}

[data-tsd-vcs-section-search] form.searchandfilter > ul > li.sf-field-submit {
	position: absolute;
	top: 50%;
	right: 7px;
	transform: translateY(-50%);
	width: var(--vcs-section-search-button);
	height: var(--vcs-section-search-button);
}

[data-tsd-vcs-section-search] form.searchandfilter .sf-field-submit input[type="submit"] {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--vcs-section-search-accent);
	/* Magnifier, brand navy (#163154), centered. */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163154' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.25'/%3E%3Cpath d='M15.4 15.4 21 21'/%3E%3C/svg%3E");
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	box-shadow: none;
	/* The `value` attribute stays the accessible name; hide it visually only. */
	color: transparent;
	font-size: 0;
	line-height: 0;
	text-indent: -9999px;
	overflow: hidden;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition:
		background-color 180ms ease,
		box-shadow 180ms ease;
}

[data-tsd-vcs-section-search] form.searchandfilter .sf-field-submit input[type="submit"]:hover {
	background-color: var(--vcs-section-search-accent-hover);
}

[data-tsd-vcs-section-search] form.searchandfilter .sf-field-submit input[type="submit"]:focus-visible {
	outline: 3px solid #163154;
	outline-offset: 2px;
}

[data-tsd-vcs-section-search] form.searchandfilter .sf-field-submit input[type="submit"]:active {
	box-shadow: inset 0 2px 4px rgba(27, 57, 97, 0.28);
}

@media (max-width: 767px) {
	[data-tsd-vcs-section-search] form.searchandfilter {
		--vcs-section-search-height: 54px;
		--vcs-section-search-button: 40px;
	}

	[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input[type="text"],
	[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input[type="search"] {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-tsd-vcs-section-search] form.searchandfilter .sf-field-search input,
	[data-tsd-vcs-section-search] form.searchandfilter .sf-field-submit input[type="submit"] {
		transition: none;
	}
}
