.mysliders-widget {
    img{
        width: 100%;
        max-width: 100%;
        /*height: auto;*/
    }
    .slick-next, .slick-prev{
        opacity: 0;
        width: 50px;
        height: 50px;
        border-radius: 25px;
        padding: 0;
    }
    .slider .slick-arrow:hover{
        cursor: unset;
    }
}


#mysliders_block_home_mobile {
    width: 100%;
    overflow: hidden;

    .mysliders-container {
        /*height: 500px;*/
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        container-type: inline-size;
    }

    .htmlBlock-container {
        height: 50%;
    }

    .custom-slider-wrapper {
        background: #fed417;
        color: white;
        width: 100%;
        margin: 0;
        padding: 30px 45px;
        height: 100%;
        display: flex;
        align-items: center;

        &.text-black {
            color: black;
        }

        .custom-slider-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
        }

        p {
            margin-bottom: 5px;
        }

        .title {
            text-align: center;
            font-weight: 700;
            font-style: normal;
            text-decoration: none;
            opacity: 1;
            mix-blend-mode: normal;
            font-size: 28px;
            color: inherit;
            line-height: 32px;
            font-family: Lato;
            width: 100%;

            &.large {
                font-style: italic;
                font-size: 34px;
                color: inherit;
                line-height: 56px;
                letter-spacing: 0;
                margin: 0;
                text-transform: uppercase;

                @media (max-width: 400px) and (min-width: 375px) {
                    font-size: 30px;
                    line-height: 50px;
                }

                @media (max-width: 374px) {
                    font-size: 25px;
                    line-height: 42px;
                }
            }
            @media (max-width: 374px) {
                font-size: 21px;
                line-height: 26px;
            }
        }
        .text {
            text-align: center;
            font-weight: 400;
            font-style: normal;
            text-decoration: none;
            opacity: 1;
            mix-blend-mode: normal;
            font-size: 18px;
            color: inherit;
            line-height: 18px;
            font-family: Karla, sans-serif;
            width: 100%;

            &.large {
                font-size: 32px;
                line-height: 38px;
                margin: 0;

                @media (max-width: 400px) and (min-width: 375px) {
                    font-size: 29px;
                    line-height: 34px;
                }

                @media (max-width: 374px) {
                    font-size: 24px;
                    line-height: 29px;
                }
            }
            @media (max-width: 374px) {
                font-size: 13px;
                line-height: 18px;
            }
        }
        button {
            text-transform: uppercase;
            cursor: unset;
            margin-top: 10px;
            width: 100%;
            text-align: center;
            font-weight: 800;
            padding: 11px 30px 9px 32px;
            font-size: 13px;
            background: white;
            color: black;
            border-radius: 4px;
            border-color: transparent;
            letter-spacing: 0.05em;

            &.blue {
                background-color: #183157;
                color: white;
            }

            @media (max-width: 374px) {
                font-size: 10px;
            }
        }
    }

    img {
        max-height: 100%;
        object-fit: cover;
        height: 100%;
        /*height: 50%;*/
    }

    .slick-dots {
        position: absolute;
        display: flex;
        gap: 10px;
        width: fit-content;
        height: fit-content;
        left: 50%;
        bottom: 0;
        transform: translate(-50%, 30px);

        li {
            width: 12px;
            height: 12px;
            /*button {*/
            /*    width: 12px;*/
            /*    height: 12px;*/
            /*    box-shadow: inset 0 0 6px #00000033, 0 0 5px #00000033;*/
            /*    &:before {*/
            /*        border: 2px solid #FFFFFF;*/
            /*        background-color: transparent;*/
            /*        opacity: 1;*/
            /*        width: 12px;*/
            /*        height: 12px;*/
            /*    }*/
            /*    &:hover:before {*/
            /*        border: 2px solid #ffffff;*/
            /*        background-color: white;*/
            /*        box-shadow: inset black 0 0 0 1px;*/
            /*    }*/
            /*}*/

            /*&.slick-active button:before {*/
            /*    background-color: white;*/
            /*    border: 2px solid #FFFFFF;*/
            /*    box-shadow: inset black 0 0 0 1px;*/
            /*}*/
        }
    }
}
#mysliders_block_home_desktop, .preview-div {
    max-width: 1174px;
    width: 100%;

    .mysliders-container, .sliderPreview-div {
        container-type: inline-size;
    }

    .htmlBlock-container, .inner-div {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translate(-15%, -50%);
        min-width: 360px;
        display: flex;
        justify-content: flex-end;
    }

    .custom-slider-wrapper {
        background: #fed417;
        color: white;
        width: max-content;
        margin: 0;
        padding: 30px 45px;
        border-radius: 8px;
        display: flex;
        justify-content: center;

        &.text-black {
            color: black;
        }

        &.black-transparency {
            background-color: #0f0f0f6e;
        }

        /*@media (max-width: 1024px) and (min-width: 768px) {*/
        /*    height: 65%;*/
        /*}*/

        p {
            margin-bottom: 5px;
        }

        .title {
            text-align: initial;
            font-weight: 700;
            font-style: normal;
            text-decoration: none;
            opacity: 1;
            mix-blend-mode: normal;
            font-size: 31px;
            font-size: 2.5cqw;
            color: inherit;
            line-height: 37px;
            font-family: Lato;

            &.large {
                font-style: italic;
                color: inherit;
                font-size: 2.8cqw;
                line-height:45px;
                letter-spacing: 0;
                margin: 0;
                text-transform: uppercase;

                @media (max-width: 1024px) and (min-width: 845px) {
                    font-size: 26px;
                    font-size: 2.8cqw;
                    line-height: 37px;
                }
            }

            @media (max-width: 1024px) and (min-width: 768px) {
                font-size: 20px;
                font-size: 2.8cqw;
                line-height: 26px;
            }
        }
        .text {
            text-align: initial;
            font-weight: 400;
            font-style: normal;
            text-decoration: none;
            opacity: 1;
            mix-blend-mode: normal;
            font-size: 15px;
            font-size: 1.5cqw;
            color: inherit;
            line-height: 21px;
            font-family: Karla, sans-serif;
            letter-spacing: -0.329252px;

            &.large {
                font-size: 29px;
                font-size: 2.5cqw;
                line-height: 36px;
                margin: 0;

                @media (max-width: 1024px) {
                    font-size: 24px;
                    font-size: 2.5cqw;
                    line-height: 30px;
                }
            }

            @media (max-width: 1024px) and (min-width: 768px) {
                font-size: 10px;
                font-size: 1.5cqw;
                line-height: 14px;
            }
        }

        button {
            text-transform: uppercase;
            cursor: unset;
            margin-top: 10px;
            font-weight: 800;
            text-decoration: none;
            padding: 11px 30px 9px 32px;
            font-size: 11px;
            background: white;
            color: black;
            border-radius: 4px;
            border-color: transparent;
            letter-spacing: 0.05em;

            &.blue {
                background-color: #183157;
                color: white;
            }

            @media (max-width: 1024px) and (min-width: 768px) {
                font-size: 8px;
            }
        }
    }

    .slick-dots  {
        position: absolute;
        display: flex;
        gap: 10px;
        width: fit-content;
        height: fit-content;
        left: 4%;
        bottom: 10%;

        li {
            width: 12px;
            height: 12px;
            button {
                width: 12px;
                height: 12px;
                box-shadow: inset 0 0 6px #00000033, 0 0 5px #00000033;
                &:before {
                    border: 2px solid #FFFFFF;
                    background-color: transparent;
                    opacity: 1;
                    width: 12px;
                    height: 12px;
                }
                &:hover:before {
                    border: 2px solid #ffffff;
                    background-color: white;
                    box-shadow: inset black 0 0 0 1px;
                }
            }

            &.slick-active button:before {
                background-color: white;
                border: 2px solid #FFFFFF;
                box-shadow: inset black 0 0 0 1px;
            }
        }
    }
}