/* Intake Form page (Intake Registration Form, Gravity Form #9).
   Scoped to the .ir-name field class + the /intake-form/ page.
   Loads AFTER components.css (dep: thrive-components) so equal-specificity
   overrides win on source order. Mirrors donate.css for the Donate form. */

/* --- Name field: the main "Name" label is hidden (field set to hidden_label)
   and the First / Last sub-labels are placed ABOVE their inputs, restyled to
   match the uppercase micro-label used by the other field labels. Scoped to
   .ir-name so the address fields' own sub-labels keep the default sub-label
   style (they were only moved above, not restyled). (2026-05-27) --- */
.gform_wrapper .ir-name .gform-field-label--type-sub{
  font-family:var(--font-sans);
  font-size:var(--text-label) !important;
  font-weight:400;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--color-heading);
  margin-top:0;
  margin-bottom:var(--space-s);
  display:block;
}

/* Name field is required: restore the red asterisk on each sub-label (it
   normally rides the main "Name" label, which is hidden here) so First and Last
   match the other required fields. (2026-05-27) */
.gform_wrapper .ir-name .gform-field-label--type-sub::after{
  content:" *";
  color:#d63638;
  font-weight:600;
}
