.glightbox-container .gslide-image img {
    max-width: var(--tb-lightbox-max-width, 95vw);
    max-height: var(--tb-lightbox-max-height, 95vh);
}

.glightbox-container .glightbox-button-hidden {
    display: none;
}

.tb-lightbox-bar {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #fff;
    font: 14px/1.4 sans-serif;
}

.tb-lightbox-bar button {
    padding: 0.25rem 0.75rem;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #fff;
}

.tb-lightbox-bar button[hidden] {
    display: none;
}
