/* Hide Astra page title on homepage */
body.home .entry-title,
body.home .ast-page-header-wrap .entry-title {
  display: none !important;
}

/* Fix service card title wrapping — 5-column layout cards */
.elementor-col-20 h3.elementor-image-box-title,
.elementor-col-20 .elementor-image-box-title {
  font-size: 20px !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-height: 1.2 !important;
}

/* Align Read More buttons at bottom of all 5 service cards */
.elementor-col-20 .elementor-widget-wrap.elementor-element-populated {
  display: flex !important;
  flex-direction: column !important;
}
.elementor-col-20 .elementor-widget-button {
  margin-top: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

/* Normalize service card bubble heights so all stem lines are equal length */
.elementor-col-20 .elementor-widget-image-box {
  min-height: 785px !important;
}
.elementor-col-20 .elementor-widget-image-box .elementor-widget-container {
  min-height: 785px !important;
}

/* Suppress Jetpack search overlay H1 "Search results" from Google crawl */
.jetpack-instant-search__overlay h1.screen-reader-text,
.jetpack-instant-search h1.screen-reader-text {
  display: none !important;
}

/* Knowledge Hub nav fix */
#ast-hf-menu-1 > li > a {
  font-size: 22px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  white-space: nowrap !important;
}

#ast-hf-menu-1 > li > ul.sub-menu {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  width: 520px !important;
  min-width: 520px !important;
  padding: 12px !important;
}

#ast-hf-menu-1 > li > ul.sub-menu li a {
  white-space: nowrap !important;
  padding: 10px 14px !important;
  font-size: 12px !important;
  display: block !important;
}

/* Fix dropdown background — not transparent */
#ast-hf-menu-1 > li > ul.sub-menu {
  background-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  border-top: 3px solid #7B4FBE !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

#ast-hf-menu-1 > li > ul.sub-menu li {
  background-color: #ffffff !important;
}

/* Fix page width — remove gray sides */
body {
  background-color: #ffffff !important;
}