/* Override the page builder's inline spacer heights so spacing rules take effect. */
.vc_empty_space,
.vc_empty_space > .vc_empty_space_inner,
.seofy_module_spacing .spacing_size {
  display: block !important;
  height: 24px !important;
  min-height: 0 !important;
  max-height: 24px !important;
  overflow: hidden !important;
}

.vc_empty_space > .vc_empty_space_inner {
  width: 100% !important;
}

/* Page-builder animation hooks hide content until JavaScript reveals it. Keep static pages visible by default. */
.bdlayout_animate_when_almost_visible {
  opacity: 1 !important;
}

@media (max-width: 767px) {
  .vc_empty_space,
  .vc_empty_space > .vc_empty_space_inner,
  .seofy_module_spacing .spacing_size {
    height: 16px !important;
    max-height: 16px !important;
  }
}

/* Keep shared footer insets consistent across exported pages. */
.row-footer {
  padding-top: 56px !important;
}

@media (max-width: 767px) {
  .row-footer {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
}

/* Remove the compounded gap before the shared final call-to-action. */
.bottom-last {
  margin-top: 32px !important;
}

@media (max-width: 767px) {
  .bottom-last {
    margin-top: 20px !important;
  }
}

/* The contact column already follows the hero spacing; avoid a second inset. */
.contact-us-forms {
  padding-top: 16px !important;
}

@media (max-width: 767px) {
  .contact-us-forms {
    padding-top: 12px !important;
  }
}
