/* Senior Dog Comfort v173 targeted polish — 2026-09-05 */

/* Home: reduce the large Cooper/resting image so the right side ends closer to
   the left hero content instead of visually overpowering the first screen. */
@media (min-width:961px){
  .home-hero .hero-grid{grid-template-columns:minmax(0,1.16fr) minmax(330px,.84fr);gap:48px;}
  .home-hero .hero-visual{justify-content:flex-end;align-items:flex-start;}
  .home-hero .hero-photo-card{width:min(100%,430px);}
  .home-hero .hero-photo-card img{object-fit:cover;object-position:center;}
}

/* Meet Cooper: make the portrait a little wider/larger than v172 while keeping
   the hero compact and the bottom of the card close to the two CTA buttons. */
@media (min-width:961px){
  .cooper-hero .cooper-hero-grid{grid-template-columns:minmax(0,1fr) 258px;gap:44px;align-items:start;}
  .cooper-hero .cooper-main-photo{width:258px;justify-self:end;transform:translateY(-18px);}
  .cooper-hero .cooper-main-photo img{width:100%;aspect-ratio:4/4.82;object-fit:cover;object-position:center 28%;}
  .cooper-hero .cooper-main-photo figcaption{padding:5px 9px 6px;font-size:10.75px;line-height:1.25;}
}

/* Categories: keep the new analogy artwork perfectly straight and fully visible. */
.hub-categories-visual{overflow:hidden;border-radius:22px!important;}
.hub-categories-visual img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain!important;object-position:center!important;border-radius:22px!important;}

/* Orthopedic guide deep-dive grid now deliberately fills a clean 3 x 3 set. */
.bed-deep-dive-section .resource-grid-3{align-items:stretch;}
.bed-deep-dive-section .resource-card{height:100%;}

@media (max-width:960px){
  .home-hero .hero-photo-card,.cooper-hero .cooper-main-photo{width:auto!important;max-width:none!important;}
  .cooper-hero .cooper-main-photo{transform:none!important;}
}
