.tw-thumb-wrapper {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
}

.tw-thumb-wrapper .tw-glightbox-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
}

.tw-thumb-wrapper .tw-glightbox-trigger:hover {
    background: #f3f4f6;
    color: #111827;
}

.tw-thumb-wrapper .tw-thumb-link img {
    display: block;
}

.tw-thumb-wrapper .tw-thumb-image-lightbox {
    cursor: zoom-in;
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    background: none;
}

.tw-thumb-wrapper .tw-thumb-image-lightbox img {
    display: block;
}

/* Show full image instead of cropped cover fit (affects related tab grids too) */
.glightbox-container .gslide-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
}

.glightbox-container .gslide-image img {
    object-fit: contain !important;
    object-position: center center !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0 !important;
}