/* Campaign Monitor Subscribe – minimal structural styles.
   Colors, fonts, borders and sizing are inherited from the theme / Elementor.
   Target these classes in Elementor's Custom CSS to restyle. */

.cmsub-form {
	max-width: 100%;
	margin: 0;
}

.cmsub-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: stretch;
}

.cmsub-input {
	flex: 1 1 12rem; /* rem, not em: a large input font must not inflate the basis and wrap the button */
	min-width: 0;
}

.cmsub-button {
	flex: 0 0 auto;
	cursor: pointer;
}

.cmsub-form--busy .cmsub-button {
	opacity: 0.6;
	cursor: wait;
}

/* Hide the fields once subscribed; remove this rule if you prefer to keep them. */
.cmsub-form--success .cmsub-fields {
	display: none;
}

.cmsub-message {
	display: none;
	margin-top: 0.75em;
	font-size: 0.95em;
	line-height: 1.4;
}

.cmsub-message.is-visible {
	display: block;
}

.cmsub-message--error {
	color: #b00020;
}

.cmsub-message--success {
	color: #1b7f3b;
}

/* Honeypot: off-screen for everyone, including screen readers (aria-hidden). */
.cmsub-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Visually hidden label for the email field. */
.cmsub-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
