/**
 * WS Booster - Carrousel Video
 */

.ws-vc {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.ws-vc__progress {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    gap: 4px;
    z-index: 10;
}

.ws-vc__progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.ws-vc__progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
    transition: width 0.2s linear;
}

.ws-vc__progress-bar[data-active="1"] span {
    width: 100%;
}

.ws-vc__slides {
    position: absolute;
    inset: 0;
}

.ws-vc__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ws-vc__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.ws-vc__video,
.ws-vc__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ws-vc__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
}

.ws-vc__caption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 36px;
    color: #fff;
    max-width: 560px;
}

.ws-vc__caption h3 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
}

.ws-vc__caption p {
    margin: 0 0 16px;
    font-size: 15px;
    opacity: 0.9;
}

.ws-vc__cta {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.ws-vc__cta:hover {
    transform: translateY(-2px);
}

.ws-vc__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    font-size: 26px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.ws-vc:hover .ws-vc__nav {
    opacity: 1;
}

.ws-vc__nav:hover {
    background: rgba(0, 0, 0, 0.85);
}

.ws-vc__nav--prev { left: 16px; }
.ws-vc__nav--next { right: 16px; }
