/* ----------------------- */
/* Slideshow custom styles */
/* ----------------------- */
section.slideshow .mrws-slideshow-root {
    position: relative;
    /* height: 37.5vw; */
    /* min-height: calc(268px + 1vw);
    height: 45vw; */
}
.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%;
    object-fit: cover;
}
.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: #cedfbcc7;
    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%;
    height: 100%;
    position: absolute;
}

.slideshow_caption::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: #cedfbcc7 transparent transparent transparent;
    position: absolute;
    border-width: 40vw 0 0 150px;
    border-top-width: clamp(40rem, 43vw, 10000px);
    right: 100%;
}

.swiper-slide {
    overflow: hidden;
}

.slideshow_meta {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 2;
}

.slideshow_meta.has-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));
}

.slideshow_overlay {
    padding: 0.75rem 1.1rem;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.slideshow_caption_bar {
    padding: 0.6rem 1.1rem;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.slideshow_caption_heading {
    font-weight: 600;
    font-size: 1rem;
}

.slideshow_caption_subheading {
    font-size: 0.9rem;
    opacity: 0.85;
}
/* STW 2026 feature overrides */
.slideshow_overlay {
  background: rgba(63,79,53,.72);
}
.slideshow_caption_bar {
  background: rgba(27,31,24,.45);
}
.slideshow_caption_heading {
  font-family: var(--mr-font-heading);
}

