.social-menu-widget {
    --gap: 0.2rem;
    --line-offset: calc(var(--gap) / 2);
    --line-thickness: 0.1rem;
    --line-color: var(--united-border-color);
    justify-content: center;
    overflow: hidden;
}

.social-menu-widget .united-social-widget {
    display: grid;
    position: relative;
    gap: var(--gap);
}

.social-menu-widget .united-social-widget.style_1 {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    text-align: center;
}

.social-menu-widget .united-social-widget.style_2,
.social-menu-widget .united-social-widget.style_3{
    grid-template-columns: 1fr;
    text-align: center;
}
.social-menu-widget .united-social-widget.style_4{
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.social-menu-widget .united-social-widget li {
    padding: 0;
    position: relative;
}

.social-menu-widget .united-social-widget li:before,
.social-menu-widget .united-social-widget li:after {
    content: '';
    position: absolute;
    background-color: var(--line-color);
    z-index: 1;
}

.social-menu-widget .united-social-widget li:after {
    inline-size: 100vw;
    block-size: var(--line-thickness);
    inset-inline-start: 0;
    inset-block-start: calc(var(--line-offset) * -1);
}

.social-menu-widget .united-social-widget li:before {
    inline-size: var(--line-thickness);
    block-size: 100vh;
    inset-block-start: 0;
    inset-inline-start: calc(var(--line-offset) * -1);
}

.social-menu-widget .united-social-widget li a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    padding: 2rem 1rem;
}

.social-menu-widget .united-social-widget.style_1 li a{
    min-height: 9rem;
}

.social-menu-widget .united-social-widget.style_2 li a {
    flex-direction: row;
    justify-content: space-between;
}

.social-menu-widget .united-social-widget.style_3 li a {
    flex-direction: row-reverse;
    justify-content: space-between;
}
.social-menu-widget .united-social-widget.style_4 li a{
    min-height: 12rem;
}
.social-menu-widget .united-social-widget li .united-social-label {
    font-size: 12px;
}