/* Content Aggregator - 关键词页面样式
 * 仅作用于页面内容区域，header/footer由主题提供
 * Font Awesome 4.7.0 兼容
 * 对齐 OneNav WP 主题样式
 * 左右布局：左侧主内容，右侧主题侧边栏
 */

/* ===== 页面容器 ===== */
.ca-keyword-page {
    padding: 0 0 40px;
}

.ca-keyword-page .container {
    max-width: var(--container-width, 1320px);
    margin: 0 auto;
    width: 100%;
}

/* ===== 页面头部 ===== */
.ca-page-header {
    margin-bottom: 24px;
}

/* ===== 面包屑导航 ===== */
.ca-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 20px;
    background: var(--bg-card, #fff);
    border-radius: 8px;
    border: 1px solid var(--border-light, #f1f5f9);
    font-size: 13px;
    color: var(--text-light, #64748b);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04));
}

.ca-breadcrumb a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light, #64748b);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px 8px;
    border-radius: 4px;
}

.ca-breadcrumb a:hover {
    color: var(--primary-color, #6366f1);
    background: var(--primary-light, #eef2ff);
}

.ca-breadcrumb .separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-muted, #cbd5e1);
    font-size: 12px;
}

.ca-breadcrumb .separator::before {
    content: '';
    width: 1px;
    height: 14px;
    background: var(--border-color, #e2e8f0);
}

.ca-breadcrumb .current {
    color: var(--text-color, #0f172a);
    font-weight: 600;
    padding: 4px 8px;
}

.ca-breadcrumb .current::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary-color, #6366f1);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

/* ===== 页面头部卡片 ===== */
.ca-page-header-card {
    padding: 32px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color, #6366f1) 0%, var(--primary-dark, #4f46e5) 100%);
    border-radius: var(--radius-lg, 14px);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0,0,0,0.07));
}

.ca-page-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ca-page-header-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ca-page-header-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.ca-keyword-badge {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg, 14px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ca-page-header-text {
    flex: 1;
    min-width: 0;
}

.ca-page-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    word-break: break-word;
}

.ca-page-description {
    margin: 0 0 16px;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== 数据统计板块 ===== */
.ca-page-stats {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.ca-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius, 10px);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 160px;
}

.ca-stat-item:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.ca-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius, 10px);
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ca-stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ca-stat-num {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.ca-stat-label {
    font-size: 13px;
    opacity: 0.85;
    white-space: nowrap;
    font-weight: 500;
}

/* ===== 快速信息栏 ===== */
.ca-quick-info {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
    background: var(--bg-white, #fff);
    border-radius: var(--radius, 10px);
    margin-bottom: 0;
    border: 1px solid var(--border-light, #f1f5f9);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04));
}

.ca-quick-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary, #334155);
}

.ca-quick-info-item i {
    color: var(--primary-color, #6366f1);
    font-size: 16px;
}

.ca-quick-info-item strong {
    color: var(--text-color, #0f172a);
    font-weight: 600;
}

/* ===== 左右布局 ===== */
.ca-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* ===== 主内容区 ===== */
.ca-main-content {
    min-width: 0;
}

/* ===== 文章式布局 ===== */
.ca-post-article {
    background: var(--bg-white, #fff);
    border-radius: var(--radius, 10px);
    box-shadow: var(--shadow, 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04));
    border: 1px solid var(--border-light, #f1f5f9);
    padding: 40px;
    transition: box-shadow 0.3s ease;
}

.ca-post-article:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* 文章头部 */
.ca-post-hero {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
}

/* 配图区域 */
.ca-post-image {
    margin-bottom: 20px;
    border-radius: var(--radius-lg, 14px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0,0,0,0.07));
}

.ca-featured-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ca-featured-image:hover {
    transform: scale(1.02);
}

.ca-post-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color, #0f172a);
    margin: 0 0 16px;
    line-height: 1.4;
    word-break: break-word;
}

.ca-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-light, #64748b);
    font-size: 14px;
}

.ca-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ca-post-meta i {
    color: var(--primary-color, #6366f1);
    font-size: 14px;
}

/* 引言段 - 多模板风格 */
.ca-post-intro {
    margin-bottom: 32px;
    padding: 24px;
    border-radius: var(--radius-lg, 12px);
    border-left: 4px solid var(--primary-color, #6366f1);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ca-post-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(var(--primary-color-rgb, 99, 102, 241), 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ca-post-intro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-color-rgb, 99, 102, 241), 0.12);
}

/* 风格1：book-open - 蓝色系（知识/阅读） */
.ca-intro-book-open {
    background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
    border-left-color: #3b82f6;
}
.ca-intro-book-open .ca-intro-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
}

/* 风格2：search - 绿色系（搜索/发现） */
.ca-intro-search {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left-color: #10b981;
}
.ca-intro-search .ca-intro-icon {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    color: #fff;
}

/* 风格3：lightbulb-o - 黄色系（灵感/创意） */
.ca-intro-lightbulb-o {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left-color: #f59e0b;
}
.ca-intro-lightbulb-o .ca-intro-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
}

/* 风格4：newspaper-o - 橙色系（资讯/新闻） */
.ca-intro-newspaper-o {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-left-color: #f97316;
}
.ca-intro-newspaper-o .ca-intro-icon {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
}

/* 风格5：users - 粉色系（社交/关注） */
.ca-intro-users {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-left-color: #ec4899;
}
.ca-intro-users .ca-intro-icon {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    color: #fff;
}

/* 风格6：compass - 青色系（探索/指南） */
.ca-intro-compass {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    border-left-color: #06b6d4;
}
.ca-intro-compass .ca-intro-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    color: #fff;
}

/* 风格7：star - 紫色系（精选/推荐） */
.ca-intro-star {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-left-color: #8b5cf6;
}
.ca-intro-star .ca-intro-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: #fff;
}

.ca-intro-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.ca-post-intro:hover .ca-intro-icon {
    transform: scale(1.1);
}

.ca-post-intro p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary, #334155);
    flex: 1;
    position: relative;
    z-index: 1;
}

