/* =============================================================================
 * 首页专用样式表 (index.css)
 * 
 * 此文件包含index.html所有模块的专用样式，使用独立命名空间避免样式冲突
 * 设计原则：模块化隔离、语义化命名、响应式适配、性能优化
 * 
 * 命名空间约定：
 * - kao-featured-* 首页头图模块
 * - kao-card-*     最新文章模块  
 * - kao-grid-*     热门文章模块
 * - kao-categories-* 分类展示模块
 * - kao-list-*     Most Viewed模块
 * - kao-tags-*     文章标签模块
 * - kao-no-image-* 无图文章模块/Quick Reads模块
 * - kao-left-right-* 左右图文文章模块
 * - kao-random-*   随机文章模块（无使用）
 * - kao-text-*     纯文字标题模块
 * - kao-default-*  默认模板模块（默认模板必须存在，但不直接展示）
 * - kao-about-*    About Kaokon模块
 * ============================================================================= */

/* =============================================================================
 * 特色文章模块样式 (kao-featured-*)
 * 
 * 功能描述：首页特色文章展示，采用突出设计吸引用户注意力
 * 使用场景：index.html中的kao-featured-section容器
 * 生成方式：article.js中的renderFeaturedTemplate函数渲染
 * 设计特点：大图展示、渐变背景、悬停动画、突出视觉效果
 * 响应式适配：移动端单列显示，桌面端保持完整布局
 * ============================================================================= */

/* 首页头图模块容器 */
.kao-featured-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* 首页头图主容器 */
.kao-featured-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
}

/* 首页头图内容容器 */
.kao-featured-content-container {
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 首页头图图片区域 */
.kao-featured-image-container {
    position: relative;
    overflow: hidden;
    height: 420px;
}

.kao-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kao-featured-container:hover .kao-featured-image {
    transform: scale(1.04);
}

/* 首页头图内容区域 */
.kao-featured-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

/* 首页头图标题 */
.kao-featured-title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1.2rem;
    color: #2d3748;
}

.kao-featured-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.kao-featured-title a:hover {
    color: #1da1f2;
}

/* 首页头图摘要 */
.kao-featured-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #718096;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 首页头图元数据 */
.kao-featured-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.kao-featured-meta-clock,
.kao-featured-meta-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #a0aec0;
    font-size: 0.85rem;
}

.kao-featured-meta-clock i,
.kao-featured-meta-date i {
    color: #1da1f2;
    font-size: 0.95rem;
}

/* 首页头图标签和徽章 */
/* 分类标签*/
.kao-featured-category {
    display: inline-block;
    background: #6fc0a1;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.25);
}

.kao-featured-category:hover {
    color: #ffffff;
    background-color: #f39c12;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(29, 161, 242, 0.25);
}

.kao-featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.kao-featured-badge {
    display: inline-block;
    background: #daedfa;
    color: #4a5568;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.kao-featured-badge:hover {
    background: #f39c12;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px #ddd;
}

@media (max-width: 768px) {
    .kao-featured-image-container {
        height: 240px;
    }

    .kao-featured-title {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
}

 /* ============================================================================= 
 * 最新文章模块样式 (kao-card-*)
 * 
 * 功能描述：首页最新文章展示，采用现代化响应式网格布局
 * 使用场景：index.html中的kao-card-section容器
 * 设计特点：优雅的卡片设计，流畅的悬停效果，响应式适配
 * ============================================================================= */

/* 最新文章模块主容器 */
.kao-card-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

.kao-card-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* 最新文章标题栏 */
.kao-card-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* 最新文章标题 */
.kao-card-title {
    font-size: 1.2rem;
    color: #2d3748;
    margin: 0;
}

/* 最新文章容器 */
.kao-card-container-content {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 10px 0;
}

/* 最新文章网格布局 */
.kao-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* 单个最新文章 */
.kao-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* 卡片图片容器 */
.kao-card-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* 卡片悬停时图片缩放 */
.kao-card:hover .kao-card-image {
    transform: scale(1.1);
}

/* 卡片图片 */
.kao-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(1.02);
}

/* 卡片内容区域 */
.kao-card-content {
    padding: 0.5rem;
}

