/* Herald signup form. */

.herald-signup {
	max-width: 480px;
	margin: 0;
}

.herald-signup__hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.herald-signup__field {
	margin-bottom: 0.75em;
}

.herald-signup__field--email {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: stretch;
}

.herald-signup__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.herald-signup__input {
	flex: 1 1 200px;
	min-width: 0;
	padding: 0.6em 0.8em;
	font: inherit;
	border: 1px solid #c8c8c8;
	border-radius: 4px;
	box-sizing: border-box;
	width: 100%;
}

.herald-signup__button {
	flex: 0 0 auto;
	padding: 0.6em 1.2em;
	font: inherit;
	font-weight: 600;
	border: 0;
	border-radius: 4px;
	background: #1e73be;
	color: #fff;
	cursor: pointer;
}

.herald-signup__button[disabled] {
	opacity: 0.6;
	cursor: default;
}

.herald-signup__message {
	margin: 0.5em 0 0;
	min-height: 1.4em;
	font-size: 0.95em;
}

.herald-signup__message:empty {
	display: none;
}

.herald-signup__message.is-success {
	color: #1a7f37;
}

.herald-signup__message.is-error {
	color: #b42318;
}
