/* v5_835 — sitewide hover-reveal sustainment + stable section footprints. */
@media (hover:hover) and (pointer:fine){
  /* Preserve reveal state for 600ms after pointer/focus departure on card families where
     holding the card itself does not create a double-expanded stacked-row condition. */
  .bank-solution-mini.iz-hover-sustain span,
  .ppf-solution-mini.iz-hover-sustain span,
  .ppf-page .related-finance-card.iz-hover-sustain small,
  .sbpo-value-card.iz-hover-sustain p,
  .sbpo-solution-mini.iz-hover-sustain span,
  .afs-v791 .afs-capacity-grid article.iz-hover-sustain p,
  .afs-v791 .afs-focused-card.iz-hover-sustain p,
  .afs-page #afs-solutions .ppf-solution-row.iz-hover-sustain p,
  .cft-reason-card.iz-hover-sustain p,
  .cft-solution-mini.iz-hover-sustain span,
  .cft-page .related-finance-card.iz-hover-sustain small{
    max-height:150px!important;opacity:1!important;margin-top:8px!important;
    transition-delay:0s!important;
  }
  .afs-page #afs-solutions .ppf-solution-row.iz-hover-sustain p{margin-bottom:0!important;}

  /* Healthcare Revenue Cycle solution cards. */
  .hcrcm-solution-card p,
  .hcrcm-solution-card .hcrcm-solution-tags{
    max-height:0;opacity:0;overflow:hidden;margin-top:0!important;margin-bottom:0!important;
    transition:max-height .24s ease,opacity .18s ease,margin .24s ease;
  }
  .hcrcm-solution-card:hover p,.hcrcm-solution-card:focus-within p,
  .hcrcm-solution-card.iz-hover-sustain p{
    max-height:120px;opacity:1;margin-bottom:16px!important;
  }
  .hcrcm-solution-card:hover .hcrcm-solution-tags,.hcrcm-solution-card:focus-within .hcrcm-solution-tags,
  .hcrcm-solution-card.iz-hover-sustain .hcrcm-solution-tags{
    max-height:92px;opacity:1;margin-top:auto!important;padding-top:4px;
  }
  .hcrcm-solution-card{min-height:205px!important;}

  /* Healthcare Implementation & Integration microcopy reveal. */
  .solution-implementation-pillar p{
    max-height:0;opacity:0;overflow:hidden;margin-top:0!important;
    transition:max-height .24s ease,opacity .18s ease,margin-top .24s ease;
  }
  .solution-implementation-pillar:hover p,.solution-implementation-pillar:focus-within p,
  .solution-implementation-pillar.iz-hover-sustain p{
    max-height:120px;opacity:1;margin-top:8px!important;
  }
}

/* Banking Pressure cards retain their normal dark treatment on activation; Impact stays green. */
@media (hover:hover) and (pointer:fine){
  .bank-pressure-impact-row:has(.bank-pressure-card:hover, .bank-impact-card:hover) .bank-pressure-card{
    background:linear-gradient(180deg,#0b2140 0%,#102d50 100%)!important;
    border-color:rgba(139,174,215,.26)!important;
    box-shadow:0 16px 34px rgba(13,31,66,.12)!important;
  }
  .bank-pressure-impact-row:has(.bank-pressure-card:hover, .bank-impact-card:hover) .bank-pressure-card p{color:#b9c9df!important;}
  .bank-pressure-impact:has(.bank-pressure-impact-row .bank-pressure-card:hover, .bank-pressure-impact-row .bank-impact-card:hover) .bank-pressure-impact-head span:first-child{
    color:#68809b!important;text-shadow:none!important;
  }
}

/* Healthcare Pressure → Impact: align every card to the same internal grid. */
.hcrcm-pressure-card,.hcrcm-impact-card{
  display:grid!important;
  grid-template-rows:44px minmax(24px,auto) 1fr;
  align-content:start;
}
.hcrcm-pressure-card .hcrcm-card-top,.hcrcm-impact-card .hcrcm-card-top{min-height:44px;align-items:center;}
.hcrcm-pressure-card h3,.hcrcm-impact-card h3{align-self:start;margin-top:7px!important;margin-bottom:6px!important;}
.hcrcm-pressure-card p,.hcrcm-impact-card p{align-self:start;margin-top:0!important;}

/* Healthcare implementation tag row centered laterally. */
.healthcare-rcm-page .solution-implementation-proof{justify-content:center;text-align:center;}

/* More breathing room around Related Specialized Finance Capabilities on Healthcare. */
.healthcare-rcm-page .related-finance{padding-top:82px!important;padding-bottom:82px!important;}

/* The JS height hold writes only min-height; smooth release without animating the divider itself. */
.iz-section-height-hold{box-sizing:border-box;}

@media (hover:none),(pointer:coarse),(max-width:760px){
  .hcrcm-solution-card p,.hcrcm-solution-card .hcrcm-solution-tags,
  .solution-implementation-pillar p{max-height:none!important;opacity:1!important;overflow:visible!important;}
  .hcrcm-solution-card p{margin-bottom:16px!important;}
  .hcrcm-solution-card .hcrcm-solution-tags{margin-top:auto!important;}
  .solution-implementation-pillar p{margin-top:8px!important;}
  .hcrcm-solution-card{min-height:0!important;}
  .healthcare-rcm-page .related-finance{padding-top:64px!important;padding-bottom:64px!important;}
}
