.amba-newsletter-modal[hidden] {
	display: none;
}

.amba-newsletter-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 20px;
}

.amba-newsletter-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(16, 16, 16, 0.62);
}

.amba-newsletter-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: min(720px, calc(100vh - 40px));
	overflow: auto;
	padding: 30px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 24px 80px rgba(16, 16, 16, 0.28);
	outline: none;
}

.amba-newsletter-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f2eee8;
	color: #333333;
	font-size: 26px;
	line-height: 1;
}

.amba-newsletter-modal__close:hover,
.amba-newsletter-modal__close:focus {
	background: #ef802a;
	color: #ffffff;
}

.amba-newsletter-modal__intro {
	padding-right: 42px;
	margin-bottom: 22px;
}

.amba-newsletter-modal__eyebrow {
	margin: 0 0 8px;
	color: #ef802a;
	font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
	font-size: 1.1rem;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.amba-newsletter-modal__intro h2 {
	margin: 0;
	color: #222222;
	font-size: clamp(1.8rem, 3vw, 2.55rem);
	line-height: 0.98;
}

.amba-newsletter-modal__intro p:last-child {
	margin: 12px 0 0;
	color: #5f6670;
	font-size: 1rem;
	line-height: 1.45;
}

.amba-newsletter-modal .mc_signup,
.amba-newsletter-modal .mc_signup_form,
.amba-newsletter-modal .mc_form_inside {
	margin: 0;
}

.amba-newsletter-modal .mc_custom_border_hdr,
.amba-newsletter-modal .mc_subheader,
.amba-newsletter-modal .mc-indicates-required,
.amba-newsletter-modal .mc_unsub_link {
	display: none;
}

.amba-newsletter-modal .mc_merge_var {
	margin: 0 0 14px;
}

.amba-newsletter-modal .mc_var_label {
	display: block;
	margin: 0 0 6px;
	color: #333333;
	font-weight: 700;
}

.amba-newsletter-modal input[type="email"],
.amba-newsletter-modal input[type="text"],
.amba-newsletter-modal input[type="tel"],
.amba-newsletter-modal input[type="number"],
.amba-newsletter-modal select {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid rgba(16, 16, 16, 0.14);
	border-radius: 8px;
	background: #ffffff;
	color: #222222;
}

.amba-newsletter-modal input:focus,
.amba-newsletter-modal select:focus {
	border-color: #ef802a;
	box-shadow: 0 0 0 3px rgba(239, 128, 42, 0.16);
	outline: none;
}

.amba-newsletter-modal .mc_signup_submit {
	margin: 18px 0 0;
}

.amba-newsletter-modal .mc_signup_submit_button,
.amba-newsletter-modal input[type="submit"] {
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 8px;
	background: #ef802a;
	color: #ffffff;
	font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
	font-size: 1.15rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.amba-newsletter-modal .mc_signup_submit_button:hover,
.amba-newsletter-modal .mc_signup_submit_button:focus,
.amba-newsletter-modal input[type="submit"]:hover,
.amba-newsletter-modal input[type="submit"]:focus {
	background: #c95f13;
	color: #ffffff;
}

.amba-newsletter-modal .mc_message_wrapper:not(:empty) {
	margin-bottom: 14px;
}

.amba-newsletter-modal .mc_success_msg,
.amba-newsletter-modal .mc_error_msg {
	padding: 12px 14px;
	border-radius: 8px;
	font-weight: 700;
	line-height: 1.35;
}

.amba-newsletter-modal .mc_success_msg {
	background: #eaf6ee;
	color: #1b6b34;
}

.amba-newsletter-modal .mc_error_msg {
	background: #fff0ea;
	color: #a53b12;
}

.amba-newsletter-modal-open {
	overflow: hidden;
}

.amba-newsletter-footer-cta {
	color: #ef802a;
	font-weight: 700;
	text-decoration: none;
}

.amba-newsletter-footer-cta:hover,
.amba-newsletter-footer-cta:focus {
	color: #c95f13;
	text-decoration: underline;
}

@media (max-width: 560px) {
	.amba-newsletter-modal {
		padding: 12px;
	}

	.amba-newsletter-modal__dialog {
		padding: 24px 18px;
	}

	.amba-newsletter-modal__intro {
		padding-right: 40px;
	}
}
