.gm-lightbox-overlay {
display: none;
position: fixed;
inset: 0;
z-index: 9999;
background: rgba(0, 0, 0, 0.9);
align-items: center;
justify-content: center;
cursor: zoom-out;
}
.gm-lightbox-overlay.is-open {
display: flex;
} .gm-lightbox-img {
display: block;
max-width: 90vw;
max-height: 90vh;
width: auto;
height: auto;
object-fit: contain;
cursor: default;
border-radius: 2px;
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
user-select: none;
} .gm-lightbox-close {
position: fixed;
top: 16px;
right: 20px;
z-index: 10000;
background: none;
border: none;
color: #fff;
cursor: pointer;
padding: 8px;
line-height: 1;
opacity: 0.85;
transition: opacity 0.2s, transform 0.2s;
}
.gm-lightbox-close:hover,
.gm-lightbox-close:focus {
opacity: 1;
transform: scale(1.1);
outline: 2px solid #fff;
outline-offset: 2px;
} .gm-lightbox-prev,
.gm-lightbox-next {
position: fixed;
top: 50%;
transform: translateY(-50%);
z-index: 10000;
background: rgba(0, 0, 0, 0.45);
border: none;
color: #fff;
cursor: pointer;
padding: 12px 14px;
border-radius: 4px;
opacity: 0.8;
transition: opacity 0.2s, background 0.2s;
line-height: 1;
}
.gm-lightbox-prev {
left: 16px;
}
.gm-lightbox-next {
right: 16px;
}
.gm-lightbox-prev:hover,
.gm-lightbox-prev:focus,
.gm-lightbox-next:hover,
.gm-lightbox-next:focus {
opacity: 1;
background: rgba(0, 0, 0, 0.75);
outline: 2px solid #fff;
outline-offset: 2px;
} .gm-lightbox-overlay[data-count="1"] .gm-lightbox-prev,
.gm-lightbox-overlay[data-count="1"] .gm-lightbox-next {
display: none;
} .gm-lightbox-caption {
position: fixed;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
color: #ffffffcc;
font-size: 0.875rem;
max-width: 80vw;
text-align: center;
pointer-events: none;
} .gm-lightbox-close svg,
.gm-lightbox-prev svg,
.gm-lightbox-next svg {
fill: currentColor;
display: block;
} .gm-gallery img,
.wp-block-gallery img,
.gm-gallery-grid img {
cursor: zoom-in;
} @keyframes gm-lb-fadein {
from { opacity: 0; }
to   { opacity: 1; }
}
.gm-lightbox-overlay.is-open {
animation: gm-lb-fadein 0.2s ease;
}