@charset "utf-8";
        /* ========== 页面顶部 ========== */
        .page-header {
            padding-bottom: 28px;
            margin-bottom: 32px;
            border-bottom: 2px solid #e8edf4;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
        }

        .page-title {
            font-size: 32px;
            font-weight: 600;
            letter-spacing: -0.3px;
            color: #0b1a2f;
        }

        .page-title span {
            color: #4a6cf7;
        }

        .total-count {
            font-size: 15px;
            font-weight: 400;
            color: #6b7a8f;
            background: #eef2f7;
            padding: 6px 18px;
            border-radius: 30px;
            letter-spacing: 0.2px;
            white-space: nowrap;
        }

        /* ========== 新闻列表 ========== */
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        /* ========== 单个新闻项 ========== */
        .news-item {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px 24px;
            background: #ffffff;
            border-radius: 14px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
            transition: background 0.25s ease, box-shadow 0.3s ease, transform 0.2s ease;
            border: 1px solid transparent;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }

        /* 让整个条目作为链接区域（提升点击体验） */
        .news-item-link {
            display: contents;
            /* 保持原有布局，不破坏flex结构 */;
        }

        /* 悬停效果 */
        .news-item:hover {
            background: #ffffff;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
            border-color: rgba(74, 108, 247, 0.12);
            transform: translateY(-1px);
        }

        /* ========== 序号 ========== */
        .news-index {
            flex-shrink: 0;
            width: 32px;
            font-size: 14px;
            font-weight: 500;
            color: #b0bed0;
            letter-spacing: 0.3px;
            text-align: right;
            transition: color 0.25s ease;
            pointer-events: none;
            /* 防止干扰点击 */;
        }

        .news-item:hover .news-index {
            color: #4a6cf7;
        }

        /* ========== 类别标签 ========== */
        .news-category {
            flex-shrink: 0;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            color: #4a6cf7;
            background: #eef3fe;
            padding: 4px 16px;
            border-radius: 30px;
            transition: background 0.25s ease, color 0.25s ease;
            white-space: nowrap;
            pointer-events: none;
            /* 防止干扰点击 */;
        }

        .news-item:hover .news-category {
            background: #4a6cf7;
            color: #ffffff;
        }

        /* 类别颜色变体 */
        .news-category.tech {
            color: #0b7c6b;
            background: #e4f4f0;
        }
        .news-item:hover .news-category.tech {
            background: #0b7c6b;
            color: #fff;
        }

        .news-category.business {
            color: #a45c2b;
            background: #f6eee7;
        }
        .news-item:hover .news-category.business {
            background: #a45c2b;
            color: #fff;
        }

        .news-category.science {
            color: #2d6a9f;
            background: #e3ecf6;
        }
        .news-item:hover .news-category.science {
            background: #2d6a9f;
            color: #fff;
        }

        .news-category.world {
            color: #8a4b7a;
            background: #f4eaf1;
        }
        .news-item:hover .news-category.world {
            background: #8a4b7a;
            color: #fff;
        }

        .news-category.sports {
            color: #b13e3e;
            background: #f6e8e8;
        }
        .news-item:hover .news-category.sports {
            background: #b13e3e;
            color: #fff;
        }

        /* ========== 标题 + 超链接 ========== */
        .news-title {
            flex: 1;
            font-size: 18px;
            font-weight: 500;
            color: #0b1a2f;
            letter-spacing: -0.2px;
            line-height: 1.5;
            word-break: break-word;
            transition: color 0.25s ease;
        }

        /* 标题中的超链接样式 */
        .news-title a {
            text-decoration: none;
            color: inherit;
            /* 继承父级颜色，保持统一 */
            display: inline;
            transition: color 0.25s ease;
            /* 确保整行点击区域生效，加个块级展示增强点击区 */
        }

        /* 因为 .news-item 本身是 a 标签，所以这里不需要额外 hover 效果，交给父级处理 */
        .news-item:hover .news-title {
            color: #1a2e4a;
        }

        /* ========== 分隔装饰线 ========== */
        .news-divider {
            height: 1px;
            background: linear-gradient(to right, #e8edf4 30%, transparent 100%);
            margin: 0 24px;
            opacity: 0.5;
        }

        /* ========== 响应式 ========== */

        /* 平板及以下 */
        @media (max-width: 820px) {
            body {
                padding: 28px 20px 60px;
            }

            .page-title {
                font-size: 26px;
            }

            .news-item {
                padding: 18px 20px;
                gap: 14px;
                border-radius: 12px;
            }

            .news-title {
                font-size: 16px;
            }

            .news-index {
                width: 26px;
                font-size: 13px;
            }

            .news-category {
                font-size: 11px;
                padding: 3px 12px;
            }

            .total-count {
                font-size: 13px;
                padding: 4px 14px;
            }
        }

        /* 手机 */
        @media (max-width: 540px) {
            body {
                padding: 20px 14px 50px;
            }

            .page-header {
                padding-bottom: 18px;
                margin-bottom: 22px;
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .page-title {
                font-size: 22px;
            }

            .total-count {
                font-size: 12px;
                padding: 3px 12px;
            }

            .news-item {
                padding: 14px 0px;
                gap: 10px;
                border-radius: 10px;
                display: grid;
                grid-template-columns: auto 1fr auto;
                align-items: center;
                gap: 8px 12px;
            }

            .news-index {
                width: 22px;
                font-size: 12px;
                text-align: left;
                grid-column: 1 / 2;
            }

            .news-title {
                font-size: 15px;
                grid-column: 2 / 3;
            }

            .news-category {
                font-size: 10px;
                padding: 2px 12px;
                grid-column: 3 / 4;
                margin-left: 0;
            }

            .news-divider {
                margin: 0 16px;
            }
            .news-list{padding-top:0;}
            .news-index,.news-category,.news-list p{display: none;}
        }

        /* 极小屏 */
        @media (max-width: 380px) {
            .news-item {
                padding: 12px 14px;
                gap: 6px 10px;
            }

            .news-title {
                font-size: 14px;
            }

            .news-category {
                font-size: 9px;
                padding: 2px 10px;
            }

            .news-index {
                font-size: 11px;
                width: 18px;
            }
        }

        /* ========== 大屏优化（>1200px） ========== */
        @media (min-width: 1200px) {
            .news-item {
                padding: 24px 32px;
                border-radius: 16px;
            }

            .news-title {
                font-size: 20px;
            }

            .news-index {
                width: 38px;
                font-size: 15px;
            }

            .news-category {
                font-size: 13px;
                padding: 5px 20px;
            }

            .page-title {
                font-size: 36px;
            }
        }

        /* ========== 暗色模式适配 ========== */
        @media (prefers-color-scheme: dark) {
            body {
                background: #0e1625;
                color: #e6edf5;
            }

            .page-header {
                border-bottom-color: #1e2a3a;
            }

            .page-title {
                color: #e6edf5;
            }

            .page-title span {
                color: #6b8aff;
            }

            .total-count {
                background: #1e2a3a;
                color: #9aabbf;
            }

            .news-item {
                background: #131d2e;
                box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
                border-color: transparent;
            }

            .news-item:hover {
                background: #182435;
                box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
                border-color: rgba(74, 108, 247, 0.2);
            }

            .news-title {
                color: #e6edf5;
            }

            .news-item:hover .news-title {
                color: #ffffff;
            }

            .news-index {
                color: #4a5a70;
            }

            .news-item:hover .news-index {
                color: #6b8aff;
            }

            .news-category {
                background: #1e2a3a;
                color: #8aadff;
            }

            .news-item:hover .news-category {
                background: #4a6cf7;
                color: #fff;
            }

            .news-category.tech {
                background: #103a34;
                color: #6cc9b8;
            }
            .news-item:hover .news-category.tech {
                background: #0b7c6b;
                color: #fff;
            }

            .news-category.business {
                background: #3d2d1e;
                color: #dba87a;
            }
            .news-item:hover .news-category.business {
                background: #a45c2b;
                color: #fff;
            }

            .news-category.science {
                background: #1a2d42;
                color: #7cb0e0;
            }
            .news-item:hover .news-category.science {
                background: #2d6a9f;
                color: #fff;
            }

            .news-category.world {
                background: #3a2840;
                color: #d4a0c4;
            }
            .news-item:hover .news-category.world {
                background: #8a4b7a;
                color: #fff;
            }

            .news-category.sports {
                background: #3d2626;
                color: #e08282;
            }
            .news-item:hover .news-category.sports {
                background: #b13e3e;
                color: #fff;
            }

            .news-divider {
                background: linear-gradient(to right, #1e2a3a 30%, transparent 100%);
            }