.photo-gallery-shell{container-type:inline-size;min-width:0;--photo-gap:16px;margin-bottom:0}.photo-gallery-shell+.photo-gallery-shell{margin-top:var(--photo-gap)}.photo-gallery-widget{--photo-columns:3;--photo-gap:16px;--photo-radius:12px;--photo-ratio:4/3;min-width:0}
.photo-cols-1{--photo-columns:1}.photo-cols-2{--photo-columns:2}.photo-cols-4{--photo-columns:4}.photo-cols-5{--photo-columns:5}.photo-cols-6{--photo-columns:6}
.photo-gap-8{--photo-gap:8px}.photo-gap-12{--photo-gap:12px}.photo-gap-24{--photo-gap:24px}.photo-gap-32{--photo-gap:32px}
.photo-radius-0{--photo-radius:0px}.photo-radius-8{--photo-radius:8px}.photo-radius-16{--photo-radius:16px}.photo-radius-24{--photo-radius:24px}
.photo-ratio-16-9{--photo-ratio:16/9}.photo-ratio-1-1{--photo-ratio:1}.photo-ratio-3-4{--photo-ratio:3/4}
.photo-gallery-title{font-size:18px;font-weight:600;line-height:1.4;margin:0 0 16px;overflow-wrap:anywhere}
.photo-gallery-track{display:grid;grid-template-columns:repeat(var(--photo-columns),minmax(0,1fr));gap:var(--photo-gap);min-width:0}
.photo-gallery-card{margin:0;min-width:0}.photo-gallery-card .site-photo-thumbnail{aspect-ratio:var(--photo-ratio);border-radius:var(--photo-radius)}
.photo-gallery-card .site-photo-thumbnail img{width:100%;height:100%;object-fit:cover}.photo-fit-contain .site-photo-thumbnail img{object-fit:contain}.photo-gallery-card figcaption{font-size:13px;line-height:1.5;margin-top:8px;color:#475569;overflow-wrap:anywhere}
.photo-gallery-track:focus-visible{outline:3px solid var(--design-primary,#155eaa);outline-offset:4px}
.photo-layout-slider .photo-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab}
.photo-layout-slider .photo-gallery-track::-webkit-scrollbar{display:none}
.photo-layout-slider .photo-gallery-track.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.photo-layout-slider .photo-gallery-track img{user-select:none;-webkit-user-drag:none}
.photo-layout-slider .photo-gallery-card{flex:0 0 calc((100% - (var(--photo-columns) - 1)*var(--photo-gap))/var(--photo-columns));scroll-snap-align:start}
.photo-gallery-toolbar{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px}.photo-gallery-toolbar[hidden]{display:none}
.photo-gallery-toolbar button{border:1px solid #d5e0eb;border-radius:8px;background:#fff;color:var(--design-primary,#155eaa);min-width:40px;min-height:40px;padding:8px 12px;font-size:15px;cursor:pointer}.photo-gallery-toolbar button:disabled{opacity:.4;cursor:default}.photo-gallery-toolbar button:focus-visible{outline:3px solid var(--design-primary,#155eaa);outline-offset:2px}.photo-gallery-toolbar span{font-size:13px;color:#475569;min-width:65px;text-align:center}
.widget-photo-dialog .photo-gallery-full-caption{color:#fff;text-align:center;font-size:13px;line-height:1.5;margin:10px 0 0;max-width:80vw;overflow-wrap:anywhere}
@container(max-width:900px){.photo-cols-4,.photo-cols-5,.photo-cols-6{--photo-columns:3}}
@container(max-width:600px){.photo-cols-3,.photo-cols-4,.photo-cols-5,.photo-cols-6{--photo-columns:2}}
@container(max-width:320px){.photo-gallery-widget{--photo-columns:1}}
@media(prefers-reduced-motion:reduce){.photo-gallery-card img{transition:none}}
