/* =========================================================================
   Atheer — newsletter band above the footer (every page except checkout).
   Owner: home+pages builder. Loaded by inc/newsletter.php.
   ========================================================================= */

.nl-band {
	position: relative;
	padding-block: var(--space-7);
	background: var(--cream-100);
	border-block-start: 1px solid var(--gold-200);
}
.nl-band__inner { display: grid; gap: var(--space-5); align-items: center; }
.nl-band__text { text-align: center; }
.nl-band__text::before {
	content: ""; display: block; width: 72px; height: 18px; margin: 0 auto var(--space-3);
	background: url("../icons/ornament-diamonds.svg") center / contain no-repeat;
}
.nl-band__title { margin: 0 0 var(--space-2); font-size: var(--text-xl); color: var(--olive-800); }
.nl-band__lead { margin: 0; color: var(--ink-600); }

.nl-form { width: 100%; max-width: 34rem; margin-inline: auto; }
.nl-form__row { display: flex; gap: var(--space-2); }
.nl-form__row input[type="email"] { flex: 1; min-width: 0; min-height: 52px; border-radius: var(--radius-pill); padding-inline: var(--space-5); }
.nl-form__btn { flex: none; min-height: 52px; padding-inline: var(--space-6); }
.nl-form__btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.nl-form__msg { min-height: 1.8em; margin: var(--space-2) 0 0; font-size: var(--text-md); text-align: center; }
.nl-form__msg:empty { min-height: 0; margin: 0; }
.nl-form__msg.is-ok { color: var(--olive-800); font-weight: 600; }
.nl-form__msg.is-error { color: var(--sale); font-weight: 600; }

/* Honeypot: kept off screen for people, still in the form for bots. */
.nl-form__hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 1024px) {
	.nl-band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); }
	.nl-band__text { text-align: start; }
	.nl-band__text::before { margin-inline: 0; }
	.nl-form { margin-inline: 0; justify-self: end; }
	.nl-form__msg { text-align: start; }
}
