/* ========== 分类与文章两栏布局 ========== */
.blog-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* 左侧分类导航区域 */
.blog-categories-sidebar {
    flex: 0 0 280px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.04); */
}

.categories-header {
    padding: 0 20px 16px 20px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 12px;
}

.categories-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.categories-header h3 i {
    color: #1a73e8;
    font-size: 20px;
}

.category-list-modern {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list-modern li {
    margin: 0;
    padding: 0;
}

.category-list-modern li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #4a5568;
    font-size: 15px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    background: transparent;
}

.category-list-modern li a:hover {
    background: #edf2f7;
    color: #6600ff;
    padding-left: 24px;
}

.category-list-modern li.active a {
    background: linear-gradient(90deg, rgba(26,115,232,0.15) 0%, rgba(26,115,232,0.08) 100%);
    border-left-color: #1a73e8;
    color: #6600ff;
    font-weight: 500;
}

.category-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-name i {
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.25s ease;
}

.category-list-modern li a:hover .category-name i,
.category-list-modern li.active .category-name i {
    color: #1a73e8;
}

.category-count {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.25s ease;
}

.category-list-modern li a:hover .category-count,
.category-list-modern li.active .category-count {
    background: #1a73e8;
    color: white;
}

/* 右侧内容区域 */
.blog-content-area {
    flex: 1;
    min-width: 0;
}

/* 当前分类色块标识 */
.current-category-badge {
    background: linear-gradient(90deg, #efe9ff 0%, #ad52ff 100%);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-badge-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-badge-icon {
    width: 48px;
    height: 48px;
    background: #6600ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-badge-text h2 {
    margin: 0 0 4px 0;
    font-size: 22px;
    font-weight: 600;
    color: #111111;
}

.category-badge-text p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}

.category-badge-stats {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
}

/* 文章列表样式优化 */
.article-list-modern {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.article-list-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #edf2f7;
    transition: all 0.2s ease;
}

.article-list-item-modern:hover {
    background: #fafbfc;
    padding-left: 24px;
}

.article-title-modern {
    color: #2d3748;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    padding-right: 20px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.article-title-modern:hover {
    color: #6600ff;
    text-decoration: none;
}

.article-date-modern {
    color: #94a3b8;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 400;
}

.article-date-modern i {
    margin-right: 5px;
}

/* 空状态和错误提示 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    color: #64748b;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}



/* 终极纯净分页样式 - 完整版 */
.pagination-container, 
.pagination-container * {
    all: unset !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    list-style: none !important;
    display: block !important;
}

.pagination-container {
    margin: 40px 0 0 0 !important;
    text-align: center !important;
}

.pagination {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.pagination li {
    display: inline !important;
}

.pagination a {
    color: #1a73e8 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

/* 基础悬停效果 */
.pagination a:hover {
    text-decoration: underline !important;
}

/* 当前页样式 */
.pagination .active a {
    color: #000 !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}

/* 禁用状态样式 */
.pagination .disabled span {
    color: #999 !important;
    font-size: 15px !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.pagination-info {
    color: #666 !important;
    font-size: 14px !important;
    margin-top: 10px !important;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .pagination {
        gap: 10px !important;
    }
}



.page-title-geo {
    position: relative;
    text-align: center;
}

.page-title-geo .bg-layer {
    background-image: url(../images/background/page-title.png);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-title-geo .geo-container {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.page-title-geo h1 {
    font-size: 26px;
    color: white;
    margin: 0 0 30px 0;
    text-align: center;
}

.page-title-geo .geo-slogan {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
    text-align: center;
}

.page-title-geo .geo-keywords {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .page-title-geo h1 {
        font-size: 32px;
    }
    .page-title-geo .geo-slogan {
        font-size: 18px;
    }
    .page-title-geo .geo-keywords {
        font-size: 12px;
    }
    .page-title-geo .geo-container {
        padding: 50px 20px;
    }
}



/* 响应式 */
@media (max-width: 768px) {
    .blog-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .blog-categories-sidebar {
        flex: auto;
        position: static;
        width: 100%;
        overflow-x: auto;
        padding: 12px 0;
    }
    
    .category-list-modern {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0 16px;
    }
    
    .category-list-modern li {
        display: inline-block;
    }
    
    .category-list-modern li a {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 8px 14px;
        border-radius: 30px;
        background: #edf2f7;
    }
    
    .category-list-modern li a:hover {
        padding-left: 14px;
        background: #1a73e8;
        color: white;
    }
    
    .category-list-modern li.active a {
        border-left-color: transparent;
        border-bottom-color: #1a73e8;
        background: #1a73e8;
        color: white;
    }
    
    .category-list-modern li.active .category-count {
        background: white;
        color: #1a73e8;
    }
    
    .categories-header {
        display: none;
    }
    
    .article-list-item-modern {
        padding: 14px 16px;
        flex-wrap: wrap;
    }
    
    .article-title-modern {
        font-size: 15px;
        padding-right: 12px;
    }
    
    .article-date-modern {
        font-size: 11px;
    }
    
    .current-category-badge {
        padding: 16px 20px;
    }
    
    .category-badge-text h2 {
        font-size: 18px;
    }
}