/* Compact project albums with a contrasting vertical service menu. */
.gallery-surface{background:#f1f2f3}
.gallery-page-heading{padding:22px 0 29px}
.gallery-page-heading .breadcrumb{font-size:.875rem;margin-bottom:13px}
.gallery-page-heading h1{font-size:clamp(2rem,3vw,2.8rem);line-height:1.15;letter-spacing:-.035em}
.gallery-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:35px;align-items:start;padding-bottom:75px}
.gallery-sidebar{position:sticky;top:130px;min-width:0;background:var(--ink);padding:26px 0 17px;color:#fff}
.gallery-menu-label{display:block;margin:0 23px 20px;font-size:.875rem;font-weight:700;letter-spacing:.065em;line-height:1.6;color:#fff}
.gallery-category-nav{display:flex;flex-direction:column}
.gallery-category{display:block;padding:17px 23px;border-left:3px solid transparent;border-top:1px solid #ffffff17;font-size:1rem;font-weight:500;line-height:1.6;color:#d2d4da;transition:background .18s,color .18s}
.gallery-category:hover{background:#2d2e33;color:#fff}
.gallery-category[aria-current=true]{border-left-color:var(--red);background:#32343b;color:#fff;font-weight:700}
.gallery-category-child{font-size:.9375rem;padding:11px 23px 15px 37px;border-top:0;color:#b6bac3}
.gallery-mobile-select{display:none}
.gallery-panels{min-width:0}
.gallery-panel{scroll-margin-top:125px}
.gallery-panel-heading{display:flex;align-items:center;min-height:52px;margin:0 0 22px;padding:0 0 17px;border-bottom:1px solid #cdd0d4}
.gallery-panel-heading h2{font-size:clamp(1.45rem,2vw,1.9rem);font-weight:600;letter-spacing:-.03em;line-height:1.35}
.gallery-panel-heading h2:focus-visible{outline:2px solid var(--red);outline-offset:5px}
.gallery-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 21px;align-items:start}
.gallery-album{min-width:0;background:#fff;box-shadow:0 1px 0 #1e1f231a}
.gallery-album-link{display:block}
.gallery-album-media{position:relative;overflow:hidden;aspect-ratio:4/3;background:#dfe2e5}
.gallery-album-media>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%;transition:transform .35s}
.gallery-album-open{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#fffffff0;color:var(--ink);transition:background .2s,color .2s}
.gallery-album-open svg{width:20px;height:20px}
.gallery-album-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:88px;padding:19px 18px;border-bottom:2px solid transparent;transition:border-color .2s}
.gallery-album-caption h3{font-size:1rem;font-weight:600;letter-spacing:-.015em;line-height:1.55;overflow-wrap:anywhere}
.gallery-album-caption>span{display:flex;flex:0 0 18px;color:var(--red-dark)}
.gallery-album-caption svg{width:18px;height:18px}
.gallery-album-link:hover .gallery-album-media>img{transform:scale(1.035)}
.gallery-album-link:hover .gallery-album-open,.gallery-album-link:focus-visible .gallery-album-open{background:var(--red-fill);color:#fff}
.gallery-album-link:hover .gallery-album-caption,.gallery-album-link:focus-visible .gallery-album-caption{border-bottom-color:var(--red)}
.gallery-album-more{display:flex;padding:0 18px 18px;gap:12px}
.gallery-album-more>a{display:block;width:76px}
.gallery-album-more img{width:76px;height:54px;object-fit:cover}
.gallery-ready .gallery-album-more{display:none}
.gallery-empty{display:flex;align-items:center;min-height:250px;background:#fff;border-top:3px solid var(--red);padding:35px;font-size:1rem;line-height:1.8;color:var(--muted)}
.gallery-panel+.gallery-panel{margin-top:40px}
.gallery-ready .gallery-panel{margin-top:0}
.gallery-layout [hidden]{display:none!important}
body.gallery-viewing{overflow:hidden}
.gallery-lightbox{width:min(1160px,calc(100vw - 64px));height:min(900px,calc(100dvh - 48px));max-width:none;max-height:none;padding:0;border:0;background:var(--ink-deep);color:#fff;margin:auto;box-shadow:0 20px 90px #0006}
.gallery-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}
.gallery-lightbox::backdrop{background:#101116e8}
.gallery-lightbox-head{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:14px 23px;border-bottom:1px solid #ffffff25;font-size:.9375rem;line-height:1.6;color:#d9dbe0}
.gallery-lightbox button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:44px;min-height:44px;padding:8px 10px;border:0;background:transparent;color:#fff;font-size:.9375rem;font-weight:600;line-height:1.5}
.gallery-lightbox button:hover{background:#ffffff16}
.gallery-lightbox button svg{width:23px;height:23px;flex-shrink:0}
.gallery-lightbox-close{flex-shrink:0}
.gallery-lightbox-media{display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:0;padding:18px;background:#111215}
.gallery-lightbox-media img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.gallery-lightbox-foot{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:14px 21px;border-top:1px solid #ffffff25}
.gallery-lightbox-foot p{text-align:center;font-size:1rem;font-weight:600;line-height:1.6;margin:0}

.gallery-lightbox-thumbs{display:flex;gap:10px;padding:0 20px 17px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#7c818a transparent}
.gallery-lightbox-thumbs>button{flex:0 0 78px;min-height:58px;padding:3px;background:transparent;border:2px solid transparent;opacity:.65}
.gallery-lightbox-thumbs>button[aria-pressed=true]{border-color:var(--red);opacity:1}
.gallery-lightbox-thumbs>button:hover,.gallery-lightbox-thumbs>button:focus-visible{opacity:1}
.gallery-lightbox-thumbs img{width:68px;height:49px;object-fit:cover}
@media(max-width:1179px){.gallery-layout{grid-template-columns:215px minmax(0,1fr);gap:28px}.gallery-album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}.gallery-category{padding-inline:19px}.gallery-category-child{padding-left:32px}.gallery-menu-label{margin-inline:22px}.gallery-album-caption{min-height:80px}}
@media(max-width:800px){
.gallery-page-heading{padding:20px 0 23px}.gallery-layout{grid-template-columns:1fr;gap:25px;padding-bottom:55px}.gallery-sidebar{position:static;padding:20px;background:var(--ink)}.gallery-ready .gallery-menu-label,.gallery-ready .gallery-category-nav{display:none}.gallery-ready .gallery-mobile-select{display:block}.gallery-mobile-select label{display:block;font-size:.875rem;font-weight:600;line-height:1.6;margin-bottom:9px;color:#dddfe5}.gallery-mobile-select select{width:100%;min-height:50px;border:1px solid #666b73;background:#32343b;color:#fff;font-size:1rem;line-height:1.5;padding:12px 35px 12px 14px;border-radius:0}.gallery-mobile-select select:focus-visible{outline:3px solid var(--red);outline-offset:3px}.gallery-panel{scroll-margin-top:101px}.gallery-panel-heading{min-height:auto;margin-bottom:23px;padding-bottom:17px}.gallery-panel-heading h2{font-size:1.65rem}.gallery-album-caption{padding:16px;min-height:80px}.gallery-album-grid{gap:22px 18px}.gallery-lightbox{width:calc(100vw - 24px);height:calc(100dvh - 24px)}.gallery-lightbox-head{padding:10px 14px;font-size:.875rem}.gallery-lightbox-media{padding:10px}.gallery-lightbox-foot{padding:12px 10px;gap:12px}.gallery-lightbox-foot button span{display:none}.gallery-lightbox-foot p{font-size:1rem}.gallery-lightbox-thumbs{padding:0 12px 12px;gap:8px}
}
@media(max-width:520px){.gallery-album-grid{grid-template-columns:1fr;gap:22px}.gallery-page-heading h1{font-size:2rem}.gallery-panel-heading h2{font-size:1.5rem}.gallery-album-media{aspect-ratio:3/2}.gallery-album-caption{min-height:73px;padding:18px}.gallery-album-caption h3{font-size:1.0625rem}.gallery-lightbox-head>span{max-width:205px}.gallery-lightbox-head{gap:12px}.gallery-lightbox-close{font-size:.875rem}.gallery-lightbox-foot{gap:5px}.gallery-empty{padding:24px;min-height:185px}}
@media(prefers-reduced-motion:reduce){.gallery-category,.gallery-album-media>img,.gallery-album-open,.gallery-album-caption{transition:none}.gallery-album-link:hover .gallery-album-media>img{transform:none}}
