.gallery-page{padding-bottom:56px}
.gallery-width{width:min(1472px,calc(100% - var(--page-gutter)*2));margin-inline:auto}
.gallery-intro{padding:32px 0 36px}
.gallery-intro h1{margin:0 0 20px}
.gallery-intro p{max-width:76ch;margin:0}
.gallery-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.gallery-column{min-width:0}
.gallery-tile{display:block;break-inside:avoid;margin:0 0 24px;background:var(--surface);cursor:zoom-in}
.gallery-tile img{display:block;width:100%;height:auto}
.gallery-more{display:block;margin:24px auto 0;padding:12px 24px;border:1px solid #e8ecef;border-radius:4px;background:#fff;color:var(--brand);font:500 16px/1.3 var(--font-site);cursor:pointer}
.gallery-more[hidden]{display:none}
.gallery-end{font-size:16px;line-height:1.5;text-align:center;color:var(--muted);margin:28px 0 0}
.gallery-end:empty{display:none}
.gallery-sentinel{height:1px}
@media(max-width:900px){.gallery-feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gallery-tile{margin-bottom:18px}}
@media(max-width:650px){.gallery-feed{grid-template-columns:minmax(0,1fr)}.gallery-intro{padding:24px 0 28px}.gallery-page{padding-bottom:36px}}

.gallery-filters:not([hidden]){display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.gallery-filters button{font:inherit;cursor:pointer;color:inherit;background:#fff;border:1px solid #dce4e8;border-radius:4px;padding:8px 14px;min-height:44px}
.gallery-filters button[aria-pressed=true]{background:#006a89;border-color:#006a89;color:#fff}
.gallery-filters button:focus-visible{outline:2px solid #006a89;outline-offset:2px}


.pam-gallery-pagination[hidden],.gallery-back-top[hidden]{display:none!important}
.gallery-filters:not([hidden]){justify-content:center;gap:8px 12px;padding:14px;background:#f3f7f8}
.gallery-filters button{font:500 18px/1.3 var(--font-site);padding:11px 14px;border:0;background:transparent}
.gallery-mobile-filter{display:none}
@media(max-width:700px){
 .gallery-filters button{display:none}
 .gallery-mobile-filter{display:grid;gap:6px;width:100%;font-size:14px}
 .gallery-mobile-filter select{width:100%;min-height:44px;padding:8px 12px;font:500 17px/1.3 var(--font-site);color:inherit;background:#fff;border:1px solid #dce4e8;border-radius:4px}
}
.gallery-back-top{position:fixed;bottom:24px;left:20px;z-index:20;width:44px;height:44px;border:1px solid #006a89;border-radius:50%;background:#fff;color:#006a89;font:700 24px/1 system-ui;cursor:pointer}

