/* ============ 资讯中心（文章列表）专属样式 ============ */
.list-page-section {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.list-page-section .list-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.list-page-section .list-bg-deco>* {
    position: absolute;
}

.list-page-section .list-orb {
    border-radius: 50%;
    filter: blur(80px);
}

.list-page-section .list-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -100px;
    background: radial-gradient(circle at 30% 30%,
            color-mix(in srgb, var(--accent-color), #fff 10%) 0%,
            color-mix(in srgb, var(--accent-color), transparent 60%) 50%,
            transparent 100%);
    opacity: 0.22;
    animation: list-orb-float 14s ease-in-out infinite alternate;
}

.list-page-section .list-orb-2 {
    width: 360px;
    height: 360px;
    bottom: -100px;
    left: -80px;
    background: radial-gradient(circle at 70% 70%,
            #8B5CF6 0%,
            color-mix(in srgb, var(--accent-color), transparent 70%) 55%,
            transparent 100%);
    opacity: 0.16;
    animation: list-orb-float 18s ease-in-out infinite alternate-reverse;
}

@keyframes list-orb-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -20px) scale(1.06);
    }
}

.list-page-section .list-grid {
    inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--accent-color), transparent 93%) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 93%) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 15%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 70%);
    opacity: 0.8;
}

.list-page-section>.container {
    position: relative;
    z-index: 1;
}

/* 面包屑 */
.list-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
    margin-bottom: 1.5rem;
}

.list-breadcrumb a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    text-decoration: none;
    transition: color 0.3s ease;
}

.list-breadcrumb a:hover {
    color: var(--accent-color);
}

.list-breadcrumb .sep {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    font-size: 11px;
}

.list-breadcrumb .current {
    color: var(--accent-color);
    font-weight: 500;
}

/* 文章列表卡片 */
.article-list-item {
    display: flex;
    gap: 1.5rem;
    background-color: var(--surface-color);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(93, 87, 244, 0.08);
    box-shadow: 0 6px 24px rgba(93, 87, 244, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.06) 0%, transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(93, 87, 244, 0.05) 0%, transparent 40%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.article-list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), #8B5CF6);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.article-list-item:hover {
    transform: translateY(-4px);
    border-color: rgba(93, 87, 244, 0.18);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.11) 0%, transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(93, 87, 244, 0.09) 0%, transparent 40%);
    box-shadow: 0 14px 40px rgba(93, 87, 244, 0.10), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.article-list-item:hover::before {
    transform: scaleY(1);
}

.article-list-thumb {
    width: 240px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(93, 87, 244, 0.06);
    box-shadow: 0 4px 14px rgba(93, 87, 244, 0.08);
}

.article-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    transition: transform 0.4s ease;
}

.article-list-item:hover .article-list-thumb img {
    transform: scale(1.05);
}

.article-list-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.article-list-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.article-list-category {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--accent-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
}

.article-list-date {
    font-size: 12px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-list-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.5;
    margin: 0 0 0.6rem;
    transition: color 0.3s ease;
}

.article-list-item:hover .article-list-title {
    color: var(--accent-color);
}

.article-list-excerpt {
    font-size: 13.5px;
    line-height: 1.75;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list-meta-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 12px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.article-list-meta-bottom .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-list-meta-bottom .meta-item i {
    color: var(--accent-color);
    font-size: 13px;
}

.article-list-more {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-color);
    transition: gap 0.3s ease;
}

.article-list-item:hover .article-list-more {
    gap: 8px;
}

/* 分页（原生 paginate_links 输出 .page-numbers） */
.list-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.list-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    background-color: var(--surface-color);
    border: 1px solid rgba(93, 87, 244, 0.08);
    box-shadow: 0 3px 12px rgba(93, 87, 244, 0.04);
    transition: all 0.3s ease;
    text-decoration: none;
}

.list-pagination .page-numbers:hover {
    color: var(--accent-color);
    border-color: rgba(93, 87, 244, 0.20);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(93, 87, 244, 0.08);
}

.list-pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--accent-color), #8B5CF6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(93, 87, 244, 0.22);
}

.list-pagination .page-numbers.dots {
    pointer-events: none;
    opacity: 0.5;
}

.list-pagination .page-numbers.disabled {
    opacity: 0.45;
    pointer-events: none;
    background-color: color-mix(in srgb, var(--surface-color), transparent 45%);
    box-shadow: none;
}

/* 侧边栏 */
.list-sidebar-card {
    background-color: var(--surface-color);
    border-radius: 14px;
    padding: 1.75rem;
    border: 1px solid rgba(93, 87, 244, 0.08);
    box-shadow: 0 6px 24px rgba(93, 87, 244, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(93, 87, 244, 0.06) 0%, transparent 40%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%;
    margin-bottom: 1.5rem;
}

.sidebar-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(93, 87, 244, 0.10);
    position: relative;
}

.sidebar-card-title::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #8B5CF6);
    border-radius: 3px;
}

