.aea-mc-newsletter-wrapper {
  color: var(--aea-wc-text-muted, #52525b);
  font-size: var(--aea-wc-text-md, 14px);
  line-height: 1.6;
}
.aea-mc-newsletter-wrapper p:last-child {
  margin-bottom: 0;
}

.aea-mc-mailchimp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--aea-wc-space-3, 12px);
  margin: 0 !important;
}

.aea-mc-newsletter-input-wrapper {
  flex: 1 1 220px;
  min-width: 0;
}

.aea-mc-newsletter-signup-wrapper {
  flex: 0 0 auto;
}

.aea-mc-fullwidth {
  flex-direction: column;
  align-items: flex-start;
}
.aea-mc-fullwidth .aea-mc-newsletter-input-wrapper {
  flex: 0 0 auto;
  width: 100%;
}

input.aea-mc-input {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--aea-wc-control-height, 40px);
  margin: 0;
  padding: 8px var(--aea-wc-space-3, 12px);
  border: 1px solid var(--aea-wc-border-strong, #d4d4d8);
  border-radius: var(--aea-wc-radius-md, 4px);
  background-color: var(--aea-wc-surface, #fff);
  box-shadow: none;
  color: var(--aea-wc-text, #18181b);
  font-family: inherit;
  font-size: var(--aea-wc-text-md, 14px);
  line-height: 1.4;
  transition: border-color var(--aea-wc-transition, 160ms ease), box-shadow var(--aea-wc-transition, 160ms ease);
}
input.aea-mc-input::placeholder {
  color: var(--aea-wc-text-faint, #a1a1aa);
  opacity: 1;
}
input.aea-mc-input:where(:hover) {
  border-color: var(--aea-wc-text-faint, #a1a1aa);
}
input.aea-mc-input:where(:focus, :focus-visible) {
  border-color: var(--aea-wc-accent, #18181b);
  outline: none;
  box-shadow: var(--aea-wc-focus-ring, 0 0 0 3px rgba(24, 24, 27, 0.14));
}

.aea-mc-mailchimp input.aea-mc-input:where(:focus) {
  border-color: var(--aea-wc-accent, #18181b);
  outline: none;
  box-shadow: var(--aea-wc-focus-ring, 0 0 0 3px rgba(24, 24, 27, 0.14));
}

.aea-mc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--aea-wc-space-2, 8px);
  box-sizing: border-box;
  margin: 0;
  border: 1px solid transparent;
  border-radius: var(--aea-wc-radius-md, 4px);
  font-family: inherit;
  font-weight: var(--aea-wc-weight-semibold, 600);
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--aea-wc-transition, 160ms ease), border-color var(--aea-wc-transition, 160ms ease), color var(--aea-wc-transition, 160ms ease), box-shadow var(--aea-wc-transition, 160ms ease);
  min-height: var(--aea-wc-control-height, 40px);
  padding: 10px var(--aea-wc-space-5, 20px);
  font-size: var(--aea-wc-text-md, 14px);
  background-color: var(--aea-wc-accent, #18181b);
  border-color: var(--aea-wc-accent, #18181b);
  color: var(--aea-wc-accent-contrast, #fff);
}
.aea-mc-button:where(:hover) {
  background-color: var(--aea-wc-accent-hover, #27272a);
  border-color: var(--aea-wc-accent-hover, #27272a);
  color: var(--aea-wc-accent-contrast, #fff);
}
.aea-mc-button:is(a):where(:hover, :active) {
  color: var(--aea-wc-accent-contrast, #fff);
}
.aea-mc-button:is(button, [type="button"], [type="submit"]):where(:hover, :focus) {
  background-color: var(--aea-wc-accent-hover, #27272a);
  border-color: var(--aea-wc-accent-hover, #27272a);
  color: var(--aea-wc-accent-contrast, #fff);
}
.aea-mc-button svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.aea-mc-button:where(:focus-visible) {
  outline: none;
  box-shadow: var(--aea-wc-focus-ring, 0 0 0 3px rgba(24, 24, 27, 0.14));
}

.aea-mc-mailchimp .aea-mc-button:where(:hover, :focus) {
  border-color: var(--aea-wc-accent-hover, #27272a);
  background-color: var(--aea-wc-accent-hover, #27272a);
  color: var(--aea-wc-accent-contrast, #fff);
}

.aea-mc-mailchimp .aea-mc-button:where(:focus-visible) {
  outline: none;
  box-shadow: var(--aea-wc-focus-ring, 0 0 0 3px rgba(24, 24, 27, 0.14));
}

.aea-mc-button:where(:disabled) {
  opacity: 0.6;
  cursor: progress;
}

.aea-mc-newsletter-btn-content-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aea-mc-newsletter-btn-icon,
.aea-mc-newsletter-before-icon {
  display: inline-flex;
  line-height: 1;
}

.aea-mc-newsletter-btn-icon svg,
.aea-mc-newsletter-before-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.aea-mc-newsletter-before-icon {
  color: var(--aea-wc-text-subtle, #71717a);
  font-size: 18px;
}

.aea-mc-before-icon-inline--yes .aea-mc-before-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: var(--aea-wc-space-3, 12px);
  z-index: 1;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  pointer-events: none;
}
.aea-mc-before-icon-inline--yes .aea-mc-before-icon .aea-mc-newsletter-before-icon {
  font-size: 16px;
}

.aea-mc-has-icon input.aea-mc-input {
  padding-inline-start: 40px;
}

.aea-mc-newsletter-before-text,
.aea-mc-newsletter-after-text {
  color: var(--aea-wc-text-muted, #52525b);
  font-size: var(--aea-wc-text-md, 14px);
  line-height: 1.6;
}
.aea-mc-newsletter-before-text p:last-child,
.aea-mc-newsletter-after-text p:last-child {
  margin-bottom: 0;
}

.aea-mc-newsletter-before-text {
  margin: 0 0 var(--aea-wc-space-3, 12px);
  color: var(--aea-wc-text, #18181b);
  font-weight: var(--aea-wc-weight-medium, 500);
}

.aea-mc-newsletter-after-text {
  margin: var(--aea-wc-space-3, 12px) 0 0;
  color: var(--aea-wc-text-subtle, #71717a);
  font-size: var(--aea-wc-text-base, 13px);
  line-height: 1.5;
}

.aea-mc-response {
  margin-top: var(--aea-wc-space-3, 12px);
}
.aea-mc-response:empty {
  display: none;
}
.aea-mc-response.aea-mc-loading {
  display: block;
  margin: 0;
  padding: var(--aea-wc-space-3, 12px) var(--aea-wc-space-4, 16px);
  border: 1px solid var(--aea-wc-border, #e4e4e7);
  border-inline-start: 3px solid var(--aea-wc-border-strong, #d4d4d8);
  border-radius: var(--aea-wc-radius-md, 4px);
  background: var(--aea-wc-surface-subtle, #fafafa);
  color: var(--aea-wc-text-soft, #3f3f46);
  font-size: var(--aea-wc-text-md, 14px);
  line-height: 1.5;
  text-align: start;
  margin-top: var(--aea-wc-space-3, 12px);
}
.aea-mc-response.aea-mc-loading a {
  color: var(--aea-wc-text, #18181b);
  font-weight: var(--aea-wc-weight-medium, 500);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aea-mc-response.aea-mc-success {
  display: block;
  margin: 0;
  padding: var(--aea-wc-space-3, 12px) var(--aea-wc-space-4, 16px);
  border: 1px solid var(--aea-wc-border, #e4e4e7);
  border-inline-start: 3px solid var(--aea-wc-border-strong, #d4d4d8);
  border-radius: var(--aea-wc-radius-md, 4px);
  background: var(--aea-wc-surface-subtle, #fafafa);
  color: var(--aea-wc-text-soft, #3f3f46);
  font-size: var(--aea-wc-text-md, 14px);
  line-height: 1.5;
  text-align: start;
  border-inline-start-color: var(--aea-wc-success, #15803d);
  margin-top: var(--aea-wc-space-3, 12px);
}
.aea-mc-response.aea-mc-success a {
  color: var(--aea-wc-text, #18181b);
  font-weight: var(--aea-wc-weight-medium, 500);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aea-mc-response.aea-mc-error {
  display: block;
  margin: 0;
  padding: var(--aea-wc-space-3, 12px) var(--aea-wc-space-4, 16px);
  border: 1px solid var(--aea-wc-border, #e4e4e7);
  border-inline-start: 3px solid var(--aea-wc-border-strong, #d4d4d8);
  border-radius: var(--aea-wc-radius-md, 4px);
  background: var(--aea-wc-surface-subtle, #fafafa);
  color: var(--aea-wc-text-soft, #3f3f46);
  font-size: var(--aea-wc-text-md, 14px);
  line-height: 1.5;
  text-align: start;
  border-inline-start-color: var(--aea-wc-danger, #dc2626);
  margin-top: var(--aea-wc-space-3, 12px);
}
.aea-mc-response.aea-mc-error a {
  color: var(--aea-wc-text, #18181b);
  font-weight: var(--aea-wc-weight-medium, 500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aea-mc-newsletter-wrapper + .aea-editor-notice,
.aea-editor-notice + .aea-mc-newsletter-wrapper {
  margin-top: var(--aea-wc-space-4, 16px);
}

.aea-mc-flex {
  display: flex;
}

.aea-mc-flex-middle {
  align-items: center;
}

.aea-mc-flex-center {
  justify-content: center;
}

.aea-mc-flex-column {
  flex-direction: column;
}

.aea-mc-flex-column-reverse {
  flex-direction: column-reverse;
}

.aea-mc-display-inline-block {
  display: inline-block;
}

.aea-mc-position-relative {
  position: relative;
}

.aea-mc-width-1-1 {
  width: 100%;
}