/* 卡片标题 */
.kao-card-content-title {
    font-size: 1.35rem;
    line-height: 1.45;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.kao-card-content-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kao-card-content-title a:hover {
    color: #1da1f2;
}

/* 卡片元信息 */
.kao-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #bbb;
}

.kao-card-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #718096;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 卡片分类标签 */
.kao-card-category {
    display: inline-block;
    background: #1da1f2;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.25);
    transition: all 0.3s ease;
}

/* 卡片悬停时分类标签效果 */
.kao-card:hover .kao-card-category {
    color: #ffffff;
    background-color: #f39c12;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(29, 161, 242, 0.25);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .kao-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .kao-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kao-card-grid {
        grid-template-columns: 1fr;
    }

    .kao-card-img {
        height: 180px;
    }

    .kao-card-content-title {
        font-size: 1.2rem;
    }

    .kao-card-excerpt {
        line-height: 1.2;
    }
}

/* =============================================================================
 * 热门文章模块样式 (kao-grid-*)
 * 
 * 功能描述：首页热门文章模块展示
 * 使用场景：index.html中的kao-grid-section容器
 * 生成方式：article.js中的renderGridTemplate函数渲染
 * 设计特点：简洁的网格布局，支持悬停交互效果
 * 响应式适配：移动端单列显示，桌面端保持网格布局
 * ============================================================================= */

/* 热门文章模块容器 (kao-grid-section) */
.kao-grid-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* 热门文章主容器 */
.kao-grid-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* 热门文章标题栏 */
.kao-grid-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* 热门文章标题 */
.kao-grid-title {
    font-size: 1.2rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    padding-left: 8px;
}

.kao-grid-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kao-grid-title a:hover {
    color: #1da1f2;
}

/* 热门文章内容容器 */
.kao-grid-container-content {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 10px 0;
}

/* 热门文章模块网格布局 */
.kao-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* 热门文章模块网格项 */
.kao-grid-item {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.kao-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.kao-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(1.02);
}

.kao-grid-item:hover .kao-grid-img {
    transform: scale(1.1);
}

/* 热门文章模块内容 */
.kao-grid-content {
    padding: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .kao-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .kao-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .kao-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .kao-grid {
        grid-template-columns: 1fr;
    }

    .kao-grid-img {
        height: 100px;
    }
}

/* =============================================================================
 * 分类模块样式 (kao-categories-*)
 * 
 * 功能描述：展示网站文章分类，提供分类导航入口
 * 使用场景：index.html中的kao-categories-section容器
 * 生成方式：article.js中的分类数据渲染函数
 * 设计特点：图标+标题+计数的卡片式布局
 * 响应式适配：桌面端4列，平板端3列，移动端2列
 * ============================================================================= */

/*======首页分类模块样式========*/
.kao-categories-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* 分类主容器 */
.kao-categories-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* 分类标题栏 */
.kao-categories-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* 分类标题 */
.kao-categories-title {
    font-size: 1.2rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    padding-left: 8px;
}

.kao-categories-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kao-categories-title a:hover {
    color: #1da1f2;
}

/* 分类内容容器 */
.kao-categories-container-content {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 10px 0;
}

.categories-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 1rem 0;
}

.category-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s ease;
}

.category-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.4s ease;
    display: block;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 4px 8px rgba(93, 138, 168, 0.3));
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
    color: var(--text-color);
}

.category-card:hover h3 {
    color: var(--primary-color);
}

.category-count {
    display: inline-block;
    background-color: rgba(93, 138, 168, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-card:hover .category-count {
    background-color: var(--primary-color);
    color: white;
}

.category-card a {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 0;
}

.category-card a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 1200px) {
    .categories-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .categories-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .categories-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .categories-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0.5rem 0;
    }

    .category-card {
        padding: 0px;
        height: 100%;
        background-color: #e5f2f5a9;
    }

    .category-icon {
        display: none;
        font-size: 1.5rem;
        margin: 0;
    }

    .category-card h3 {
        margin: 0;
        font-size: 1rem;
        font-weight: 500;
    }

    .category-count {
        display: none;
        border-radius: 0;
        font-size: 0.85rem;
        font-weight: 600;
        margin: 0;
        padding: 0;
    }
}

