.gallery-content{padding:50px 0 85px}
.gallery-search{margin-bottom:42px;padding:25px 28px;background:var(--paper);border-left:7px solid var(--accent)}
.gallery-search>label{display:block;margin-bottom:9px;font-weight:800}
.gallery-search>div{display:flex;gap:10px}
.gallery-search input{width:100%;min-height:50px;padding:0 16px;border:1px solid #b9c1b7;background:#fff;font:16px 'Roboto Slab',Georgia,serif}
.gallery-search button,.gallery-search a,.gallery-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border:0;background:var(--ink);color:#fff;font-weight:800;white-space:nowrap;cursor:pointer}
.gallery-search a{background:#fff;color:var(--ink);border:1px solid #b9c1b7}
.gallery-results-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px;border-bottom:1px solid var(--line)}
.gallery-results-heading h2{margin:0 0 8px;font:700 clamp(30px,4vw,45px)/1.1 'Playfair Display',Georgia,serif}
.gallery-results-heading span{margin-bottom:12px;color:var(--ink-soft)}
.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.album-card{overflow:hidden;background:#f8faf7;border-bottom:5px solid var(--accent);box-shadow:0 9px 28px #2f2a2b18}
.album-cover{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(135deg,#dce8dc,#8fa18e)}
.album-cover img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.album-card:hover .album-cover img{transform:scale(1.035)}
.album-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#fff;font:700 25px 'Playfair Display',Georgia,serif}
.album-count{position:absolute;right:12px;bottom:12px;padding:5px 10px;background:var(--ink);color:#fff;font:700 12px Arial,sans-serif}
.album-body{padding:22px}
.album-body h2{margin:.25em 0;font:700 27px/1.18 'Playfair Display',Georgia,serif}
.album-body>p:not(.meta){color:var(--ink-soft)}
.gallery-album-head{padding:38px 0 44px;background:linear-gradient(115deg,#f5f7f3,#dce8dc);border-bottom:5px solid var(--accent)}
.gallery-album-head h1{max-width:950px;margin:.15em 0;font:700 clamp(36px,6vw,62px)/1.06 'Playfair Display',Georgia,serif}
.gallery-back{display:inline-block;margin-bottom:18px;border-bottom:3px solid var(--accent);font-weight:800}
.gallery-event-date{font-weight:700;color:var(--ink-soft)}
.gallery-event-description{max-width:780px;margin-bottom:0;font-size:17px}
.gallery-viewer{max-width:1100px;margin:auto}
.gallery-stage{position:relative;display:grid;place-items:center;min-height:400px;background:#171516;box-shadow:0 18px 55px #2f2a2b2b}
.gallery-stage img{display:block;max-width:100%;width:auto;height:auto;max-height:72vh;object-fit:contain}
.gallery-arrow{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:54px;height:72px;transform:translateY(-50%);background:#171516b8;color:#fff;font:300 54px/1 Arial,sans-serif}
.gallery-arrow:hover,.gallery-arrow:focus{background:var(--accent);color:var(--ink)}
.gallery-arrow-previous{left:12px}.gallery-arrow-next{right:12px}
.gallery-viewer-bar{display:flex;gap:22px;justify-content:space-between;padding:12px 16px;background:var(--ink);color:#fff;font-size:14px}
.gallery-viewer-bar span:first-child{color:var(--accent);font-weight:800;white-space:nowrap}
.gallery-thumbnails{display:flex;gap:10px;margin-top:20px;padding:4px 2px 12px;overflow-x:auto}
.gallery-thumbnails a{flex:0 0 112px;height:78px;padding:3px;background:#fff;border:2px solid transparent;opacity:.65}
.gallery-thumbnails a:hover,.gallery-thumbnails a.active{border-color:var(--accent);opacity:1}
.gallery-thumbnails img{width:100%;height:100%;object-fit:cover}
@media(max-width:900px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.gallery-content{padding:30px 0 60px}.gallery-search{padding:20px}.gallery-search>div{display:grid}.album-grid{grid-template-columns:1fr}.gallery-stage{min-height:240px}.gallery-arrow{width:42px;height:58px;font-size:42px}.gallery-viewer-bar{display:block}.gallery-viewer-bar span{display:block}.gallery-thumbnails a{flex-basis:90px;height:65px}}

/* Restrained gallery album header */
.gallery-album-head{padding:27px 0 29px;border-bottom-width:4px}.gallery-album-head>.shell{width:min(900px,calc(100% - 40px))}.gallery-album-head h1{max-width:none;margin:.12em 0;color:#514946;font-size:clamp(34px,3.6vw,44px);font-weight:600;line-height:1.12;letter-spacing:-.016em}.gallery-back{margin-bottom:12px}
@media(max-width:700px){.gallery-album-head{padding:21px 0 23px}.gallery-album-head>.shell{width:calc(100% - 28px)}.gallery-album-head h1{font-size:clamp(30px,9vw,36px)}}
