/**
 * 温暖明亮的文章列表页面样式
 * 舒适愉悦的设计风格
 */

/* 全局样式重置 */
* {
    box-sizing: border-box;
}

/* 温暖的英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 50%, #fbb6ce 100%);
    padding: 50px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #f7c6c7;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #744c4c;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(116, 76, 76, 0.1);
}

.hero-description {
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    color: #8b5a5a;
    max-width: 600px;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #744c4c;
}

.stat-item i {
    width: 16px;
    height: 16px;
    background: #f093a0;
    border-radius: 3px;
}

/* 温暖的搜索区域 */
.search-section {
    background: linear-gradient(135deg, #fffaf0 0%, #fef5e7 100%);
    padding: 30px 0;
    border-bottom: 1px solid #f7e6cc;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advanced-search-form {
    margin-bottom: 24px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #fff8f0;
    border: 1px solid #f7d794;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(247, 215, 148, 0.2);
}

.search-input-group:focus-within {
    border-color: #ed8936;
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.3);
}

.search-icon {
    padding: 0 16px;
    color: #c05621;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 16px;
    font-size: 1rem;
    outline: none;
    color: #744210;
}

.search-input::placeholder {
    color: #d69e2e;
}

.search-btn {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.3);
}

.search-btn:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c53030 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.4);
}

.btn-icon {
    display: none;
}

/* 简化的快速筛选标签 */
.quick-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 500;
    color: #744210;
    font-size: 0.9rem;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #fff8f0;
    color: #744210;
    text-decoration: none;
    border: 1px solid #f7d794;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.filter-tag:hover,
.filter-tag.active {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.tag-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.articles-main {
    min-width: 0;
}

/* 文章容器 */
.articles-container {
    margin-bottom: 50px;
}

/* 简化的无文章状态 */
.no-articles {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.no-articles-icon {
    width: 48px;
    height: 48px;
    background: #e2e8f0;
    border-radius: 8px;
    margin: 0 auto 16px;
}

.no-articles h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.no-articles p {
    color: #718096;
    font-size: 1rem;
    margin: 0 0 24px 0;
}

.back-to-articles {
    display: inline-block;
    background: #4299e1;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.back-to-articles:hover {
    background: #3182ce;
}

/* 简化的文章网格 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

/* 温暖的文章卡片 */
.article-card {
    background: linear-gradient(135deg, #fffbf7 0%, #fff5f0 100%);
    border: 1px solid #f7d794;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(247, 215, 148, 0.2);
}

.article-card:hover {
    border-color: #ed8936;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.2);
}

/* 简化的卡片图片区域 */
.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff8f0 0%, #fef5e7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    width: 40px;
    height: 40px;
    background: #f7d794;
    border-radius: 6px;
}

/* 简化的分类徽章 */
.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.category-badge a {
    background: rgba(255, 248, 240, 0.95);
    color: #744210;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(247, 215, 148, 0.5);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.category-badge a:hover {
    background: #fff8f0;
    border-color: #ed8936;
    transform: scale(1.05);
}

/* 隐藏卡片覆盖层 */
.card-overlay {
    display: none;
}

.read-more-overlay {
    display: none;
}

.arrow-icon {
    display: none;
}

/* 简化的文章内容 */
.article-content {
    padding: 20px;
}

/* 温暖的文章元信息 */
.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #a0522d;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-meta i {
    width: 12px;
    height: 12px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.7;
}

/* 文章标题 */
.article-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #744210;
}

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

.article-title a:hover {
    color: #ed8936;
}

/* 文章摘要 */
.article-excerpt {
    color: #8b5a5a;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1rem;
}

/* 文章标签 */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.article-tag {
    background: #fff8f0;
    color: #744210;
    padding: 3px 8px;
    border: 1px solid #f7d794;
    border-radius: 6px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
}

.article-tag:hover {
    border-color: #ed8936;
    background: #fef5e7;
    transform: scale(1.05);
}

.more-tags {
    background: #fff8f0;
    color: #a0522d;
    padding: 3px 6px;
    border: 1px solid #f7d794;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 温暖的文章底部 */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f7d794;
}