/* 搜索框 */
.list-search-box {
    position: relative;
}

.list-search-box input {
    width: 100%;
    height: 44px;
    padding: 0 46px 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(93, 87, 244, 0.12);
    background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
    color: var(--default-color);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.list-search-box input::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.list-search-box input:focus {
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(93, 87, 244, 0.08);
}

.list-search-box .search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-color), #8B5CF6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-search-box .search-btn:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 12px rgba(93, 87, 244, 0.25);
}

/* 文章分类 */
.list-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13.5px;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.list-category-item:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 93%);
    color: var(--accent-color);
}

.list-category-item.active {
    background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    font-weight: 600;
}

.list-category-item .cat-count {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
}

/* 热门文章排行 */
.hot-article-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(93, 87, 244, 0.08);
    text-decoration: none;
}

.hot-article-item:last-child {
    border-bottom: none;
}

.hot-article-item .hot-rank {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
}

.hot-article-item:nth-child(1) .hot-rank,
.hot-article-item:nth-child(2) .hot-rank,
.hot-article-item:nth-child(3) .hot-rank {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: #fff;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.25);
}

.hot-article-item .hot-body {
    flex: 1;
    min-width: 0;
}

.hot-article-item .hot-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.55;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.hot-article-item:hover .hot-title {
    color: var(--accent-color);
}

.hot-article-item .hot-meta {
    font-size: 11px;
    color: color-mix(in srgb, var(--default-color), transparent 45%);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 标签云 */
.list-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.list-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: color-mix(in srgb, var(--accent-color), transparent 20%);
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
    border: 1px solid rgba(93, 87, 244, 0.10);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.list-tag:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* 侧边联系卡片 */
.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    padding: 0.6rem 0;
}

.sidebar-contact-item .sci-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-right: 10px;
}

.sidebar-contact-item .sci-body {
    flex: 1;
    min-width: 0;
}

.sidebar-contact-item .sci-label {
    font-size: 11px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 2px;
}

.sidebar-contact-item .sci-value {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--heading-color);
}

.sidebar-contact-qr-wrap {
    margin-top: 1rem;
    padding: 1.25rem;
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 12px;
    border: 1px solid rgba(93, 87, 244, 0.10);
    text-align: center;
}

.sidebar-contact-qr {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
    border-radius: 10px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(93, 87, 244, 0.12);
}

.sidebar-contact-qr-label {
    font-size: 12px;
    color: color-mix(in srgb, var(--accent-color), transparent 20%);
    font-weight: 500;
}

/* 文章详情正文 */
.article-content {
    font-size: 15px;
    line-height: 1.9;
    color: var(--default-color);
}

.article-content p {
    margin-bottom: 1em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--heading-color);
    margin: 1.5em 0 0.6em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0.5em 0;
}

.article-content a {
    color: var(--accent-color);
}

.article-content ul,
.article-content ol {
    margin: 0 0 1em 1.5em;
}

@media (max-width: 991.98px) {
    .article-list-thumb {
        width: 200px;
    }
}

@media (max-width: 767.98px) {
    .list-page-section {
        padding: 110px 0 60px;
    }

    .article-list-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .article-list-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .article-list-thumb img {
        aspect-ratio: 16 / 9;
    }

    .article-list-title {
        font-size: 1.05rem;
    }

    .article-list-excerpt {
        -webkit-line-clamp: 3;
    }
}

/* 相关文章（与静态版 info.html 样式一致） */
.article-sidebar-card {
    background-color: var(--surface-color);
    border-radius: 14px;
    padding: 1.75rem;
    border: 1px solid rgba(93, 87, 244, 0.08);
    box-shadow: 0 6px 24px rgba(93, 87, 244, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(93, 87, 244, 0.06) 0%, transparent 40%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%;
    margin-bottom: 1.5rem;
}

.related-article-item {
    display: flex;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(93, 87, 244, 0.08);
    text-decoration: none;
}

.related-article-item:last-child {
    border-bottom: none;
}

.related-article-item .rai-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(93, 87, 244, 0.06);
}

.related-article-item .rai-body {
    flex: 1;
    min-width: 0;
}

.related-article-item .rai-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.5;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-article-item:hover .rai-title {
    color: var(--accent-color);
}

.related-article-item .rai-date {
    font-size: 11.5px;
    color: color-mix(in srgb, var(--default-color), transparent 45%);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 文章目录 TOC */
.article-toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-toc li {
    margin-bottom: 0.6rem;
}

.article-toc a {
    display: flex;
    align-items: flex-start;
    font-size: 13.5px;
    line-height: 1.6;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.article-toc a:hover {
    color: var(--accent-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
    border-left-color: var(--accent-color);
}

.article-toc .toc-num {
    color: var(--accent-color);
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}

/* 正文标题锚点滚动偏移（避免被固定头部遮挡） */
.article-content h2,
.article-content h3 {
    scroll-margin-top: 110px;
}