  .custom-menu-blocks-style ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    padding: 0;
}

.custom-menu-blocks-style ul > li {
    display: flex;
    width: calc(100% / 3);
    border: none;
    background-image: none !important;
    padding: 0 !important;
}

.custom-menu-blocks-style ul > li > a {
    width: 100%;
    margin: 0 15px 25px 15px;
    padding: 12px 6px 0 12px;
    border: 1px solid #78003F;
    background: none !important;
    color: #78003F !important;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.2s linear, color 0.2s linear;
    position: relative;
}

.custom-menu-blocks-style ul > li > a:hover {
    background: #78003F !important;
    color: #fff !important;
}

.custom-menu-blocks-style ul > li > a i {
    margin: 30px 0 15px 0;
    font-size: 10px;
}
.custom-menu-blocks-style ul > li > a .badge {
    background-color: #e13559;
    color: #fff;
    text-transform: uppercase;
    padding: 1px 4px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: 15px;
    right: 12px;
}

/* Workaround for uncontrollable wrappers of plugin "Tabs" by "Regular Labs" */
.custom-menu-blocks-style ul > li > a span.rl_tabs-link-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 768px) {
    .custom-menu-blocks-style ul > li {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .custom-menu-blocks-style ul > li {
        width: 100%;
    }

    /* Workaround for uncontrollable wrappers of plugin "Tabs" by "Regular Labs" */
    .custom-menu-blocks-style ul > li > a span.rl_tabs-link-inner {
        flex-direction: row;
    }

    .custom-menu-blocks-style ul > li > a {
        flex-direction: row;
        padding: 12px 6px 12px 12px;
    }

    .custom-menu-blocks-style ul > li > a i {
        margin: 0;
        padding: 4.5px 0;
    }
    .custom-menu-blocks-style ul > li > a .badge {
        position: static;
        margin-left: auto;
        margin-right: 10px;
    }
}