/* 橘色主题列表页样式 */
.list-page {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
    padding: 30px 0;
    min-height: 100vh;
}

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

/* 页面标题区域 */
.list-page .list-header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-page .list-header a.currentr {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.list-page .list-header a.currentr:hover {
    color: #fff;
    text-decoration: none;
}

/* 工具栏样式 */
.list-page .list-toolbar {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
}

.list-page .list-toolbar .count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.list-page .list-toolbar .count span {
    color: #ff6b35;
    font-weight: 700;
    font-size: 16px;
}

.list-page .list-toolbar .post-link a {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.list-page .list-toolbar .post-link a:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* 卡片网格 */
.list-page .list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

@media (max-width: 1024px) {
    .list-page .list-grid { 
        grid-template-columns: repeat(2, 1fr); 
        grid-gap: 20px;
    }
}

@media (max-width: 640px) {
    .list-page .list-grid { 
        grid-template-columns: 1fr; 
        grid-gap: 15px;
    }
}

/* 卡片样式 */
.list-page .list-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.list-page .list-card:hover {
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.25);
    transform: translateY(-8px);
}

.list-page .list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
}

.list-page .list-card-media {
    display: block;
    position: relative;
    overflow: hidden;
}

.list-page .list-card-media img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #fff5f0;
    transition: transform 0.3s ease;
}

.list-page .list-card:hover .list-card-media img {
    transform: scale(1.05);
}

.list-page .list-card-body {
    padding: 20px;
}

.list-page .list-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0 0 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.list-page .list-card-title a:hover {
    color: #ff6b35;
}

.list-page .list-card-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f5f5f5;
}

.list-page .list-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

/* 特殊标记样式 */
.list-page .list-card-title a.is-red { 
    color: #ff6b35 !important; 
}

.list-page .list-card-title a.is-bold { 
    font-weight: 700; 
}

/* 徽章样式 */
.list-page .badge {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    color: #fff;
    font-weight: 500;
}

.list-page .badge.recommend { 
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); 
}

.list-page .badge.certify { 
    background: linear-gradient(135deg, #ff8c42 0%, #ffab70 100%); 
}

.list-page .badge.imgcount { 
    background: linear-gradient(135deg, #ffa366 0%, #ffb380 100%); 
}

/* 置顶卡片样式 */
.list-page .list-card.ding {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
    border: 2px solid #ff6b35;
    position: relative;
}

.list-page .list-card.ding::after {
    content: '置顶';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

/* 分页样式 */
.list-page .list-pagination {
    margin: 40px 0 20px 0;
    display: flex;
    justify-content: center;
}

.list-page .list-pagination .pagination2 {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
}

.list-page .list-pagination .pagination2 a,
.list-page .list-pagination .pagination2 span.current {
    border-radius: 20px;
    padding: 10px 16px;
    margin: 0 3px;
    border: 2px solid transparent;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.list-page .list-pagination .pagination2 a {
    color: #ff6b35;
    border-color: #ff6b35;
}

.list-page .list-pagination .pagination2 a:hover,
.list-page .list-pagination .pagination2 span.current {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* 面包屑导航 */
.list-page .list-breadcrumb {
    font-size: 13px;
    color: #999;
    margin: 15px 0 10px 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .list-page {
        padding: 20px 0;
    }
    
    .list-page .list-container {
        padding: 0 15px;
    }
    
    .list-page .list-header {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .list-page .list-toolbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .list-page .list-card-body {
        padding: 15px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.list-page .list-card {
    animation: fadeInUp 0.6s ease forwards;
}

.list-page .list-card:nth-child(1) { animation-delay: 0.1s; }
.list-page .list-card:nth-child(2) { animation-delay: 0.2s; }
.list-page .list-card:nth-child(3) { animation-delay: 0.3s; }
.list-page .list-card:nth-child(4) { animation-delay: 0.4s; }
.list-page .list-card:nth-child(5) { animation-delay: 0.5s; }
.list-page .list-card:nth-child(6) { animation-delay: 0.6s; }