/* NoirMusk footer newsletter — MailPoet's own form ("Footer Newsletter"), styled to sit in the footer.
   MailPoet writes inline styles and #id-scoped CSS for the form, so these rules use !important on purpose. */

.noirmusk-footer__newsletter .mailpoet_form_popup_overlay {
	display: none !important;
}
html body .noirmusk-footer__newsletter #mailpoet_form_1,
html body .noirmusk-footer__newsletter .mailpoet_form_shortcode {
	max-width: 400px;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}
html body .noirmusk-footer__newsletter form.mailpoet_form {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0 !important;
	padding: 0 !important;
}
html body .noirmusk-footer__newsletter .mailpoet_paragraph {
	margin: 0 !important;
	line-height: normal !important;
}
/* email field grows, button sits flush against it */
html body .noirmusk-footer__newsletter .mailpoet_paragraph:first-of-type {
	flex: 1 1 0;
	min-width: 0;
}
html body .noirmusk-footer__newsletter input.mailpoet_text {
	display: block;
	width: 100% !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #e6e0d3 !important;
	border-right: 0 !important;
	border-radius: 3px 0 0 3px !important;
	background: #fff !important;
	box-shadow: none !important;
	font-family: var(--theme-body-font-family), 'Inter', sans-serif;
	font-size: 14px !important;
	line-height: 46px !important;
	color: #1a1a1a !important;
}
html body .noirmusk-footer__newsletter input.mailpoet_text::placeholder {
	color: #8c867c !important;
	opacity: 1;
}
html body .noirmusk-footer__newsletter input.mailpoet_text:focus {
	border-color: #a3703f !important;
	outline: none;
}
html body .noirmusk-footer__newsletter input.mailpoet_submit {
	display: block;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: 0 3px 3px 0 !important;
	background: #1a1a1a !important;
	box-shadow: none !important;
	font-family: var(--theme-body-font-family), 'Inter', sans-serif;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em;
	line-height: 1 !important;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
html body .noirmusk-footer__newsletter input.mailpoet_submit:hover {
	background: #000 !important;
}
/* result and validation messages under the form */
html body .noirmusk-footer__newsletter .mailpoet_message {
	flex: 0 0 100%;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	font-family: var(--theme-body-font-family), 'Inter', sans-serif;
	font-size: 14px;
	line-height: 1.55;
}
html body .noirmusk-footer__newsletter .mailpoet_message p {
	margin: 0;
}
html body .noirmusk-footer__newsletter .mailpoet_validate_success {
	color: #2f6b45 !important;
}
html body .noirmusk-footer__newsletter .mailpoet_validate_error,
html body .noirmusk-footer__newsletter .parsley-errors-list {
	color: #a83a3a !important;
}
html body .noirmusk-footer__newsletter .parsley-errors-list {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.4;
}
html body .noirmusk-footer__newsletter .mailpoet_form_loading {
	display: none;
}

/* MailPoet's fallback CAPTCHA (only shown when a visitor doesn't look human, e.g. instant autofill + submit) */
html body .noirmusk-footer__newsletter .mailpoet_captcha_container {
	flex: 0 0 100%;
	width: 100% !important;
	max-width: none !important;
	margin: 14px 0 0;
	font-family: var(--theme-body-font-family), 'Inter', sans-serif;
	font-size: 13px;
	color: #6b665d;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_image_wrapper {
	display: inline-block;
	vertical-align: middle;
	overflow: hidden;
	border: 1px solid #e6e0d3;
	border-radius: 3px;
	background: #fff;
	line-height: 0;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_image_wrapper img {
	display: block;
	max-width: 100%;
	height: auto;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_container .mailpoet_icon_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0 0 0 8px;
	padding: 0;
	border: 1px solid #e6e0d3;
	border-radius: 3px;
	background: #fff;
	vertical-align: middle;
	cursor: pointer;
	transition: border-color 0.2s ease;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_container .mailpoet_icon_button:hover {
	border-color: #a3703f;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_container .mailpoet_icon_button img {
	width: 16px;
	height: 16px;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_label {
	display: block;
	margin: 12px 0 10px;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_label .mailpoet_text_label {
	display: block;
	margin-bottom: 6px;
	font-weight: 400;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_container input.mailpoet_text {
	width: 100% !important;
	box-sizing: border-box;
	border: 1px solid #e6e0d3 !important;
	border-radius: 3px !important;
}
html body .noirmusk-footer__newsletter .mailpoet_captcha_container input.mailpoet_submit {
	width: 100%;
	border-radius: 3px !important;
}
@media (max-width: 400px) {
	html body .noirmusk-footer__newsletter input.mailpoet_submit {
		padding: 0 16px !important;
	}
}

/* ---------- MailPoet's own pages (confirmation, manage subscription, unsubscribe) ---------- */
html body.single-mailpoet_page .sidebar-container {
	display: none !important;
}
html body.single-mailpoet_page #site-content-wrap.container {
	display: block;
	max-width: 760px;
	margin: 0 auto;
	padding: 70px 20px 100px;
}
html body.single-mailpoet_page #site-content-wrap .site-content--default {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
html body.single-mailpoet_page .page-content {
	padding: 46px 44px;
	border: 1px solid #ece7de;
	border-radius: 10px;
	background: #fff;
	font-family: var(--theme-body-font-family), 'Inter', sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: #4a463f;
	text-align: center;
}
html body.single-mailpoet_page .page-content p {
	margin: 0 0 14px;
}
html body.single-mailpoet_page .page-content form {
	text-align: left;
}
html body.single-mailpoet_page .page-content h2 {
	margin: 0 0 8px;
	font-family: var(--theme-heading-font-family);
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
}
html body.single-mailpoet_page .page-content input[type="text"],
html body.single-mailpoet_page .page-content input[type="email"],
html body.single-mailpoet_page .page-content select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #d9d2c5;
	border-radius: 4px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	box-shadow: none;
}
html body.single-mailpoet_page .page-content input[type="text"]:focus,
html body.single-mailpoet_page .page-content input[type="email"]:focus,
html body.single-mailpoet_page .page-content select:focus {
	border-color: #a3703f;
	outline: none;
}
html body.single-mailpoet_page .page-content input[type="submit"],
html body.single-mailpoet_page .page-content button[type="submit"],
html body.single-mailpoet_page .page-content .mailpoet_submit {
	height: 50px;
	padding: 0 32px;
	border: 1px solid #1a1a1a;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
html body.single-mailpoet_page .page-content input[type="submit"]:hover,
html body.single-mailpoet_page .page-content button[type="submit"]:hover,
html body.single-mailpoet_page .page-content .mailpoet_submit:hover {
	border-color: #a3703f;
	background: #a3703f;
}
.noirmusk-mp-actions {
	margin: 30px 0 0 !important;
	text-align: center;
}
.noirmusk-mp-actions__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 0 32px;
	border: 1px solid #1a1a1a;
	border-radius: 4px;
	background: #1a1a1a;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color: #fff;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.noirmusk-mp-actions__btn:hover {
	border-color: #a3703f;
	background: #a3703f;
	color: #fff;
}
@media (max-width: 600px) {
	html body.single-mailpoet_page #site-content-wrap.container {
		padding: 40px 16px 70px;
	}
	html body.single-mailpoet_page .page-content {
		padding: 30px 22px;
	}
	.noirmusk-mp-actions__btn {
		width: 100%;
	}
}

/* Footer sits directly against the content above it (no gap) */
html body .noirmusk-footer {
	margin-top: 0;
}
