/* "Our photographs" at the memory portal: the life-story album's paper (life-story.css supplies the
   header, intro, outro and the arrive/leave motion), with the prewedding photographs as prints. */
#photo-album-page { position:fixed; inset:0; margin:auto; width:calc(100% - 20px); height:calc(100dvh - 28px); max-width:1020px; max-height:100%; border:1px solid #e6d4ab80; padding:0; background:#f5efdf; color:#273c31; color-scheme:light; overflow:hidden; box-shadow:0 18px 60px #07160f66; --album-direction:1; }
#photo-album-page::backdrop { background:#101d1859; }
#photo-album-page button:focus-visible { outline:2px solid #89784e; outline-offset:3px; }
html[data-life-input="pointer"] #photo-album-page button:focus { outline:none; }
#photo-album-page[open] { display:flex; flex-direction:column; }
#photo-album-page[open]:not([data-closing]) { animation:album-arrive 320ms cubic-bezier(.2,.65,.3,1) both; }
#photo-album-page[data-closing] { animation:album-leave 220ms ease-in both; }
.photo-album-prints { list-style:none; max-width:1000px; margin:0 auto; padding:0 28px; }
.photo-album-prints li { margin:0 0 32px; break-inside:avoid; }
.photo-album-prints li:nth-child(odd) { margin-right:6%; }
.photo-album-prints li:nth-child(even) { margin-left:6%; }
.photo-print { display:block; width:100%; padding:10px 10px 28px; background:#fffcf3; border:1px solid #cabe9f55; box-shadow:0 10px 28px #283a2814; cursor:zoom-in; transition:transform .25s, box-shadow .25s; }
.photo-print img { display:block; width:100%; height:auto; background:#e8dfc9; }
.photo-print:hover { transform:translateY(-2px); box-shadow:0 14px 34px #283a2824; }
/* The garden's own ivory and evening green around a photograph seen closer. */
.lunet-photos[data-theme="garden"] { --lp-bg:#0f1d17; --lp-ink:#fff5df; --lp-muted:#e6d4abcc; --lp-control:#fff5df1f; --lp-control-hover:#fff5df3d; --lp-font:var(--display-font); }
@media(min-width:760px) {
 #photo-album-page { width:calc(100% - 96px); height:calc(100dvh - 48px); }
 .photo-album-prints { columns:2; column-gap:48px; padding:0 48px; }
 .photo-album-prints li:nth-child(n) { margin-inline:0; margin-bottom:48px; }
}
@media(prefers-reduced-motion:reduce) {
 #photo-album-page[open], #photo-album-page[data-closing] { animation:none!important; }
 .photo-print { transition:none; }
}
