.gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.gallery-heading h2{margin:16px 0 0}.gallery-heading p,.gallery-count{font-size:13px;color:#736c5f}.gallery-filters{margin-bottom:20px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}.gallery-card{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}.gallery-image{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:#e4ddce}.gallery-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}.gallery-card:hover img{transform:scale(1.035)}.gallery-enlarge{position:absolute;right:14px;bottom:14px;background:#f5f0e6e8;color:#293226;width:36px;height:36px;display:grid;place-items:center;font-size:23px}.gallery-caption{display:block;padding:17px 0}.gallery-caption small{display:block;color:#975b3b;text-transform:uppercase;letter-spacing:2px;font-size:9px;margin-bottom:8px}.gallery-caption strong{font-family:Georgia,serif;font-size:22px;font-weight:400}.gallery-card:focus-visible{outline:2px solid #91342c;outline-offset:6px}.gallery-viewer{padding:64px 70px 45px;width:min(1200px,96vw);height:94dvh;max-width:96vw;max-height:94dvh;border:1px solid #b3956d55;background:#1d231e;color:#f7f0e2;box-sizing:border-box}.gallery-viewer::backdrop{background:#11170fed;backdrop-filter:blur(7px)}.gallery-viewer figure{margin:0;width:100%;height:100%;display:flex;flex-direction:column;gap:16px;align-items:center}.gallery-viewer figure img{display:block;width:100%;height:calc(100% - 40px);object-fit:contain}.gallery-viewer figcaption{font-size:13px;text-align:center;line-height:1.5}.gallery-close,.gallery-prev,.gallery-next{position:absolute;background:#f2ebdc17;color:#fff;border:1px solid #e3d6bd44;width:42px;height:42px;padding:0;font-size:23px}.gallery-close{right:16px;top:12px}.gallery-prev{left:12px;top:48%}.gallery-next{right:12px;top:48%}body.gallery-open{overflow:hidden}
@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-heading{display:block}.gallery-heading p{margin-top:15px}header nav{gap:16px}}
@media(max-width:540px){.gallery-grid{gap:20px 12px}.gallery-caption strong{font-size:18px}.gallery-caption small{font-size:8px;letter-spacing:1px}.gallery-caption{padding:12px 0}.gallery-enlarge{width:28px;height:28px;right:8px;bottom:8px}.gallery-viewer{padding:60px 12px 52px;width:98vw;max-width:98vw}.gallery-prev,.gallery-next{top:auto;bottom:8px}.gallery-prev{left:24%}.gallery-next{right:24%}.gallery-heading h2{font-size:38px}.gallery-filters{gap:8px!important}.gallery-filters button{padding:10px 12px!important;font-size:12px!important}header nav{gap:8px!important}header nav a{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.gallery-image img{transition:none}.gallery-card:hover img{transform:none}}
.gallery-viewer figcaption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gallery-viewer figure img{height:100%}
.gallery-section{padding-top:40px}
@media(max-width:900px){header nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important;width:100%}header nav a{width:auto!important;min-width:0;flex:initial!important;text-align:center;padding-left:2px!important;padding-right:2px!important}}
.gallery-viewer video{display:block;width:100%;height:100%;object-fit:contain;background:#111}
.gallery-viewer [hidden]{display:none!important}
.gallery-play{right:calc(50% - 25px);bottom:calc(50% - 25px);width:50px;height:50px;border-radius:50%;font-size:22px}

/* Equal visible spacing between mobile navigation labels. */
@media(max-width:900px){header nav{display:flex!important;justify-content:space-between!important;gap:0!important}header nav a{flex:0 0 auto!important;width:auto!important;padding-left:0!important;padding-right:0!important;font-size:clamp(10px,3vw,12px)!important}}
