.slideshow-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.slideshow-track {
    display: flex;
    transition: transform 1s ease-in-out;
}

.slideshow-item {
    flex: 0 0 auto;
    width: 25%;
    box-sizing: border-box;
    padding: 10px;
}

.slideshow-image-wrapper {
    position: relative;
    overflow: hidden;
}

.slideshow-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hover-text {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 100%;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.slideshow-image-wrapper:hover .hover-text {
    opacity: 1;
}

.slideshow-caption {
    text-align: center;
    margin-top: 5px;
}

.slideshow-prev, .slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    z-index: 10;
}

.slideshow-prev { left: 0; }
.slideshow-next { right: 0; }
