.wp-block-gallery a{display:block;overflow:hidden;cursor:zoom-in}.wp-block-gallery a img{transition:filter .25s ease}.wp-block-gallery a:hover img{filter:brightness(1.08)}.ml-gallery-open{overflow:hidden}.ml-gallery-viewer{width:100vw;height:100dvh;max-width:none;max-height:none;padding:24px 4vw;border:0;margin:0;background:#10110ff5;color:#fff;overflow:auto}.ml-gallery-viewer::backdrop{background:#000d}.ml-gallery-viewer[open]{display:flex;flex-direction:column;gap:14px}.ml-gallery-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.ml-gallery-top p{margin:0;color:#ddd;font-size:13px}.ml-gallery-viewer button{font-size:13px;min-height:44px;border:1px solid #ffdd0480;background:transparent;color:var(--yellow);padding:9px 16px}.ml-gallery-viewer button:hover{background:var(--yellow);color:#111}.ml-gallery-viewer figure{margin:0;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.ml-gallery-viewer img{display:block;object-fit:contain;max-width:100%;max-height:calc(100dvh - 190px);width:auto;height:auto}.ml-gallery-viewer figcaption{font-size:13px;color:#ddd;text-align:center}.ml-gallery-controls{display:flex;gap:12px;justify-content:center}.ml-gallery-viewer :focus-visible{outline-color:#fff}@media(max-width:767px){.ml-gallery-viewer{padding:16px 5%}.ml-gallery-viewer img{max-height:calc(100dvh - 180px)}}

/* Project galleries: a generous lead photograph with uncropped supporting images. */
.wp-block-gallery.has-nested-images.ml-project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}
.wp-block-gallery.has-nested-images.ml-project-gallery>figure.wp-block-image{width:100%!important;max-width:none;margin:0;align-self:start;flex-grow:0}
.wp-block-gallery.has-nested-images.ml-project-gallery>figure.wp-block-image:first-child{grid-column:1/-1}
.wp-block-gallery.has-nested-images.ml-project-gallery>figure.wp-block-image a{width:100%}
.wp-block-gallery.has-nested-images.ml-project-gallery>figure.wp-block-image img{display:block;width:100%;height:auto}
@media(max-width:767px){.wp-block-gallery.has-nested-images.ml-project-gallery{grid-template-columns:minmax(0,1fr);gap:20px}}
