/* SaskADHD homepage hierarchy refinement — v1.1.0 */
/* Hide the redundant explanatory hero CTA immediately, before the small browser-side text cleanup runs. */
.sad-page-home .sad-hero .sad-track-details{display:none!important}

/* With the secondary button removed, do not preserve a forced two-column CTA grid. */
.sad-page-home .sad-hero .sad-actions{
  grid-template-columns:minmax(0,max-content)!important;
  justify-content:start!important;
}
.sad-page-home .sad-hero .sad-actions .elementor-widget-button{
  width:auto!important;
  max-width:100%!important;
}


/* Reorder only the first four major sections. All remaining sections keep their existing order.
   The exported homepage root is an Elementor column container, so CSS order avoids PHP/query work and layout flash. */
.sad-page-home > .sad-hero{order:-40!important}
.sad-page-home > .sad-polish-routes{order:-30!important}
.sad-page-home > .sad-home-team-expanded{order:-20!important}
.sad-page-home > .sad-conversion-screening{order:-10!important}

/* The detailed screening section is now supporting information, not the first major block. */
.sad-page-home .sad-conversion-screening{
  scroll-margin-top:104px;
}

@media(max-width:767px){
  .sad-page-home .sad-hero .sad-actions{grid-template-columns:1fr!important;width:100%!important}
  .sad-page-home .sad-hero .sad-actions .elementor-widget-button{width:100%!important}
}


/* Keep the already-diagnosed route clearly visible without turning it into a competing primary CTA. */
.sad-page-home .sad-hero .sadhd-diagnosed-route{
  margin-top:2px!important;
}
.sad-page-home .sad-hero .sadhd-diagnosed-route a{
  color:#1b2e91!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}
