.ltg-image-wrap .ltg-image {
    width: 100%;
    border-radius: 1em;
}

.elementor-widget-ltg-image a:has(.ltg-image-wrap) {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ltg-image--mask-none .ltg-image {
    border-radius: 0;
}

.ltg-image--mask-locomotive {
    -webkit-mask-image: url("../../images/widgets/image/mask.svg");
    mask-image: url("../../images/widgets/image/mask.svg");
    -webkit-mask-position: 0 center;
    mask-position: 0 center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
}

.ltg-image--mask-locomotive-reverse {
    -webkit-mask-image: url("../../images/widgets/image/mask-reverse.svg");
    mask-image: url("../../images/widgets/image/mask-reverse.svg");
    -webkit-mask-position: 100% center;
    mask-position: 0 center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
}

.ltg-image-lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: inherit;
    cursor: pointer;
}

.ltg-image-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    padding: 2.5rem 0;
    border: 0;
    background: transparent;
}

.ltg-image-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.ltg-image-lightbox-content {
    position: relative;
    width: min(100% - 2rem, 75rem);
    height: 100%;
    margin-inline: auto;
}

.ltg-image-lightbox .ltg-image-wrap {
    position: relative;
    height: 100%;
}

.ltg-image-lightbox .ltg-image-wrap .ltg-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: contain;
}

.ltg-image-lightbox-close {
    position: fixed;
    z-index: 1051;
    top: 0.25rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ffffff;
    border-radius: 0.25rem;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    .ltg-image-lightbox-content {
        width: 100%;
    }
}