/* =============================================================================
 * 文章标签模块样式 (kao-tags-*)
 * 
 * 功能描述：首页标签展示，支持标签云和网格两种格式
 * 使用场景：index.html中的kao-tags-section容器
 * 生成方式：article.js中的renderTags函数渲染
 * 设计特点：现代化的标签展示，支持悬停交互效果和响应式适配
 * 响应式适配：移动端自动调整显示数量和布局
 * ============================================================================= */

/* 标签模块容器 */
.kao-tags-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* 标签模块主容器 */
.kao-tags-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* 标签模块头部 */
.kao-tags-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* 标签模块标题容器 */
.kao-tags-title-container {
    flex: 1;
}

/* 标签模块主标题 */
.kao-tags-title {
    font-size: 1.2rem;
    color: #2d3748;
    margin: 0;
}

/* 标签模块内容区域 */
.kao-tags-container-content {
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 5px;
    padding: 15px;
}

/* 标签云标签样式 */
.kao-tags-cloud-item {
    display: inline-block;
    background-color: #f7fafc;
    color: #4a5568;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.kao-tags-cloud-item:hover {
    background-color: #e2e8f0;
    color: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 网格标签样式 */
.kao-tags-item {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #4a5568;
    padding: 10px 16px;
    margin: 4px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.kao-tags-item:hover {
    background-color: #f7fafc;
    color: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 标签计数样式 */
.kao-tags-count {
    display: inline-block;
    background-color: rgba(93, 138, 168, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    margin-left: 6px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.kao-tags-cloud-item:hover .kao-tags-count,
.kao-tags-item:hover .kao-tags-count {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .kao-tags-container-content {
        margin: 0;
        padding: 0;
    }

    .kao-tags-cloud-item .kao-tags-count {
        display: none;
    }
    
    .kao-featured-excerpt {
        line-height: 1.2;
    }
}

/* =============================================================================
 * 文章列表模块样式 (kao-list-*)
 * 
 * 功能描述：首页文章列表展示，采用垂直列表布局
 * 使用场景：index.html中的kao-list-section容器
 * 生成方式：article.js中的renderListTemplate函数渲染
 * 设计特点：现代化的列表布局，支持悬停交互效果和渐变背景
 * 响应式适配：移动端单列显示，桌面端保持垂直布局
 * ============================================================================= */

/* Most Viewed模块容器 */
.kao-list-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* Most Viewed模块头部 */
.kao-list-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* Most Viewed模块标题容器 */
.kao-list-title-container {
    flex: 1;
}

/* Most Viewed模块主标题 */
.kao-list-title {
    font-size: 1.2rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    padding-left: 8px;
}

.kao-list-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kao-list-title a:hover {
    color: #1da1f2;
}

/* Most Viewed模块容器 */
.kao-list-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

.kao-list-container-content {
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 5px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* 单个列表项 */
.kao-list-item {
    display: flex;
    padding: 5px 0;
}

/* 列表项图片 */
.kao-list-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

/* 列表项摘要 */
.kao-list-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #718096;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .kao-list-container-content {
        grid-template-columns: 1fr;
        gap:0;
    }

    .kao-list-excerpt {
        display: none;
    }

    .kao-list-content .kao-list-title {
        font-size: 1.2rem;
    }

    .kao-list-img {
        width: 80px;
        height:80px;
    }
}

/* =============================================================================
 * 无图文章模块/Quick Reads模块样式 (kao-no-image-*)
 * 
 * 功能描述：最新文章在无图片情况下的显示效果
 * 使用场景：index.html中的kao-no-image-section容器
 * 生成方式：article.js中的renderCardTemplate函数渲染
 * 设计特点：简洁的卡片布局，专注于内容展示
 * 响应式适配：桌面端3列，平板端2列，移动端单列
 * ============================================================================= */

/* 无图文章模块/Quick Reads模块容器 */
.kao-no-image-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* 无图文章模块/Quick Reads模块容器 */
.kao-no-image-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* 无图文章模块/Quick Reads模块头部 */
.kao-no-image-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* 无图文章模块/Quick Reads模块主标题 */
.kao-no-image-title {
    font-size: 1.2rem;
    color: #2d3748;
    margin: 0;
}

/* 无图文章容器 */
.kao-no-image-container-content {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 10px 0;
}

/* 无图文章模块/Quick Reads模块网格布局 */
.kao-no-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* 单个无图片卡片 */
.kao-no-image-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* 无图片卡片标题 */
.kao-no-image-container-content .kao-card-content-title {
    font-size: 1.2rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}


/* 响应式设计 */
@media (max-width: 1200px) {
    .kao-no-image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .kao-no-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kao-no-image-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .kao-no-image-container-content .kao-card-grid {
        gap: 0.5rem;
    } 
}

/* =============================================================================
 * 左图右文文章模块样式 (kao-left-right-*)
 * 
 * 功能描述：文章上栏标题、下栏图文的布局展示
 * 使用场景：index.html中的kao-random-section容器
 * 生成方式：article.js中的renderLeftRightTemplate函数渲染
 * 设计特点：清晰的分层布局、响应式适配、独立命名空间
 * 响应式适配：桌面端左图右文，移动端单列显示
 * ============================================================================= */

/* 左图右文文章模块容器 */
.kao-left-right-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* 左图右文文章头部 */
.kao-left-right-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* 左图右文文章标题容器 */
.kao-left-right-title-container {
    flex: 1;
}

.kao-left-right-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kao-left-right-title a:hover {
    color: #1da1f2;
}

/* 左图右文文章模块主容器 */
.kao-left-right-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* 左图右文文章容器 */
.kao-left-right-card-container-content {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 10px 0;
}

/* 左图右文文章网格布局 */
.kao-left-right-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    padding: 8px 8px 0 8px;
}

/* 左图右文内容容器 */
.kao-left-right-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-left: 8px;
}

/* 左图右文图片容器 */
.kao-left-right-image {
    width: 150px;
    height: 100px;
}

/* 卡片图片 */
.kao-left-right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(1.02);
    border-radius: 8px;
}

/* 卡片悬停时图片缩放 */
.kao-left-right-image:hover img {
    transform: scale(1.1);
}

/* 左图右文标题 */
.kao-left-right-title {
    margin: 0;
    font-size: 1.2rem;
    color: #2d3436;
    padding-left: 8px;
}

/* 左图右文摘要 */
.kao-left-right-excerpt {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #636e72;
}

@media (max-width: 768px) {
    .kao-left-right-content,.kao-left-right-title {
        padding-left: 0;
    }

    .kao-left-right-excerpt {
        line-height: 1.2;
    }
}
/* =============================================================================
 * 随机文章模块样式 (kao-random-*)
 * 
 * 功能描述：展示随机选择的文章，增加内容发现性
 * 使用场景：index.html中的kao-random-section容器
 * 生成方式：article.js中的renderGridTemplate函数渲染
 * 设计特点：卡片式布局，支持图片悬停缩放效果
 * 响应式适配：桌面端2列，移动端单列显示
 * ============================================================================= */

/* 随机文章模块容器 */
.kao-random-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* 随机文章头部 */
.kao-random-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* 随机文章标题容器 */
.kao-random-title-container {
    flex: 1;
}

/* 随机文章主标题 */
.kao-random-title {
    font-size: 1.2rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    padding-left: 8px;
}

.kao-random-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kao-random-title a:hover {
    color: #1da1f2;
}

/* 随机文章模块主容器 */
.kao-random-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* 随机文章容器 */
.kao-random-container-content {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 10px 0;
}

/* 随机文章网格布局 */
.kao-random-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* 单个随机最新文章 */
.kao-random-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* 随机最新文章图片容器 */
.kao-random-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* 随机最新文章悬停时图片缩放 */
.kao-random-card:hover .kao-random-image {
    transform: scale(1.1);
}

/* 随机最新文章图片 */
.kao-random-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(1.02);
}

