/* 帮助中心文章详情页 */
.help-detail-main {
    padding: 16px 0 70px;
    background: #f3f6ff;
}

.help-detail-section {
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    margin-bottom: 0;
    background: transparent;
}

.help-detail-section > .news_l {
    width: auto;
    min-width: 0;
    flex: 1;
    padding: 28px 20px 24px;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

.help-detail-section > .news_r {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 320px;
    flex: 0 0 320px;
    background: transparent !important;
}

.news_title {
    padding: 0 0 18px;
    border-bottom: 1px solid #edf0f5;
}

.news_title h1 {
    font-size: 28px;
    line-height: 36px;
    color: #30343b;
}

.article-meta {
    align-items: center;
    justify-content: flex-start !important;
    gap: 30px;
    margin-top: 14px !important;
}

.article-meta p {
    color: #a4a6ab;
    font-size: 12px;
    line-height: 18px;
}

.article-meta-views {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400 !important;
}

.article-meta-views img {
    width: 14px;
    height: 11px;
    opacity: .7;
}

.news_content {
    padding: 20px 0;
    color: #333;
    font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

.news_content * {
    font-family: inherit;
    font-weight: inherit;
}

.news_content p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.9;
}

.news_content h2,
.news_content h3 {
    font-weight: 700;
    scroll-margin-top: 20px;
}

.news_content strong,
.news_content b {
    font-weight: 700;
}

.news_content h2 {
    margin: 28px 0 12px;
    font-size: 20px;
    line-height: 30px;
}

.news_content h3 {
    margin: 22px 0 10px;
    font-size: 17px;
    line-height: 27px;
}

.news_content img {
    max-width: 100%;
    height: auto !important;
    margin: 18px auto;
}

.news_zan {
    align-items: center;
    gap: 14px;
}

.create-now-btn,
.zan_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 141px;
    height: 41px;
    border-radius: 21px;
    line-height: normal;
    box-sizing: border-box;
    font-size: 14px;
}

.create-now-btn {
    background: #2866f4;
    color: #fff;
}

.create-now-btn:hover {
    color: #fff;
    background: #1f57dc;
}

.zan_btn {
    gap: 6px;
    border: 1px solid #2866f4;
    background: #fff;
    color: #2866f4;
}

.zan_btn img {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    vertical-align: middle;
}

.news_zan .add {
    right: 58px;
    left: auto;
}

.article-toc {
    margin: 0;
    padding: 16px 16px 12px;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

.article-toc h2 {
    margin: 0 0 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0f5;
    color: #30343b;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.article-toc-list li {
    float: none;
    width: 100%;
    height: auto;
    padding: 0;
    text-align: left;
}

.article-toc-list a {
    display: block;
    overflow: hidden;
    padding: 6px 0;
    color: #69717d;
    font-size: 13px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-toc-list a:hover,
.article-toc-list a.active {
    color: #2866f4;
}

.article-toc-h3 a {
    padding-left: 16px;
}

.help-detail-section .article,
.help-detail-section .recommend_tag {
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
}

.help-detail-section .recommend_tag {
    margin-top: 0;
}

.help-detail-section .article_item .img {
    display: none;
}

.help-detail-section .article_item .content {
    width: 100% !important;
}

.help-detail-section .article_item .seeNum img {
    width: 14px;
    height: 11px;
}

@media (max-width: 767px) {
    .help-detail-main {
        padding: 12px 0 36px;
    }

    .help-detail-section {
        display: flex;
        flex-direction: column;
    }

    .help-detail-section > .news_l,
    .help-detail-section > .news_r {
        width: 100%;
    }

    .help-detail-section > .news_l {
        padding: 20px 16px;
    }

    .help-detail-section > .news_r {
        flex: none;
    }

    .news_title h1 {
        font-size: 21px;
        line-height: 31px;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .news_content,
    .news_content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .article-toc {
        margin: 0;
    }
}

/* 富文本及详情双栏在平板、手机端自适应 */
.news_content,
.news_content * {
    box-sizing: border-box;
}

.news_content section,
.news_content iframe,
.news_content video,
.news_content embed,
.news_content object {
    max-width: 100% !important;
}

.news_content iframe,
.news_content video {
    width: 100% !important;
}

.news_content table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.news_content pre,
.news_content code {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.news_content pre {
    overflow-x: auto;
    white-space: pre-wrap;
}

.news_content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 900px) {
    .help-detail-main {
        padding: 12px 0 40px;
    }

    .help-detail-section {
        display: flex;
        gap: 14px;
        flex-direction: column;
    }

    .help-detail-section > .news_l,
    .help-detail-section > .news_r {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .help-detail-section > .news_l {
        padding: 24px 20px;
    }

    .article-toc-list a {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .dialog_content {
        width: calc(100% - 32px);
        max-width: 500px;
    }

    .submit {
        display: block;
        left: auto;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .help-detail-section > .news_l {
        padding: 20px 15px;
    }

    .news_title h1 {
        font-size: 22px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .article-meta {
        align-items: flex-start;
        gap: 6px;
        flex-direction: column;
    }

    .news_content,
    .news_content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .news_content img {
        display: block;
    }

    .news_zan {
        width: 100%;
        gap: 10px;
    }

    .create-now-btn,
    .zan_btn {
        width: calc(50% - 5px);
        max-width: 141px;
    }

    .news_zan .add {
        display: none;
    }

    .dialog_content {
        height: auto;
        min-height: 320px;
        padding-bottom: 20px;
    }
}