/* 文章内容区 */
.ca-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color, #0f172a);
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.ca-post-content p {
    margin-bottom: 16px;
}

/* 小节式列表 */
.ca-article-sections {
    display: flex;
    flex-direction: column;
}

.ca-article-section {
    padding: 24px 0;
    border-bottom: 1px dashed var(--border-light, #f1f5f9);
    transition: all 0.3s ease;
    position: relative;
}

.ca-article-section:last-child {
    border-bottom: none;
}

.ca-article-section:hover {
    background: linear-gradient(to right, rgba(99, 102, 241, 0.02) 0%, transparent 100%);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: var(--radius, 10px);
}

/* 小节标题 */
.ca-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--text-color, #0f172a);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ca-section-num {
    color: var(--primary-color, #6366f1);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1.4;
}

.ca-section-title a {
    color: var(--text-color, #0f172a);
    text-decoration: none;
    transition: color 0.25s;
    flex: 1;
}

.ca-section-title a:hover {
    color: var(--primary-color, #6366f1);
}

/* 小节元信息 */
.ca-section-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 12px;
}

.ca-section-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ca-section-meta i {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
}

/* 小节图片 */
.ca-section-image {
    margin: 16px auto;
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    max-width: 280px;
    text-align: center;
}

.ca-section-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.ca-section-image a:hover img {
    transform: scale(1.02);
}

/* 小节摘要 */
.ca-section-excerpt {
    color: var(--text-secondary, #334155);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.ca-section-excerpt p {
    margin: 0;
}

/* 阅读原文按钮 */
.ca-section-readmore {
    margin-top: 12px;
}

.ca-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--bg-gray, #f8fafc);
    color: var(--primary-color, #6366f1);
    border-radius: var(--radius-full, 20px);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light, #f1f5f9);
}

.ca-readmore-btn:hover {
    background: var(--primary-color, #6366f1);
    color: #fff;
    border-color: var(--primary-color, #6366f1);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.ca-readmore-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.ca-readmore-btn:hover i {
    transform: rotate(-30deg);
}

/* 文章结尾总结 - 基础样式 */
.ca-post-summary {
    margin-top: 36px;
    padding: 24px;
    border-radius: var(--radius-lg, 12px);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.ca-post-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.ca-summary-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ca-summary-content h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
}

.ca-summary-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary, #475569);
}

/* 风格1：灯泡 - 蓝色系（知识/灵感） */
.ca-summary-lightbulb {
    background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
}
.ca-summary-lightbulb::before {
    background: linear-gradient(180deg, #3b82f6 0%, #6366f1 100%);
}
.ca-summary-lightbulb .ca-summary-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

/* 风格2：书签 - 绿色系（收藏/价值） */
.ca-summary-bookmark {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}
.ca-summary-bookmark::before {
    background: linear-gradient(180deg, #10b981 0%, #14b8a6 100%);
}
.ca-summary-bookmark .ca-summary-icon {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

/* 风格3：星星 - 紫色系（推荐/精选） */
.ca-summary-star {
    background: linear-gradient(135deg, #faf5ff 0%, #fdf4ff 100%);
}
.ca-summary-star::before {
    background: linear-gradient(180deg, #8b5cf6 0%, #d946ef 100%);
}
.ca-summary-star .ca-summary-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
}

/* 风格4：火焰 - 橙色系（热门/趋势） */
.ca-summary-fire {
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
}
.ca-summary-fire::before {
    background: linear-gradient(180deg, #f97316 0%, #f59e0b 100%);
}
.ca-summary-fire .ca-summary-icon {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
}

/* 风格5：爱心 - 粉色系（用心/温暖） */
.ca-summary-heart {
    background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 100%);
}
.ca-summary-heart::before {
    background: linear-gradient(180deg, #ec4899 0%, #f43f5e 100%);
}
.ca-summary-heart .ca-summary-icon {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

/* 风格6：指南针 - 青色系（探索/指南） */
.ca-summary-compass {
    background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
}
.ca-summary-compass::before {
    background: linear-gradient(180deg, #06b6d4 0%, #0ea5e9 100%);
}
.ca-summary-compass .ca-summary-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
}

/* 风格7：宝石 - 靛蓝色系（精华/荟萃） */
.ca-summary-gem {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}
.ca-summary-gem::before {
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
}
.ca-summary-gem .ca-summary-icon {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

/* 文章底部标签 */
.ca-post-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light, #f1f5f9);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ca-post-tags > i {
    color: var(--primary-color, #6366f1);
    font-size: 16px;
}

.ca-post-tags-label {
    color: var(--text-secondary, #334155);
    font-weight: 500;
    font-size: 14px;
}

.ca-post-tags a {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light, #eef2ff);
    color: var(--primary-color, #6366f1);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.25s ease;
    text-decoration: none;
    font-weight: 400;
}

.ca-post-tags a:hover {
    background: var(--primary-color, #6366f1);
    color: #fff;
    transform: translateY(-2px);
}

.ca-post-tags .ca-tag-current {
    background: var(--primary-color, #6366f1);
    color: #fff;
    font-weight: 500;
}

.ca-post-tags .ca-tag-current:hover {
    background: var(--primary-dark, #4f46e5);
    color: #fff;
}

/* 文章内分页 */
.ca-post-pagination {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light, #f1f5f9);
}

/* 无数据状态 */
.ca-post-content .ca-no-data {
    margin: 40px 0;
}

/* ===== 关键词高亮 ===== */
.ca-keyword-highlight {
    background: linear-gradient(120deg, #fde68a 0%, #fbbf24 100%);
    color: #92400e;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
}

/* ===== 匹配关键词标签 ===== */
.ca-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ca-matched-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
}

.ca-matched-keyword {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
    transition: all 0.2s ease;
}

.ca-matched-keyword:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.45);
}

/* ===== 无数据 ===== */
.ca-no-data {
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-white, #fff);
    border-radius: var(--radius, 10px);
    box-shadow: var(--shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
    border: 1px solid var(--border-light, #f1f5f9);
}

.ca-no-data-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light, #eef2ff);
    color: var(--primary-color, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.ca-no-data h3 {
    font-size: 18px;
    color: var(--text-color, #0f172a);
    margin-bottom: 8px;
}

.ca-no-data p {
    color: var(--text-light, #64748b);
    font-size: 14px;
    margin: 0;
}

.ca-error {
    text-align: center;
    padding: 48px 24px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: var(--radius, 10px);
    border: 1px solid #fecaca;
}

/* ===== 分页 ===== */
.ca-pagination {
    margin-top: 32px;
    padding: 24px 0;
}

.ca-pagination-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ca-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    background: var(--bg-white, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius, 10px);
    color: var(--text-secondary, #334155);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition, all 0.25s cubic-bezier(0.4, 0, 0.2, 1));
    cursor: pointer;
}

.ca-page-btn:hover {
    border-color: var(--primary-color, #6366f1);
    color: var(--primary-color, #6366f1);
    background: var(--primary-light, #eef2ff);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.ca-page-btn.active {
    background: var(--primary-color, #6366f1);
    border-color: var(--primary-color, #6366f1);
    color: #fff;
    cursor: default;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.ca-page-btn.ca-prev-btn,
.ca-page-btn.ca-next-btn {
    gap: 6px;
    font-weight: 600;
}

.ca-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    color: var(--text-muted, #94a3b8);
    letter-spacing: 2px;
}

/* ===== 侧边栏 ===== */
.ca-sidebar {
    position: sticky;
    top: calc(var(--header-height, 68px) + 24px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary, #334155);
    letter-spacing: -0.01em;
}

/* 小工具卡片 */
.ca-sidebar .sidebar-widget {
    background: var(--bg-card, #fff);
    border-radius: var(--radius, 10px);
    padding: 24px;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04));
    border: 1px solid var(--border-light, #f1f5f9);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    contain: content;
    content-visibility: auto;
    contain-intrinsic-size: auto 300px;
}

.ca-sidebar .sidebar-widget:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* 小工具标题 - 统一16px/600 */
.ca-sidebar .widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color, #0f172a);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    position: relative;
    line-height: 1.5;
}

.ca-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color, #6366f1);
    border-radius: 2px;
}

.ca-sidebar .widget-title i {
    color: var(--primary-color, #6366f1);
    font-size: 16px;
}

/* ===== 统一字号规则 =====
   标题:     16px / 600
   列表链接: 13px / 400
   辅助信息: 12px / 400 (日期、计数、浏览量)
   标签:     12px / 400
   正文文本: 13px / 400
*/

/* 侧边栏 - 最新文章 */
.ca-widget-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ca-widget-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ca-widget-post-item:first-child {
    padding-top: 0;
}

.ca-widget-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ca-widget-post-item:hover {
    padding-left: 6px;
}

.ca-widget-post-image {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--radius, 10px);
    overflow: hidden;
    background: var(--bg-gray, #f8fafc);
    position: relative;
}

.ca-widget-post-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(99, 102, 241, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ca-widget-post-item:hover .ca-widget-post-image::after {
    opacity: 1;
}

.ca-widget-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ca-widget-post-item:hover .ca-widget-post-image img {
    transform: scale(1.08);
}

.ca-widget-post-info {
    flex: 1;
    min-width: 0;
}

.ca-widget-post-info h4 {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 4px;
}

.ca-widget-post-info h4 a {
    color: var(--text-color, #0f172a);
    text-decoration: none;
    transition: color 0.25s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ca-widget-post-info h4 a:hover {
    color: var(--primary-color, #6366f1);
}

.ca-widget-post-date {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ca-widget-post-date i {
    font-size: 11px;
}

/* 侧边栏 - 分类 */
.ca-widget-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ca-widget-categories li {
    padding: 0;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    position: relative;
}

.ca-widget-categories li:last-child {
    border-bottom: none;
}

.ca-widget-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    margin: 0 -12px;
    color: var(--text-secondary, #334155);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
}

.ca-widget-categories li a:hover {
    color: var(--primary-color, #6366f1);
    background: var(--primary-light, #eef2ff);
    border-left-color: var(--primary-color, #6366f1);
}

.ca-cat-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ca-cat-count {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    font-weight: 500;
    transition: all 0.25s;
    min-width: 45px;
    text-align: right;
    padding-left: 12px;
}

.ca-widget-categories li a:hover .ca-cat-count {
    color: var(--primary-color, #6366f1);
}

/* 侧边栏 - 相关标签 */
.ca-widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ca-widget-tags a,
.ca-widget-tags .tag-cloud-link {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--bg-gray, #f8fafc);
    color: var(--text-secondary, #334155);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.ca-widget-tags a::before,
.ca-widget-tags .tag-cloud-link::before {
    content: '#';
    margin-right: 3px;
    color: var(--text-muted, #94a3b8);
    font-weight: 400;
    transition: color 0.25s;
}

.ca-widget-tags a:hover,
.ca-widget-tags .tag-cloud-link:hover {
    background: var(--primary-light, #eef2ff);
    color: var(--primary-color, #6366f1);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

.ca-widget-tags a:hover::before,
.ca-widget-tags .tag-cloud-link:hover::before {
    color: var(--primary-color, #6366f1);
}

/* 当前关键词标签高亮 */
.ca-widget-tags .ca-tag-current {
    background: var(--primary-color, #6366f1);
    color: #fff;
    border-color: var(--primary-color, #6366f1);
    font-weight: 500;
}

.ca-widget-tags .ca-tag-current::before {
    color: rgba(255, 255, 255, 0.7);
}

.ca-widget-tags .ca-tag-current:hover {
    background: var(--primary-dark, #4f46e5);
    color: #fff;
    border-color: var(--primary-dark, #4f46e5);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.ca-widget-tags .ca-tag-current:hover::before {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== 主题原生小工具适配 ===== */
/* 搜索框 */
.ca-sidebar .search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.ca-sidebar .search-field {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 25px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-color, #0f172a);
    background: var(--bg-gray, #f8fafc);
    transition: all 0.25s;
    outline: none;
}

.ca-sidebar .search-field:focus {
    border-color: var(--primary-color, #6366f1);
    background: var(--bg-card, #fff);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.ca-sidebar .search-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color, #6366f1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.25s;
}

.ca-sidebar .search-submit:hover {
    background: var(--primary-dark, #4f46e5);
}

/* 主题原生分类/页面列表 */
.ca-sidebar ul.menu,
.ca-sidebar ul:not([class]) {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ca-sidebar ul.menu li,
.ca-sidebar ul:not([class]) > li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
}

.ca-sidebar ul.menu li:last-child,
.ca-sidebar ul:not([class]) > li:last-child {
    border-bottom: none;
}

.ca-sidebar ul.menu li a,
.ca-sidebar ul:not([class]) > li a {
    display: flex;
    align-items: center;
    color: var(--text-secondary, #334155);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.25s;
}

.ca-sidebar ul.menu li a:hover,
.ca-sidebar ul:not([class]) > li a:hover {
    color: var(--primary-color, #6366f1);
}

/* 文本小工具 */
.ca-sidebar .textwidget {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary, #334155);
}

.ca-sidebar .textwidget p {
    margin: 0 0 12px;
}

.ca-sidebar .textwidget p:last-child {
    margin-bottom: 0;
}

.ca-sidebar .textwidget a {
    color: var(--primary-color, #6366f1);
    text-decoration: none;
}

.ca-sidebar .textwidget a:hover {
    text-decoration: underline;
}

/* 主题原生标签云 */
.ca-sidebar .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ca-sidebar .tagcloud a {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--bg-gray, #f8fafc);
    color: var(--text-secondary, #334155);
    border-radius: 6px;
    font-size: 12px !important;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.ca-sidebar .tagcloud a:hover {
    background: var(--primary-light, #eef2ff);
    color: var(--primary-color, #6366f1);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

/* 主题原生最新文章小工具 */
.ca-sidebar .widget_recent_entries ul,
.ca-sidebar .widget_recent_comments ul,
.ca-sidebar .widget_archive ul,
.ca-sidebar .widget_meta ul,
.ca-sidebar .widget_nav_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ca-sidebar .widget_recent_entries li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
}

.ca-sidebar .widget_recent_entries li:last-child {
    border-bottom: none;
}

.ca-sidebar .widget_recent_entries a {
    display: block;
    color: var(--text-color, #0f172a);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.25s;
}

.ca-sidebar .widget_recent_entries a:hover {
    color: var(--primary-color, #6366f1);
}

.ca-sidebar .widget_recent_entries .post-date {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
}

/* 主题原生分类小工具 */
.ca-sidebar .widget_categories select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius, 10px);
    font-size: 13px;
    font-family: inherit;
    color: var(--text-color, #0f172a);
    background: var(--bg-card, #fff);
    cursor: pointer;
    outline: none;
}

/* 主题原生评论小工具 */
.ca-sidebar .widget_recent_comments li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    font-size: 13px;
    line-height: 1.6;
}

.ca-sidebar .widget_recent_comments li:last-child {
    border-bottom: none;
}

.ca-sidebar .widget_recent_comments a {
    color: var(--primary-color, #6366f1);
    text-decoration: none;
}

.ca-sidebar .widget_recent_comments a:hover {
    text-decoration: underline;
}

/* 主题原生归档小工具 */
.ca-sidebar .widget_archive li,
.ca-sidebar .widget_meta li,
.ca-sidebar .widget_nav_menu li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
}

.ca-sidebar .widget_archive li:last-child,
.ca-sidebar .widget_meta li:last-child,
.ca-sidebar .widget_nav_menu li:last-child {
    border-bottom: none;
}

.ca-sidebar .widget_archive a,
.ca-sidebar .widget_meta a,
.ca-sidebar .widget_nav_menu a {
    color: var(--text-secondary, #334155);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.25s;
}

.ca-sidebar .widget_archive a:hover,
.ca-sidebar .widget_meta a:hover,
.ca-sidebar .widget_nav_menu a:hover {
    color: var(--primary-color, #6366f1);
}

/* 主题日历小工具 */
.ca-sidebar .widget_calendar #wp-calendar {
    width: 100%;
    font-size: 12px;
}

.ca-sidebar .widget_calendar caption {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color, #0f172a);
}

.ca-sidebar .widget_calendar th,
.ca-sidebar .widget_calendar td {
    text-align: center;
    padding: 6px 4px;
}

.ca-sidebar .widget_calendar a {
    color: var(--primary-color, #6366f1);
    text-decoration: none;
    font-weight: 500;
}

/* ===== 动画效果 ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 0.5s ease-out 0.1s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 0.5s ease-out 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 0.5s ease-out 0.3s forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out forwards;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.bounce-animation {
    animation: bounce 1s infinite;
}

/* ===== 加载状态 ===== */
.ca-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.ca-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color, #e2e8f0);
    border-top-color: var(--primary-color, #6366f1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ca-loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius, 10px);
}

/* ===== 平滑滚动 ===== */
html {
    scroll-behavior: smooth;
}

.ca-scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color, #6366f1);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.ca-scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ca-scroll-to-top:hover {
    background: var(--primary-dark, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* ===== 统计卡片悬浮 ===== */
.ca-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius, 10px);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.ca-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.ca-stat-item:hover::before {
    transform: scaleY(1);
}

.ca-stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

/* ===== 卡片悬浮提示 ===== */
.ca-tooltip {
    position: relative;
}

.ca-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
    margin-bottom: 8px;
}

.ca-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(15, 23, 42, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.ca-tooltip:hover::after,
.ca-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ===== 数字递增动画 ===== */
.ca-stat-num {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.ca-animate-number {
    animation: countUp 1s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 按钮点击效果 ===== */
.ca-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    background: var(--bg-white, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius, 10px);
    color: var(--text-secondary, #334155);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition, all 0.25s cubic-bezier(0.4, 0, 0.2, 1));
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ca-page-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ca-page-btn:active::before {
    width: 300px;
    height: 300px;
}

.ca-page-btn:hover {
    border-color: var(--primary-color, #6366f1);
    color: var(--primary-color, #6366f1);
    background: var(--primary-light, #eef2ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.2);
}

/* ===== 进度条 ===== */
.ca-progress-bar {
    height: 6px;
    background: var(--border-color, #e2e8f0);
    border-radius: 3px;
    overflow: hidden;
}

.ca-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color, #6366f1), var(--primary-dark, #4f46e5));
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ===== 免责声明 ===== */
.ca-disclaimer {
    margin: 24px 0 8px;
    padding: 14px 18px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
    line-height: 1.7;
}

.ca-disclaimer .disclaimer-text {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ca-disclaimer .disclaimer-text i {
    color: #f59e0b;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .ca-content-grid {
        grid-template-columns: 1fr;
    }

    .ca-sidebar {
        position: static;
        order: 2;
    }

    .ca-main-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .ca-page-header-card {
        padding: 24px;
    }

    .ca-page-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ca-keyword-badge {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .ca-page-title {
        font-size: 22px;
    }

    .ca-page-stats {
        gap: 12px;
    }

    .ca-stat-item {
        padding: 10px 14px;
        gap: 10px;
        min-width: auto;
        flex: 1;
    }

    .ca-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .ca-stat-num {
        font-size: 18px;
    }

    .ca-stat-label {
        font-size: 12px;
    }

    .ca-quick-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }

    /* 文章式布局响应式 */
    .ca-post-article {
        padding: 20px 16px;
    }

    .ca-post-hero {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .ca-post-title {
        font-size: 22px;
    }

    .ca-post-meta {
        gap: 12px;
        font-size: 13px;
    }

    .ca-post-intro {
        padding: 16px;
        margin-bottom: 20px;
    }

    .ca-post-intro p {
        font-size: 14px;
    }

    .ca-post-content {
        font-size: 15px;
    }

    .ca-article-section {
        padding: 16px 0;
    }

    .ca-article-section:hover {
        margin: 0 -8px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .ca-section-title {
        font-size: 17px;
    }

    .ca-section-num {
        font-size: 18px;
    }

    .ca-section-excerpt {
        font-size: 14px;
    }

    .ca-section-meta {
        gap: 12px;
    }

    .ca-post-tags {
        margin-top: 24px;
        padding-top: 16px;
    }

    .ca-breadcrumb {
        padding: 12px 0;
        font-size: 13px;
    }

    .ca-sidebar .sidebar-widget {
        padding: 16px;
    }

    .ca-sidebar .widget-title {
        font-size: 15px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .ca-widget-post-image {
        width: 52px;
        height: 52px;
    }

    .ca-widget-post-item:hover {
        padding-left: 0;
    }

    .ca-widget-categories li a {
        padding: 8px 10px;
        margin: 0 -10px;
    }

    .ca-scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}
