.mef-wrap {
	--mef-button-bg: #1f6f5b;
	--mef-button-color: #ffffff;
	max-width: 42rem;
}

.mef-form {
	display: grid;
	gap: 1rem;
}

.mef-field {
	display: grid;
	gap: 0.35rem;
	font: inherit;
}

.mef-field span {
	font-weight: 700;
}

.mef-field input,
.mef-field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.875rem 1rem;
	border: 1px solid #9aa4b2;
	border-radius: 6px;
	font: inherit;
	line-height: 1.45;
}

.mef-field textarea {
	min-height: 10rem;
	resize: vertical;
}

.mef-button-row {
	display: flex;
	justify-content: flex-start;
}

.mef-action-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.mef-align-left .mef-action-row {
	justify-content: flex-start;
}

.mef-align-left .mef-action-has-captcha {
	flex-direction: row-reverse;
	justify-content: space-between;
}

.mef-align-center .mef-action-row,
.mef-align-center .mef-button-row {
	justify-content: center;
}

.mef-align-right .mef-action-row {
	justify-content: flex-end;
}

.mef-align-right .mef-action-has-captcha {
	justify-content: space-between;
}

.mef-align-right .mef-button-row {
	justify-content: flex-end;
}

.mef-align-full .mef-action-row {
	align-items: stretch;
	flex-direction: column;
}

.mef-align-full .mef-submit {
	width: 100%;
}

.mef-submit {
	padding: 0.75rem 1.15rem;
	border: 0;
	border-radius: 6px;
	background: var(--mef-button-bg);
	color: var(--mef-button-color);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.mef-submit:hover,
.mef-submit:focus {
	filter: brightness(0.9);
}

.mef-notice {
	margin-bottom: 1rem;
	padding: 0.8rem 1rem;
	border-radius: 6px;
	border: 1px solid transparent;
}

.mef-notice-success {
	border-color: #8ec8a5;
	background: #eef8f1;
	color: #14532d;
}

.mef-notice-error {
	border-color: #e6a5a5;
	background: #fff1f1;
	color: #7f1d1d;
}

.mef-captcha {
	flex: 0 1 300px;
	min-height: 65px;
}

.mef-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mef-subscription-wrap {
	display: grid;
	gap: 2rem;
}

.mef-panel {
	display: grid;
	gap: 1rem;
}

.mef-panel h2 {
	margin-bottom: 0;
}
