.image-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;
}

/* ===== Form: hardcoded to match the site's other forms ===== */
.image-form__form {
  font-family: 'Montserrat', sans-serif;
}
.image-form__form h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

/* Layout: fieldsets are rows, fields share the row, inputs line up */
.image-form__form fieldset {
  max-width: 100% !important;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}
.image-form__form .hs-form-field {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 0 16px 0;
}
.image-form__form .hs-form-field > .input {
  margin-top: auto;
}
.image-form__form .input {
  margin-right: 0 !important;
}

/* Labels */
.image-form__form .hs-form-field > label {
  display: block;
  margin: 0 0 6px 0;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #1a1a1a !important;
}
.image-form__form .hs-form-required {
  color: #C0262D;
  margin-left: 2px;
}

/* Text inputs, selects, textareas */
.image-form__form .hs-input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  box-sizing: border-box;
  width: 100% !important;
  background-color: #F6F8FA !important;
  border: 1px solid #D0D5DD !important;
  color: #1a1a1a !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.image-form__form input.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  height: 44px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
}
.image-form__form select.hs-input {
  height: 44px !important;
  padding: 0 44px 0 18px !important;
  border-radius: 999px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23623FC7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 12px 8px !important;
}
.image-form__form textarea.hs-input {
  height: auto !important;
  min-height: 110px;
  padding: 12px 18px !important;
  border-radius: 20px !important;
  resize: vertical;
}
.image-form__form .hs-input::placeholder {
  color: #6B7280;
  opacity: 1;
}
.image-form__form .hs-input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover {
  border-color: #623FC7 !important;
}
.image-form__form .hs-input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus {
  border-color: #623FC7 !important;
  box-shadow: 0 0 0 3px rgba(98, 63, 199, 0.2);
  outline: none;
}
.image-form__form .hs-input.invalid:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  border-color: #C0262D !important;
}

/* Checkboxes, radios, instruction + consent text */
.image-form__form .inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.image-form__form .inputs-list label {
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
}
.image-form__form input[type="checkbox"] {
  accent-color: #623FC7;
  width: auto;
  margin-right: 8px;
}
.image-form__form input[type="radio"] {
  accent-color: #623FC7;
  width: auto;
  margin-right: 8px;
}
.image-form__form .hs-richtext {
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  color: #444444 !important;
}
.image-form__form .legal-consent-container {
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  color: #444444 !important;
}
.image-form__form .hs-richtext a {
  color: #623FC7 !important;