/* Complete framing in the breakfast grid and in the shared photo viewer. */
.morning-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.morning-gallery img { position: static; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; border: 0; border-radius: 12px; }
.morning-gallery .morning-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
[data-photo-id], .photo-scene { cursor: zoom-in; }
.photo-scene-open { position: absolute; top: 24px; right: 24px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; color: white; background: rgba(10,35,26,.6); font: 500 var(--font-body) "DM Sans", Arial, sans-serif; cursor: zoom-in; }
.hero > .photo-scene-open, .inner-hero > .photo-scene-open { top: 122px; }
.photo-scene-open svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.photo-lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 18px 24px; border: 0; overflow: hidden; background: rgba(7,19,14,.98); color: #fffdf8; font-family: "DM Sans", Arial, sans-serif; }
.photo-lightbox:not([open]) { display: none; }
.photo-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.photo-lightbox::backdrop { background: rgba(0,0,0,.9); }
.photo-lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.photo-lightbox-title { margin: 0; color: white; font: 500 var(--font-body) "DM Sans", Arial, sans-serif; letter-spacing: normal; }
.photo-lightbox-actions { display: flex; align-items: center; gap: 10px; }
.photo-lightbox button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: white; background: rgba(255,255,255,.08); font: 500 var(--font-body) "DM Sans", Arial, sans-serif; cursor: pointer; }
.photo-lightbox button:hover { background: rgba(255,255,255,.18); }
.photo-lightbox button:focus-visible { outline: 3px solid #dfe77d; outline-offset: 3px; }
.photo-lightbox-close { gap: 8px; }
.photo-lightbox-close span { font: var(--font-subtitle)/1 Arial, sans-serif; }
.photo-lightbox-center { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 16px; min-height: 0; }
.photo-lightbox-viewport { display: flex; justify-content: center; align-items: center; min-width: 0; min-height: 0; height: 100%; overflow: auto; overscroll-behavior: contain; }
.photo-lightbox-image { display: block; flex: 0 1 auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; cursor: zoom-in; }
.photo-lightbox.is-zoomed .photo-lightbox-viewport { display: block; }
.photo-lightbox.is-zoomed .photo-lightbox-image { max-width: none; max-height: none; margin: auto; cursor: zoom-out; }
.photo-lightbox-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; min-height: 32px; }
.photo-lightbox-count { min-width: 50px; margin: 0; color: #dfe77d; font-size: var(--font-body); }
.photo-lightbox-caption { margin: 0; color: rgba(255,255,255,.82); font-size: var(--font-body); line-height: 1.5; }
.photo-lightbox.is-single .photo-lightbox-prev, .photo-lightbox.is-single .photo-lightbox-next { visibility: hidden; }
@media (max-width: 560px) {
  .morning-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo-scene-open { top: 16px; right: 16px; padding: 9px 12px; }
  .hero > .photo-scene-open, .inner-hero > .photo-scene-open { top: 98px; }
  .photo-lightbox { padding: 12px; gap: 10px; }
  .photo-lightbox-top { align-items: start; gap: 8px; }
  .photo-lightbox-title { padding-top: 12px; font-size: var(--font-body); }
  .photo-lightbox-actions { gap: 6px; }
  .photo-lightbox button { padding: 9px 10px; font-size: var(--font-body); }
  .photo-lightbox-close b { display: none; }
  .photo-lightbox-center { position: relative; display: block; }
  .photo-lightbox-viewport { width: 100%; padding-bottom: 58px; }
  .photo-lightbox-prev, .photo-lightbox-next { position: absolute; bottom: 0; z-index: 1; }
  .photo-lightbox-prev { left: calc(50% - 55px); }
  .photo-lightbox-next { right: calc(50% - 55px); }
  .photo-lightbox-meta { align-items: start; gap: 10px; }
  .photo-lightbox-caption { font-size: var(--font-body); }
}
