.gallery-slideshow-container {
    max-width: 100%;
    margin: 4em auto;
    position: relative;
}
.gallery-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(66,134,244,0.10);
    background: #fff;
}
.gallery-slide {
    display: none;
    width: 100%;
    height: auto;
    max-height: 80vh; /* Optional: limits very tall images */
    object-fit: cover; /* or 'cover' if you want to fill the box, but 'contain' preserves aspect ratio */
    transition: opacity 0.5s;
    margin-left: auto;
    margin-right: auto;
}
.gallery-slide.active {
    display: block;
}
.gallery-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2em;
    cursor: pointer;
    z-index: 2;
    opacity: 0.8;
    transition: background 0.2s;
}
    .gallery-slide-btn:hover {
        background: transparent;
    }
.gallery-slide-btn.prev { left: 16px; }
.gallery-slide-btn.next { right: 16px; }
.gallery-dots {
    text-align: center;
    margin-top: 1em;
}
.gallery-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 4px;
    background: #b0bec5;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.gallery-dot.active, .gallery-dot:hover {
    background: #4286f4;
}
@media (max-width: 600px) {
    .gallery-slideshow-container { max-width: 100vw; }
 /*   .gallery-slide {
        height: 48vw;
        max-height: 80vh;
    }*/
}

.gallery-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    margin: 1.5em 0;
}