.wp-block-ftk-slider {
    position: relative;
    overflow: hidden;
    transition: height 0.5s ease-in-out;
    margin-bottom: 3em;
    cursor: pointer;
}
.ftk-slider-slides {
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin-bottom: 1em;
    position: relative;
}

.ftk-slider-slide-item {
    flex: 1;
    overflow: hidden;
    width: 100%;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    color: black;
}

.ftk-slider-prev, .ftk-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 20%);
    color: white;
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.ftk-slider-prev {
    left: 1rem;
}

.ftk-slider-next {
    right: 1rem;
}

.ftk-slider-slide-item.active {
    display: flex;
}

@media (max-width: 1280px) {
    .ftk-slider-slide-item {
        flex-direction: column;
    }
}

.ftk-slider-slide-item > button {
    position: absolute;
    right: 0;
    top: 0;
}

.ftk-slider-slide-item .ftk-slider-item-left, .ftk-slider-slide-item .ftk-slider-item-right {
    flex-basis: 0;
    padding: 2em 4em;
}

.ftk-slider-slide-item .ftk-slider-item-left {
    flex-basis: 0;
    padding: 2em 4em 2em 6em;
}

.ftk-slider-slide-item .ftk-slider-item-right {
    flex-basis: 0;
    padding: 2em 6em 2em 4em;
}

.ftk-slider-slide-item .ftk-slider-item-left {
    flex-grow: 1;
    box-shadow: 3px 0 3px 0 rgba(0, 0, 0, 0.1);
    background: orange !important;
    z-index: 10;
    position: relative;
}

.ftk-slider-slide-item .ftk-slider-item-right {
    flex-grow: 3;
    margin: 0.1rem 0;
    background: #ffc577 !important;
}


.ftk-slider-arrow {
    position: absolute;
    right: -10px;
    background: orange !important;
    transform: scaleY(0.6) rotateZ(45deg);
    width: 50px;
    height: 50px;
    top: 20px;
}


.ftk-slider-slide-item:nth-child(2) .ftk-slider-item-left {
    background: #003E61 !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(2) .ftk-slider-arrow {
    background: #003E61 !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(2) .ftk-slider-item-right {
    background: #2385bb !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(3) .ftk-slider-item-left {
    background: green !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(3) .ftk-slider-arrow {
    background: green !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(3) .ftk-slider-item-right {
    background: #45a245 !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(4) .ftk-slider-item-left {
    background: #cf2e2e !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(4) .ftk-slider-arrow {
    background: #cf2e2e !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(4) .ftk-slider-item-right {
    background: #ce5858 !important;
    color: white;
}


.ftk-slider-slide-item:nth-child(5) .ftk-slider-item-left {
    background: #003E61 !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(5) .ftk-slider-arrow {
    background: #003E61 !important;
    color: white;
}

.ftk-slider-slide-item:nth-child(5) .ftk-slider-item-right {
    background: #2385bb !important;
    color: white;
}



.ftk-slider-dots {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5em;
    margin-bottom: 1em;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.ftk-slider-dot {
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: rgba(0, 0, 0, 20%);
    cursor: pointer;
}

.ftk-slider-dot.active {
    background: black;
}

.ftk-slider-item-right {
    background: rgba(255, 255, 255, 0.3);
}

.ftk-slider-slide-in-from-right {
    animation: ftk-slider-slide-in-from-right 0.5s ease-in-out;
}

.ftk-slider-slide-in-from-left {
    animation: ftk-slider-slide-in-from-left 0.5s ease-in-out;
}

.ftk-slider-slide-out-to-right {
    animation: ftk-slider-slide-out-to-right 0.5s ease-in-out;
}

.ftk-slider-slide-out-to-left {
    animation: ftk-slider-slide-out-to-left 0.5s ease-in-out;
}

@keyframes ftk-slider-slide-in-from-right {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes ftk-slider-slide-in-from-left {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes ftk-slider-slide-out-to-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes ftk-slider-slide-out-to-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
