/* Compact album cover; the entire collection opens in its own dialog. */
.gallery-cover{display:block;width:100%;padding:0;border:1px solid #d8ded5;border-radius:14px;overflow:hidden;background:#eeece6;text-align:left;color:#263630;cursor:pointer}
.gallery-cover-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 10px 0}
.gallery-cover-images img{display:block;width:100%;height:260px;object-fit:cover;border-radius:7px}
.gallery-cover-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 26px}
.gallery-cover-footer strong{display:block;font:900 24px/1.25 Nunito,Arial,sans-serif}
.gallery-cover-footer small{display:block;margin-top:7px;font:500 13px/1.4 Manrope,Arial,sans-serif;color:#627168}
.gallery-cover-link{display:flex;align-items:center;gap:18px;font:800 14px/1.4 Manrope,Arial,sans-serif}
.gallery-cover:hover{background:#e2e8dd}.gallery-cover:focus-visible{outline:3px solid #d94413;outline-offset:5px}
.gallery-album{width:calc(100% - 32px);max-width:1120px;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:14px;background:#fffcf7;color:#263630;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 100px #0005}
.gallery-album::backdrop{background:#142020c9;backdrop-filter:blur(5px)}
.gallery-album-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;background:#fffcf7;border-bottom:1px solid #d8ded5}
.gallery-album-head h2{font:900 30px/1.2 Nunito,Arial,sans-serif;margin:9px 0 0}
.gallery-album-head .section-index{font-size:10px}
.gallery-album-grid{columns:3;column-gap:14px;padding:20px}
.gallery-album-grid .gallery-item{display:inline-block;width:100%;height:auto;aspect-ratio:auto;margin:0 0 14px;break-inside:avoid;background:#eeece6;vertical-align:top;border-radius:8px}
.gallery-album-grid .gallery-item img{display:block;width:100%;height:auto;object-fit:contain;transform:none}
.gallery-album-grid .gallery-item span{position:static;padding:10px 12px;background:#eeece6;color:#263630;font-size:10px;letter-spacing:.03em}
.gallery-album-grid .gallery-item:hover span{background:#e0e7de}
@media(max-width:850px){.gallery-cover-images img{height:200px}.gallery-album-grid{columns:2}}
@media(max-width:600px){
 .gallery-cover-images{gap:5px;padding:7px 7px 0}.gallery-cover-images img{height:150px;border-radius:4px}
 .gallery-cover-footer{padding:16px 14px;gap:10px}.gallery-cover-footer strong{font-size:21px}
 .gallery-cover-footer small{font-size:11px}.gallery-cover-link{font-size:11px;gap:7px}.gallery-cover-link svg{width:20px;flex:none}
 .gallery-album{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}
 .gallery-album-head{padding:16px}.gallery-album-head h2{font-size:25px}.gallery-album-head .section-index{font-size:8px}
 .gallery-album-grid{padding:12px;column-gap:10px}.gallery-album-grid .gallery-item{margin-bottom:10px}
}
@media(max-width:480px){.gallery-album-grid{columns:1}.gallery-cover-images img{height:120px}}
