/**
 * Variant CSS: newsletter--editorial-quote-band
 *
 * Calm, editorial single-column sign-up led by a quote. A large display-type
 * reader quote is the hero element; under it a thin reader-count line, a hairline
 * separator, then kicker + headline + one line and an inline signup (field +
 * button) with fine-print. Distinct from testimonial-backed-signup (2-col: proof
 * rail left + form right, with stars/avatar) and dark-accent-centered-band (count
 * chip over a big headline on a dark band): here the quote drives everything and
 * the whole thing is one quiet centered column — no cards, no contrast band.
 * Every centered child keeps horizontal-auto margins (A8/A9). Text stays --ink;
 * kicker, em and the button take --accent / CTA tokens. The email input is a
 * visual placeholder. Part of the `newsletter` role.
 */

body.aibt-universal .universal-newsletter--editorial-quote-band {
	padding-block: calc(clamp(3.4rem, 8vw, 5.5rem) * var(--density, 1));
}

/* Hero quote — large display type, the focal point. */
body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__quote {
	font-family: var(--font-display) !important;
	font-size: clamp(1.5rem, 3.6vw, 2.4rem) !important;
	line-height: 1.22 !important;
	letter-spacing: -0.01em;
	color: var(--ink) !important;
	max-width: 24ch;
	margin: 0 auto var(--space-md, 1rem) auto !important;
	text-wrap: balance;
}

/* Reader-count line under the quote. */
body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__count {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-wide, 0.06em) !important;
	text-transform: uppercase !important;
	color: var(--ink) !important;
	opacity: 0.6;
	margin: 0 auto 0 auto !important;
}

/* Hairline separator between proof and the signup. */
body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__rule {
	width: 56px;
	max-width: 56px;
	height: 0;
	border: 0;
	border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
	background: none;
	margin: clamp(1.4rem, 4vw, 2.2rem) auto !important;
}

/* Lower block — kicker + headline + deck, all centered. */
body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__kicker {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-widest, 0.18em) !important;
	text-transform: uppercase !important;
	color: var(--accent) !important;
	margin: 0 auto var(--space-sm, 0.75rem) auto !important;
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__headline {
	font-family: var(--font-display) !important;
	color: var(--ink) !important;
	max-width: 20ch;
	margin: 0 auto var(--space-sm, 0.75rem) auto !important;
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__headline em {
	color: var(--accent) !important;
	font-style: italic;
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__deck {
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	line-height: var(--leading-relaxed, 1.6) !important;
	color: var(--ink) !important;
	opacity: 0.78;
	max-width: 46ch;
	margin: 0 auto clamp(1.4rem, 4vw, 2rem) auto !important;
}

/* Inline signup — field + button on one line, centered, narrow. */
body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__form {
	gap: 0.6rem !important;
	max-width: 480px;
	margin-inline: auto;
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__field {
	flex: 1 1 200px;
	display: block;
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__input {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	color: var(--ink);
	padding: 0.72rem 1.05rem;
	border-radius: var(--decor-radius-pill, 999px);
	background: color-mix(in srgb, var(--ink) 4%, var(--bg-main, transparent));
	border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
	transition: border-color var(--duration-fast, 0.18s) var(--ease-default, ease);
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__input::placeholder {
	color: color-mix(in srgb, var(--ink) 50%, transparent);
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-color: var(--accent);
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__cta .wp-block-button__link {
	background: var(--cta-bg-primary, var(--accent)) !important;
	color: var(--cta-text-primary, #ffffff) !important;
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	font-weight: 600 !important;
	padding: 0.72rem 1.5rem !important;
	border-radius: var(--decor-radius-pill, 999px) !important;
	border: none !important;
	white-space: nowrap;
	transition: background var(--duration-fast, 0.18s) var(--ease-default, ease),
		transform var(--duration-fast, 0.18s) var(--ease-default, ease);
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__cta .wp-block-button__link:hover {
	background: var(--accent-hover, var(--accent)) !important;
	transform: translateY(-1px);
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__cta .wp-block-button__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: var(--decor-radius-pill, 999px);
}

body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__note {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	color: var(--ink) !important;
	opacity: 0.6;
	margin: var(--space-md, 1rem) auto 0 auto !important;
}

/* Mobile: stack the field above a full-width button. */
@media (max-width: 540px) {
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__form {
		flex-wrap: wrap !important;
	}
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__field {
		flex: 1 1 100%;
	}
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__cta {
		width: 100%;
	}
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__cta .wp-block-button__link {
		display: block;
		text-align: center;
	}
}

/* Cap wide tracking on uppercase eyebrows at small widths (A5). */
@media (max-width: 640px) {
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__kicker,
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__count {
		letter-spacing: 0 !important;
	}
}

/* Reduced motion: drop transitions + the button lift. */
@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__input,
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__cta .wp-block-button__link {
		transition: none;
	}
	body.aibt-universal .universal-newsletter--editorial-quote-band .universal-newsletter__cta .wp-block-button__link:hover {
		transform: none;
	}
}
