.photo-albums{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.photo-albums .album{position:relative}.photo-albums .album .name{margin-top:.75rem;display:inline-block;font-weight:500}.photo-albums .album .image{width:100%;height:200px;position:relative;z-index:0}.photo-albums .album .image img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:.75rem;z-index:10}.photo-albums .album .image .stack{position:absolute;top:0;left:0;right:0;z-index:2;bottom:0}.photo-albums .album .image .stack div{position:absolute;top:-.25rem;left:.25rem;right:.25rem;background-color:#cecece;height:100%;border-radius:.75rem .75rem 0 0;z-index:2;border-top:1px solid #fff}.photo-albums .album .image .stack div:nth-child(2){position:absolute;top:-.5rem;left:.5rem;right:.5rem;background-color:#e4e4e4;z-index:1}.photo-album-photos{display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:1rem}.photo-album-photos.template-portrait{grid-template-columns:1fr 1fr 1fr 1fr}.photo-album-photos .photo{background:#f9f8f1;text-align:center;border-radius:.75rem}.photo-album-photos .photo .description{margin:1rem;font-size:.9rem}.photo-album-photos .photo img{width:100%;height:100%;max-height:500px;object-fit:contain;border-radius:.75rem}.photo-album-photos.template-portrait .photo img{object-fit:cover;height:360px}@media(max-width:576px){.photo-albums{grid-template-columns:1fr;gap:.5rem}.photo-albums .album .image{height:220px}.photo-album-photos{gap:.35rem;border-radius:.75rem;overflow:hidden}.photo-album-photos.template-portrait{grid-template-columns:1fr 1fr}.photo-album-photos .photo .description{margin:.5rem}.photo-album-photos .photo img{max-height:260px;border-radius:0}.photo-album-photos.template-portrait .photo img{height:200px}}