.read-more-btn {
    color: #ed8936;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.read-more-btn:hover {
    color: #dd6b20;
    transform: translateX(3px);
}

.arrow-right {
    display: none;
}

/* 温暖的文章操作按钮 */
.article-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #f7d794;
    background: #fff8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    border-color: #ed8936;
    background: #fef5e7;
    transform: scale(1.1);
}

.action-btn i {
    width: 14px;
    height: 14px;
    background: #c05621;
    border-radius: 3px;
}

.action-btn:hover i {
    background: #ed8936;
}

/* 温暖的分页样式 */
.pagination-wrapper {
    background: linear-gradient(135deg, #fffbf7 0%, #fff5f0 100%);
    border: 1px solid #f7d794;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    box-shadow: 0 2px 8px rgba(247, 215, 148, 0.2);
}

.pagination-info {
    text-align: center;
    margin-bottom: 16px;
    color: #a0522d;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff8f0;
    color: #744210;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid #f7d794;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.pagination-btn:hover {
    border-color: #ed8936;
    background: #fef5e7;
    transform: translateY(-1px);
}

.pagination-btn i {
    width: 14px;
    height: 14px;
    background: currentColor;
    border-radius: 3px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #fff8f0;
    color: #744210;
    border: 1px solid #f7d794;
    font-size: 0.9rem;
}

.page-number:hover {
    border-color: #ed8936;
    background: #fef5e7;
    transform: scale(1.05);
}

.page-number.current {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border-color: #ed8936;
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.3);
}

.pagination-dots {
    color: #d69e2e;
    font-weight: bold;
    padding: 0 8px;
}

/* 分页跳转 */
.pagination-jump {
    display: flex;
    justify-content: center;
}

.jump-form {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #a0522d;
}

.jump-input {
    width: 60px;
    padding: 8px 12px;
    border: 2px solid #f7d794;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
    background: #fff8f0;
    color: #744210;
}

.jump-input:focus {
    border-color: #ed8936;
    box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.1);
}

.jump-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.3);
}

.jump-btn:hover {
    background: linear-gradient(135deg, #dd6b20, #c53030);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.4);
}

/* 温暖的侧边栏样式 */
.sidebar {
    position: sticky;
    top: 20px;
}

.widget {
    background: linear-gradient(135deg, #fffbf7 0%, #fff5f0 100%);
    border: 1px solid #f7d794;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(247, 215, 148, 0.2);
}

.widget h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #744210;
    padding-bottom: 12px;
    border-bottom: 1px solid #f7d794;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget h3::after {
    display: none;
}

.widget-icon {
    width: 16px;
    height: 16px;
    background: #f7d794;
    border-radius: 4px;
    flex-shrink: 0;
}

/* 温暖的统计组件 */
.stats-widget {
    background: linear-gradient(135deg, #fff8f0 0%, #fef5e7 100%);
    border-color: #f7d794;
}

.stats-widget h3 {
    color: #744210;
}

.stats-widget .widget-icon {
    background: #ed8936;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbf7;
    padding: 12px;
    border: 1px solid #f7d794;
    border-radius: 8px;
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fef5e7;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #744210;
}

.stat-label {
    font-size: 0.85rem;
    color: #a0522d;
    margin-top: 2px;
}

/* 温暖的分类导航 */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: #744210;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff8f0;
    border: 1px solid transparent;
}

.category-item:hover {
    background: #fef5e7;
    transform: translateX(3px);
}

.category-item.active {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.3);
}

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

.category-name i {
    width: 14px;
    height: 14px;
    background: currentColor;
    border-radius: 3px;
    opacity: 0.6;
}

.category-count {
    background: #fef5e7;
    color: #744210;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.category-item.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-item:hover .category-count {
    background: rgba(237, 137, 54, 0.2);
    color: #dd6b20;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff8f0;
    color: #744210;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tag-item:hover {
    background: #fef5e7;
    transform: scale(1.05);
    border-color: #ed8936;
}

.tag-item.active {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.3);
}

