/* 
* 列表页面样式 - 专用于栏目5
* 匹配图片1的设计风格
* 使用唯一类名 .list-page-id5 限制只影响当前页面
*/

/* 重置列表样式 */
.list-page-id5 .feed-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 列表项样式 - 完全匹配图片1 */
.list-page-id5 .moban5 {
    background: #fff;
    margin-bottom: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.list-page-id5 .moban5 .pictext {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

/* 左侧图片 - 70x70 - 强制覆盖默认的152x84 */
.list-page-id5 .moban5 .pic {
    width: 150px !important;
    height: 110px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.list-page-id5 .moban5 .pic img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.list-page-id5 .moban5:hover .pic img {
    transform: scale(1.05);
}

/* 右侧内容区域 */
.list-page-id5 .moban5 .details {
    flex: 1;
    position: relative;
}

/* 第一行：排名数字 */
.list-page-id5 .rank-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #ff5722;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 24px;
    border-radius: 4px;
    margin-right: 8px;
    float: left;
}

.list-page-id5 .rank-number-1 { background: #f44336; }
.list-page-id5 .rank-number-2 { background: #ff9800; }
.list-page-id5 .rank-number-3 { background: #4caf50; }
.list-page-id5 .rank-number-4 { background: #2196f3; }
.list-page-id5 .rank-number-5 { background: #9c27b0; }

/* 资料标签和热度 */
.list-page-id5 .info-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    margin-left: 32px; /* 为排名数字留出空间 */
}

.list-page-id5 .ziliao-tag {
    color: #999;
    font-size: 14px;
    margin-right: 10px;
    position: relative;
}

.list-page-id5 .ziliao-tag:after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #ddd;
}

.list-page-id5 .hot-value {
    display: flex;
    align-items: center;
    color: #ff5722;
    font-weight: 500;
    font-size: 14px;
    margin-left: 6px;
}

.list-page-id5 .hot-value i {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff5722"><path d="M12 2C8 2 4 5 4 9c0 2.5 1.5 5 4 7-1-2 0-4 2-5-1 2 0 4 2 5 1-2 3-3 4-5 1 2 0 4-2 5 2-1 4-3 4-6 0-4-4-8-8-8z"/></svg>') no-repeat center;
    background-size: contain;
}

/* 标题样式 */
.list-page-id5 .moban5 .title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-left: 32px; /* 为排名数字留出空间 */
}

.list-page-id5 .moban5 .title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.list-page-id5 .moban5 .title a:hover {
    color: #ff5722;
}

/* 标签样式 */
.list-page-id5 .moban5 .desc {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #999;
    margin-left: 32px; /* 为排名数字留出空间 */
}

.list-page-id5 .kuaiyan-tags-container {
    display: inline-block;
}

.list-page-id5 .kuaiyan-tags-container a {
    color: #999;
    text-decoration: none;
    margin-right: 5px;
}

.list-page-id5 .kuaiyan-tags-container a:hover {
    color: #ff5722;
}

/* 资料信息样式 - 使用标题内容 */
.list-page-id5 .ziliao-info {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-left: 32px; /* 为排名数字留出空间 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

/* 情绪标识样式 */
.list-page-id5 .mood {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 2;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.list-page-id5 .mood:hover {
    opacity: 1;
}

/* 分页样式 - 隐藏但保留用于无限加载 */
.list-page-id5 #epages {
    display: none;
}

/* 加载样式 */
.list-page-id5 .list-loading {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
    clear: both;
}

.list-page-id5 .list-loading img {
    margin-right: 5px;
    vertical-align: middle;
}

/* 无限加载触发器样式 */
.list-page-id5 .ias-trigger {
    text-align: center;
    margin: 20px 0;
    clear: both;
}

.list-page-id5 .ias-trigger a {
    display: inline-block;
    padding: 8px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.list-page-id5 .ias-trigger a:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .list-page-id5 .moban5 {
        padding: 12px;
    }
    
    .list-page-id5 .moban5 .pic {
        width: 150px !important;
        height: 110px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        min-height: 110px !important;
        max-height: 110px !important;
        margin-right: 12px;
    }
    
    .list-page-id5 .rank-number {
        width: 22px;
        height: 22px;
        font-size: 12px;
        line-height: 22px;
    }
    
    .list-page-id5 .info-row, 
    .list-page-id5 .moban5 .title, 
    .list-page-id5 .moban5 .desc, 
    .list-page-id5 .ziliao-info {
        margin-left: 30px;
    }
    
    .list-page-id5 .moban5 .title {
        font-size: 15px;
    }
    
    .list-page-id5 .ziliao-info {
        font-size: 12px;
    }
}

/* 暗色模式支持（可选） */
@media (prefers-color-scheme: dark) {
    .list-page-id5 .moban5 {
        background: #1a1a1a;
        border-bottom-color: #333;
    }
    
    .list-page-id5 .moban5 .title a {
        color: #e0e0e0;
    }
    
    .list-page-id5 .ziliao-info {
        color: #b0b0b0;
    }
    
    .list-page-id5 .kuaiyan-tags-container a {
        color: #808080;
    }
    
    .list-page-id5 .ias-trigger a {
        background: #333;
        border-color: #444;
        color: #e0e0e0;
    }
    
    .list-page-id5 .ias-trigger a:hover {
        background: #404040;
    }
}