.irish-lead-form {
  color: inherit;
  width: 100%;
}

.irish-lead-form__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.irish-lead-form__fields {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.irish-lead-form label span {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: .45rem;
}

.irish-lead-form input[type="text"],
.irish-lead-form input[type="tel"],
.irish-lead-form select,
.irish-lead-form textarea {
  background: #fff;
  border: 1px solid #c9ceca;
  border-radius: 4px;
  box-sizing: border-box;
  color: #171a18;
  font: inherit;
  min-height: 48px;
  padding: .75rem .875rem;
  width: 100%;
}

.irish-lead-form select {
  height: 48px;
  padding-block: 0;
  line-height: 46px;
}

.irish-lead-form textarea {
  min-height: 96px;
  resize: vertical;
}

.irish-lead-form input:focus,
.irish-lead-form select:focus,
.irish-lead-form textarea:focus {
  border-color: #16734d;
  box-shadow: 0 0 0 3px rgb(22 115 77 / 14%);
  outline: 0;
}

.irish-lead-form .is-wide {
  grid-column: 1 / -1;
}

.irish-lead-form__consent {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  gap: .625rem;
  margin: 1rem 0;
}

.irish-lead-form__consent input {
  flex: 0 0 auto;
  margin-top: .2rem;
}

.irish-lead-form__consent span {
  font-size: .8125rem !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.irish-lead-form__submit {
  background: #171a18;
  border: 1px solid #171a18;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 48px;
  padding: .75rem 1.25rem;
}

.irish-lead-form__submit:hover {
  background: #16734d;
  border-color: #16734d;
}

.irish-lead-form__submit:disabled {
  cursor: wait;
  opacity: .7;
}

.irish-lead-form__notice {
  border-left: 4px solid;
  margin-bottom: 1rem;
  padding: .875rem 1rem;
}

.irish-lead-form__notice.is-success {
  background: #edf7f1;
  border-color: #16734d;
}

.irish-lead-form__notice.is-error {
  background: #fff2f1;
  border-color: #b42318;
}

.irish-lead-form__trap {
  height: 1px !important;
  left: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  width: 1px !important;
}

@media (max-width: 640px) {
  .irish-lead-form__fields {
    grid-template-columns: 1fr;
  }
}
