        .article-list { list-style: none; padding: 0; }
        .article-item { border-bottom: 1px solid #eee; padding: 15px 0; display: flex; gap: 15px; }
        .article-thumb { width: 160px; height: 120px; object-fit: cover; border-radius: 4px; background: #f0f0f0; flex-shrink: 0; }
        .article-info { flex: 1; }
        .article-title { font-size: 1.2rem; font-weight: 600; margin: 0 0 8px 0; }
        .article-title a { color: #1a73e8; text-decoration: none; }
        .article-title a:hover { text-decoration: underline; }
        .article-meta { font-size: 0.85rem; color: #888; margin-bottom: 8px; }
        .article-brief { color: #555; font-size: 0.95rem; line-height: 1.5; margin: 0; }
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
        .pagination a, .pagination span { padding: 8px 14px; border: 1px solid #ddd; border-radius: 6px; text-decoration: none; color: #1a73e8; background: #fff; }
        .pagination .current { background: #1a73e8; color: #fff; border-color: #1a73e8; }
        .pagination .disabled { color: #aaa; background: #f5f5f5; }
        .pagination-info { text-align:center; margin-top:10px; color:#888; font-size:0.9rem; }
        .empty { text-align: center; color: #888; padding: 40px 0; }

        .section-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0 0 16px 0;
            padding-bottom: 8px;
            border-bottom: 2px solid #1a73e8;
            display: inline-block;
        }

        /* ==================== 下级分类卡片（带封面图） ==================== */
        .subcategories-section { margin-bottom: 40px; }

        .subcategory-card {
            display: flex;
            flex-direction: column;
            height: 100%;                 /* 卡片等高 */
            background: #fff;
            border: 1px solid #eaeaea;
            border-radius: 12px;
            overflow: hidden;             /* 让图片贴合圆角 */
            text-decoration: none;
            color: #2c3e50;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            transition: all 0.2s;
        }
        .subcategory-card:hover {
            border-color: #1a73e8;
            box-shadow: 0 6px 16px rgba(26,115,232,0.12);
            transform: translateY(-2px);
            color: #1a73e8;
			text-decoration:none;
        }

        /* ★ 顶部封面图 */
        .subcategory-cover {
            width: 100%;
            /*aspect-ratio: 3 / 2;*/          /* 3:2 统一比例，不塌陷 */
			aspect-ratio: 800 / 447;  /* 自动按图片比例算高度 */
			height:auto;
            background: #f0f0f0;
            overflow: hidden;
            flex-shrink: 0;
        }
        .subcategory-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.3s;
        }
        .subcategory-card:hover .subcategory-cover img {
            transform: scale(1.05);       /* 悬浮轻微放大 */
        }

        /* 文字区 */
        .subcategory-body {
            padding: 12px 14px 14px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .subcategory-name {
            font-size: 1.0rem;
            font-weight: 600;
            line-height: 1.3;
            word-break: break-word;
            color: inherit;
        }
        .subcategory-brief {
            margin-top: 6px;
            font-size: 0.9rem;
            color: #888;
            line-height: 1.4;
            text-align: left;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
        }
        .subcategory-card:hover .subcategory-brief { color: #5a8fe0; }

        /* 兼容旧浏览器（不支持 aspect-ratio 时的兜底） */
        @supports not (aspect-ratio: 3 / 2) {
            .subcategory-cover { padding-top: 66.66%; position: relative; }
            .subcategory-cover img { position: absolute; inset: 0; }
        }

        /* 视图切换栏 */
        .view-mode-bar {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-bottom: 20px;
            gap: 10px;
        }
        .view-mode-bar .mode-label { font-size: 0.9rem; color: #555; }
        .view-toggle {
            display: inline-flex;
            border: 1px solid #ccc;
            border-radius: 24px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .view-toggle button {
            border: none;
            background: transparent;
            padding: 8px 18px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            color: #2c3e50;
            font-weight: 500;
            outline: none;
            display: flex;
            align-items: center;
            gap: 6px;
            line-height: 1;
        }
        .view-toggle button.active { background: #1a73e8; color: #fff; }

        /* 卡片模式（文章） */
        .article-list.card-mode {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
			/* 一行几列，交给浏览器根据容器宽度和最小卡片宽度决定 */
			/* grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); */
            gap: 24px;
            padding: 0;
        }
        .article-list.card-mode .article-item {
            display: flex;
            flex-direction: column;
            width: auto;
            border: 1px solid #eaeaea;
            border-radius: 12px;
            padding: 0 0 16px 0;
            background: #fff;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            transition: box-shadow 0.2s;
            overflow: hidden;
            gap: 0;
            border-bottom: 1px solid #eaeaea;
        }
        .article-list.card-mode .article-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
        .article-list.card-mode .article-thumb {
            /*width: 100%; height: 300px; border-radius: 0; object-fit: cover; margin-bottom: 0;*/
			/*卡片时图片的高度*/
			width: 100%;
			aspect-ratio: 800 / 447;  /* 自动按图片比例算高度 */
			height: auto;
			border-radius: 0;
			object-fit: cover;
			margin-bottom: 0;
        }
        .article-list.card-mode .article-info {
            padding: 16px 16px 0 16px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .article-list.card-mode .article-title { font-size: 1.1rem; margin: 0 0 8px 0; line-height: 1.4; }
        .article-list.card-mode .article-meta { margin-bottom: 6px; }
        .article-list.card-mode .article-brief {
            font-size: 0.9rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        @media (max-width: 900px) {
            .article-list.card-mode { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 600px) {
            .article-list.card-mode { grid-template-columns: 1fr; }

			/* 列表模式：改为纵向排列，图片跑到文字上方 */
			.article-list:not(.card-mode) .article-item {
				flex-direction: column;
				gap: 10px;
			}

			/* 缩略图铺满整行，并按 16:9 显示 */
			.article-list:not(.card-mode) .article-thumb {
				width: 100%;
				height: auto;
				aspect-ratio: 16 / 9;   /* 想更矮可改成 3/2 或 2/1 */
				object-fit: cover;
			}
        }