/* Shared campaign fields stay in the forms and remain enabled for submission. */
form[formhash] .InputBlock:has(input[data-field^="Utm"], input[data-field^="Gclid"], input[data-field^="Landingurl"]),
form[formhash] .if-attribution-field {
	display: none !important;
}

#colophon .if-newsletter {
	width: 100%;
	padding: 32px max(24px, 5vw);
	background: #505251;
	color: #fff;
	text-align: left;
}

.if-newsletter,
.if-newsletter * {
	box-sizing: border-box;
}

.if-newsletter__inner {
	display: grid;
	grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
	align-items: center;
	gap: 32px;
	max-width: 1260px;
	margin: 0 auto;
}

#colophon .if-newsletter h2 {
	margin: 0;
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
}

.if-newsletter__form {
	min-width: 0;
}

#colophon .if-newsletter form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)) max-content;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.if-newsletter fieldset {
	display: contents;
}

.if-newsletter legend {
	display: none;
}

#colophon .if-newsletter .InputBlock {
	width: 100%;
	margin: 0;
	padding: 0;
}

.if-newsletter .InputBlock:has(input[data-field="FirstName"]) {
	order: 0;
}

.if-newsletter .InputBlock:has(input[data-field="Email"]) {
	order: 1;
}

.if-newsletter label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

#colophon .if-newsletter input[type="text"],
#colophon .if-newsletter input[type="email"] {
	display: block;
	width: 100%;
	height: 44px;
	min-width: 0;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #f5f4f2;
	border-radius: 0;
	background: #f5f4f2;
	box-shadow: none;
	color: #505251;
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
}

.if-newsletter input::placeholder {
	color: #737574;
	opacity: 1;
}

#colophon .if-newsletter input[type="submit"] {
	order: 2;
	justify-self: start;
	width: auto;
	min-width: 134px;
	max-width: none;
	height: 40px;
	margin: 0;
	padding: 6px 16px;
	border: 2px solid #fff;
	border-radius: 0;
	background: transparent;
	box-shadow: 3px 3px 1px 1px rgb(0 0 0 / 61%);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

#colophon .if-newsletter input[type="submit"]:not(:disabled):hover,
#colophon .if-newsletter input[type="submit"]:focus-visible {
	border-color: #f06623;
	background: #f06623;
	color: #fff;
}

#colophon .if-newsletter input[type="submit"]:not(:disabled):active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 0 rgb(0 0 0 / 61%);
}

#colophon .if-newsletter input:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

#colophon .if-newsletter input.Error {
	border-color: #e87c70;
	box-shadow: 0 0 0 2px #e87c70;
}

#colophon .if-newsletter input[type="submit"]:disabled {
	opacity: .6;
	cursor: wait;
}

#colophon .if-newsletter .Response {
	grid-column: 1 / -1;
	order: 3;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}

.if-newsletter .ResponseError {
	color: #fff;
}

@media (min-width: 961px) {
	.if-newsletter__inner {
		column-gap: 48px;
	}

	#colophon .if-newsletter form {
		column-gap: 32px;
	}

	#colophon .if-newsletter input[type="submit"] {
		margin-left: 12px;
	}
}

@media (max-width: 960px) {
	.if-newsletter__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	#colophon .if-newsletter h2 {
		max-width: 520px;
		margin: 0 auto;
		text-align: center;
	}
}

@media (max-width: 640px) {
	#colophon .if-newsletter {
		padding: 28px 24px;
	}

	#colophon .if-newsletter form {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		max-width: 400px;
		margin: 0 auto;
	}

	#colophon .if-newsletter h2 {
		font-size: 23px;
	}

	#colophon .if-newsletter input[type="submit"] {
		justify-self: center;
		margin-top: 4px;
	}
}
