.gallery-modal{position:fixed;inset:0;z-index:1000;display:grid;grid-template-columns:minmax(0, 1fr);grid-template-rows:auto minmax(0, 1fr) auto;gap:20px;padding:24px var(--page-gutter, 48px) 28px;background-color:rgba(17,20,18,.96);color:#fff;visibility:hidden;opacity:0;pointer-events:none;transition:opacity 250ms ease,visibility 250ms}.gallery-modal[hidden]{display:none}.gallery-modal.is-open{visibility:visible;opacity:1;pointer-events:auto}.admin-bar .gallery-modal{top:var(--admin-offset, 32px)}.gallery-modal .gm-top{display:flex;align-items:center;justify-content:space-between}.gallery-modal .gm-count{font-family:var(--mono-font);font-size:12px;letter-spacing:.06em;color:hsla(0,0%,100%,.6)}.gallery-modal .gm-count b{font-weight:500;color:#fff}.gallery-modal .gm-btn{display:grid;place-content:center;width:44px;height:44px;padding:0;border:1px solid hsla(0,0%,100%,.55);border-radius:50%;background-color:hsla(0,0%,100%,.12);backdrop-filter:blur(14px);color:#fff;cursor:pointer;transition:background-color .2s ease,border-color .2s ease}.gallery-modal .gm-btn:hover{border-color:var(--red);background-color:var(--red)}.gallery-modal .gm-btn svg{width:18px;height:18px;stroke-width:1.4}.gallery-modal .gm-stage{position:relative;display:grid;grid-template-columns:minmax(0, 1fr);grid-template-rows:minmax(0, 1fr);min-width:0;min-height:0}.gallery-modal .gm-slide{grid-area:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:0;height:100%;margin:0;padding:0 64px;overflow:hidden;opacity:0;pointer-events:none;transition:opacity 300ms ease}.gallery-modal .gm-slide.is-active{opacity:1;pointer-events:auto}.gallery-modal .gm-slide img{flex:0 1 auto;width:auto;height:auto;max-width:100%;max-height:100%;min-height:0;border-radius:8px;object-fit:contain}.gallery-modal .gm-slide figcaption{font-size:14px;color:hsla(0,0%,100%,.7)}.gallery-modal .gm-nav{position:absolute;top:50%;transform:translateY(-50%)}.gallery-modal .gm-nav.is-prev{left:0}.gallery-modal .gm-nav.is-next{right:0}.gallery-modal .gm-thumbs{display:flex;justify-content:safe center;gap:8px;overflow-x:auto;scrollbar-width:none}.gallery-modal .gm-thumbs::-webkit-scrollbar{display:none}.gallery-modal .gm-thumb{flex:0 0 72px;height:52px;padding:0;overflow:hidden;border:1px solid rgba(0,0,0,0);border-radius:4px;background:none;opacity:.45;cursor:pointer;transition:opacity .2s ease,border-color .2s ease}.gallery-modal .gm-thumb:hover{opacity:.8}.gallery-modal .gm-thumb.is-active{border-color:#fff;opacity:1}.gallery-modal .gm-thumb img{width:100%;height:100%;object-fit:cover}@container (max-width: 768px){.gallery-modal{padding:16px 0 20px;background-color:#111412}.gallery-modal .gm-top{padding:0 16px}.gallery-modal .gm-slide{padding:0}.gallery-modal .gm-slide img{border-radius:0}.gallery-modal .gm-nav{display:none}.gallery-modal .gm-thumbs{justify-content:flex-start;padding:0 16px}.gallery-modal .gm-thumb{flex-basis:56px;height:40px}}.editor-styles-wrapper .gallery-modal,.acf-block-preview .gallery-modal{display:none !important}
