/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 01 2026 | 13:45:44 */
/* --- BASIS STYLES --- */
.image-gallery-container {
    position: relative;
    width: 100%;
    height: 500px; 
    overflow: hidden;
    background: #FAFAFA;
    border-top: 1px solid #0A0A0A;
    border-bottom: 1px solid #0A0A0A;
    box-sizing: border-box;
    cursor: pointer;
    /* Erlaubt vertikales Scrollen der Seite, reserviert horizontales Wischen für JS */
    touch-action: pan-y;
}

.image-gallery-track {
    display: flex;
    width: max-content;
    height: 100%;
    will-change: transform;
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

.image-gallery-track img {
    height: 100%;
    width: auto;
    display: block;
    border-right: 1px solid #0A0A0A;
    user-select: none;
    -webkit-user-drag: none;
}

/* --- NAVIGATION --- */
.image-gallery-prev, .image-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.image-gallery-prev { left: 20px; }
.image-gallery-next { right: 20px; }

.image-gallery-prev::after, .image-gallery-next::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 18px; height: 18px;
    border-left: 2px solid #0A0A0A;
    border-bottom: 2px solid #0A0A0A;
}
.image-gallery-prev::after { transform: translate(-50%, -50%) rotate(45deg); }
.image-gallery-next::after { transform: translate(-50%, -50%) rotate(-135deg); }

/* --- RESPONSIVE ANPASSUNG --- */
@media (max-width: 1000px) {
    .image-gallery-container {
        height: 250px;
    }
    /* Pfeile ausblenden unter 1000px */
    .image-gallery-prev, .image-gallery-next {
        display: none;
    }
}

/* --- LIGHTBOX STYLES --- */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(250, 250, 250, 0.8); 
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: zoom-out;
    touch-action: none;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 1px solid #0A0A0A;
    background-color: #FFF;
}

body.no-scroll {
    overflow: hidden;
    height: 100%;
}