/* Prevent background effects on hover, active, and current items */
body[data-header-color="custom"] #header-outer .sf-menu > li > a,
body[data-header-color="custom"] #header-outer .sf-menu > li > a:hover,
body[data-header-color="custom"] #header-outer .sf-menu > li.sfHover > a,
body[data-header-color="custom"] #header-outer .sf-menu > li.current-menu-item > a {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  transition: none !important;
  color: inherit !important;
  outline: none !important;
}

/* Kill pseudo-elements (animated underline etc.) */
body[data-header-color="custom"] #header-outer .sf-menu > li > a::before,
body[data-header-color="custom"] #header-outer .sf-menu > li > a::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
}
/* Outer row full height and center alignment */
.hero-center {
  display: flex !important;
  align-items: center !important;  /* vertical center */
  justify-content: center !important;  /* horizontal center */
  flex-direction: column !important;
  min-height: 100vh !important;
  text-align: center !important;
  position: relative !important;
}
/* Ensure the parent row fills the viewport and centers content */
.hero-align {
  display: flex !important;
  align-items: center !important;        /* vertical center */
  justify-content: center !important;    /* horizontal center */
  min-height: 100vh !important;
  flex-direction: column !important;
  text-align: center !important;
  position: relative !important;
  padding: 0 !important;
}

/* Remove animation shift from Salient split heading */
.hero-align .nectar-split-heading.animated-in span.inner {
  transform: none !important;
  opacity: 1 !important;
}

/* Avoid line break issues with Salient's split heading */
.hero-align .nectar-split-heading {
  line-height: 1.2 !important;
  white-space: normal !important;
}