/* Sunburst theme, round 7 unit 4 (card 10472085809, Nathan's 2026-11-04 review): home, floor plans and amenities.
   Loaded after sunburst.css. The amenity icons are now inline line SVGs (public/images/amenity-icons, currentColor)
   or an uploaded image (.am-icon), drawn a little smaller than the old 96/128px raster tiles; the Just for You check
   mark can be an uploaded image (.check-icon); the pet policy card can show a photo (.pet-pic). */

/* Amenity icons: home page tiles */
body.p-home .am .am-icon{display:block;width:68px;height:68px;margin:0 auto 18px;color:var(--primary);object-fit:contain}
body.p-home .am svg.am-icon{stroke-width:1.15}
body.p-home .am:hover svg.am-icon{color:var(--accent-dark)}

/* Amenity icons: Amenities page tiles */
body.p-amenities .am .am-icon{display:block;width:88px;height:88px;margin:0 auto 24px;color:var(--primary);object-fit:contain}
body.p-amenities .am svg.am-icon{stroke-width:1}
body.p-amenities .am:hover svg.am-icon{color:var(--accent-dark)}

/* Just for You: an uploaded check-mark image */
body.p-amenities .checks .check-icon{flex:none;width:20px;height:20px;object-fit:contain}

/* Pet policy photo: grows to fill the card when Just for You beside it is the taller one */
body.p-amenities .card.pet .pet-pic{position:relative;flex:1 1 auto;border-radius:var(--radius);overflow:hidden;aspect-ratio:16/10}
body.p-amenities .card.pet .pet-pic img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}

/* Home: "Ask about our specials" heading is a link */
body.p-home .specials h2 .specials-link{color:inherit;text-decoration:none}
body.p-home .specials h2 .specials-link:hover{color:var(--primary)}

@media (max-width:640px){
  body.p-home .am .am-icon{width:56px;height:56px;margin-bottom:14px}
  body.p-amenities .am .am-icon{width:68px;height:68px;margin-bottom:16px}
}
