.inline-gallery-container {
    width: 100%;
    height: 520px;
    position: relative;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Стили для миниатюр в галерее */
.lg-thumb {
    margin: 0 4px;
}

/* Стили для анимации подписей (опционально) */
.lightGallery-captions h4 {
    transform: translate3d(60px, 0, 0px);
}

.lightGallery-captions p {
    transform: translate3d(-60px, 0, 0px);
}

.lightGallery-captions h4,
.lightGallery-captions p {
    opacity: 0;
}

.lg-current .lightGallery-captions h4,
.lg-current .lightGallery-captions p {
    transform: translate3d(0, 0, 0px);
    opacity: 1;
}

.lg-slide-progress .lightGallery-captions h4,
.lg-slide-progress .lightGallery-captions p {
    transform: translate3d(-60px, 0, 0px);
    opacity: 0;
}

.lightGallery-captions h4,
.lightGallery-captions p {
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in;
}

.lg-current .lightGallery-captions h4,
.lg-current .lightGallery-captions p {
    transition-delay: 500ms;
}

.lg-current.lg-slide-progress .lightGallery-captions h4,
.lg-current.lg-slide-progress .lightGallery-captions p {
    transition-delay: 0ms;
}

/* Скрываем миниатюры, так как они уже отображаются в галерее */
#inline-gallery-container a {
    display: none;
}