.gallery-page{background:var(--tabono-cream);color:var(--tabono-ink)}.gallery-album-grid,.gallery-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:40px;display:grid}.gallery-album-link{color:inherit;text-decoration:none;display:block}.gallery-album-link h3{overflow-wrap:anywhere;margin-top:20px}.gallery-album-link time{color:var(--tabono-muted)}.gallery-cover,.gallery-photo-button{aspect-ratio:4/3;background:var(--tabono-mist);border:0;width:100%;padding:0;display:grid;overflow:hidden}.gallery-cover img,.gallery-photo-button img{object-fit:cover;width:100%;height:100%}.gallery-image-unavailable{text-align:center;color:var(--tabono-muted);place-content:center;min-height:150px;padding:24px;display:grid}.gallery-photo-grid figure{min-width:0;margin:0}.gallery-photo-grid figcaption{overflow-wrap:anywhere;margin-top:12px}.gallery-photo-button{cursor:zoom-in}.gallery-photo-button:disabled{cursor:default}.gallery-photo-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 20px}.gallery-photo-grid figure{grid-column:span 2}.gallery-photo-grid figure:nth-child(5n+1),.gallery-photo-grid figure:nth-child(5n+2){grid-column:span 3}.gallery-photo-grid figure:nth-child(5n+1) .gallery-photo-button,.gallery-photo-grid figure:nth-child(5n+2) .gallery-photo-button{aspect-ratio:3/2}.gallery-photo-grid figcaption{font-size:14px;line-height:1.6}.gallery-photo-button:focus-visible{outline:3px solid var(--tabono-green);outline-offset:5px}.gallery-pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:24px;margin-top:48px;display:flex}.gallery-empty{max-width:65ch;padding:48px 0}.gallery-viewer{background:var(--tabono-cream);width:min(1100px,94vw);max-height:94dvh;color:var(--tabono-ink);border:0;margin:auto;padding:24px}.gallery-viewer::backdrop{background:#13202fe0}.gallery-viewer-content{gap:16px;display:grid}.gallery-viewer-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.gallery-viewer h2{margin:0;font-size:24px}.gallery-viewer figure{margin:0}.gallery-viewer img{object-fit:contain;width:100%;max-height:65dvh;display:block}.gallery-viewer figcaption{overflow-wrap:anywhere;margin-top:12px}@media (max-width:950px){.gallery-album-grid,.gallery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-photo-grid figure,.gallery-photo-grid figure:nth-child(5n+1),.gallery-photo-grid figure:nth-child(5n+2){grid-column:span 1}}@media (max-width:560px){.gallery-album-grid,.gallery-photo-grid{grid-template-columns:minmax(0,1fr);gap:28px}.gallery-viewer{padding:16px}}
