/* Selected Case Highlights final phone-only group adjustment.
   Visual transforms preserve document flow, so the standalone Back to top
   remains at its approved Round 45 position. */
@media (max-width:760px){
  body.portfolio-page .portfolio-featured-refresh .portfolio-highlight-shell{
    transform:translateY(-40px)!important;
  }

  body.portfolio-page .portfolio-featured-refresh .portfolio-applied-jump-wrap{
    transform:translateY(-10px)!important;
  }

  body.education-page.interior-page .education-secondary-actions{
    margin-top:47px!important;
  }

  body.portfolio-page .portfolio-highlights-jump-wrap .portfolio-highlights-jump{
    transform:translateY(12px)!important;
  }
}

/* Desktop Education — replace the static Academic Honors & Leadership underline
   with the exact expanding gold-bar behavior used by All Organizations. */
@media (min-width:761px){
  body.education-page .education-honors-link::after{
    width:58%!important;
    height:2px!important;
    background:#e0a12c!important;
    transition:width .2s ease!important;
  }
  body.education-page .education-honors-link:hover::after,
  body.education-page .education-honors-link:focus-visible::after{
    width:100%!important;
  }
}

/* Desktop Education — final dynamic gold-bar behavior.
   Keep the link exactly where it is; animate only the existing underline
   using the same resting/expanded proportions as All Organizations. */
@media (min-width:761px){
  body.education-page .education-honors-link::after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    bottom:0!important;
    width:100%!important;
    height:2px!important;
    background:#e0a12c!important;
    transform:translateX(-50%) scaleX(.58)!important;
    transform-origin:center!important;
    transition:transform .2s ease!important;
  }
  body.education-page .education-honors-link:hover::after,
  body.education-page .education-honors-link:focus-visible::after{
    transform:translateX(-50%) scaleX(1)!important;
  }
}
