/* Photo crop fix: show each photo at its natural landscape or portrait ratio.
   Does not change typography, colors, spacing, or section structure. */

/* Stay-page "See all photos" grid: left-to-right, top-to-bottom, natural shapes. No CSS columns. */
.lb .g{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;align-items:start;max-width:1300px;margin:0 auto}
.lb .g img{border-radius:10px;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;margin:0;display:block}

/* Short-post photo pairs: keep the two-column grid, but don't crop to 4/5. */
.sp-photos{align-items:start}
.sp-hero img,.sp-photos img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
@media(max-width:700px){.sp-photos img{aspect-ratio:auto;height:auto;object-fit:contain}}

/* Stay-page gallery stage: portrait photos show whole (contained on the lightbox's dark teal);
   landscape photos keep filling the stage exactly as before. */
.gal2 .main .track img.p{object-fit:contain;background:#081B1B}

/* Thumbnail strip: whole photo at its natural shape, uniform 72px height, variable width. */
.thumbs{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:8px}
.thumbs img{flex:0 0 auto;width:auto;height:72px;max-width:100%}
@media(max-width:600px){
  /* 5 thumbs fill the row; width proportional to each photo's ratio so all share one height */
  .thumbs img{flex:var(--r,1.5) 1 0;min-width:0;width:auto;height:auto}
}
