/* YOU hero alignment guard — October 2026.
   Isolated to the JIJ hero, no effect on Taste Graph or member services.
   Use explicit viewport-derived width rather than nested grid track inheritance. */
@media(min-width:1101px){
 body.member-shell-v2[data-member-surface="you"] section.you-hero{
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   justify-content:center!important;
   width:100%!important;
   min-width:0!important;
   max-width:none!important;
   padding:clamp(58px,5.5vw,85px) clamp(22px,4vw,70px)!important;
   min-height:445px!important;
 }
 body.member-shell-v2[data-member-surface="you"] section.you-hero>.you-hero-inner{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) 250px!important;
   gap:42px!important;
   align-items:center!important;
   position:relative!important;
   width:min(910px,calc(100vw - 100px))!important;
   max-width:910px!important;
   min-width:0!important;
   margin-inline:auto!important;
   padding:0!important;
   flex:0 0 auto!important;
 }
 body.member-shell-v2[data-member-surface="you"] section.you-hero>.you-hero-inner>div:first-child{
   display:block!important;
   grid-column:1!important;
   grid-row:1!important;
   justify-self:stretch!important;
   flex:none!important;
   /* Align the editorial intro to the left edge of the 910px YOU content
      below; leave the compact ID card anchored in its own right column. */
   transform:translateX(-6vw)!important;
   width:100%!important;
   max-width:none!important;
   min-width:0!important;
 }
 body.member-shell-v2[data-member-surface="you"] section.you-hero h1{
   display:block!important;
   font-size:clamp(56px,4.85vw,76px)!important;
   line-height:.99!important;
   letter-spacing:-.045em!important;
   width:100%!important;
   max-width:none!important;
   margin:14px 0 20px!important;
 }
 body.member-shell-v2[data-member-surface="you"] section.you-hero>.you-hero-inner>.you-id-card{
   grid-column:2!important;
   grid-row:1!important;
   justify-self:stretch!important;
   align-self:center!important;
   position:relative!important;
   flex:none!important;
   box-sizing:border-box!important;
   width:250px!important;
   max-width:250px!important;
   margin:0!important;
 }
 body.member-shell-v2[data-member-surface="you"] section.you-hero>.you-hero-inner>div:first-child>p{
   max-width:570px!important;
 }
}
@media(max-width:1100px){
 body.member-shell-v2[data-member-surface="you"] section.you-hero>.you-hero-inner{
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   gap:26px!important;
   width:min(100%,760px)!important;
   max-width:760px!important;
   margin-inline:auto!important;
 }
 body.member-shell-v2[data-member-surface="you"] section.you-hero>.you-hero-inner>div:first-child{
   width:100%!important;
   max-width:760px!important;
   min-width:0!important;
   flex:none!important;
 }
 body.member-shell-v2[data-member-surface="you"] section.you-hero>.you-hero-inner>.you-id-card{
   width:min(100%,350px)!important;
   max-width:350px!important;
   margin:0!important;
   align-self:flex-start!important;
   flex:none!important;
 }
}