/*
  EDITING GUIDE — homepage-image-framing.css
  ------------------------------------------------------------------
  PURPOSE: This stylesheet is part of EMBR's layered styling system.
  QUICK EDIT: Use the section notes below to locate the relevant block.
  SAFETY: Keep selectors and declarations intact when only changing a value.
  CSS LOAD ORDER matters: later stylesheets may override earlier ones.
  ------------------------------------------------------------------
*/
/* EMBR R25 — Homepage image framing
   Purpose: keep photography visible on narrow screens and prevent the mobile
   image containers from collapsing. Image assets are authored at 4:5, so mobile
   containers use the same ratio and contain rather than crop the photo.
   Edit image framing here; avoid adding duplicate image rules elsewhere. */

/* EDIT: Responsive rules below: adjust the breakpoint or the mobile/tablet layout inside this block. */
@media (max-width: 850px) {
  .editorial-feature-image,
  .sunset-editorial-image,
  .events-teaser-image {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0 !important;
    aspect-ratio: 4 / 5;
    height: auto;
    background-color: #e8ded1;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }


  /* The Sunset & Bar image had no intrinsic content height because it is a
     background-image on an empty div. Explicit dimensions keep it visible. */
  .sunset-editorial-image {
    min-height: 0 !important;
    aspect-ratio: 4 / 5;
    background-image: url('../images/photos/drink-cocktail-pair.jpg') !important;
  }


  /* Use the complete source image on mobile; no object is intentionally clipped. */
  .editorial-feature-image.food-image {
    background-image: url('../images/photos/homepage-made-for-fire.jpg') !important;
  }
  .events-teaser-image {
    background-image: url('../images/photos/ambience-lounge-interior.jpg') !important;
  }
}