/* 随机最新文章内容区域 */
.kao-random-content {
    padding: 0.5rem;
}

/* 随机最新文章元信息 */
.kao-random-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 随机最新文章分类标签 */
.kao-random-category {
    background-color: #f39c12;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}


/* =============================================================================
 * 纯文字标题列表模块样式 (kao-text-list-*)
 * 
 * 功能描述：纯文字标题列表展示，简洁高效
 * 使用场景：index.html中的kao-text-list-section容器
 * 生成方式：article.js中的renderTextListTemplate函数渲染
 * 设计特点：只显示标题，减少视觉干扰，提高阅读效率
 * 响应式适配：移动端单列显示，桌面端保持垂直布局
 * ============================================================================= */

/* 纯文字标题列表模块容器 */
.kao-text-list-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* 纯文字标题列表模块头部 */
.kao-text-list-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1bfd3;
}

/* 纯文字标题列表模块标题容器 */
.kao-text-list-title-container {
    flex: 1;
}

/* 纯文字标题列表模块主标题 */
.kao-text-list-title {
    font-size: 1.2rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    padding-left: 8px;
}

.kao-text-list-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kao-text-list-title a:hover {
    color: #1da1f2;
}

/* 纯文字标题列表模块容器 */
.kao-text-list-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

.kao-text-list-container-content {
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 纯文字标题列表项 */
.kao-text-list-item {
    padding: 16px;
    border-bottom: 1px solid rgba(230, 230, 230, 0.8);
    transition: all 0.3s ease;
}

.kao-text-list-item:last-child {
    border-bottom: none;
}

.kao-text-list-item:hover {
    background-color: rgba(245, 245, 245, 0.8);
    transform: translateX(4px);
}

/* 纯文字标题列表项标题 */
.kao-text-list-item h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* 纯文字标题列表项标题链接 */
.kao-text-list-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kao-text-list-item h3 a:hover {
    color: #1da1f2;
}

.kao-text-list-icon {
    margin-right: 8px;
    color: #369779;
}

@media (max-width: 480px) {
    .kao-text-list-item {
        padding: 5px;
    }

    .kao-text-list-item h3 {
        margin: 0;
        font-size: 1rem;
        font-weight: normal;
    }
}

/* =============================================================================
 * 默认模板模块样式 (kao-default-*)
 * 
 * 功能描述：默认文章模板的显示效果和布局
 * 使用场景：index.html中的kao-default-section容器
 * 生成方式：article.js中的renderDefaultTemplate函数渲染
 * 设计特点：标准的最新文章布局，包含图片和完整元信息
 * 响应式适配：桌面端2列，移动端单列显示
 * ============================================================================= */

/* 默认模板模块容器 */
.kao-default-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* 默认模板头部 */
.kao-default-header {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
}

/* 默认模板标题容器 */
.kao-default-title-container {
    text-align: center;
}

/* 默认模板主标题 */
.kao-default-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

/* 默认模板容器 */
.kao-default-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 默认模板布局 */
.kao-default-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* 单个默认模板卡片 */
.kao-default-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

/* 默认模板卡片悬停效果 */
.kao-default-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 默认模板卡片图片容器 */
.kao-default-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

/* 默认模板卡片图片 */
.kao-default-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 默认模板卡片悬停时图片缩放 */
.kao-default-card:hover .kao-default-image {
    transform: scale(1.05);
}

/* 默认模板卡片内容区域 */
.kao-default-content {
    padding: 1.5rem;
}

/* 默认模板卡片标题 */
.kao-default-content-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

/* 默认模板卡片元信息 */
.kao-default-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 默认模板卡片分类标签 */
.kao-default-category {
    background-color: #9b59b6;
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* =============================================================================
 * About Kaokon模块样式 (kao-about-*)
 * 
 * 功能描述：展示网站介绍和核心特性，增强品牌形象
 * 使用场景：index.html中的kao-about-section容器
 * 设计特点：简洁的品牌介绍，特性卡片网格布局
 * 响应式适配：桌面端2列，移动端单列显示
 * ============================================================================= */

/* About Kaokon模块容器 */
.kao-about-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* About Kaokon容器 */
.kao-about-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* About Kaokon主标题 */
.kao-about-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
}

/* About Kaokon内容区域 */
.kao-about-content {
    padding: 20px;
}

/* About Kaokon段落 */
.kao-about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);

}

