.custom-slider {
    position: relative;
    /* overflow: hidden; */
    /* position: relative; */
}
.custom-slider .custom-slide {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 100%;
    transition: visibility 0s, opacity 0.5s ease-in-out;
}
/* Active slide */
.custom-slider .custom-slide.active {
    visibility: visible;
    opacity: 1;
    position:relative;
    transition: opacity 0.5s ease-in-out;
}
.custom-slider .custom-slide.active .slide-content-wrapper{
    padding: 30px;
    padding-right: 150px;
    background-color: white;
    border: 1px solid #eee4e2;
    border-radius: 30px;
    width: 60%;
    min-width: 250px;
}
.custom-slider .custom-slide.active .slide-content-wrapper .wp-block-heading{
    margin-top: 0px;
    margin-bottom: 10px;
}
.custom-slider .custom-slide.active .slide-image {
    max-width: 100%;
    max-height: 400px;
    width: 35%;
    height: 70%;
    min-height: 100px;
    min-width: 250px;
    object-fit: cover;
    z-index: 1;
    top: 15%;
    right:0%;
    position: absolute;
}
/* Buttons */
.custom-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: black;
    color: white;
    border-radius: 50%;
    border:0;
}
.custom-slider button:hover {
    cursor: pointer;
}

.custom-slider button .visually-hidden{
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.custom-slider button:nth-of-type(1):not(.slider-indicator) {
    left: calc(0px - 80px);
}
.custom-slider button:nth-of-type(2):not(.slider-indicator) {
    right: calc(0px - 25px);
}
/* Indicators */
.custom-slider .slider-indicators {
    position: absolute;
    bottom: 0;
    right: 10px;
    display: flex;
    gap: 10px;
}
.custom-slider .slider-indicators li {
    display: block;
    position: relative;
    width: 15px;
    height: 15px;
}
.custom-slider .slider-indicator {
    display: block;
    background-color: #bbb;
    width: 15px;
    height: 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.custom-slider .slider-indicator.active {
    background-color: #717171;
}

@media only screen and (max-width: 764px) {
    .custom-slider .custom-slide.active .slide-image{
        position:relative;
        width: 80%;
        display: block;
        margin:auto;
    }
    .custom-slider .custom-slide.active .slide-content-wrapper{
        border:0;
        padding: 20px;
        width: 80%;
        display: block;
        margin:auto;
    }
    .custom-slide{
        background-color: white;
    }
    .custom-slider button:not(.slider-indicator){
        display: none;
    }

}