/* Custom Gallery Styles */
.custom-gallery {
    width: 100%;
}

/* Lightbox Specific Styles */
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.lg-toolbar {
    background: transparent !important;
}

.lg-outer .lg-thumb-item {
    border-radius: 8px;
    overflow: hidden;
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
    border-color: #fff !important;
}

/* Cursor pointer only when lightbox is enabled */
.custom-gallery.has-lightbox .custom-gallery-item-inner {
    cursor: pointer;
}

.custom-gallery-item-inner {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}