/* VMC Site Fixes, package newsletter-login: MailPoet sign-up band (footer) and "Stay in the loop" section (home).
   Markup: inc/newsletter.php. Every rule is scoped by .vmc-nl, the component root, because the band appears on every page.
   Colours and radius follow the talent directory (vmc-talent-directory/assets/ui.css). */

.vmc-nl {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
	padding: 20px 16px;
	background: #0d0e11;
	color: #ecebe7;
	font-family: Inter, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}
.vmc-nl *,
.vmc-nl *::before,
.vmc-nl *::after {
	box-sizing: border-box;
}
.vmc-nl--home {
	padding: 56px 16px;
	border-top: 1px solid #2a2e37;
}
.vmc-nl--footer {
	padding: 22px 16px;
	border-bottom: 1px solid #2a2e37;
}
.vmc-nl__inner {
	max-width: 720px;
	margin: 0 auto;
}
.vmc-nl__title {
	margin: 0 0 6px;
	font-family: Oswald, Inter, sans-serif;
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: #ecebe7;
	text-transform: none;
}
.vmc-nl--home .vmc-nl__title {
	font-size: 2rem;
	margin-bottom: 8px;
}
.vmc-nl__lead {
	margin: 0 0 16px;
	color: #a3a6ad;
}
.vmc-nl__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}
.vmc-nl__row {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.vmc-nl__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	flex: 1 1 0;
}
.vmc-nl label {
	font-size: 0.9rem;
	letter-spacing: normal;
	text-transform: none;
	color: #a3a6ad;
}
.vmc-nl__form input[type="text"],
.vmc-nl__form input[type="email"] {
	display: block;
	width: 100%;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #3a3f4a;
	border-radius: 12px;
	background: #16181d;
	color: #ecebe7;
	font-family: inherit;
	font-size: 16px; /* 16px stops iOS zooming in on focus */
}
.vmc-nl__form input[aria-invalid="true"] {
	border-color: #ff9b8a;
}
.vmc-nl__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.vmc-nl__form input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: #d4ab4f;
}
.vmc-nl__check label {
	color: #ecebe7;
	font-size: 0.95rem;
}
.vmc-nl__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 12px 22px;
	border: 0;
	border-radius: 12px;
	background: #d4ab4f;
	color: #17140b;
	font-family: Oswald, Inter, sans-serif;
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.02em;
	cursor: pointer;
}
.vmc-nl__button:hover {
	background: #e6c271;
}
.vmc-nl__button[disabled] {
	opacity: 0.6;
	cursor: wait;
}
.vmc-nl__note {
	margin: 0;
	font-size: 0.85rem;
	color: #a3a6ad;
}
.vmc-nl__message {
	min-height: 1.5em;
	margin: 0;
	font-size: 0.95rem;
	color: #a3a6ad;
}
.vmc-nl__message.is-ok {
	color: #e6c271;
}
.vmc-nl__message.is-error {
	color: #ff9b8a;
}
/* Honeypot: off-screen for people, still in the DOM for bots. */
.vmc-nl .vmc-nl__hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.vmc-nl :focus-visible {
	outline: 2px solid #e6c271;
	outline-offset: 2px;
}
@media (min-width: 768px) {
	.vmc-nl__row {
		flex-direction: row;
	}
	.vmc-nl__button {
		align-self: flex-start;
	}
}
