.sc-department-list-wrap {
    background-color: @white;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);

    i,
    svg {
        width: 1em;
        height: 1em;
        position: relative;
        display: block;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);


    }

    .department-list-item {
        +.department-list-item {
            border-top: 1px solid #eee;
        }

        &.item-acitve {
            .department-list-item-inner {
                box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.06);
                background-color: var(--primary_color);

                &:after {
                    height: 100%;
                    bottom: 0;
                }

                .icon {
                    color: var(--white) !important;
                }

                .icon svg {
                    fill: var(--white) !important;
                }

                .title {
                    color: var(--white);
                }
            }
        }
    }

    .department-list-item-inner {
        position: relative;
        display: flex;
        align-items: center;
        padding: 25px 30px;

        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);

        &:after {
            position: absolute;
            bottom: 50%;
            right: 0;
            width: 2px;
            height: 0;
            background-color: var(--primary_color);
            content: '';
            transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        }

        &:hover {
            box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.06);

            &:after {
                height: 100%;
                bottom: 0;
            }

            .icon {
                color: var(--primary_color) !important;
            }

            .icon svg {
                fill: var(--primary_color) !important;
            }

            .title {
                color: var(--primary_color);
            }
        }
    }

    .title {
        font-size: 18px;
        display: inline-block;
        margin: 0;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    .icon {
        display: inline-block;
        font-size: 24px;
        margin-right: 25px;
        line-height: 1;
        flex-shrink: 0;
        color: var(--primary_color);
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);

    }


    &.moderm-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1px;
        border-radius: 5px;
        overflow: hidden;
        width: 100%;
        background: #ddd;

        .department-list-item {
            border: none;

            &.item-acitve {
                .department-list-item-inner {
                    background-color: var(--primary_color);

                    .icon {
                        color: @white  !important;
                    }

                    .icon svg {
                        fill: @white  !important;
                    }

                    .title {
                        color: @white;
                    }
                }
            }
        }

        .department-list-item-inner {
            flex-direction: column;
            text-align: center;
            background-color: @white;
            padding: 40px 20px;

            &:after {
                content: none;
            }

            &:hover {
                background-color: var(--primary_color);

                .icon {
                    color: @white  !important;
                }

                .icon svg {
                    fill: @white  !important;
                }

                .title {
                    color: @white;
                }
            }
        }

        .icon {
            margin: 0;
            margin-bottom: 15px;
        }

        .title {
            word-break: break-word;
            font-size: 15px;
            line-height: 1.266;
        }
    }

    a {

        &:hover,
        &:active,
        &:focus {
            color: @white;
        }
    }
}