/* V42 — desktop layout restore after brand/performance pass.
   Fixes intrinsic image dimensions added for performance from stretching visual cards,
   restores the hero stat line to one row on desktop, and improves header-logo legibility. */

/* Width/height HTML attributes reserve layout space but must not force rendered height. */
img[width][height]{height:auto}

/* Brand lockup: make the wordmark and descriptor readable without making the header bulky. */
.brand.brand-logo img{width:282px;height:auto;max-height:54px}

/* Homepage hero stats: one deliberate row on desktop. */
@media (min-width:1051px){
  .hero.v25-hero .hero-meta.v25-statline{
    display:grid!important;
    grid-template-columns:.72fr .82fr 1.34fr!important;
    gap:0!important;
    width:100%;
    align-items:stretch;
  }
  .hero.v25-hero .hero-meta.v25-statline span{
    margin:0!important;
    padding:12px 14px!important;
    border:0!important;
    min-width:0;
  }
  .hero.v25-hero .hero-meta.v25-statline span:first-child{padding-left:0!important}
  .hero.v25-hero .hero-meta.v25-statline span:not(:last-child):after{
    content:""!important;
    display:block!important;
    position:absolute;
    right:0;
    top:12px;
    bottom:12px;
    width:1px;
    background:#ded6cd;
  }
  .hero.v25-hero .hero-meta.v25-statline small{
    white-space:nowrap!important;
    letter-spacing:.065em!important;
    font-size:9.6px!important;
  }
}

/* Application cards: return to the intentional landscape proportions. */
.app-grid.v17-app-grid .app-card img{
  width:100%;
  height:auto!important;
  aspect-ratio:1.45 / 1!important;
  object-fit:cover!important;
}

/* Family hero image: return to the original controlled crop instead of source-image height. */
.family-hero-image img,
.family-application-image img{
  width:100%;
  height:auto!important;
  aspect-ratio:1.15 / 1!important;
  object-fit:cover!important;
}

@media(max-width:720px){
  .brand.brand-logo img{width:205px;max-height:46px}
}
@media(max-width:380px){
  .brand.brand-logo img{width:188px}
}
