/*
 * Slideshow: each photograph holds about six seconds, then crossfades with a gentle 4% zoom.
 * Cropped from above the centre, so portrait photographs keep the dome and the cross.
 * Used by the homepage photographs and by page heroes with several opening images.
 */
.ss-slideshow__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 30%;
    opacity: 0;
    transition:
        opacity 1.2s var(--ss-ease),
        transform 0s 1.2s;
}

.ss-slideshow__slide.is-active {
    opacity: 1;
    transform: scale(1.04);
    transition:
        opacity 1.2s var(--ss-ease),
        transform 7.2s linear;
}

[data-ss-slideshow].is-paused .ss-slideshow__slide.is-active {
    transform: none;
    transition: opacity 1.2s var(--ss-ease);
}

@media (prefers-reduced-motion: reduce) {
    .ss-slideshow__slide,
    .ss-slideshow__slide.is-active {
        transform: none;
        transition: opacity 0.4s linear;
    }
}
