/* Do not change item positioning: Isotope owns its absolute positioning. */
.dmg_masonry_gallery_item.llc-labeled { isolation: isolate; }
.dmg_masonry_gallery_item.llc-labeled > .llc-image-label {
    position: absolute; display: block; z-index: 5; pointer-events: none;
    box-sizing: border-box; margin: 0; line-height: 1.3; white-space: normal;
    overflow-wrap: anywhere; font-size: var(--llc-size, 18px); transition: opacity .15s;
}
.dmg_masonry_gallery_item.llc-labeled .dmg-img-overlay-title,
.dmg_masonry_gallery_item.llc-labeled .dmg-img-overlay-caption { display: none !important; }
.dmg_masonry_gallery_item.llc-label-hover > .llc-image-label { opacity: 0; }
.dmg_masonry_gallery_item.llc-label-hover:hover > .llc-image-label,
.dmg_masonry_gallery_item.llc-label-hover:focus-within > .llc-image-label { opacity: 1; }
@media (hover: none) { .dmg_masonry_gallery_item.llc-label-hover > .llc-image-label { opacity: 1; } }
@media (max-width: 767px) { .dmg_masonry_gallery_item.llc-labeled > .llc-image-label { font-size: var(--llc-mobile, 15px); } }
@media (prefers-reduced-motion: reduce) { .dmg_masonry_gallery_item.llc-labeled > .llc-image-label { transition: none; } }

.dmg-gallery .dmg_masonry_gallery_item.llc-fixed-height { height: var(--llc-height) !important; }
.dmg-gallery .dmg_masonry_gallery_item.llc-fixed-height > img {
    display: block; width: 100% !important; height: var(--llc-height) !important;
    object-fit: var(--llc-fit, cover); object-position: var(--llc-crop, center);
}
