/* Lightweight, dependency-free location slideshow.
   Matches the old Menucool slider's position and 654 x 260px frame. */
#sliderFrame.location-slideshow {
    position: absolute;
    width: 654px;
    height: 260px;
    margin-top: 50px;
    margin-left: 50px;
}

.location-slideshow__slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.location-slideshow__slides img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* Without JavaScript, the first photograph remains visible. */
.location-slideshow__slides img:not(:first-child) {
    display: none;
}

.location-slideshow.is-enhanced .location-slideshow__slides img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 500ms ease;
}

.location-slideshow.is-enhanced .location-slideshow__slides img.is-active {
    opacity: 1;
}

.location-slideshow__controls {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: flex;
    gap: 5px;
}

.location-slideshow__controls button {
    font: 12px Arial, sans-serif;
    color: #fff;
    background: rgba(0, 0, 0, .72);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 3px;
    padding: 6px 8px;
    cursor: pointer;
}

.location-slideshow__controls button:hover,
.location-slideshow__controls button:focus-visible {
    background: #174b80;
}

.location-slideshow__controls button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.location-slideshow__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .location-slideshow.is-enhanced .location-slideshow__slides img {
        transition: none;
    }
}
