.oew-elementor-widget-category {
    .oew-category-layout-default & {
        .oew-section-title {
            margin-bottom: 35px;

            .oew-heading-title {
                font-size: 24px;
                line-height: 1.5;
                color: #252525;
            }
        }

        .oew-slick {
            margin-left: -8px;
            margin-right: -8px;

            .slick-slide {
                padding-left: 8px;
                padding-right: 8px;
            }
        }

        .inner-item {
            display: block;
            border-radius: 5px 5px 0 0;
            border: 1px solid #ebebeb;
            overflow: hidden;

            .item-image {
                height: 0;
                padding-bottom: 59.45945945945946%;
                position: relative;
                overflow: hidden;

                img {
                    //width: 100%;
                    height: 100%;
                    margin: auto;
                    object-fit: cover;
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                }
            }

            .item-content {
                .oew-title {
                    margin: 0 0 -1px;
                    padding: 9px 10px 10px;
                    border-bottom: 1px solid #ebebeb;
                    font-size: 14px;
                    color: #252525;
                }
            }
        }
    }

    .oew-category-layout-ziczac & {
        .oew-slick {
            margin-left: -15px;
            margin-right: -15px;

            .slick-slide {
                padding-left: 15px;
                padding-right: 15px;

                &:nth-child(even) .inner-item {
                    flex-direction: column-reverse;

                    .item-content {
                        padding-top: 0;
                        padding-bottom: 14px;
                    }
                }
            }
        }

        .oew-section-title {
            margin-bottom: 40px;
            @media (min-width: 768px) {
                margin-bottom: 50px;
            }
            @media (min-width: 992px) {
                margin-bottom: 80px;
            }

            .oew-heading-title {
                font-size: 26px;
                font-weight: bold;
                line-height: .8;
                color: #092035;
                letter-spacing: .01px;
                @media (min-width: 576px) {
                    font-size: 30px;
                }
                @media (min-width: 768px) {
                    font-size: 34px;
                }
                @media (min-width: 992px) {
                    font-size: 42px;
                }
            }
        }

        .inner-item {
            display: flex;
            flex-direction: column;

            .item-image a {
                height: 0;
                padding-bottom: 77.14285714285714%;
                position: relative;

                &:hover {
                    .item-count {
                        visibility: visible;
                        opacity: 1;
                        -webkit-opacity: 1;
                        -webkit-transform: scale(1);
                        -moz-transform: scale(1);
                        -o-transform: scale(1);
                        -ms-transform: scale(1);
                        transform: scale(1);
                    }
                }

                &:before {
                    content: '';
                    display: block;
                    width: calc(100% - 10px);
                    height: calc(100% - 10px);
                    border: 1px solid rgba(255, 255, 255, .4);
                    position: absolute;
                    top: 5px;
                    right: 5px;
                    bottom: 5px;
                    left: 5px;
                    z-index: 2;
                }

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    position: absolute;
                    top: 0;
                    left: 0;
                    z-index: 1;
                }
            }

            .item-content {
                padding-top: 14px;

                .oew-title {
                    line-height: normal;
                    margin-bottom: 0;
                    margin-top: 0;
                    font-size: 18px;
                    font-weight: bold;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    overflow: hidden;

                    a {
                        color: #092035;

                        &:hover {
                            color: #ef4444;
                        }
                    }
                }
            }
        }
    }

    .oew-section-title {
        .oew-heading-title {
            margin-top: 0;
            margin-bottom: 0;
        }
    }

    .inner-item {
        a {
            transition: all .4s ease;
        }

        .item-image a {
            display: block;
        }

        .item-content {
            text-align: center;

            .oew-title {
                transition: all .4s ease;
            }
        }

        .sub-category {
            padding: 7px 10px;

            li {
                display: block;

                &:not(:last-child) {
                    margin-bottom: 5px;
                }
            }

            a {
                font-size: 13px;
                color: #898989;

                &:hover {
                    color: #0072bc;
                }
            }
        }

        .item-count {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(9, 32, 53, 0.7);
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 2;
            visibility: hidden;
            opacity: 0;
            -webkit-opacity: 0;
            -webkit-transform: scale(0.7);
            -moz-transform: scale(0.7);
            -o-transform: scale(0.7);
            -ms-transform: scale(0.7);
            transform: scale(0.7);
            transition: all .5s ease;

            span {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 70px;
                min-height: 30px;
                padding: 5px 7px;
                background-color: #fff;
                text-transform: uppercase;
                font-size: 12px;
                color: #ef4444;
                transition: all 0.4s ease;

                &:hover {
                    background-color: #ef4444;
                    color: #fff;
                }
            }
        }
    }
}