.video-slider-outer {
    overflow: hidden;
    width: 100%;
}

.video-slider {
    width: 100%;
    height: 100%;
}

.video-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity:.5;
    transition: opacity 0.5s ease;
    height: auto !important;
    transition: all .2s ease-in-out;
    /* transform: scale(.9); */
    border-radius: 20px;
    overflow: hidden;
}

.video-slide a:after {
    content: "";
    position: absolute;
    z-index: 5;
    display:block;
    width: 57px;
    height: 57px;
    background-image: url(/wp-content/uploads/2026/05/play-button.webp);
    background-size: contain;
    background-repeat: no-repeat;
    top:50%;
    margin-top:-28.5px;
    left:50%;
    margin-left:-28.5px;
}

.video-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

img.video-thumbnail {
    display: block;
    aspect-ratio: 240 / 131;
    object-fit: cover;
}

p.video-title {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    color: #fff;
    line-height: 1.25;
    font-size: 1.5em;
}

span.video-duration {
    font-size: .7em;
}

.video-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.video-slider-controls {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
}

.video-slider-next,
.video-slider-prev {
    color: #00375A;
    cursor: pointer;
}

.video-slider-next:after,
.video-slider-prev:after {
    font-size: 12px;
    font-family: swiper-icons;
    text-transform: none !important;
    letter-spacing: 0;
    text-transform: none;
    font-variant: initial;
    line-height: 1;
}

.video-slider-next:after {
    content: "next";
}

.video-slider-prev:after {
    content: "previous";
}

.video-slider-pagination {
    display: flex;
    margin-left: 5px;
    margin-right: 5px;
    justify-content: center;
    align-items: center;
    width: auto !important;
}

.video-slider-pagination span {
    margin: 2px !important;
}

.video-slider-pagination .swiper-pagination-bullet-active {
    background: #00375A;
}

