/* 排行榜样式 */
.top-ranking {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.top-ranking h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.top-ranking h2 i {
    color: #4CAF50;
    margin-right: 10px;
}

.ranking-list {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ranking-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item:hover {
    background-color: #f5f5f5;
}

.rank-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.ranking-item:nth-child(1) .rank-number {
    background-color: #FF5722;
}

.ranking-item:nth-child(2) .rank-number {
    background-color: #FF9800;
}

.ranking-item:nth-child(3) .rank-number {
    background-color: #FFC107;
}

.ranking-content {
    flex-grow: 1;
}

.ranking-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.ranking-content h3 a {
    color: #333;
    text-decoration: none;
}

.ranking-content h3 a:hover {
    color: #4CAF50;
}

.ranking-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.ranking-meta .category {
    color: #4CAF50;
}

.ranking-meta .views {
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .top-ranking {
        padding: 40px 0;
    }
    
    .ranking-item {
        padding: 15px;
    }
    
    .ranking-content h3 {
        font-size: 16px;
    }
    
    .ranking-meta {
        font-size: 13px;
    }
}