[bt-type="link"] + [bt-type="link"] {
    --bt--content-space-top: 0px;
}

[bt-type="link"] .bt-button{
    width: 100%;
    height: 100%;
    min-height: 62px;

    display: flex;
    padding: 18px 24px;
    position: relative;
    transition: background-color .15s;
    overflow: hidden;
    background-color: transparent;

    color: var(--bt--button-color);
    border-radius: var(--bt--button-radius);
}

[bt-type="link"] .bt-button_wrap {
    cursor: pointer;
}

[bt-type="link"] .bt-button > {
    z-index: 3;
}

[bt-type="link"] .bt-button_background {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    transition: background-color .15s;
    background-color: transparent;
}

[bt-type="link"] .bt-button_background::after,
[bt-type="link"] .bt-button_background::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

[bt-type="link"] .bt-button_background::before {
    z-index: -2;
    transition: opacity .15s;
}
[bt-type="link"] .bt-button_background::after {z-index: -1;}

[bt-type="link"][bt-opt-button-style="fill"] .bt-button_background::before { background-color: var(--bt--button-background); }
[bt-type="link"][bt-opt-button-style="fill"] .bt-button:hover .bt-button_background { background-color: rgba(0,0,0,.1); }
[bt-type="link"][bt-opt-button-style="fill"] .bt-button_background::after {
    box-shadow: inset 0 0 0 var(--bt--button-border-width) var(--bt--button-background);
}

[bt-type="link"][bt-opt-button-style="fill-stroke"] .bt-button_background::before { background-color: var(--bt--button-background); }
[bt-type="link"][bt-opt-button-style="fill-stroke"] .bt-button:hover .bt-button_background { background-color: rgba(0,0,0,.1); }
[bt-type="link"][bt-opt-button-style="fill-stroke"] .bt-button_background::after {
    box-shadow: inset 0 0 0 var(--bt--button-border-width) var(--bt--button-border-color);
}

[bt-type="link"][bt-opt-button-style="stroke"] .bt-button:hover .bt-button_background::before { opacity: .1; }
[bt-type="link"][bt-opt-button-style="stroke"] .bt-button_background::before {
    opacity: 0;
    background-color: var(--bt--button-border-color);
}
[bt-type="link"][bt-opt-button-style="stroke"] .bt-button_background::after {
    box-shadow: inset 0 0 0 var(--bt--button-border-width) var(--bt--button-border-color);
}

[bt-type="link"] .bt-button_text-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

[bt-type="link"] .bt-button_link {
    position: absolute;
    inset: 0;
}

[bt-type="link"] .bt-button_title {
    font-weight: 600;
    font-size: 1.125em;
    line-height: 1.3888em;
}

[bt-type="link"] .bt-button_description {
    font-size: 0.875em;
    line-height: 1.4286em;
}

[bt-type="link"] .bt-button_text-wrapper .bt-button_title + .bt-button_description {
    margin-top: 5px;
}

[bt-type="link"] .bt-button_icon {
    flex-shrink: 0;
    line-height: 0;
}

[bt-type="link"] .bt-button.image .bt-button_icon img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}

[bt-type="link"] .bt-button:not(.default) .bt-button_text-wrapper{
    text-align: left;
}

[bt-type="link"] .bt-button:not(.default) .bt-button_icon {
    margin-right: 20px;
}

[bt-type="link"] .bt-button.right:not(.default) {
    flex-direction: row-reverse;
    justify-content: space-between;
}

[bt-type="link"] .bt-button.right:not(.default) .bt-button_icon {
    justify-content: right;
    margin: 0 0 0 20px;
    max-width: 64px;
    max-height: 64px;
}

[bt-type="link"] .bt-button.icon .bt-button_icon,
[bt-type="link"] .bt-button.emoji .bt-button_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

[bt-type="link"] .bt-button.icon .bt-button_icon {
    font-size: 28px;
    line-height: 28px;
}

[bt-type="link"] .bt-button.emoji .bt-button_icon  {
    line-height: 40px;
    font-size: 28px;
}

[bt-type="link"] .bt-button.emoji .bt-button_space,
[bt-type="link"] .bt-button.image .bt-button_space,
[bt-type="link"] .bt-button.icon .bt-button_space {
    margin-left: 20px;
    flex-shrink: 0;
}

[bt-type="link"] .bt-button.emoji .bt-button_space,
[bt-type="link"] .bt-button.icon .bt-button_space {
    width: 32px;
    height: 32px;
}

[bt-type="link"] .bt-button.image .bt-button_space {
    width: 64px;
    height: 64px;

}

[bt-type="link"] .bt-button .bt-button_text-wrapper.text-align_center {
    text-align: center;
}

[bt-type="link"] .bt-button .bt-button_text-wrapper.text-align_left {
    text-align: left;
}

[bt-type="link"] .bt-button .bt-button_text-wrapper.text-align_right {
    text-align: right;
}