/**
 * Teaser newsletter home → VIPzolia / compte.
 */

.inz-newsletter-teaser,
.wp-block-inzolia-newsletter-teaser {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	font-family: var(--wp--preset--font-family--noto-sans, inherit);
}

/* Banner a /vipzolia/?from=newsletter */
.inz-nl-banner {
	box-sizing: border-box;
	margin: 0 0 1.25rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--oliva, #a68b05) 45%, #e4e4e0);
	border-radius: 4px;
	background: color-mix(in srgb, var(--wp--preset--color--oliva, #a68b05) 12%, #fff);
}

.inz-nl-banner__text {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--brand-ink, #1a1a1a);
}

.inz-vip-register .inz-nl-banner {
	margin-bottom: 1.25rem;
}

.inz-newsletter-teaser__label {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--contrast, #393b38);
}

.inz-newsletter-teaser__row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0.5rem;
	width: 100%;
}

.inz-newsletter-teaser__input {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 50px;
	padding: 0.65rem 1rem;
	border: 1px solid #cfcfc8;
	border-radius: 4px;
	font: inherit;
	font-size: 1rem;
	background: #fff;
	color: var(--wp--preset--color--contrast, #393b38);
}

.inz-newsletter-teaser__input:focus {
	outline: 2px solid color-mix(in srgb, var(--wp--preset--color--brand-primary, #9e1a1a) 45%, transparent);
	outline-offset: 1px;
}

.inz-newsletter-teaser__submit {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	min-height: 50px;
	margin: 0 !important;
	padding: 0 1.25rem !important;
	border: 0 !important;
	border-radius: 4px !important;
	font-weight: 600 !important;
	white-space: nowrap;
	cursor: pointer;
}

.inz-newsletter-teaser__arrow {
	font-size: 1.1em;
	line-height: 1;
}

@media (max-width: 600px) {
	.inz-newsletter-teaser__row {
		flex-wrap: wrap;
	}

	.inz-newsletter-teaser__input,
	.inz-newsletter-teaser__submit {
		flex: 1 1 100%;
		width: 100%;
	}
}
