.synagogue-gallery{padding:55px 6% 65px;background:#eef2f5;scroll-margin-top:105px}.gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;max-width:1450px;margin:0 auto 25px}.gallery-heading .eyebrow{color:#8b6d3e}.gallery-heading h2{margin:12px 0 0;font-size:clamp(32px,3.3vw,47px);letter-spacing:-1.8px;line-height:1.18}.gallery-heading p{max-width:390px;font-size:15px;line-height:1.8;margin:0;color:#657a8b}.gallery-toolbar{max-width:1450px;margin:0 auto 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.gallery-filters{display:flex;gap:8px;flex-wrap:wrap}.gallery-filters button{border:1px solid #d1dbe3;background:#fff;color:#4b6377;border-radius:25px;font-size:13px;min-height:42px;padding:10px 17px;display:inline-flex;gap:10px;align-items:center}.gallery-filters button[aria-pressed=true]{background:#132f45;color:#fff;border-color:#132f45}.gallery-filters span{font-size:11px;opacity:.75}.gallery-count{color:#718493;font-size:12px}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:1450px;margin:auto}.gallery-card{margin:0;border-radius:13px;overflow:hidden;background:white;border:1px solid #dbe2e7;min-width:0;transition:transform .22s,box-shadow .22s}.gallery-card:hover{transform:translateY(-4px);box-shadow:0 13px 30px #152f4214}.gallery-open{position:relative;display:block;width:100%;padding:0;border:0;background:#142838;overflow:hidden;aspect-ratio:3/4;text-align:left}.gallery-open img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}.gallery-open:hover img{transform:scale(1.025)}.gallery-open:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#071a3280,transparent 40%);pointer-events:none}.gallery-expand{position:absolute;bottom:16px;right:16px;z-index:1;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff70;border-radius:50%;color:white;background:#091b2b55;font-size:21px;backdrop-filter:blur(5px)}.gallery-card figcaption{padding:18px 20px}.gallery-card figcaption strong{display:block;font-size:15px;font-weight:600;color:#203e53;line-height:1.5}.gallery-card figcaption small{display:block;font-size:11px;color:#7b8b97;line-height:1.6;margin-top:4px}.gallery-video-badge{position:absolute;top:15px;left:15px;color:#fff;background:#071a32a3;border:1px solid #ffffff40;border-radius:20px;z-index:1;font-size:11px;padding:7px 11px}.gallery-video-cover{display:grid;place-items:center;width:100%;height:100%;background:radial-gradient(ellipse,#264d66,#091b2d);color:white;font-size:52px}.gallery-empty{grid-column:1/-1;padding:50px 25px;border:1px dashed #b9c9d4;border-radius:12px;background:#fff;text-align:center}.gallery-empty strong{display:block;color:#263f52;font-size:22px;font-weight:600;margin-bottom:12px}.gallery-empty p{font-size:15px;color:#6b7e8d;margin:0}.gallery-error{padding:20px;background:#fff2ef;border:1px solid #edd1ca;border-radius:8px;color:#9a4038}.gallery-error button{margin-left:12px;background:transparent;border:0;text-decoration:underline;font-size:14px}.gallery-page-intro{padding:45px 6% 35px;background:#0a1c2b;color:#fff}.gallery-page-intro>a{font-size:13px;color:#becfdb}.gallery-page-intro h1{font-size:clamp(40px,5vw,62px);letter-spacing:-2px;margin:24px 0 0}.gallery-jump{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:14px;border-bottom:1px solid #b7c9d4;color:#41657b;margin:12px 0 0}.community-photo-real{width:100%;max-height:540px;object-fit:cover;object-position:50% 62%;border-radius:15px}
body.gallery-viewer-open{overflow:hidden}dialog.gallery-viewer{width:min(1200px,96vw);max-width:96vw;max-height:96dvh;margin:auto;padding:0;border:1px solid #59708055;border-radius:14px;background:#081723;color:#e8f1f7;overflow:auto;box-shadow:0 35px 110px #0008}dialog.gallery-viewer::backdrop{background:#020a12ed;backdrop-filter:blur(8px)}.gallery-viewer-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 20px;border-bottom:1px solid #ffffff12}.gallery-viewer-top strong{font-size:14px;font-weight:500;line-height:1.5}.gallery-close{width:42px;height:42px;border:1px solid #ffffff30;border-radius:50%;font-size:25px;color:white;background:#ffffff08;flex-shrink:0}.gallery-viewer-stage{position:relative;display:grid;place-items:center;min-height:220px;background:#040e17;padding:12px 65px;touch-action:pan-y}.gallery-viewer-stage img,.gallery-viewer-stage video{display:block;max-height:calc(96dvh - 230px);max-width:100%;width:auto;object-fit:contain;border-radius:3px}.gallery-viewer-stage video{width:100%;min-height:250px}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:43px;height:43px;border-radius:50%;background:#ffffff13;border:1px solid #ffffff30;color:white;font-size:23px;display:grid;place-items:center}.gallery-arrow.prev{left:14px}.gallery-arrow.next{right:14px}.gallery-viewer-info{padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:25px}.gallery-viewer-info p{margin:0;font-size:13px;line-height:1.6;color:#b4c6d4}.gallery-viewer-count{font-size:12px;color:#b4c6d4;white-space:nowrap}.gallery-thumbnails{display:flex;justify-content:center;gap:9px;padding:0 20px 16px;overflow-x:auto}.gallery-thumb{border:2px solid transparent;border-radius:6px;overflow:hidden;width:44px;height:55px;padding:0;background:#254254;color:white;flex-shrink:0}.gallery-thumb[aria-current=true]{border-color:#b6e4ed}.gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:1000px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gallery-heading p{max-width:330px}.synagogue-gallery{padding:42px 5% 48px}}
@media(max-width:600px){.synagogue-gallery{padding:36px 5% 42px}.gallery-heading{display:block;margin-bottom:23px}.gallery-heading h2{font-size:33px;letter-spacing:-1.2px}.gallery-heading p{margin-top:16px;max-width:none;font-size:14px}.gallery-toolbar{align-items:start;gap:12px;flex-direction:column}.gallery-filters button{font-size:12px;padding:10px 14px;min-height:42px}.gallery-grid{gap:12px}.gallery-card{border-radius:9px}.gallery-card figcaption{padding:13px 12px}.gallery-card figcaption strong{font-size:13px}.gallery-card figcaption small{font-size:10px}.gallery-expand{width:30px;height:30px;bottom:10px;right:10px;font-size:18px}.gallery-count{font-size:11px}.gallery-empty{padding:35px 20px}.gallery-empty strong{font-size:20px}.gallery-page-intro{padding:30px 5%}.gallery-page-intro h1{font-size:40px}.gallery-viewer-top{padding:10px 13px}.gallery-viewer-top strong{font-size:13px}.gallery-close{width:38px;height:38px}.gallery-viewer-stage{padding:8px 0}.gallery-viewer-stage img,.gallery-viewer-stage video{max-height:calc(96dvh - 230px)}.gallery-arrow{width:34px;height:40px;background:#081723b8;border-radius:6px;font-size:20px}.gallery-arrow.prev{left:5px}.gallery-arrow.next{right:5px}.gallery-viewer-info{padding:13px 15px;gap:12px}.gallery-viewer-info p{font-size:12px}.gallery-thumbnails{padding-bottom:13px}.gallery-thumb{width:38px;height:48px}.community-photo-real{max-height:420px}}
@media(prefers-reduced-motion:reduce){.gallery-card,.gallery-open img{transition:none}.gallery-card:hover,.gallery-open:hover img{transform:none}}
.gallery-group-heading{grid-column:1/-1;font-size:23px;font-weight:600;color:#29485e;letter-spacing:-.6px;margin:8px 0 2px}.gallery-group-heading:not(:first-child){margin-top:28px}.gallery-video-card .gallery-open{aspect-ratio:16/9}.gallery-video-card .gallery-open img{object-fit:cover}.gallery-grid{align-items:start}.synagogue-home-photos{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:20px}.synagogue-home-photos>a{position:relative;display:block;height:360px;border-radius:13px;overflow:hidden;background:#182d3d}.synagogue-home-photos img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.synagogue-home-photos>a:hover img{transform:scale(1.025)}.synagogue-home-photos a>span{position:absolute;bottom:0;left:0;right:0;padding:42px 22px 22px;background:linear-gradient(transparent,#061626cc);color:white;font-size:15px;display:flex;justify-content:space-between;gap:20px}.synagogue-home-photos b{font-weight:400}.startup-hero .hero-background{object-position:58% 50%}.synagogue-home-section .section-heading{margin-bottom:27px}
@media(max-width:800px){.synagogue-home-photos{grid-template-columns:1fr 1fr;gap:12px}.synagogue-home-photos>a{height:270px}.synagogue-home-photos>a:last-child{grid-column:1/-1;height:230px}.synagogue-home-photos a>span{padding:40px 15px 15px;font-size:13px}.startup-hero .hero-background{object-position:58% 50%}.gallery-group-heading{font-size:21px}.gallery-video-badge{font-size:10px;left:10px;top:10px;padding:5px 9px}}
@media(prefers-reduced-motion:reduce){.synagogue-home-photos img{transition:none}.synagogue-home-photos>a:hover img{transform:none}}
