.widget_nav_menu,
.widget_meta,
.widget_pages,
.widget_archive,
.widget_categories,
.wp-block-categories {
    ul {
        list-style: none;
        padding: 0;
        margin: 0 0 0 0;
    }

    a {
        position: relative;
        display: block;
        background-color: $white-color;
        margin: 0 0 14px 0;
        padding: 17.5px 30px;
        font-size: 18px;
        font-family: $title-font;
        font-weight: 500;
        line-height: 1.313;
        color: $title-color;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        border-radius: 30px;
        transition: 0.4s ease-in-out;

        @include lg {
            padding: 17.5px 20px;
            font-size: 16px;
        }

        &:before {
            content: "";
            position: absolute;
            top: 16px;
            left: auto;
            right: 25px;
            width: 12px;
            height: 24px;
            background-color: $theme-color;
            clip-path: path("M12 12L0 0L6.38677 12L0 24L12 12Z");
            transition: 0.4s ease-in-out;

            @include lg {
                right: 20px;
            }

        }

        // &:not(:last-child) {
        //     margin-bottom: 15px; 
        // }

        &:hover {
            background-color: $theme-color;
            color: $white-color;

            &:before {
                background-color: $white-color;
            }


        }

    }

    li {
        display: block;
        position: relative;

        >span,
        >i {
            color: $white-color;
            text-align: center;
            position: absolute;
            right: 30px;
            top: 18px;
            transition: all ease 0.4s;
            pointer-events: none;
            min-width: 20px;
            text-align: right;

        }

    }

    .menu,
    >ul {
        >li {
            &:last-child {
                >a {
                    border-bottom: none;
                    margin-bottom: 0;
                }
            }
        }
    }

    a {
        &:hover {
            color: $white-color;

            ~span {
                color: $white-color;
            }

            ~i {
                color: $white-color;
            }
        }
    }

    .sub-menu,
    .children {
        margin-left: 10px;
    }

    &.style2 {
        a {
            display: block;
            background-color: $white-color;
            margin: 0;
            padding: 16px 25px;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.313;
            color: $body-color;
            border-bottom: 1px solid $white-color;
            border-radius: 100px;
            transition: 0.4s ease-in-out;

            &:not(:last-child) {
                margin-bottom: 15px;
            }

            &:hover {
                background-color: $theme-color;
                color: $white-color;
            }

        }

        li {

            >span,
            >i {
                color: $body-color;
                right: 20px;

            }

        }

        a {
            &:hover {

                ~span {
                    color: $white-color;
                }

                ~i {
                    color: $white-color;
                }
            }
        }
    }
}


.wp-block-categories {
    list-style: none;
    padding: 0;

    >li {
        &:last-child {
            >a {
                border-bottom: none;
            }
        }
    }
}

.widget_nav_menu,
.widget_meta,
.widget_pages {
    a {
        padding-right: 20px;
    }
}

.widget_nav_menu {
    .sub-menu {
        margin-left: 10px;
    }
}

.wp-block-archives {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;

    a:not(:hover) {
        color: inherit;
    }
}

.th-blog ul.wp-block-archives li {
    margin: 5px 0;
}