.elementor-widget-wof_hover_shift_slideshow,
.elementor-widget-wof_hover_shift_slideshow .elementor-widget-container {
    width: 100%;
    min-width: 0;
}

.wof-hs-shell {
    --wof-hs-height: 420px;
    --wof-hs-radius: 16px;
    --wof-hs-overlay: 0.35;
    --wof-hs-brightness: 1.08;
    --wof-hs-duration: 560ms;
    --wof-hs-side-size: 150px;
    --wof-hs-side-gap: 14px;
    --wof-hs-side-offset-y: 0px;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--wof-hs-side-gap);
    width: 100%;
    min-width: 220px;
}

.wof-hs-shell.has-side.side-right {
    grid-template-columns: minmax(0, 1fr) var(--wof-hs-side-size);
}

.wof-hs-shell.has-side.side-left {
    grid-template-columns: var(--wof-hs-side-size) minmax(0, 1fr);
}

.wof-hs-main,
.wof-hs-side-panel {
    position: relative;
    border-radius: var(--wof-hs-radius);
    overflow: hidden;
    isolation: isolate;
    background: #08090b;
}

.wof-hs-main {
    min-height: var(--wof-hs-height);
    height: var(--wof-hs-height);
}

.wof-hs-side-panel {
    width: var(--wof-hs-side-size);
    height: var(--wof-hs-side-size);
    align-self: center;
    transform: translateY(var(--wof-hs-side-offset-y));
}

.wof-hs-layer,
.wof-hs-side-layer {
    position: absolute;
    inset: 0;
    background-image: var(--wof-hs-bg-image);
    background-size: cover;
    background-position: center;
    filter: saturate(0.95) brightness(var(--wof-hs-brightness));
}

.wof-hs-current,
.wof-hs-side-current {
    z-index: 1;
}

.wof-hs-next,
.wof-hs-side-next {
    z-index: 2;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: scale(1.06);
    transform-origin: center center;
}

.wof-hs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, calc(var(--wof-hs-overlay) + 0.2)) 0%,
        rgba(0, 0, 0, var(--wof-hs-overlay)) 45%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.wof-hs-hit {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #fff;
    outline: none;
    cursor: pointer;
}

.wof-hs-copy {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.wof-hs-copy.is-empty {
    display: none;
}

.wof-hs-title {
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--wof-hs-text-color, #fff);
}

.wof-hs-subtext {
    font-size: clamp(0.85rem, 1.15vw, 1rem);
    line-height: 1.35;
    opacity: 0.94;
    color: var(--wof-hs-text-color, #fff);
}

.wof-hs-hit:hover .wof-hs-title,
.wof-hs-hit:hover .wof-hs-subtext,
.wof-hs-hit:focus-visible .wof-hs-title,
.wof-hs-hit:focus-visible .wof-hs-subtext {
    color: var(--wof-hs-text-hover-color, #fff);
}

.wof-hs-hit:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.wof-hs-shell.is-dir-left .wof-hs-next,
.wof-hs-shell.is-dir-left .wof-hs-side-next {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

.wof-hs-shell.is-dir-right .wof-hs-next,
.wof-hs-shell.is-dir-right .wof-hs-side-next {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.wof-hs-shell.is-dir-top .wof-hs-next,
.wof-hs-shell.is-dir-top .wof-hs-side-next {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.wof-hs-shell.is-dir-bottom .wof-hs-next,
.wof-hs-shell.is-dir-bottom .wof-hs-side-next {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

.wof-hs-shell.is-animating .wof-hs-next,
.wof-hs-shell.is-animating .wof-hs-side-next {
    transition:
        clip-path var(--wof-hs-duration) cubic-bezier(0.22, 1, 0.36, 1),
        transform var(--wof-hs-duration) cubic-bezier(0.22, 1, 0.36, 1);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1);
}

.wof-hs-shell.is-animating .wof-hs-current,
.wof-hs-shell.is-animating .wof-hs-side-current {
    transition: filter var(--wof-hs-duration) ease;
    filter: saturate(0.86) brightness(calc(var(--wof-hs-brightness) - 0.07));
}

.wof-hs-main.is-bottom-left .wof-hs-hit {
    align-items: flex-end;
    justify-content: flex-start;
}

.wof-hs-main.is-bottom-center .wof-hs-hit {
    align-items: flex-end;
    justify-content: center;
}

.wof-hs-main.is-bottom-right .wof-hs-hit {
    align-items: flex-end;
    justify-content: flex-end;
}

.wof-hs-main.is-top-left .wof-hs-hit {
    align-items: flex-start;
    justify-content: flex-start;
}

.wof-hs-main.is-top-center .wof-hs-hit {
    align-items: flex-start;
    justify-content: center;
}

.wof-hs-main.is-top-right .wof-hs-hit {
    align-items: flex-start;
    justify-content: flex-end;
}

.wof-hs-main.is-center-left .wof-hs-hit {
    align-items: center;
    justify-content: flex-start;
}

.wof-hs-main.is-center .wof-hs-hit {
    align-items: center;
    justify-content: center;
}

.wof-hs-main.is-center-right .wof-hs-hit {
    align-items: center;
    justify-content: flex-end;
}

.wof-hs-main.is-bottom-center .wof-hs-copy,
.wof-hs-main.is-top-center .wof-hs-copy,
.wof-hs-main.is-center .wof-hs-copy {
    text-align: center;
}

.wof-hs-main.is-bottom-right .wof-hs-copy,
.wof-hs-main.is-top-right .wof-hs-copy,
.wof-hs-main.is-center-right .wof-hs-copy {
    text-align: right;
}

@media (max-width: 1024px) {
    .wof-hs-shell.has-side {
        grid-template-columns: minmax(0, 1fr);
    }

    .wof-hs-side-panel {
        display: none;
    }
}

@media (max-width: 767px) {
    .wof-hs-main {
        min-height: 220px;
        height: 60vw;
        max-height: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wof-hs-shell .wof-hs-next,
    .wof-hs-shell .wof-hs-current,
    .wof-hs-shell .wof-hs-side-next,
    .wof-hs-shell .wof-hs-side-current {
        transition: none !important;
    }
}
