.lg-module {
    font-size: 16px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1000;
    animation: lg-module-fade .3s ease-out;
    display: flex;
    flex-direction: column;
}

.lg-module button {
    background: none;
    border: 0;
    cursor: pointer;
}

.lg-module .content-box {
    flex-grow: 1;
    min-height: 0;
}

.lg-module .counter-box {
    background: #000;
    color: #fff;
    padding: 0 2em;
}

.lg-module .counter-box .inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 992px;
    margin: 0 auto;
}

.lg-module .lg-nav-btn {
    padding: .75em 1em;
    display: block;
}

.lg-module .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-module-download,
.lg-module .lg-module-close {
    position: absolute;
    top: 0;
    padding: 1rem;
    opacity: .75;
    z-index: 2;
}

.lg-module .lg-module-close {
    left: 0;
}

.lg-module-download {
    right: 0;
}

.lg-module .lg-module-close:hover,
.lg-module-download:hover {
    opacity: 1;
}

.lg-module .lazy-img::before {
    width: 50px;
    content: "";
    display: block;
    aspect-ratio: 1;
    --_g: no-repeat radial-gradient(farthest-side, rgba(255, 255, 255, .7) 94%, #0000);
    background:
        var(--_g) 0 0,
        var(--_g) 100% 0,
        var(--_g) 100% 100%,
        var(--_g) 0 100%;
    background-size: 40% 40%;
    animation: l38 .5s infinite;
}

.lg-module .swiper-slide {
    flex-direction: column !important;
}

.lg-module .lazy-img {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    padding: 5em 2rem;
    min-height: 0;
}

.lg-module .lazy-img img {
    max-width: 100%;
    max-height: 100%;
    display: none;
    animation: lg-module-fade .3s ease-out;
    object-fit: cover;
    border-radius: 1rem;
}

.lg-module .lazy-img.loaded::before {
    display: none;
}

.lg-module .lazy-img.loaded img {
    display: block;
}

.lg-close-cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

@keyframes l38 {
    100% {
        background-position: 100% 0, 100% 100%, 0 100%, 0 0
    }
}

@keyframes lg-module-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}