.zsk-live-slider,
.zsk-live-slider * {
    box-sizing: border-box;
}

.zsk-live-slider {
    --zsk-navy: #061426;
    --zsk-yellow: #f2d300;
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0 auto 16px;
    color: var(--zsk-navy);
    background: transparent;
    font-family: inherit;
    touch-action: pan-y;
}

.zsk-live-slider__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 2.39 / 1;
    overflow: hidden;
    background: #061426;
}

.zsk-live-slider[data-zsk-loading="true"] {
    position: absolute;
    height: 0;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
}

.zsk-live-slider__slide {
    position: absolute;
    z-index: 0;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(1.2%);
    transition: opacity .45s ease, visibility .45s ease, transform .6s cubic-bezier(.22, .7, .25, 1);
}

.zsk-live-slider__slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.zsk-live-slider__link,
.zsk-live-slider__slide picture,
.zsk-live-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.zsk-live-slider__link {
    color: inherit;
    text-decoration: none;
}

.zsk-live-slider__slide img {
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.zsk-live-slider__link:focus-visible,
.zsk-live-slider__button:focus-visible,
.zsk-live-slider__dot:focus-visible {
    outline: 3px solid var(--zsk-yellow);
    outline-offset: 3px;
}

body.zsk-live-slider-active #zasklada-static-home-hero,
body.zsk-live-slider-active #zasklada-gemac-secondary-banner {
    display: none !important;
}

.zsk-live-slider__controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-height: 42px;
    margin-top: 8px;
}

.zsk-live-slider__tabs,
.zsk-live-slider__actions {
    display: flex;
    align-items: center;
}

.zsk-live-slider__tabs {
    gap: 6px;
}

.zsk-live-slider__dot {
    position: relative;
    display: block;
    width: 27px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.zsk-live-slider__dot::before,
.zsk-live-slider__dot::after {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
}

.zsk-live-slider__dot::after {
    background: rgba(6, 20, 38, .34);
}

.zsk-live-slider__dot.is-active::after {
    height: 3px;
    background: rgba(242, 211, 0, .65);
}

.zsk-live-slider__dot::before {
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left center;
}

.zsk-live-slider.is-playing .zsk-live-slider__dot.is-active::before {
    background: var(--zsk-yellow);
    animation: zsk-live-progress var(--zsk-duration, 5000ms) linear forwards;
}

.zsk-live-slider__actions {
    gap: 6px;
}

.zsk-live-slider__button {
    display: inline-grid;
    min-width: 34px;
    height: 32px;
    place-items: center;
    padding: 0 9px;
    border: 1px solid rgba(6, 20, 38, .42);
    border-radius: 1px;
    color: var(--zsk-navy);
    background: #fff;
    font: inherit;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.zsk-live-slider__button--pause {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
}

.zsk-live-slider__pause-label {
    font-size: 10px;
    letter-spacing: .03em;
}

.zsk-live-slider__button:hover,
.zsk-live-slider__button:focus-visible {
    border-color: var(--zsk-yellow);
    color: var(--zsk-navy);
    background: var(--zsk-yellow);
    transform: translateY(-2px);
}

.zsk-live-slider__button--next {
    border-color: var(--zsk-navy);
    color: #fff;
    background: var(--zsk-navy);
}

.zsk-live-slider__button--next:hover,
.zsk-live-slider__button--next:focus-visible {
    border-color: var(--zsk-yellow);
    color: var(--zsk-navy);
    background: var(--zsk-yellow);
}

.zsk-live-slider__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes zsk-live-progress {
    to { transform: scaleX(1); }
}

@media (max-width: 767px) {
    .zsk-live-slider {
        margin-bottom: 12px;
    }

    .zsk-live-slider__viewport {
        aspect-ratio: 1 / 1;
    }

    .zsk-live-slider__controls {
        gap: 10px;
        min-height: 37px;
        margin-top: 7px;
    }

    .zsk-live-slider__tabs {
        gap: 4px;
    }

    .zsk-live-slider__dot {
        width: 21px;
    }

    .zsk-live-slider__button {
        min-width: 30px;
        height: 29px;
        padding: 0 7px;
    }

    .zsk-live-slider__button--pause {
        padding: 0 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zsk-live-slider *,
    .zsk-live-slider *::before,
    .zsk-live-slider *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
