/* Вопросы и ответы: редакционный список, вопрос посетителя и ответ специалиста. */

body.st-questions-v4 .qa4-question-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line, #e8e8ed);
    list-style: none;
}

body.st-questions-v4 .qa4-question-card {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 29px 0 30px;
    border: 0;
    border-bottom: 1px solid var(--line, #e8e8ed);
    border-radius: 0;
    background: transparent;
}

body.st-questions-v4 :where(.qa4-meta, .qa4-question-card header.meta) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 17px;
    margin-bottom: 14px;
    color: #756d82;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

body.st-questions-v4 .qa4-meta time {
    color: #756d80;
    font-variant-numeric: tabular-nums;
}

body.st-questions-v4 .qa4-topic {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 7px;
    background: #f1eefb;
    color: #73618e;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
}

body.st-questions-v4 .qa4-question-card :where(h2, h3) {
    max-width: 34ch;
    margin: 0 0 14px;
    color: var(--ink, #202333);
    font-size: clamp(22px, 2.05vw, 27px);
    font-weight: 600;
    line-height: 1.37;
    letter-spacing: -.035em;
    text-wrap: pretty;
    overflow-wrap: break-word;
}

body.st-questions-v4 .qa4-question-card :where(h2, h3) a,
body.st-questions-v4 .qa4-question-title {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

body.st-questions-v4 .qa4-question-card :where(h2, h3) a:hover,
body.st-questions-v4 .qa4-question-title:hover {
    color: var(--blue, #5146e5);
}

body.st-questions-v4 .qa4-question-card :where(.qa4-excerpt, .qa4-question-excerpt) {
    max-width: 76ch;
    margin: 0 0 19px;
    color: #77707f;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

body.st-questions-v4 .qa4-question-card footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    color: #756d80;
    font-size: 11px;
}

body.st-questions-v4 .qa4-question-card footer a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 36px;
    color: var(--blue, #5146e5);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    text-underline-offset: 4px;
}

body.st-questions-v4 .qa4-question-card footer a:hover {
    text-decoration: underline;
}

body.st-questions-v4 .qa4-question-card footer .st-icon {
    width: 17px;
    height: 17px;
    transition: transform .18s ease;
}

body.st-questions-v4 .qa4-question-card footer a:hover .st-icon {
    transform: translateX(3px);
}

body.st-questions-v4 .qa4-pagination,
body.st-questions-v4 .qa4-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

body.st-questions-v4 .qa4-pagination ul {
    margin: 0;
}

body.st-questions-v4 .qa4-pagination :where(a, span.page-numbers, button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid var(--line, #e8e8ed);
    border-radius: 10px;
    background: #fff;
    color: #736b82;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

body.st-questions-v4 .qa4-pagination a:hover {
    border-color: #d9d1f2;
    background: #f5f2ff;
    color: var(--blue, #5146e5);
}

body.st-questions-v4 .qa4-pagination :is([aria-current="page"], .current) {
    border-color: var(--blue, #5146e5);
    background: var(--blue, #5146e5);
    color: #fff;
}

body.st-questions-v4 .qa4-pagination .dots {
    min-width: 28px;
    padding-right: 3px;
    padding-left: 3px;
    border-color: transparent;
    background: transparent;
}

body.st-questions-v4 .qa4-question-panel {
    padding: 30px 34px;
    border: 1px solid #ebe8f0;
    border-radius: 22px;
    background: #f7f6fa;
}

body.st-questions-v4 .qa4-question-panel .qa4-eyebrow {
    margin-bottom: 17px;
    color: #81718f;
}

body.st-questions-v4 .qa4-question-content {
    color: #4d4659;
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

body.st-questions-v4 .qa4-question-content p + p {
    margin-top: 16px;
}

body.st-questions-v4 .qa4-answer {
    margin-top: 36px;
}

body.st-questions-v4 .qa4-answer-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line, #e8e8ed);
}

body.st-questions-v4 .qa4-answer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border-radius: 9px;
    background: #f0ecfd;
    color: #685194;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.6;
}

body.st-questions-v4 .qa4-answer-badge .st-icon {
    width: 17px;
    height: 17px;
}

body.st-questions-v4 .qa4-answer-author {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #796883;
    font-size: 12px;
    line-height: 1.7;
}
body.st-questions-v4 .qa4-answer-author strong {
    color: #665272;
    font-weight: 650;
}
body.st-questions-v4 .qa4-answer-content {
    color: #5d5668;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

body.st-questions-v4 .qa4-answer-content p {
    margin: 0 0 20px;
    font-size: inherit;
    line-height: inherit;
}

body.st-questions-v4 .qa4-answer-content :where(h2, h3, h4) {
    margin: 32px 0 17px;
    color: var(--ink, #202333);
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -.035em;
    text-wrap: balance;
}

body.st-questions-v4 .qa4-answer-content h2 {
    font-size: 28px;
}
body.st-questions-v4 .qa4-answer-content h3 {
    font-size: 23px;
}
body.st-questions-v4 .qa4-answer-content h4 {
    font-size: 18px;
}

body.st-questions-v4 .qa4-answer-content :where(ul, ol) {
    margin: 19px 0 26px;
    padding-left: 23px;
    list-style-position: outside;
}

body.st-questions-v4 .qa4-answer-content ul {
    list-style-type: disc;
}
body.st-questions-v4 .qa4-answer-content ol {
    list-style-type: decimal;
}
body.st-questions-v4 .qa4-answer-content li {
    margin-bottom: 11px;
    padding-left: 6px;
}
body.st-questions-v4 .qa4-answer-content li::marker {
    color: #8b79ad;
}

body.st-questions-v4 :where(.qa4-question-content, .qa4-answer-content) a {
    color: var(--blue, #5146e5);
    text-decoration: underline;
    text-decoration-color: #c9bfe4;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

body.st-questions-v4 .qa4-answer-content a:hover {
    color: var(--blue-dark, #3831b9);
    text-decoration-color: currentColor;
}

body.st-questions-v4 .qa4-answer-content :where(img, iframe, video, embed, object) {
    max-width: 100%;
}

body.st-questions-v4 .qa4-answer-content img {
    height: auto;
    object-fit: contain;
}

body.st-questions-v4 .qa4-answer-content figure {
    max-width: 100%;
    margin: 25px 0;
}

body.st-questions-v4 .qa4-answer-content table {
    display: block;
    max-width: 100%;
    margin: 25px 0;
    overflow-x: auto;
    border: 1px solid #e8e3ef;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 13px;
    font-size: 13px;
    scrollbar-width: thin;
}

body.st-questions-v4 .qa4-answer-content :where(th, td) {
    min-width: 150px;
    padding: 15px 18px;
    border: 0;
    border-bottom: 1px solid #ece7f1;
    text-align: left;
    vertical-align: top;
}

body.st-questions-v4 .qa4-answer-content th {
    background: #f4f1fb;
    color: #62516f;
}
body.st-questions-v4 .qa4-answer-content tr:last-child td {
    border-bottom: 0;
}

body.st-questions-v4 .qa4-notice {
    margin: 26px 0;
    padding: 19px 22px;
    border: 1px solid #eae5d6;
    border-radius: 12px;
    background: #faf9f3;
    color: #756b51;
    font-size: 12px;
    line-height: 1.85;
}

body.st-questions-v4 .qa4-help-card {
    padding: 28px;
    border: 1px solid #e4dcf5;
    border-radius: 22px;
    background: #f3effb;
}

body.st-questions-v4 .qa4-help-card > .st-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 23px;
    color: #8a72b6;
}

body.st-questions-v4 .qa4-help-card :where(h2, h3) {
    margin-bottom: 15px;
    color: #41334f;
    font-size: 25px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.04em;
}

body.st-questions-v4 .qa4-help-card p {
    margin-bottom: 24px;
    color: #756480;
    font-size: 13px;
    line-height: 1.8;
}

body.st-questions-v4 .qa4-help-card .qa4-button {
    width: 100%;
}

body.st-questions-v4 .qa4-related-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.st-questions-v4 .qa4-related-list li {
    margin: 0;
    border-bottom: 1px solid #ede9f1;
}
body.st-questions-v4 .qa4-related-list li:first-child {
    border-top: 1px solid #ede9f1;
}

body.st-questions-v4 .qa4-related-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    color: #70637e;
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
}

body.st-questions-v4 .qa4-related-list a:hover {
    color: var(--blue, #5146e5);
}
body.st-questions-v4 .qa4-related-list .st-icon {
    align-self: center;
    width: 16px;
    height: 16px;
}

body.st-questions-v4 .qa4-empty {
    padding: 36px;
    border: 1px solid var(--line, #e8e8ed);
    border-radius: 20px;
}
body.st-questions-v4 .qa4-empty p {
    margin: 13px 0 21px;
    color: #77707f;
}

@media (max-width: 600px) {
    body.st-questions-v4 .qa4-question-card {
        padding: 25px 0;
    }
    body.st-questions-v4 .qa4-question-card :where(h2, h3) {
        font-size: 23px;
        line-height: 1.35;
    }
    body.st-questions-v4 .qa4-question-card :where(.qa4-excerpt, .qa4-question-excerpt) {
        font-size: 13px;
    }
    body.st-questions-v4 .qa4-meta {
        gap: 7px 13px;
        font-size: 11px;
    }
    body.st-questions-v4 .qa4-question-panel {
        padding: 24px;
        border-radius: 19px;
    }
    body.st-questions-v4 .qa4-question-content {
        font-size: 15px;
    }
    body.st-questions-v4 .qa4-answer {
        margin-top: 29px;
    }
    body.st-questions-v4 .qa4-answer-content {
        font-size: 15px;
    }
    body.st-questions-v4 .qa4-answer-content h2 {
        font-size: 25px;
    }
    body.st-questions-v4 .qa4-answer-content h3 {
        font-size: 21px;
    }
    body.st-questions-v4 .qa4-help-card {
        padding: 25px;
    }
    body.st-questions-v4 .qa4-pagination {
        gap: 5px;
    }
    body.st-questions-v4 .qa4-pagination :where(a, span.page-numbers, button) {
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.st-questions-v4 .qa4-question-card footer .st-icon {
        transition: none;
        transform: none;
    }
}

body.st-questions-v4 .qa4-question-content .mcc-sign {
    margin: 0 0 16px;
    color: #756d80;
    font-size: 12px;
    line-height: 1.7;
}
