.bxclub-answers,
.bxclub-answers *,
.bxclub-answers *::before,
.bxclub-answers *::after {
    box-sizing: border-box;
}

.bxclub-answers {
    width: 100%;
    margin-top: 24px;
    color: #20242c;
    font-family: "Montserrat", Arial, sans-serif;
}

.bxclub-answers a {
    color: inherit;
    text-decoration: none;
}

.bxclub-answers button {
    font: inherit;
}

.bxclub-answers__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.bxclub-answers__title {
    margin: 0;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -.025em;
}

.bxclub-answers__title span {
    color: #8b929d;
}

.bxclub-answers__sort {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: #e8ebf0;
    border-radius: 13px;
}

.bxclub-answers__sort-button {
    min-height: 40px;
    padding: 0 15px;
    color: #69717d;
    font-weight: 600;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.bxclub-answers__sort-button:hover,
.bxclub-answers__sort-button.is-active {
    color: #20242c;
    background: #fff;
    box-shadow: 0 3px 10px rgba(32, 36, 44, .06);
}

.bxclub-answers__list {
    display: grid;
    gap: 14px;
}

.bxclub-answer {
    position: relative;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(27, 36, 52, .045);
}

.bxclub-answer--accepted {
    border-color: rgba(32, 164, 100, .38);
    box-shadow: inset 4px 0 0 #20a464, 0 8px 28px rgba(27, 36, 52, .045);
}

.bxclub-answer__solution {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    margin-bottom: 16px;
    color: #168451;
    font-size: 13px;
    font-weight: 800;
    background: #eaf8f1;
    border-radius: 999px;
}

.bxclub-answer__header,
.bxclub-answer__author,
.bxclub-answer__author-line,
.bxclub-answer__footer,
.bxclub-answer__actions {
    display: flex;
    align-items: center;
}

.bxclub-answer__header,
.bxclub-answer__footer {
    justify-content: space-between;
}

.bxclub-answer__author {
    min-width: 0;
    gap: 12px;
}

.bxclub-answer__avatar {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    overflow: hidden;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #1677ff, #7559ff);
    border-radius: 50%;
}

.bxclub-answer__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bxclub-answer__author-info {
    min-width: 0;
}

.bxclub-answer__author-line {
    flex-wrap: wrap;
    gap: 8px;
}

.bxclub-answer__author-name {
    overflow: hidden;
    font-size: 15px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bxclub-answer__author-name:hover {
    color: #1677ff;
}

.bxclub-answer__date {
    color: #9299a3;
    font-size: 13px;
}

.bxclub-answer__badge {
    display: inline-flex;
    padding: 4px 8px;
    margin-top: 4px;
    color: #1677ff;
    font-size: 11px;
    font-weight: 750;
    background: #eaf3ff;
    border-radius: 7px;
}

.bxclub-answer__menu {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: #959ca6;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.bxclub-answer__menu:hover {
    color: #1677ff;
    background: #eaf3ff;
}

.bxclub-answer__layout {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 17px;
    margin-top: 20px;
}

.bxclub-answer__rating {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2px;
}

.bxclub-answer__vote {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: #9aa1ab;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.bxclub-answer__vote:hover,
.bxclub-answer__vote.is-active {
    color: #1677ff;
    background: #eaf3ff;
}

.bxclub-answer__vote[data-answer-vote-button="down"].is-active {
    color: #e15c46;
    background: #fff0ed;
}

.bxclub-answer__rating-value {
    min-width: 28px;
    color: #5e6672;
    font-weight: 750;
    text-align: center;
}

.bxclub-answer__main {
    min-width: 0;
}

.bxclub-answer__text {
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.75;
}

.bxclub-answer__text p:first-child {
    margin-top: 0;
}

.bxclub-answer__text p:last-child {
    margin-bottom: 0;
}

.bxclub-answer__text pre {
    overflow-x: auto;
    padding: 18px;
    color: #e7edf5;
    background: #111827;
    border-radius: 13px;
}

.bxclub-answer__text code {
    padding: .15em .4em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .92em;
    background: #f0f2f5;
    border-radius: 5px;
}

.bxclub-answer__text pre code {
    padding: 0;
    background: transparent;
}

.bxclub-answer__footer {
    gap: 16px;
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid #edf0f3;
}

.bxclub-answer__actions {
    flex-wrap: wrap;
    gap: 5px;
}

.bxclub-answer__action {
    min-height: 34px;
    padding: 7px 9px;
    color: #727a86;
    font-size: 13px;
    font-weight: 650;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.bxclub-answer__action:hover {
    color: #1677ff;
    background: #eaf3ff;
}

.bxclub-answers__empty {
    display: grid;
    min-height: 250px;
    padding: 34px;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #8c939e;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 20px;
}

.bxclub-answers__empty-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 4px;
    place-items: center;
    color: #1677ff;
    background: #eaf3ff;
    border-radius: 50%;
}

.bxclub-answers__empty strong {
    color: #20242c;
    font-size: 20px;
}

@media (max-width: 760px) {
    .bxclub-answers__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .bxclub-answers__sort {
        width: 100%;
    }

    .bxclub-answers__sort-button {
        flex: 1;
        padding: 0 10px;
        font-size: 13px;
    }

    .bxclub-answer {
        padding: 18px;
        border-radius: 16px;
    }

    .bxclub-answer__layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bxclub-answer__rating {
        align-items: center;
        flex-direction: row;
        order: 2;
    }

    .bxclub-answer__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
.bxclub-answer__comments-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    border-radius: 999px;
    background: #eef3fa;
    color: #647084;
    font-size: 11px;
    font-weight: 750;
}

.bxclub-answer__action[aria-expanded="true"] {
    color: #438ef0;
}

.bxclub-answer__action[aria-expanded="true"] .bxclub-answer__comments-count {
    background: #e5f0ff;
    color: #438ef0;
}

