:is(.stay-updated-form-container, .ambassador-form-container) .sdc-webform {
  --webform-error: #dd0000;

  width: 100%;
  font-family: var(--font-agenda);

  &,
  & *,
  & *::before,
  & *::after {
    box-sizing: border-box;
  }

  .webform-submission-form,
  .webform-submission-form > .form-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .form-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  p {
    margin-bottom: 0;
  }

  a {
    color: var(--color-dark-coral);
    text-decoration: underline;
  }

  label {
    font-size: var(--size-body);
  }

  label span,
  .required-asterisk {
    color: var(--webform-error);
  }

  .webform-section-wrapper {
    display: flex;
  }

  .webform-section-wrapper > * {
    flex: 1 1 0;
    min-width: 0;
  }

  input:is([type="text"], [type="email"]) {
    width: 100%;
    padding: 12px var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-white);
    font-size: var(--size-body);
    line-height: 22px;
  }

  input:is([type="text"], [type="email"]):focus-visible {
    border-color: var(--color-coral);
  }

  .form-type-radio,
  .form-type-checkbox {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--space-md);
  }

  input:is([type="radio"], [type="checkbox"]) {
    flex: 0 0 auto;
    accent-color: var(--color-coral);
    cursor: pointer;
  }

  input[type="radio"] {
    width: 20px;
    height: 20px;
  }

  input[type="checkbox"] {
    -webkit-appearance: none;
    position: relative;
    width: 24px;
    height: 24px;
    border: 1px solid #515861;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
  }

  input[type="checkbox"]:checked {
    border-color: var(--color-dark-coral, #C94808);
    background: var(--color-coral, #F16B50);
  }

  input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 7px;
    height: 13px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  input:is([type="radio"], [type="checkbox"]) + label {
    flex: 1 1 0;
  }

  .custom-error-layout label {
    padding-top: 2px;
  }

  .form-item--error-message {
    flex-basis: 100%;
    color: var(--webform-error);
    font-size: var(--size-footnote);
  }

  .form-item--error input:is([type="text"], [type="email"]) {
    border-color: var(--webform-error);
  }

  .form-actions {
    display: flex;
    justify-content: center;
  }

  .form-submit {
    padding: 13px 48px 11px 24px;
    border: 0;
    background-image: url(../../images/icons/chevron-right.svg);
    background-repeat: no-repeat;
    background-position: right calc((100% / 2) - 36px) center;
    background-size: 24px 24px;
    width: auto;
    line-height: 1;
  }

  @media (max-width: 768px) {

    .webform-section-wrapper {
      flex-direction: column;
    }

    .webform-section-wrapper > * {
      flex: initial;
      min-width: initial;
    }

    .form-submit {
      width: 100%;
    }
  }
}

html.js :is(.stay-updated-form-container, .ambassador-form-container)
  .sdc-webform .js-webform-confirmation-modal,
html.js :is(.stay-updated-form-container, .ambassador-form-container)
  .sdc-webform [role="contentinfo"]:has(.webform-confirmation-modal--title) {
  display: none;
}

body:has(:is(.stay-updated-form-container, .ambassador-form-container) .sdc-webform)
  [data-drupal-messages]
  [role="contentinfo"][aria-label="Error message"]:has(.item-list__comma-list) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