.tag-name {
    font-weight: 500;
}

.tag-count {
    background: #fef5e7;
    color: #744210;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    min-width: 16px;
    text-align: center;
}

.tag-item.active .tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 温暖的最新文章 */
.recent-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-article-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff8f0;
    border: 1px solid #f7d794;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.recent-article-item:hover {
    background: #fef5e7;
    transform: translateX(3px);
    border-color: #ed8936;
}

.recent-article-content {
    flex: 1;
    min-width: 0;
}

.recent-article-title {
    margin: 0 0 6px 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.recent-article-title a {
    color: #744210;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-article-title a:hover {
    color: #ed8936;
}

.recent-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #a0522d;
}

.recent-article-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.recent-article-meta i {
    width: 10px;
    height: 10px;
    background: currentColor;
    border-radius: 3px;
    opacity: 0.6;
}

.recent-article-thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.recent-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #fef5e7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-placeholder i {
    width: 16px;
    height: 16px;
    background: #f7d794;
    border-radius: 4px;
}

/* 温暖的文章归档 */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.archive-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: #744210;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff8f0;
    border: 1px solid transparent;
}

.archive-item:hover {
    background: #fef5e7;
    transform: translateX(3px);
}

.archive-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 0.85rem;
}

.archive-date i {
    width: 12px;
    height: 12px;
    background: currentColor;
    border-radius: 3px;
    opacity: 0.6;
}

.archive-count {
    background: #fef5e7;
    color: #744210;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    min-width: 16px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .search-input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        position: static;
        margin-top: 24px;
    }
    
    .pagination {
        gap: 4px;
    }
    
    .pagination-btn span {
        display: none;
    }
    
    .page-number {
        min-width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 24px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .search-section {
        padding: 20px 0;
    }
    
    .widget {
        padding: 16px;
    }
    
    .article-content {
        padding: 16px;
    }
}

/* 快速操作 */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff8f0;
    color: #744210;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    text-align: left;
}

.action-btn:hover {
    background: #fef5e7;
    transform: translateY(-2px);
    border-color: #ed8936;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.2);
}

.action-btn.rss-btn:hover {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border-color: transparent;
}

.action-btn.random-btn:hover {
    background: linear-gradient(135deg, #f093a0, #e53e3e);
    color: white;
    border-color: transparent;
}

.action-btn.top-btn:hover {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    border-color: transparent;
}

.action-btn i {
    width: 18px;
    height: 18px;
    background: currentColor;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 面包屑导航 */
.breadcrumb {
    background: linear-gradient(135deg, #fffbf7 0%, #fff5f0 100%);
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(247, 215, 148, 0.2);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid #f7d794;
}

.breadcrumb a {
    color: #ed8936;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #dd6b20;
}

.breadcrumb .separator {
    color: #d69e2e;
    margin: 0 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .search-section {
        padding: 30px 0;
    }
    
    .quick-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination-btn span {
        display: none;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .search-input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .pagination-numbers {
        gap: 2px;
    }
    
    .page-number {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .search-section,
    .article-card,
    .widget,
    .pagination-wrapper,
    .breadcrumb {
        background: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }
    
    .hero-section {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    }
    
    .search-input-group {
        background: #4a5568;
    }
    
    .search-input {
        color: #e2e8f0;
    }
    
    .search-input::placeholder {
        color: #a0aec0;
    }
    
    .article-title,
    .widget h3 {
        color: #e2e8f0;
    }
    
    .article-excerpt,
    .article-meta {
        color: #cbd5e0;
    }
    
    .filter-tag,
    .article-tag,
    .categories-widget a {
        background: #4a5568;
        color: #e2e8f0;
    }
    
    .page-number,
    .pagination-btn {
        background: #4a5568;
        color: #e2e8f0;
        border-color: #718096;
    }
}

/* 打印样式 */
@media print {
    .hero-section,
    .search-section,
    .pagination-wrapper,
    .sidebar {
        display: none;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        max-width: none;
        padding: 0;
    }
    
    .article-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
        margin-bottom: 20px;
    }
}