/* ALLHIR Round71 / 2.39.36
 * Desktop Home-only regression correction.
 * Mobile Home and every other page intentionally remain on the 2.39.35 rules.
 */

@media (min-width:982px){
  /* Match the compact Community hero footprint without changing its shared asset. */
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home{
    min-height:300px!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__inner{
    box-sizing:border-box!important;
    width:min(1180px,calc(100% - 48px))!important;
    min-height:300px!important;
    margin:0 auto!important;
    padding:18px 0!important;
    align-items:center!important;
    justify-content:flex-end!important;
  }

  /* Restore the accepted desktop position: one compact glass card on the right. */
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__panel{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:0!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__card{
    position:relative!important;
    display:grid!important;
    width:min(620px,100%)!important;
    max-width:620px!important;
    min-height:264px!important;
    margin:0!important;
    padding:16px 18px!important;
    grid-template-columns:minmax(0,1fr) 104px!important;
    column-gap:18px!important;
    align-items:stretch!important;
    border:1px solid var(--ah-gold-line)!important;
    border-radius:26px!important;
    background:linear-gradient(135deg,rgba(65,68,77,.36),rgba(29,32,38,.52) 52%,rgba(14,16,20,.62))!important;
    box-shadow:0 24px 58px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.08),0 0 22px rgba(214,175,55,.07)!important;
    -webkit-backdrop-filter:blur(20px) saturate(116%)!important;
    backdrop-filter:blur(20px) saturate(116%)!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__content{
    display:flex!important;
    max-width:none!important;
    min-width:0!important;
    flex-direction:column!important;
    justify-content:space-between!important;
  }

  /* The eyebrow was introduced with the stretched composition; desktop returns
     to the original card copy while mobile keeps the accepted current markup. */
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-street-hero__eyebrow{
    display:none!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__title{
    margin:0 0 7px!important;
    font-size:23px!important;
    line-height:1.12!important;
    text-align:left!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__text{
    max-width:none!important;
    margin:0 0 5px!important;
    font-size:12.5px!important;
    line-height:1.38!important;
    text-align:left!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__text--muted{
    margin:0!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__cta{
    display:flex!important;
    width:auto!important;
    margin-top:10px!important;
    grid-template-columns:none!important;
    gap:8px!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__btn{
    min-height:38px!important;
    padding:8px 10px!important;
    border-radius:12px!important;
    font-size:12px!important;
  }

  /* Restore the original vertical shortcut rail inside the card. */
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__actions{
    position:static!important;
    display:flex!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:space-between!important;
    gap:5px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action,
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action:visited,
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action:hover,
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action:focus-visible,
  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action:active{
    min-height:0!important;
    padding:4px 3px!important;
    gap:2px!important;
    border-radius:14px!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action-icon{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action-icon .allhir-ui-icon{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
  }

  body:not(#allhir-never) main.allhir-home65 .allhir-street-hero--home .allhir-hero2__action > span:not(.allhir-hero2__action-icon){
    font-size:11px!important;
    line-height:1.1!important;
  }
}
