/**
 * Mailchimp newsletter signup (pasted into a Custom HTML block,
 * inside a full-width Group block with a dark background).
 */

#mc_embed_shell {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding: 20px 15px;
}

#mc_embed_signup {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	color: #FFFFFF;
	text-align: center;
}

#mc_embed_signup form {
	margin: 0;
}

#mc_embed_signup_scroll {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
}

#mc_embed_signup h2 {
	flex: 0 0 100%;
	margin: 0 0 5px;
	color: #FFFFFF;
	font-family: "Poppins", sans-serif;
	font-weight: bold;
	font-size: 24px;
	line-height: 1.25;
}

#mc_embed_signup .mc-moreinfo {
	flex: 0 0 100%;
	margin-bottom: 10px;
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
}

#mc_embed_signup .mc-field-group {
	flex: 1 1 240px;
	text-align: left;
}

#mc_embed_signup .mc-field-group label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 600;
}

#mc_embed_signup input[type="email"] {
	display: block;
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 2px solid #FFFFFF;
	border-radius: 0;
	background-color: #FFFFFF;
	color: #404040;
	font-size: 15px;
}

#mc_embed_signup input[type="email"]:focus {
	outline: none;
	border-color: #009444;
}

/* Wrapper of the submit button (the responses div shares the .clear class). */
#mc_embed_signup .clear:not(#mce-responses) {
	flex: 0 0 auto;
}

#mc_embed_signup input[type="submit"] {
	height: 42px;
	padding: 0 24px;
	border: 0;
	border-radius: 0;
	background-color: #ED1B24;
	color: #FFFFFF;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	font-weight: bold;
	line-height: 42px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

#mc_embed_signup input[type="submit"]:hover,
#mc_embed_signup input[type="submit"]:focus {
	background-color: #C4151D;
}

/* Error / success messages below the form row. */
#mce-responses {
	flex: 0 0 100%;
	order: 10;
	margin-top: 15px;
}

#mc_embed_signup .response {
	margin-top: 5px;
	padding: 10px 15px;
	color: #FFFFFF;
	font-size: 14px;
	text-align: left;
}

#mce-error-response {
	background-color: #ED1B24;
}

#mce-success-response {
	background-color: #009444;
}

#mc_embed_signup .response a {
	color: #FFFFFF;
}

#mc_embed_signup div.mce_inline_error {
	background: unset !important;
	font-weight: normal !important;
	position: absolute;
}

@media screen and (max-width: 600px) {
	#mc_embed_signup h2 {
		font-size: 20px;
	}

	#mc_embed_signup .clear:not(#mce-responses),
	#mc_embed_signup input[type="submit"] {
		width: 100%;
	}
	
	#mc_embed_signup div.mce_inline_error {
		position: unset !important;
	}

}

