/* Simple Newsletter — footer signup form.
   Matches the site footer: heading with short red underline,
   white rounded field row, red submit button. */

.snp-form-wrap {
	max-width: 520px;
}

.snp-form-title {
	margin: 0 0 8px;
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1.2;
	position: relative;
	padding-bottom: 14px;
}

.snp-form-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 190px;
	max-width: 70%;
	height: 2px;
	background: #e02b2b;
}

.snp-form-desc {
	margin: 14px 0 20px;
	line-height: 1.7;
}

/* Single row: email input + submit button in one white pill. */
.snp-form-row {
	display: flex;
	align-items: stretch;
	background: #ffffff;
	border: 1px solid #e6dcd8;
	border-radius: 8px;
	padding: 6px;
	gap: 6px;
}

.snp-form-email {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	padding: 12px 14px;
	font-size: 15px;
	color: #1a1a1a;
}

.snp-form-email::placeholder {
	color: #8a8a8a;
}

.snp-form-row:focus-within {
	border-color: #e02b2b;
	box-shadow: 0 0 0 3px rgba(224, 43, 43, 0.12);
}

.snp-form-submit {
	flex: 0 0 auto;
	border: 0;
	border-radius: 6px;
	background: #e02b2b;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 12px 26px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.snp-form-submit:hover,
.snp-form-submit:focus-visible {
	background: #c21f1f;
}

.snp-form-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Feedback message under the row. */
.snp-form-message {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.5;
	display: none;
}

.snp-form-message.is-success {
	display: block;
	color: #1e7a34;
}

.snp-form-message.is-error {
	display: block;
	color: #c21f1f;
}

/* Honeypot + screen-reader helpers. */
.snp-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.snp-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Small screens: stack the button under the input. */
@media (max-width: 480px) {
	.snp-form-row {
		flex-direction: column;
	}
	.snp-form-submit {
		width: 100%;
		padding: 13px 20px;
	}
}