/* About Kaokon特性网格 */
.kao-about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* 单个特性项 */
.kao-about-feature {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* 特性项悬停效果 */
.kao-about-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 特性图标 */
.kao-about-feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 特性标题 */
.kao-about-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
}

/* 特性描述 */
.kao-about-feature-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 480px) {
    .kao-about-features {
        gap: 0.5rem;
        margin-top: 10px;
    }

    .kao-about-feature {
        background: white;
        padding: 4px;
        text-align: center;
    }

    .kao-about-content {
        padding: 5px;
    }

    .kao-about-content p {
        font-size: 0.8rem;
        line-height: 1rem;
    }    
}

/* =============================================================================
 * Quizzes 图文卡片模块样式 (kao-quiz-*)
 * 
 * 功能描述：首页 quizzes 测试展示，采用现代化响应式网格布局
 * 使用场景：index.html中的kao-quiz-section容器
 * 设计特点：优雅的卡片设计，流畅的悬停效果，响应式适配
 * 命名空间：kao-quiz-* 避免与其他模块冲突
 * ============================================================================= */

/* Quizzes 模块容器 */
.kao-quiz-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* Quizzes 主容器 */
.kao-quiz-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* Quizzes 标题栏 */
.kao-quiz-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a8c6fa;
    background: linear-gradient(135deg, #a8c6fa 0%, #b8a2e6 100%);
}

