/* 文章详情页样式 */
.section {
    overflow: hidden;
    background-color: #FFFFFF !important;
    color: #202b47;
    padding: 2rem 0 !important;
}

a {
    text-decoration: none !important;
}

/* 社交分享图标 */
#shareBlock .fa-stack svg {
    width: 2rem;
    height: 2rem;
}

/* 文章正文 */
.article-body p,
.article-body div {
    margin-bottom: 1rem;
    color: #305082;
    font-size: 16px;
}

/* 分页链接 */
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    margin-bottom: 10px;
}

.page-link:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination {
    display: block;
}

.pagination li a {
    display: inline-block;
    text-align: center;
    line-height: 20px;
    background: #fff;
    color: rgba(48, 80, 130, 0.7);
    height: 31px;
    min-width: 31px;
    padding: 6px 3px;
}

/* 文章底部相关文章 */
.article-bottom {
    margin-top: 40px;
}

.article-bottom img {
    width: 100%;
}

.article-bottom a {
    color: #00AEEF;
}

/* 文章标题样式 */
.article-title {
    font-size: 34px;
    font-weight: 700;
    padding: 20px 0;
}

/* 强调样式 */
strong, b {
    font-weight: bold;
}

/* 文章内容重置样式 */
#div-to-reset-styles ul,
#div-to-reset-styles ol {
    margin: auto;
    padding-left: 35px;
    list-style: disc;
}

#div-to-reset-styles ul {
    list-style: disc;
}

#div-to-reset-styles ol {
    list-style: decimal;
}

#div-to-reset-styles blockquote {
    padding-left: 20px;
    padding-right: 8px;
    border-left-width: 5px;
    margin-left: 30px;
}

blockquote {
    font-style: italic;
    padding: 2px 0;
    border-style: solid;
    border-color: #ccc;
    border-width: 0;
}

#div-to-reset-styles hr {
    border-top: solid 3px #415076;
    box-shadow: none;
}

#div-to-reset-styles h2 {
    font-size: 20px;
}

#div-to-reset-styles h3 {
    font-size: 15px;
}

/* 面包屑导航 */
#article_info .breadcrumb {
    background-color: initial;
    margin-bottom: 0;
    padding: 0.75rem 0;
}

#article_info .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

#article_info .breadcrumb a {
    color: #000000;
}

#article_info .breadcrumb a:hover {
    color: #00AEEF;
}

/* 按钮样式 */
#article_info .btn-grad {
    color: #007bff;
    background: #fff;
    font-size: 16px;
    letter-spacing: 0.1em;
    min-width: 120px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    transition: all 0.5s;
    display: inline-block;
    text-align: center;
}

#article_info .btn-grad:hover {
    background: #00AEEF;
    color: #FFFFFF;
}

#article_info .apply-btn {
    background: linear-gradient(to right, #2b56f5 0%, #46bdf4 100%);
    width: 120px;
    height: 34px;
    padding: 5px 15px;
    color: #FFFFFF;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    border: 2px #00AEEF solid;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

#article_info .section .apply-btn {
    width: 100%;
    height: 40px;
    border-radius: 5px;
}

/* 粘性摘要 */
#article_info .sticky-summary {
    z-index: 999;
}

#article_info .sticky-summary h3 {
    margin-top: 0;
}

#article_info .sticky-summary a {
    display: block;
    font-weight: bold;
    padding: 5px 0;
    color: #000000;
    text-decoration: none;
}

#article_info .sticky-summary a.active,
#article_info .sticky-summary a:hover {
    color: #00AEEF;
    text-decoration: underline;
}

/* 桌面端响应式 */
@media (min-width: 1024px) {
    .article-title {
        font-size: 34px;
        font-weight: 700;
        padding: 20px 0;
    }

    .ath-body {
        padding: 32px 40px 40px;
    }

    #article_info .breadcrumb {
        font-size: 12px;
    }

    #article_info .abstract-title {
        border-bottom: 1px solid #b0bec5;
        color: #263238;
        font-size: 1.125rem;
        font-weight: 700;
        padding-bottom: 1rem;
    }

    #article_info .abstract-h2 {
        border-bottom: 1px solid #eceff1;
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    #article_info .abstract-h3 {
        border-bottom: none;
        list-style-position: initial;
        list-style-type: disc;
        margin-left: 1rem;
        padding-bottom: 0;
    }

    #article_info .sticky-summary {
        max-height: 80vh;
        overflow-y: auto;
        padding: 10px;
        border-radius: 5px;
    }

    #article_info .sticky-summary.is-sticky {
        position: fixed;
        top: 120px;
    }

    #article_info .expand-btn {
        display: none;
    }
}

/* 移动端响应式 */
@media (max-width: 1023px) {
    .article-title {
        font-size: 22px;
        font-weight: 700;
        padding: 20px 0;
    }
    .ath-body { padding: 18px 25px 25px; }

    #article_info {
        min-height: 670px;
        padding: 0;
    }

    #article_info .breadcrumb {
        font-size: 10px;
    }

    #article_info .abstract-title {
        display: none;
    }

    #article_info .abstract-h2 {
        border-bottom: 1px solid #eceff1;
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    #article_info .abstract-h3 {
        border-bottom: none;
        list-style-position: initial;
        list-style-type: disc;
        margin-left: 1rem;
        padding-bottom: 0;
    }

    #article_info .sticky-summary {
        display: none;
        position: fixed;
        top: 4.125rem !important;
        left: 0;
        right: 0;
        width: 100% !important;
        max-height: 60vh;
        background-color: #f9f9f9;
        padding: 0 20px;
    }

    #article_info .sticky-summary h3 {
        display: none;
    }

    #article_info .sticky-summary.is-expanded {
        display: block;
    }

    #article_info .sticky-summary a {
        display: none;
    }

    #article_info .sticky-summary a.active {
        display: block;
    }

    #article_info .sticky-summary .expand-btn {
        position: absolute;
        top: 0;
        right: 20px;
        max-height: 34px;
        height: 100%;
        cursor: pointer;
        display: inline-block;
    }

    #article_info .sticky-summary .expand-btn img {
        height: 100%;
        max-height: 20px;
        width: 20px;
        margin: 7px 0 7px;
    }

    #article_info .expand-btn.rotated {
        transform: rotate(180deg);
    }

    #article_info .sticky-summary.is-expanded a {
        display: block;
    }
}
