/* Provider markup stays untouched. Important declarations intentionally beat
   CC's asynchronously injected .ctct-form-embed.form_0 selectors. */
.v2-newsletter-form,
.v2-newsletter-form * {
  box-sizing: border-box;
}
.v2-newsletter-form .ctct-inline-form {
  max-width: 100%;
  min-width: 0;
}
.v2-newsletter-form .ctct-inline-form:not(:has(.ctct-form-defaults)) {
  min-height: 240px;
  visibility: hidden;
}
.v2-newsletter-form--page {
  width: 100%;
  max-width: 560px;
  padding: 32px;
  margin-bottom: 32px;
  background: var(--v2-paper);
  border-radius: var(--v2-radius);
  box-shadow: var(--v2-shadow);
}
.v2-newsletter-form :is(.ctct-form-container, .ctct-form-defaults, .ctct-form-embed) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.v2-newsletter-form .ctct-inline-form,
.v2-newsletter-form .ctct-inline-form * {
  font-family: var(--v2-sans) !important;
  color: var(--v2-ink) !important;
}
.v2-newsletter-form :is(.ctct-form-header, .ctct-form-text) {
  display: none !important;
}
.v2-newsletter-form .ctct-form-custom {
  margin: 0 !important;
  padding: 0 !important;
}
.v2-newsletter-form .ctct-form-field {
  min-width: 0 !important;
  margin: 0 0 16px !important;
}
.v2-newsletter-form .ctct-form-label {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: var(--v2-ink) !important;
}
.v2-newsletter-form .ctct-form-required::before,
.v2-newsletter-form .ctct-form-required::after {
  color: var(--v2-rust) !important;
}
.v2-newsletter-form .ctct-form-element {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 50px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  background: var(--v2-paper) !important;
  border: 1px solid var(--v2-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}
.v2-newsletter-form .ctct-form-element::placeholder {
  color: var(--v2-muted) !important;
  opacity: 1;
}
.v2-newsletter-form .ctct-form-element:hover {
  border-color: var(--v2-teal) !important;
}
.v2-newsletter-form :is(.ctct-form-element, .ctct-form-button, a):focus-visible {
  outline: 3px solid var(--v2-rust) !important;
  outline-offset: 3px !important;
}
.v2-newsletter-form .ctct-form-element:focus {
  border-color: var(--v2-teal) !important;
}
.v2-newsletter-form .ctct-gdpr-text,
.v2-newsletter-form .ctct-gdpr-text *,
.v2-site .v2-newsletter-form .v2-newsletter-form__recaptcha {
  font-family: var(--v2-sans) !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--v2-muted) !important;
}
.v2-newsletter-form .ctct-gdpr-text {
  display: block !important;
  margin: 0 !important;
}
.v2-newsletter-form .ctct-gdpr-text a,
.v2-newsletter-form a.ctct-form-footer-link,
.v2-site .v2-newsletter-form .v2-newsletter-form__recaptcha a {
  color: var(--v2-teal) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.v2-newsletter-form .ctct-form-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 20px 0 0 !important;
  padding: 0 26px !important;
  border: none !important;
  border-radius: var(--v2-radius-pill) !important;
  background: var(--v2-rust) !important;
  color: var(--v2-paper) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  text-shadow: none !important;
  box-shadow: 0 8px 20px -10px rgba(143, 61, 32, .7) !important;
  cursor: pointer;
  transition: background-color .25s var(--v2-ease), box-shadow .25s var(--v2-ease) !important;
}
.v2-newsletter-form .ctct-form-button:hover,
.v2-newsletter-form .ctct-form-button:focus-visible {
  background: var(--v2-rust-deep) !important;
}
.v2-newsletter-form--footer .ctct-form-button {
  width: 100% !important;
}
.v2-newsletter-form .ctct-form-footer {
  width: auto !important;
  min-width: 0 !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: left !important;
  opacity: .6;
}
.v2-newsletter-form .ctct-form-footer-link {
  display: inline-block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.v2-newsletter-form .ctct-form-footer-img {
  width: 108px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: brightness(0);
}
.v2-newsletter-form .ctct-form-element.ctct-form-error,
.v2-newsletter-form .ctct-form-error .ctct-form-element,
.v2-newsletter-form .ctct-form-field:has(.ctct-form-errorMessage:not([style*="display: none"]):not([style*="display:none"])) .ctct-form-element,
.v2-newsletter-form .ctct-form-element[aria-invalid="true"] {
  border-color: var(--v2-rust) !important;
}
.v2-newsletter-form .ctct-inline-form .ctct-form-defaults .ctct-form-custom .ctct-form-error,
.v2-newsletter-form .ctct-inline-form .ctct-form-defaults .ctct-form-custom .ctct-form-errorMessage,
.v2-newsletter-form .ctct-inline-form .ctct-form-defaults .ctct-form-custom .ctct-form-errorMessage * {
  font-family: var(--v2-sans) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--v2-rust-deep) !important;
}
.v2-newsletter-form .ctct-form-errorMessage {
  margin: 0 0 6px !important;
}
.v2-newsletter-form .ctct-form-success {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.v2-newsletter-form .ctct-form-success :is(h2, h3, .ctct-form-header) {
  display: block !important;
  margin: 0 0 16px !important;
  font-family: var(--v2-serif) !important;
  font-size: clamp(25px, 2.2vw, 30px) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  color: var(--v2-teal-deep) !important;
}
.v2-newsletter-form .ctct-form-success :is(p, .ctct-form-text) {
  display: block !important;
  font-family: var(--v2-sans) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--v2-ink) !important;
}
/* CC places this badge outside our wrapper. Limit the exception to v2 pages
   containing our signup and retain the linked disclosure beneath the form. */
body.v2-body:has(.v2-newsletter-form) .grecaptcha-badge {
  visibility: hidden !important;
}
@media (min-width: 768px) {
  .v2-newsletter-form--page .ctct-form-custom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }
  .v2-newsletter-form--page .ctct-form-custom > * {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .v2-newsletter-form--page .ctct-form-custom > .ctct-email-field-wrapper,
  .v2-newsletter-form--page .ctct-form-custom > [id^="email_address_field_"] {
    grid-column: 1;
  }
  .v2-newsletter-form--page .ctct-form-custom > [id^="first_name_field_"] {
    grid-column: 2;
  }
  .v2-newsletter-form--page .ctct-form-button {
    justify-self: start;
  }
}
@media (max-width: 767px) {
  .v2-newsletter-form--page { padding: 24px 20px; }
}
