/* v1.4.56 — Homepage advisor portrait integration refine
   Scope: presentation only, layered after v1.4.55.
   Goal: bring the advisor portrait inside the shared premium shell and let the intro copy use the content width more effectively. */

@media (min-width: 981px){
  /* Keep one unified advisor object, but inset the portrait so it reads as a refined avatar frame inside the shared shell. */
  .home .home-advisor .home-advisor-grid{
    grid-template-columns:minmax(280px,300px) minmax(0,1fr)!important;
    padding:18px!important;
    gap:0!important;
    align-items:stretch!important;
  }

  .home .home-advisor .home-advisor-grid::before{
    left:18px!important;
    right:18px!important;
  }

  .home .home-advisor .home-advisor-visual{
    min-height:auto!important;
    height:auto!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:#e2ebf4!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.72),
      0 12px 28px rgba(0,39,84,.08)!important;
  }

  .home .home-advisor .home-advisor-visual::after{
    box-shadow:inset -1px 0 0 rgba(0,45,95,.045)!important;
  }

  .home .home-advisor .home-advisor-visual img{
    width:100%!important;
    height:100%!important;
    display:block!important;
    object-fit:cover!important;
    object-position:center 20%!important;
    border-radius:14px!important;
  }

  /* Remove the bridge wash used when the portrait touched the shell edge; use cleaner spacing instead. */
  .home .home-advisor .home-advisor-copy{
    align-self:stretch!important;
    justify-content:flex-start!important;
    padding:34px 36px 34px 38px!important;
  }

  .home .home-advisor .home-advisor-copy::before{
    display:none!important;
  }

  /* Let the note use the usable width before wrapping. */
  .home .home-advisor-intro{
    width:100%!important;
    max-width:none!important;
    margin-right:0!important;
    text-wrap:pretty;
  }
}

@media (max-width: 980px){
  /* Preserve the approved tablet/mobile structure. Only ensure no inherited max-width constrains the intro text. */
  .home .home-advisor-intro{
    max-width:none!important;
  }
}
