/* ----------------------- */
/* Slideshow custom styles */
/* ----------------------- */

.slideshow_swiper {
    height: 100%;
}


.slideshow_swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(70, 70, 70);
}
.slideshow_swiper .swiper-slide img {
    width: 100%;
    height: 100%;
}
.slideshow_swiper .swiper-slide .slideshow_caption h2 {
    opacity: 0;
    transform: translate(0px, 2em);
    transition: 1s transform .5s ease, 1s opacity .5s ease;
}

.slideshow_swiper .swiper-slide.swiper-slide-active .slideshow_caption h2 {
    opacity: 1;
    transform: translate(0px, 0px);
    transition: 1s transform .5s ease, 1s opacity .5s ease;
}
.slideshow_caption span {
    display: block;
    position: absolute;
    min-height: 2em;
    line-height: 2em;
    font-size: 0.8em;
    /* width: 100vw; */
    white-space: normal;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0000006e;
    line-height: 1.2;
    text-align: left;
    padding: 0.4em;
}

.slideshow_caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--mr-color-accent-tint);
    vertical-align: middle;
    white-space: normal;
    position: absolute;
    inset: 0;
    height: 100%;
    background-color: var(--mr-color-secondary-murky);
    position: relative;
    top: 0;
    bottom: 0;
    width: 38%;
    min-width: 40.2rem;
    z-index: 10;
    margin-left: auto;
    padding: 4vw;
}

.slideshow_swiper .slideshow_caption h2 {
    border-bottom: none;
    color: var(--mr-color-light);
    text-shadow: 0 0 10px black, 0 0 10px black, 0 0 10px black;
    font-size: 3.5vw;
    line-height: 1;
    transition: 1s transform .5s ease, 1s opacity .5s ease;
    margin-top: 0;
    text-align: center;
}

.slideshow_swiper .slideshow_caption h3 {
    border-bottom: none;
    color: var(--mr-color-accent-shade);
    text-shadow: 0 0 10px black, 0 0 10px black, 0 0 10px black;
    font-size: 2vw;
    line-height: 1;
    opacity: 0;
    text-align: center;
}

.slideshow_swiper .swiper-slide.swiper-slide-active .slideshow_caption h3 {
    opacity: 1;
    transition: .5s opacity 1.5s ease;
}


.slideshow_caption p {
    color: black;
}

.swiper-slide>img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.swiper {
    width: 100%;
}

.slideshow_caption::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: var(--mr-color-secondary-murky) transparent transparent transparent;
    position: absolute;
    border-width: 40vw 0 0 150px;
    border-top-width: clamp(40rem, 43vw, 10000px);
    right: 100%;
}

.swiper-slide {
    overflow: hidden;
}