
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}


ul {
    list-style: none;
}

/* 品牌主色调 */
:root {
    --brand-blue: #2d9cf5;
    --brand-blue-dark: #1a8bf2;
}


/* =========================================
   2. 新闻头部 (标题 + 底部 Meta 信息)
   ========================================= */
.article-header {
    padding: 48px 0 32px;
    text-align: center;
    background-color: #fbfbfd !important;
}

.article-title {
    font-size: 26px; /* 缩小了标题字号 */
    font-weight: 700;
    line-height: 1.3;
    color: #1d1d1f;
    margin: 0 auto 20px;
    letter-spacing: -0.02em;
}

/* Meta 信息区 */
.article-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px; /* 缩小了 Meta 字号 */
    color: #86868b;
    padding-top: 20px;
    border-top: 1px solid #e8e8ed;
}

.meta-category {
    background: #e8f2ff;
    color: var(--brand-blue);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    font-size: 14px;
}

/* =========================================
   3. 新闻正文区
   ========================================= */
.article-card {
    background: #ffffff;
    margin: 0 auto 32px;
    padding: 48px 56px; /* 缩小了卡片内边距 */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* 富文本内容约束 (Prose 模式) */
.rich-text {
    font-size: 15px; /* 正文调整为 15px */
    color: #333333;
    line-height: 1.8;
    word-break: break-word;
}

.rich-text p {
    margin-bottom: 20px;
}

.rich-text strong {
    color: #1d1d1f;
    font-weight: 600;
}

.rich-text h2 {
    font-size: 20px; /* 小标题调整为 20px */
    font-weight: 700;
    color: #1d1d1f;
    margin: 40px 0 20px;
    padding-left: 14px;
    border-left: 4px solid var(--brand-blue);
    line-height: 1.3;
}

.rich-text h2:first-child {
    margin-top: 0;
}

/* 列表排版 */
.custom-list {
    margin-bottom: 28px;
}

.custom-list > li {
    margin-bottom: 20px;
}

.list-title {
    font-size: 16px; /* 列表标题调整为 16px */
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #e8f2ff;
    color: var(--brand-blue);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.sub-list {
    padding-left: 30px;
    color: #6e6e73;
}

.sub-list li {
    position: relative;
    margin-bottom: 6px;
    font-size: 14px; /* 子列表调整为 14px */
}

.sub-list li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 9px;
    width: 5px;
    height: 5px;
    background: #d2d2d7;
    border-radius: 50%;
}

/* 图片约束 */
.rich-text img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 28px auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* =========================================
   4. 上一篇 / 下一篇导航
   ========================================= */
.article-pagination {
    margin: 0 auto 64px;
    background: #ffffff;
    padding: 24px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.pagination-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 46%;
    transition: all 0.2s;
}

.pagination-item.next {
    text-align: right;
    align-items: flex-end;
}

.pagination-label {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-title {
    font-size: 13px;
    font-weight: 400;
    color: #1d1d1f;
    line-height: 1.5;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination-item:hover .pagination-title {
    color: var(--brand-blue);
}

.pagination-item.prev:hover .pagination-label i {
    transform: translateX(-4px);
}

.pagination-item.next:hover .pagination-label i {
    transform: translateX(4px);
}

.pagination-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========== 响应式适配 ========== */
@media (max-width: 992px) {
    .brand-slogan, .lang-switch, .search-box, .header-nav {
        display: none;
    }

    .header-top {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f2;
    }

    .brand-logo {
        font-size: 22px;
    }

    .brand-logo img {
        height: 24px;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 32px 16px 24px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-meta-bottom {
        gap: 12px;
        font-size: 12px;
        padding-top: 16px;
        margin-top: 16px;
    }

    .article-card {
        margin: 0 16px 20px;
        padding: 28px 20px;
        border-radius: 16px;
    }

    .rich-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .rich-text h2 {
        font-size: 18px;
        margin: 32px 0 16px;
        padding-left: 10px;
    }

    .rich-text p {
        margin-bottom: 16px;
    }

    .list-title {
        font-size: 15px;
    }

    .sub-list {
        padding-left: 24px;
    }

    .sub-list li {
        font-size: 13px;
    }

    .article-pagination {
        flex-direction: column;
        margin: 0 16px 32px;
        padding: 20px;
        border-radius: 16px;
        gap: 20px;
    }

    .pagination-item {
        max-width: 100%;
    }

    .pagination-item.next {
        text-align: left;
        align-items: flex-start;
    }
}