/* Quizzes 标题容器 */
.kao-quiz-title-container {
    flex: 1;
}

/* Quizzes 主标题 */
.kao-quiz-title {
    font-size: 1.2rem;
    color: #2d3748;
    margin: 0;
}

/* Quizzes 内容容器 */
.kao-quiz-container-content {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 10px 0;
}

/* Quizzes 网格布局 */
.kao-quiz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* 单个 Quiz 卡片 */
.kao-quiz-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* 卡片悬停效果 */
.kao-quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* 卡片图片容器 */
.kao-quiz-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* 卡片图片 */
.kao-quiz-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(1.02);
}

/* 卡片悬停时图片缩放 */
.kao-quiz-card:hover .kao-quiz-image {
    transform: scale(1.1);
}

/* 卡片内容区域 */
.kao-quiz-content {
    padding: 0.5rem;
}

/* 卡片元信息 */
.kao-quiz-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

/* 卡片分类标签 */
.kao-quiz-category {
    display: inline-block;
    background: #1da1f2;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.25);
    transition: all 0.3s ease;
}

/* 卡片悬停时分类标签效果 */
.kao-quiz-card:hover .kao-quiz-category {
    background-color: #f39c12;
    transform: translateY(-1px);
}

/* 卡片难度标签 */
.kao-quiz-difficulty {
    display: inline-block;
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* 卡片标题 */
.kao-quiz-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.kao-quiz-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.kao-quiz-title a:hover {
    color: #1da1f2;
}

/* 卡片摘要 */
.kao-quiz-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #718096;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 卡片底部 */
.kao-quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

/* 卡片问题数量 */
.kao-quiz-questions-count {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #718096;
    font-size: 0.85rem;
    font-weight: 500;
}

.kao-quiz-questions-count i {
    color: #1da1f2;
}

/* 卡片图标 */
.kao-quiz-icon {
    display: inline-block;
    color: #1da1f2;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.kao-quiz-card:hover .kao-quiz-icon {
    transform: scale(1.2) rotate(10deg);
}

/* 加载状态 */
.kao-quiz-loading,
.kao-quiz-empty,
.kao-quiz-error {
    text-align: center;
    padding: 3rem 1rem;
    color: #718096;
}

.kao-quiz-loading i,
.kao-quiz-empty i,
.kao-quiz-error i {
    color: #1da1f2;
    margin-bottom: 1rem;
}

.kao-quiz-error i {
    color: #e53e3e;
}

.kao-quiz-loading p,
.kao-quiz-empty p,
.kao-quiz-error p {
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .kao-quiz-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .kao-quiz-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kao-quiz-grid {
        grid-template-columns: 1fr;
    }

    .kao-quiz-image-container {
        height: 180px;
    }

    .kao-quiz-title {
        font-size: 1.1rem;
    }

    .kao-quiz-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .kao-quiz-grid {
        grid-template-columns: 1fr;
    }

    .kao-quiz-image-container {
        height: 160px;
    }

    .kao-quiz-title {
        font-size: 1rem;
    }

    .kao-quiz-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .kao-quiz-meta {
        flex-wrap: wrap;
    }

    .kao-quiz-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* =============================================================================
 * Quizzes 列表模块样式 (kao-quiz-list-*)
 * 
 * 功能描述：首页 quizzes 列表展示，采用垂直列表布局
 * 使用场景：index.html中的kao-quiz-list-section容器
 * 设计特点：紧凑的列表设计，清晰的层次结构，响应式适配
 * 命名空间：kao-quiz-list-* 避免与其他模块冲突
 * ============================================================================= */

/* Quizzes 列表模块容器 */
.kao-quiz-list-section {
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
}

/* Quizzes 列表主容器 */
.kao-quiz-list-container {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 230, 230, 0.8);
    margin: 0 0.5rem;
    background-color: #fff;
}

/* Quizzes 列表标题栏 */
.kao-quiz-list-header {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a8c6fa;
    background: linear-gradient(135deg, #a8c6fa 0%, #b8a2e6 100%);
}

/* Quizzes 列表标题容器 */
.kao-quiz-list-title-container {
    flex: 1;
}

/* Quizzes 列表主标题 */
.kao-quiz-list-title {
    font-size: 1.2rem;
    margin: 0;
}

/* Quizzes 列表内容容器 */
.kao-quiz-list-container-content {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    padding: 10px 0;
}

/* Quizzes 列表布局 */
.kao-quiz-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* 单个 Quiz 列表项 */
.kao-quiz-list-item {
    display: flex;
    gap: 1rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.8rem;
}

/* 列表项悬停效果 */
.kao-quiz-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

/* 列表项图片容器 */
.kao-quiz-list-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

/* 列表项图片 */
.kao-quiz-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 列表项悬停时图片效果 */
.kao-quiz-list-item:hover .kao-quiz-list-image img {
    transform: scale(1.05);
}

/* 列表项内容区域 */
.kao-quiz-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

/* 列表项元信息 */
.kao-quiz-list-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

/* 列表项分类标签 */
.kao-quiz-list-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 列表项难度标签 */
.kao-quiz-list-difficulty {
    display: inline-block;
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* 列表项问题数量 */
.kao-quiz-list-questions {
    display: inline-block;
    background: #f7fafc;
    color: #718096;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* 列表项标题 */
.kao-quiz-list-item-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.kao-quiz-list-item-title a {
    text-decoration: none;
    color: #2d3748;
    transition: color 0.3s ease;
}

.kao-quiz-list-item-title a:hover {
    color: #667eea;
}

/* 列表项摘要 */
.kao-quiz-list-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #718096;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 列表项底部 */
.kao-quiz-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

/* 列表项图标 */
.kao-quiz-list-icon {
    display: inline-block;
    color: #667eea;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.kao-quiz-list-item:hover .kao-quiz-list-icon {
    transform: scale(1.2) rotate(10deg);
}

/* 列表项链接按钮 */
.kao-quiz-list-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.kao-quiz-list-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.kao-quiz-list-link i {
    transition: transform 0.3s ease;
}

.kao-quiz-list-link:hover i {
    transform: translateX(3px);
}

/* 列表式响应式设计 */
@media (max-width: 768px) {
    .kao-quiz-list-item {
        flex-direction: column;
        padding: 0.6rem;
    }

    .kao-quiz-list-image {
        width: 100%;
        height: 160px;
    }

    .kao-quiz-list-item-title {
        font-size: 1rem;
    }

    .kao-quiz-list-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .kao-quiz-list-meta {
        gap: 0.3rem;
    }

    .kao-quiz-list-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .kao-quiz-list-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .kao-quiz-list-image {
        height: 140px;
    }

    .kao-quiz-list-item-title {
        font-size: 0.95rem;
    }

    .kao-quiz-list-excerpt {
        font-size: 0.8rem;
    }
}