.ivs-slider,
.ivs-slider *,
.ivs-slider *::before,
.ivs-slider *::after {
    box-sizing: border-box;
}

.ivs-slider {
    width: 100%;
    height: var(--ivs-desktop-height, 600px);
    position: relative;
    overflow: hidden;
    background: #000;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ivs-slides,
.ivs-slide,
.ivs-video-background {
    position: absolute;
    inset: 0;
}

.ivs-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1000ms ease;
}

.ivs-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.ivs-video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.77vh;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ivs-bottom-overlay {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1200px;
    height: 140px;
    padding: 0 36px;
    background: rgba(0, 0, 0, 0.57);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ivs-overlay-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.ivs-video-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}

.ivs-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ivs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    opacity: 0.4;
    padding: 0;
    cursor: pointer;
    transition: 0.3s;
}

.ivs-dot.is-active {
    background: #0a84ff;
    opacity: 1;
}

.ivs-overlay-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ivs-more-text {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 8px;
    white-space: nowrap;
}

.ivs-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.ivs-social-link:hover {
    opacity: 0.7;
}

.ivs-social-link svg {
    display: block;
}

.ivs-vimeo-icon svg {
    width: 22px;
    height: 22px;
    fill: #1ab7ea;
}

.ivs-youtube-icon svg {
    width: 26px;
    height: 26px;
    fill: #ff0000;
}

@media (max-width: 768px) {
    .ivs-slider {
        height: var(--ivs-mobile-height, 75vh);
    }

    .ivs-bottom-overlay {
        width: calc(100% - 24px);
        bottom: 12px;
        height: 140px;
        padding: 18px 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 14px;
    }

    .ivs-overlay-left {
        width: 100%;
        align-items: center;
        gap: 14px;
    }

    .ivs-video-title {
        width: 100%;
        font-size: 1.5rem;
        text-align: center;
        white-space: nowrap;
    }

    .ivs-pagination {
        justify-content: center;
    }

    .ivs-overlay-right {
        justify-content: center;
        gap: 14px;
    }

    .ivs-more-text {
        font-size: 0.95rem;
        letter-spacing: 6px;
    }
}


.ivs-cover-image {
    position: absolute;
    inset: 0;
    z-index: 5;
    opacity: 1;
    visibility: visible;
    transition: opacity .8s ease, visibility .8s ease;
    background: #000;
}

.ivs-cover-image.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.ivs-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
