.elementor-8239 .elementor-element.elementor-element-02f7f71{--display:flex;}.elementor-8239 .elementor-element.elementor-element-1a012e1{width:100%;max-width:100%;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-1a012e1 *//* SMC Aging-in-Place Button Text Fix */
/* Correct page wrapper: .smc-aip */

/* Base button reset */
body .smc-aip a.smc-aip-btn,
body .smc-aip a.smc-aip-btn:link,
body .smc-aip a.smc-aip-btn:visited,
body .smc-aip a.smc-aip-btn:hover,
body .smc-aip a.smc-aip-btn:focus,
body .smc-aip a.smc-aip-btn:active {
  text-decoration: none !important;
  font-weight: 800 !important;
}

/* Red buttons: force white text */
body .smc-aip a.smc-aip-btn.smc-aip-btn-primary,
body .smc-aip a.smc-aip-btn.smc-aip-btn-primary:link,
body .smc-aip a.smc-aip-btn.smc-aip-btn-primary:visited,
body .smc-aip a.smc-aip-btn.smc-aip-btn-primary:hover,
body .smc-aip a.smc-aip-btn.smc-aip-btn-primary:focus,
body .smc-aip a.smc-aip-btn.smc-aip-btn-primary:active {
  background-color: #c21417 !important;
  color: #ffffff !important;
  border-color: #c21417 !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Red button hover: darker red, still white text */
body .smc-aip a.smc-aip-btn.smc-aip-btn-primary:hover {
  background-color: #a91013 !important;
  color: #ffffff !important;
  border-color: #a91013 !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* White buttons: force deep navy text */
body .smc-aip a.smc-aip-btn.smc-aip-btn-secondary,
body .smc-aip a.smc-aip-btn.smc-aip-btn-secondary:link,
body .smc-aip a.smc-aip-btn.smc-aip-btn-secondary:visited,
body .smc-aip a.smc-aip-btn.smc-aip-btn-secondary:hover,
body .smc-aip a.smc-aip-btn.smc-aip-btn-secondary:focus,
body .smc-aip a.smc-aip-btn.smc-aip-btn-secondary:active {
  background-color: #ffffff !important;
  color: #222745 !important;
  border-color: #ffffff !important;
  -webkit-text-fill-color: #222745 !important;
}

/* Outline buttons: force deep navy text on white/light sections */
body .smc-aip a.smc-aip-btn.smc-aip-btn-outline,
body .smc-aip a.smc-aip-btn.smc-aip-btn-outline:link,
body .smc-aip a.smc-aip-btn.smc-aip-btn-outline:visited,
body .smc-aip a.smc-aip-btn.smc-aip-btn-outline:hover,
body .smc-aip a.smc-aip-btn.smc-aip-btn-outline:focus,
body .smc-aip a.smc-aip-btn.smc-aip-btn-outline:active {
  color: #222745 !important;
  border-color: #222745 !important;
  -webkit-text-fill-color: #222745 !important;
}

/* Force any nested spans/icons/text inside buttons to inherit the corrected color */
body .smc-aip a.smc-aip-btn *,
body .smc-aip a.smc-aip-btn-primary *,
body .smc-aip a.smc-aip-btn-secondary *,
body .smc-aip a.smc-aip-btn-outline * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
/* SMC AIP — Final desktop feature image fill + remove adult children card */

@media (min-width: 901px) {

  /* Make the desktop feature rows stretch both columns evenly */
  body .smc-aip .smc-aip-feature,
  body .smc-aip .smc-aip-feature.smc-aip-feature-reverse {
    align-items: stretch !important;
  }

  /* Force feature image containers to fill the full row height */
  body .smc-aip .smc-aip-feature-img {
    display: flex !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: clamp(520px, 42vw, 680px) !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: var(--smc-radius, 22px) !important;
  }

  /* Override earlier max-height rules so images actually fill the container */
  body .smc-aip .smc-aip-feature-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: inherit !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    flex: 1 1 auto !important;
  }

  /* Keep the text panel matching the image height */
  body .smc-aip .smc-aip-feature-panel {
    height: 100% !important;
  }
}

/* Keep mobile as-is */
@media (max-width: 900px) {
  body .smc-aip .smc-aip-feature-img {
    min-height: 0 !important;
  }

  body .smc-aip .smc-aip-feature-img img {
    height: 420px !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* Remove the “For Adult Children Helping Parents” box */
body .smc-aip .smc-aip-audience-grid .smc-aip-audience-card:nth-child(2) {
  display: none !important;
}

/* Rebalance the remaining audience card after removing the second box */
body .smc-aip .smc-aip-audience-grid {
  grid-template-columns: 1fr !important;
}/* End custom CSS */