@keyframes videoSliderPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.video-slider-box {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.video-slider-main-area {
    position: relative; 
    width: 100%; 
    aspect-ratio: 16/9; 
    background: #000; 
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.video-slider-main-area iframe, 
.video-slider-main-area .wp-video {
    width: 100% !important;
    height: 100% !important;
}

.video-slider-main-area video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* Poster Cover & Play Overlay */
.video-main-poster {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    cursor: pointer;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-main-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.video-main-poster:hover .video-main-poster-img {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Big Center Play Button */
.video-main-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.video-main-poster:hover .video-main-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(0, 102, 102, 0.85);
    border-color: #ffffff;
}

/* Controls Bar at Bottom of Poster */
.video-main-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 42px;
    background: rgba(20, 20, 20, 0.85);
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: #ffffff;
    font-size: 12px;
    font-family: inherit;
    direction: ltr;
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.video-main-controls-bar .controls-left,
.video-main-controls-bar .controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-main-controls-bar .progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 14px;
    position: relative;
}

.video-main-controls-bar .progress-fill {
    height: 100%;
    width: 25%;
    background: #006666;
    border-radius: 2px;
}

/* Slanted Thumbnails Slider */
.video-slider-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 12px 10px 22px;
    margin: 0;
    list-style: none;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.video-slider-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.video-slider-thumbnails::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.06);
    border-radius: 3px;
}

.video-slider-thumbnails::-webkit-scrollbar-thumb {
    background-color: rgba(0, 102, 102, 0.4);
    border-radius: 3px;
}

/* Slanted Item (Parallelogram Style) */
.video-slider-thumb-item {
    flex: 0 0 190px;
    height: 110px;
    transform: skewX(-12deg);
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 0 4px;
}

.video-slider-thumb-item:hover {
    transform: skewX(-12deg) translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border-color: rgba(0, 102, 102, 0.6);
}

.video-slider-thumb-item.is-active {
    border-color: #006666;
    opacity: 0.8;
}

/* Inner Counter-skewed Image */
.video-slider-thumb-inner {
    position: absolute;
    top: -20px;
    bottom: -20px;
    left: -30px;
    right: -30px;
    transform: skewX(12deg);
    pointer-events: none;
}

.video-slider-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Center Play Icon on Thumbnail */
.video-slider-thumb-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) skewX(12deg);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform 0.25s ease, background 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.video-slider-thumb-item:hover .video-slider-thumb-play-icon {
    transform: translate(-50%, -50%) skewX(12deg) scale(1.12);
    background: rgba(0, 102, 102, 0.9);
}
