.wpb-video-slider {
    position: relative;
    max-width: 100%;
}
.main-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow: hidden;
}
.slider-image {
    display: none;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease;
}
.slider-image.active {
    opacity: 1;
    position: relative;
    display: block;
}
.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}
.slider-thumb {
    cursor: pointer;
    transition: opacity 0.3s;
    border: 1px solid blue;
    height: auto;
    width: auto;
    max-width: 100%;
}
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-modal-inner {
    background: #000;
    position: relative;
    max-width: 100%;
}
.modal-video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    vertical-align: top;
}
.close-modal {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    font-size: 18px;
    cursor: pointer;
}
