/*-------------------------------------
  GLOBAL STYLING FOR GRAVITY FORMS
-------------------------------------*/
body .gform_wrapper {
  font-family: 'Open Sans', sans-serif !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body .gform_wrapper h3,
body .gform_wrapper legend,
body .gform_wrapper .gfield_label {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700;
}

body .gform_wrapper input,
body .gform_wrapper textarea,
body .gform_wrapper select {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px;
}

body .gform_wrapper .gform_page_footer .gform_next_button,
body .gform_wrapper .gform_page_footer .gform_previous_button {
  float: none !important;
  display: inline-block !important;
  margin: 0 auto;
}

body .gform_wrapper .gsection.no-bottom-border,
body .gform_wrapper .no-bottom-border {
  border-bottom: none !important;
  margin-bottom: 0 !important;
}

.gform_heading {
  display: none !important;
}



/*-------------------------------------
  REMOVE HEADER FOR PAGE 2208
-------------------------------------*/
body.page-id-2208 header.wp-block-template-part {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-2208 .wp-site-blocks,
body.page-id-2208 .wp-block-group,
body.page-id-2208 .gform_wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}



/*-------------------------------------
  PAGE 7029 — OFFICIAL SIGN-UP
  REMOVE HEADER + REMOVE FOOTER GAP
-------------------------------------*/
body.page-id-7029 header.wp-block-template-part {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-7029 .wp-site-blocks,
body.page-id-7029 .wp-block-group,
body.page-id-7029 .gform_wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.page-id-7029 .wp-block-group:last-of-type,
body.page-id-7029 .wp-block-columns:last-of-type,
body.page-id-7029 .wp-block-cover:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}



/*-------------------------------------
  PAGE 7088 — MOBILE SIGN-UP
  KEEP HEADER — REMOVE FOOTER GAP
-------------------------------------*/

/* Remove theme auto-padding wrappers that cause the large gap */
body.page-id-7088 div.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Additional theme container cleanup */
body.page-id-7088 .wp-site-blocks > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.page-id-7088 footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-id-7088 .wp-block-group:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}



/*-------------------------------------
  GLOBAL — REMOVE GAP BELOW HEADER
-------------------------------------*/
header.wp-block-template-part {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.wp-site-blocks {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.wp-block-navigation {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}



/*-------------------------------------
  GLOBAL — REMOVE GAP ABOVE FOOTER
  (This fixes 100% of pages)
-------------------------------------*/
div.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.gform_wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
