/*
 * WFL newsletter signup form ([newsletter_form]).
 * Lives on the black footer site-wide and on the light Our Story page, so the
 * base palette is context-neutral: white input, brand-red pill button
 * (#C92539, hover #171717 — same behavior as .wfl-story__button), message
 * inherits the surrounding text color.
 */

.wfl-newsletter-form {
	max-width: 440px;
}

/* honeypot — visually gone, still in the DOM for bots */
.wfl-newsletter-form__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.wfl-newsletter-form__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* !important: the Elementor kit styles input[type=email] globally (square,
   grey #f7f8f9) and its stylesheet can load after ours */
.wfl-newsletter-form__email {
	flex: 1 1 220px;
	min-width: 0;
	padding: 12px 18px;
	border: 1px solid #ded8e5 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #171717 !important;
	font-size: 1rem;
}

.wfl-newsletter-form__email:focus {
	outline: 2px solid #c92539;
	outline-offset: 1px;
	border-color: #c92539;
}

.wfl-newsletter-form__submit {
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: #c92539;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.wfl-newsletter-form__submit:hover,
.wfl-newsletter-form__submit:focus {
	background: #171717;
	color: #fff;
}

.wfl-newsletter-form__submit[disabled] {
	opacity: 0.6;
	cursor: default;
}

.wfl-newsletter-form__msg {
	margin: 10px 0 0;
	font-size: 0.9rem;
	color: inherit;
}

.wfl-newsletter-form__msg:empty {
	display: none;
}

/* error red that reads on the black footer… */
.wfl-newsletter-form__msg--error {
	color: #e4566a;
}

/* …and the darker brand red on light page contexts */
.wfl-story .wfl-newsletter-form__msg--error {
	color: #c92539;
}
