[bt-type="avatar"] .bt-avatar_wrap{
    display: flex;
    flex-direction: column;
}

[bt-type="avatar"] .bt-avatar_text-wrap{
    width: 100%;
}

[bt-type="avatar"] .bt-avatar_text-wrap * {
    margin: 0 !important;
    padding: 0 !important;
}

[bt-type="avatar"] .bt-avatar_image {
    object-fit: cover;
}

[bt-type="avatar"] .bt-avatar_text-wrap > :first-child {
    margin-bottom: 11px !important;
}

[bt-type="avatar"] .bt-avatar_text-wrap > :last-child {
    margin-bottom: 0 !important;
}

[bt-type="avatar"] .bt-avatar_text-wrap > h4 {
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    font-family: var(--bt--text-font);
}

[bt-type="avatar"] .bt-content {
    transition: width .3s;
}

[bt-type="avatar"][bt-template="template2"] .bt-avatar_image-wrap,
[bt-type="avatar"][bt-template="template3"] .bt-avatar_image-wrap {
    border-radius: 6px;
    max-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

[bt-type="avatar"][bt-template="template2"] .bt-avatar_image-wrap::before,
[bt-type="avatar"][bt-template="template3"] .bt-avatar_image-wrap::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 100%;
}

[bt-type="avatar"][bt-template="template2"][bt-opt-stick-to-border="1"]:first-child .bt-avatar_image-wrap,
[bt-type="avatar"][bt-template="template3"][bt-opt-stick-to-border="1"]:first-child .bt-avatar_image-wrap {
    border-radius: 0;
}

[bt-type="avatar"][bt-template="template2"][bt-opt-stick-to-border="1"]:first-child:not([bt-opt-text-align-v="top"]) .bt-content,
[bt-type="avatar"][bt-template="template3"][bt-opt-stick-to-border="1"]:first-child .bt-content {
    --bt--content-space-top: 0;
}


.blocktypes-wrapper.mobile [bt-type="avatar"][bt-template="template2"][bt-opt-stick-to-border="1"] .bt-avatar_image-wrap,
.blocktypes-wrapper.mobile [bt-type="avatar"][bt-template="template3"][bt-opt-stick-to-border="1"] .bt-avatar_image-wrap{
    width: calc(100% + 40px);
    margin-left: -20px
}

.blocktypes-wrapper.mobile [bt-type="avatar"][bt-template="template2"][bt-opt-stick-to-border="1"] .bt-avatar_image-wrap,
.blocktypes-wrapper.mobile [bt-type="avatar"][bt-template="template3"][bt-opt-stick-to-border="1"] .bt-avatar_image-wrap{
    border-radius: 0;
}

